用tftp虚拟机的设备树的方式在u-boot阶段启动内核时,显示报错
Device 0: unknown device
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
Abort
missing environment variable: pxeuuid
Retrieving file: /boot/extlinux/pxelinux.cfg/01-48-b0-2d-f5-d1-db
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/00000000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/0000000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/000000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/00000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/0000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/00
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/0
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm-tegra210-p3450-0000
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm-tegra210
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm
*** ERROR: `ipaddr' not set
Retrieving file: /boot/extlinux/pxelinux.cfg/default
*** ERROR: `ipaddr' not set
Config file not found
这里我没有在网上找到可行的方法,但我用exload的方式去读根目录的设备树的时候,就解决了报错问题,能力有限,解决不了,但先SCP拷到板子上再exload去直接读也可以实现用官方的应用层环境测试我们移植好的硬件模块,jupter都可以用,卡在这一步的小伙伴可以试试我的方法
setenv ubuntu_bootcmd setenv boot_syslinux_conf extlinux/extlinux.conf.new \; ext4load mmc 1:1 83100000 /boot/tegra210-p3448-0000-p3449-0000-b00.dtb \; run distro_bootcmd