I’m working on embedded device where kernel image is stored inside /dev/mtd4 part of flash.
I would like to update this kernel without Uboot.
How is it possible ?
I was trying to call:
echo ./kernel.bin > /dev/mtdblock4
but it doesn’t work. Stored data are not recognized as kernel in next boot.
It should at least be
cat kernel.bin > /dev/mtdblock4but that probably won’t work neither.And it depends upon how your kernel is actually loaded (what is the bootloader).