解决“jesonnano板子TFTP设备树文件时U-boot启动不了”一种方法

用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

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值