米爾淘寶店| 米爾電子| 米爾微博| English

佛罗伦萨vs切沃:bootdelay參數設置為0怎么改回來?

文章來源:米爾科技 發布日期:2019.9.24 瀏覽次數:143 次

切沃队徽 www.juninx.com.cn     在使用MYD-AM3358開發板過程中把BootLoader里面的bootdelay參數設置為0后,不能進入到uboot的命令里面,不能燒寫內核鏡像到開發板上了……這怎么辦呢?

AM3358開發板

先來看該啟動日志:
U-Boot 2016.05 (Oct 23 2018 - 11:36:24 +0800)
       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   Could not get PHY for cpsw: addr 0
cpsw
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
** Bad device specification 0x82000000 uEnv **
USB is stopped. Please issue 'usb start' first.
starting USB...
USB0:   scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
USB device 0: unknown device
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
708 bytes read in 4 ms (172.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc ...
3471064 bytes read in 230 ms (14.4 MiB/s)
39405 bytes read in 26 ms (1.4 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x34f6d8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff3000, end 8ffff9ec ... OK
Fixing up ETH0 & ETH1 to CPSW Ethernet

Starting kernel ...

    看了完整的啟動日志,我們可以使用下面的方法制作一個boot.scr文件,然后放到TF卡里面,再從TF卡啟動。
1. 編寫一個boot.cmd文本文件,內容如下
setenv bootdelay 2
saveenv
2. 制作一個boot.scr文件
mkimage -C none -A arm -T script -d boot.cmd boot.scr


本文來自米爾科技,原文地址: //www.juninx.com.cn/resource/532.asp,轉載請注明出處。

比較和選型

手冊教程

應用筆記

好書推薦

技術支持服務指南

常見問題解答