This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Updating nk.bin in flash by application

Hello,

I would like to implement a scheme in our embedded device (AM335x) whereby the application accepts a new nk.bin (or other format file) and writes it to the OS partition, so that when the device is rebooted, the new OS image and application are available. As I understand it, nk.bin files are image files which contain offset and padding information, so I expect that simply writing the nk.bin file to the OS partition will not give me a bootable system.

What does my application have to do with the nk.bin file so that a new image is written to the OS partition in the flash and is executed at the next boot?