Kernel upgrade from within a running system
|Reported by:||Adi Kriegisch <adi@…||Owned by:||amain|
I recently created a new kernel image (with kernel mods and headers). Now I want to flash the kernel image to the corresponding flash device (/dev/mtd1 according to /proc/mtd), but I am unable to do so:
- Squeeze version of mtd-utils does not know my flash
- mtd from openwrt does not work/does nothing
- backported version of mtd-utils seem to work (nandwrite flashes the chip), but my image is too big: 1376664 byte vs. 1114112 byte.
Do I need to repartition before flashing? If so, how?
A dd image of /dev/mtd1 shows that there is no such header in the current kernel than there is in the new image:
Will nandflash remove that part?
Is there any way to find out how I may upgrade the kernel of my RSPro?