新手上路
- 积分
- 41
- 金钱
- 41
- 注册时间
- 2019-8-21
- 在线时间
- 6 小时
|
实验内容:
开机启动uboot,使用命令:tftp 80800000 u-boot.imx下载uboot,然后通过命令: mmc write 80800000 2 67c00将下载的uboot写入SD/eMMC中。然后调整拨码开关,选择SD/eMMC启动。按复位键重启板子。
实验现象:
(1)使用SD卡执行以上操作能够正常更新uboot,操作步骤如下:
U-Boot 2016.03 (Dec 26 2019 - 18:53:05 +0800) <<<<<<<<<<<<<<<<<<<<<<<<<更新前的uboot
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 49C
Reset cause: POR
Board: MX6ULL ALPHA EMMC
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: ALPHA_LCD_7 (1024x600)
Video: 1024x600x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
=> tftp 80800000 u-boot.imx <<<<<<<<<<<<<<<<<<<<<<<<<tftp下载uboot
FEC1 Waiting for PHY auto negotiation to complete.... done
Using FEC1 device
TFTP from server 192.168.0.108; our IP address is 192.168.0.199
Filename 'u-boot.imx'.
Load address: 0x80800000
Loading: #############################
2 MiB/s
done
Bytes transferred = 424960 (67c00 hex)
=> mmc write 80800000 2 67c00 <<<<<<<<<<<<<<<<<<<<<<<<<向eMMC的第2个扇区写数据
MMC write: dev # 0, block # 2, count 424960 ... 424960 blocks written: OK <<<<<<<<<<<<<<<<<<<<<<<<<写入数据成功
=> reset <<<<<<<<<<<<<<<<<<<<<<<<<重启
resetting ...
U-Boot 2016.03 (Dec 26 2019 - 21:05:10 +0800) <<<<<<<<<<<<<<<<<<<<<<<<<更新后的uboot
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 50C
Reset cause: WDOG
Board: MX6ULL ALPHA EMMC
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: ALPHA_LCD_7 (1024x600)
Video: 1024x600x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
==================================================================
(2)使用eMMC执行以上操作,则不能更新uboot,操作如下:
U-Boot 2016.03-g9bd38ef (Oct 23 2019 - 09:31:47 +0800) <<<<<<<<<<<<<<<<<<<<<<<<<更新前的uboot
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 48C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Display: ATK-LCD-7-1024x600 (1024x600)
Video: 1024x600x24
** Unrecognized filesystem type **
Error: no valid bmp image at 88000000
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
=> tftp 80800000 u-boot.imx <<<<<<<<<<<<<<<<<<<<<<<<<tftp下载uboot
FEC1 Waiting for PHY auto negotiation to complete... done
Using FEC1 device
TFTP from server 192.168.0.108; our IP address is 192.168.0.199
Filename 'u-boot.imx'.
Load address: 0x80800000
Loading: #############################
2.3 MiB/s
done
Bytes transferred = 424960 (67c00 hex)
=> mmc dev 1 0 <<<<<<<<<<<<<<<<<<<<<<<<<确定操作的是eMMC
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc write 80800000 2 67c00 <<<<<<<<<<<<<<<<<<<<<<<<<向eMMC的第2个扇区写数据
MMC write: dev # 1, block # 2, count 424960 ... 424960 blocks written: OK <<<<<<<<<<<<<<<<<<<<<<<<<写入数据成功
=> reset <<<<<<<<<<<<<<<<<<<<<<<<<重启
resetting ...
U-Boot 2016.03-g9bd38ef (Oct 23 2019 - 09:31:47 +0800) <<<<<<<<<<<<<<<<<<<<<<<<<重启后还是原来的uboot
CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 51C
Reset cause: WDOG
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
Display: ATK-LCD-7-1024x600 (1024x600)
Video: 1024x600x24
** Unrecognized filesystem type **
Error: no valid bmp image at 88000000
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net: FEC1
Error: FEC1 address not set.
Normal Boot
Hit any key to stop autoboot: 0
求助:
请问大家有没有遇到过这个问题?是怎么解决的。。。。。。。。。
|
-
|