Page 1 of 1
Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine
Posted: Thu Feb 03, 2022 6:44 am
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
Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine
Posted: Thu Feb 03, 2022 9:40 am
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.
Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine
Posted: Thu Feb 03, 2022 11:14 am
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.
Re: Compiling on linux (SDK 2.9.2), deploying over the network from a linux machine
Posted: Thu Feb 10, 2022 6:25 am
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