How can I build a monolithic firmware?


#1

Hi all,

I’m trying to build my own device os for Boron LTE in order to enable system debug (details here). I have downloaded device os source code and I run this command from modules folder:

make PLATFORM=boron all

After this, I flash

build/target/system-part1/platform-13-m/system-part1.bin

and

/build/target/user-part/platform-13-m/user-part.bin

But I want to build a monolithic firmware. How can I do that?

And what is the application file I have to modify in order to code the application?

Thank you,

Manuel Montenegro


#2

From main (not modules):

make PLATFORM=boron MODULAR=n all APPDIR=/path/to/your/app/dir

Usually you’d specify the source directory using APPDIR. The monolithic binary will go into the target subdirectory in that directory.


Trying to connect to NB-IoT Spain network with Boron
#3

Thank you for your response.

But I can’t do this work. From device-os/main I run this:

make PLATFORM=boron MODULAR=n all APPDIR=/Users/manuel/ParticleDesarrollo/build

But I get this error:

/Library/Developer/CommandLineTools/usr/bin/make -C …/newlib_nano
make[1]: Nothing to be done for `all’.
/Library/Developer/CommandLineTools/usr/bin/make -C …/user
build.mk:65: *** “No sources found in /Users/manuel/ParticleDesarrollo/build/”. Stop.
make: *** [user] Error 2


#4

Sorry, I didn’t understand what is APPDIR. Now it’s building…


#5

Now it’s working. Thank you,

Manuel Montenegro