I decompress and compress l4t_initrd.img but not modify any file. After flash the new l4t_initrd.img system, the system fails to start.
decompress:
#cp bootloader/l4t_initrd.img ~/initrd/
#cd ~/initrd/
#gzip -cd l4t_initrd.img | cpio -imd --quiet
#rm l4t_initrd.img
compress:
#find . | cpio --quiet -H newc -o | gzip -9 -n > ~/l4t_initrd.img
#cp ~/l4t_initrd.img bootloader/
flash the kernel:
flash.sh -r -k kernel jetson-xavier mmcblk0p1
The rebot failed log:
[ 8.130818] tegradc 15220000.nvdisplay: probed
[ 8.182066] hpd: hpd_switch 0
[ 8.182072] tegradc 15220000.nvdisplay: fb registered
[ 8.185333] hpd: state 7 (Takeover from bootloader), hpd 0, pending_hpd_evt 1
[ 8.185336] hpd: switching from state 7 (Takeover from bootloader) to state 0 (Reset)
[ 8.185342] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[ 8.187769] tegra-asoc: sound: ASoC: CODEC DAI rt5659-aif1 not registered
[ 8.187809] tegra-asoc: sound: snd_soc_register_card failed (-517)
[ 8.189808] Freeing unused kernel memory: 8576K
[ 8.228791] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[ 8.228796] tegradc 15220000.nvdisplay: blank - powerdown
[ 8.228805] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 8.228810] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[ 8.253819] extcon-disp-state external-connection:disp-state: cable 44 state 0 already set.
[ 8.253822] Extcon DP: HPD disabled
[ 8.253824] hpd: hpd_switch 0
[ 8.253826] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[ 8.253846] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 8.253850] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[ 11.836599] Wake76 for irq=199
[ 11.836696] Wake77 for irq=199
[ 11.836756] Wake78 for irq=199
[ 11.836816] Wake79 for irq=199
[ 11.836875] Wake80 for irq=199
[ 11.836931] Wake81 for irq=199
[ 11.836986] Wake82 for irq=199
[ 11.837072] tegra-xusb 3610000.xhci: Upgrade port 0 to USB3.0
[ 11.837175] tegra-xusb 3610000.xhci: Upgrade port 1 to USB3.0
[ 11.839770] tegra-asoc: sound: ASoC: CODEC DAI rt5659-aif1 not registered
[ 11.839953] tegra-asoc: sound: snd_soc_register_card failed (-517)
[ 11.940508] usb usb2: usb_suspend_both: status 0
[ 14.524088] tegra-xusb 3610000.xhci: entering ELPG
[ 14.529796] tegra-xusb 3610000.xhci: entering ELPG done
[ 177.052348] random: crng init done
reboot_failed_log.txt (86.8 KB)