Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine

Discussion to talk about software related topics only.
Post Reply
romanluba
Posts: 12
Joined: Mon Oct 26, 2020 6:03 am

Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine

Post by romanluba »

Hi folks ,

I was wondering if anyone has worked on compiling 2.9.2 SDK on linux, and if anyone has successfully deployed new firmware to the netburner over the network from a Linux machine, we have a specific use case and we would like to automate the process as opposed to using sneakernet and AutoUpdate or the NBEclipse.

Anything will help! Cheers
User avatar
TomNB
Posts: 576
Joined: Tue May 10, 2016 8:22 am

Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine

Post by TomNB »

Hello,

I realize this isn't exactly what your asking for, but what platform are you using? Our 3.x tools run on Windows, OSX and Linux natively. For updates, you can use utilities like WGET on any platform, or upload to the device's configuration web page with any web browser. 3.x tools run on all ARM platforms and the latest ColdFire platform: MODM7AE70, SBE70LC, SOMRT1061, MOD54415, MOD54417, SB800EX, NANO54415.

https://www.netburner.com/NBDocs/Develo ... ation.html

https://www.netburner.com/NBDocs/Develo ... d_dep.html

If you want to stay in 2.x, the source code for AutoUpdate is in the \nburn\pcbin directory so you could make your own utility. For just finding devices, there is a python find utility.
romanluba
Posts: 12
Joined: Mon Oct 26, 2020 6:03 am

Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine

Post by romanluba »

We have multiple systems that are built using an SB70LC so we are tied to 2.9.2. We want to create the project files and program the netburner over the network from linux devices. Thanks for the direction, I'll look into the pcbin info.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine

Post by pbreed »

Look at clinetool it runs on linux.
Its a commandline replacment for ipsetup and autoupdate.
Its in nburn\pctools...
Inside there is a cpp file Update.cpp that can be used as a base for writing your own update tools.

Also there is nburn\pctools\autoupdate\java
a Java implementation of autoupdate.

Lastly the protocol is not to hard, could be done in something like python.. YMMV
Post Reply