如何使用uuu烧录程序到imx6ull的emmc里?

cancel
Showing results for 
Search instead for 
Did you mean: 

如何使用uuu烧录程序到imx6ull的emmc里?

391 Views
Contributor I

在ubuntu18.04下载了uuu,可以用uuu u-boot.imx烧录uboot放到内存里,没有报错。

终端有如下提示:

any@Any-Desktop:~/imx6ul/ebf_6ull_buildroot/output/images$ ~/imx6ul/mfgtools/uuu/uuu u-boot.imx

uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a

Success 1 Failure 0

尝试用uuu -b emmc u-boot.imx烧录uboot到emmc里,没有提示成功,也没有提示失败。

any@Any-Desktop:~/imx6ul/ebf_6ull_buildroot/output/images$ ~/imx6ul/mfgtools/uuu/uuu -b emmc u-boot.imx

uuu (Universal Update Utility) for nxp imx chips -- lib1.3.124-0-gee3f09a

Success 0 Failure 0 1:31

1/ 1 [=================100%=================] SDP: boot -f u-boot.imx

以上两种情况下,串口输出信息如下:

U-Boot 2016.03 (Jan 08 2020 - 16:59:37 +0800)

CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)

CPU: Industrial temperature grade (-40C to 105C) at 46C

Reset cause: POR

Board: MX6ULL 14x14 EVK

I2C: ready

DRAM: 512 MiB

MMC: FSL_SDHC: 0, FSL_SDHC: 1

MMC: no card present

*** Warning - MMC init failed, using default environment

In: serial

Out: serial

Err: serial

MMC: no card present

Net: FEC1

Error: FEC1 address not set.

Boot from USB for mfgtools

Use default environment for mfgtools

Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr;

Hit any key to stop autoboot: 0

Bad Linux ARM zImage magic! =>

请问,我是哪里搞错了?

Labels (2)
0 Kudos
1 Reply

18 Views
NXP TechSupport
NXP TechSupport

Hi Any,

  这样做一下试试:

1. SD 卡从板子取下来。

2. 板子配置为从eMMC启动

3. BOOT_MODE[1:0]配置为Serial Download。

4. 上电,连接USB OTG 到PC

5. 用uuu把u-boot下载下去。

6. 板子断电,BOOT_MODE[1:0]配置为internal boot

7. 接上串口,板子上电,看板子能否启动。

如果启动正常,说明eMMC中u-boot可以工作。

weidong

0 Kudos