Question about manually creating firmware image

Hey there,

assuming I would compile the kernel, dtb and software using an external toolchain this would result in a kernel file, a dtb one and a directory structure to be used as root.

How would one create a firmware image using these? General answers would be nice, if device specific then the R7800 is the one I'm talking about.

Much thanks

You might start by reviewing the LEDE Developer Guide...

By repeating the steps described in R7800 (ipq806x) image generation Makefile script.
Feel free to decrypt the steps starting from;a=blob;f=target/linux/ipq806x/image/Makefile;hb=HEAD#l223

(hint, the next step is function Device/DniImage at;a=blob;f=target/linux/ipq806x/image/Makefile;hb=HEAD#l61 )

Far easier would be to use the existing build system and source, and justmodify the local sources including DTS as you need, and then use the existing toolchain to compile the firmware components and cook the final image.

I already did but couldn't find any specific information.

Thanks for pointing me into a direction, I will have to take a closer look.

Doesn't need to be easy, only possible. :stuck_out_tongue: