juuso wrote:Isn`t a time to flash full -console enabled kernel?
Why not?
1. First, try to patch the kernel in memory to make sure it works as needed: passes all characters from serial input.
2. Dump 32-64 bytes near the patch point.
3. Look into dumps from /dev/bml0/5 or /dev/bml0/7 (firmware partitions with kernel image - find the active one - running).
4. Find the same byte sequence, make sure that it is unique, and change the same bytes as you changed in memory.
5. Calculate new hash for patched kernel and write it to the correct place in /dev/bml0/9 or /dev/bml0/10.
6. Copy all other parts: mtd_exe, mtd_appdata and rootfs, because you will need to flash everything into currently inactive partition.
7. Check hashes.
8. Only when you are sure that everything is OK, start flashing.
9. Check that everything was flashed correctly including hashes.
10. Toggle partitions and reboot.
Steps 3-7 should be done on a PC. Did I forget something?