AGX开发板 + jetpack4.6

目的:想用自己编译出的内核放到开发板上去跑起来

1 AGX开发板烧录jetpack4.6
2将public_sources.tbz2 源码下载后编译出kernel,生成Image
3 备份AGX开发板上的Image, sudo cp /boot/Image /boot/Image.backup
3 将此Image 拷贝到 AGX开发板上 /boot/Image
4 修改AGX上 /boot/extlinux/exlinux.conf 文件
ubuntu@ubuntu-desktopd:/boot$ cat extlinux/extlinux.conf
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4
FDT /boot/tegra194-p2888-0001-p2822-0000.dtb

When testing a custom kernel, it is recommended that you create a backup of

the original kernel and add a new entry to this file so that the device can

fallback to the original kernel. To do this:

1, Make a backup of the original kernel

sudo cp /boot/Image /boot/Image.backup

2, Copy your custom kernel into /boot/Image

3, Uncomment below menu setting lines for the original kernel

4, Reboot

LABEL backup
MENU LABEL backup kernel
LINUX /boot/Image.backup
INITRD /boot/initrd
APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4
FDT /boot/tegra194-p2888-0001-p2822-0000.dtb

5 开机通过串口选择用哪个Image 启动,现象为用自己下载的源码编译出的Image不能启动图像化界面,HDMI端会显示3 failed
failed to start Load Kernel Modules
failed to start nvpmodel service
failed to start Docker Application Container Engine.