Clarification of OTA Update Process

For anyone who finds themselves unlucky enough to end up in the never ending boot cycle, but can access the bash terminal through the serial console, do the following:

  1. Mount the bootloader stuff:
    mount /dev/mmcblk0p1 /mnt
  2. Check that /mnt/boot/extlinux/extlinux.conf has this stuff:
    root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4
  3. If it does, I cant help you (if it doesnt exist, then create the file - lookup what it should look like). If it doesn’t you’ll need to sed it in. For Xavier, you can do the following:
    sed -i "s|^\([ \t]*APPEND \${cbootargs}\) .*|\1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0|" /mnt/boot/extlinux/extlinux.conf
    for others, refer to here
  4. You should now be able to boot into recovery mode and re-flash.