Venus OS setup for remote development. Busybox

I’m very used to using Visual Studio Code to do remote development on Raspberry Pi’s and other embedded devices. However, VS Code Server installation fails on a Venus OS device due to its use of BusyBox instead of a full-blown shell. Has anyone successfully install VS Code Server on a Venus device? Does anyone have recommendations on an alternate remote development setup?

Regards,
David

Hi David, welcome to the new community!

What you could try is use opkg to replace busybox with all normal tools.

Step 0: make rootfs readwrite & enlarge.

/opt/victronenergy/swupdate-scripts/resize2fs.sh

Step 1: get the feed right:

# when running a beta version:
/opt/victronenergy/swupdate-scripts/set-feed.sh candidate

# when running a release version:
/opt/victronenergy/swupdate-scripts/set-feed.sh release

Step 2: opkg update

Step 3: opkg install packagegroup-replace-busybox

More info here: meta-victronenergy/meta-venus/recipes-packagegroups/packagegroup-replace-busybox.bb at master · victronenergy/meta-victronenergy · GitHub

And here: commandline development · victronenergy/venus Wiki · GitHub

Please let me know if that worked - thanks!

1 Like

Thank you!! That worked like a charm, and I have VS Code on my Windows machine fully connected to VS Code Server running on VenusOS. Now to write and cross-compile a simple example program to verify that I can do source-level debugging.

2 Likes