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.

AM1808 - secure re-booting after a kernel panic

Hi,

how to arrange a automated u-boot reboot using a different rootfs source after a "Kernel panic - not syncing: VFS: Unable to mount root fs" condition ?

Regards
Gabriele

  • Hi,

    Generally, this is selected via "root=" in the bootargs, it could vary on different systems/platforms/implementations; for example using as rootfs the second partition of SD card maybe could be achieved with "root=/dev/mmcblk0p2" among the bootargs; you could try to use your default environment as reference.

    Thank you.

    BR
    Vladimir

  • Hi Vladimir,

    I'm sorry for being not quite clear. I meant an automatic mechanism that changes the bootargs string (for example from "root=/dev/mtdblock5" to "root=/dev/mmcblk0p2") when the system restarts after a crash like "Kernel panic - not syncing: VFS: Unable to mount root fs". It could be useful when the default root file system support is damaged or invalid.

    Gabriele