This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4379 gp evm 由nand启动失败

Other Parts Discussed in Thread: AM4379

hi,all

我们的板子是AM4379 GP EVM。以下是详细过程描述

// sysboot 由 uart0 启动

通过 Tera Term 终端。

1.接收到CCCCC

xmodem 载入  u-boot-spl.bin

2.接收到CC

ymodem 载入  u-boot.img

 

完成后显示以下信息:

 U-Boot 2014.07 (Sep 26 2015 - 21:22:17)

I2C:   ready

DRAM:  1 GiB

NAND:  512 MiB

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

Card did not respond to voltage select!

** Bad device mmc 0 **

Using default environment

on_baudrate op:0Incorrect magic number (0xffffffff) in EEPROM

Could not get board ID.

Net:   <ethaddr> not set. Validating first E-fuse MAC

cpsw, usb_ether

Hit any key to stop autoboot:  1  0 

WARNING: Could not determine device tree

Card did not respond to voltage select!

Card did not respond to voltage select!

(Re)start USB...

USB0:   Register 2000440 NbrPorts 2

Starting the controller

USB XHCI 1.00

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

Booting from nand ...

 no devices available

 no devices available

Bad Linux ARM zImage magic!

U-Boot# 

 

 在uboot命令行执行以下步骤:

//MLO

loadb 0x82000000

nand erase 0x00000000 0x00020000

nand write 0x82000000 0x00000000 0x00020000

//U-Boot

loadb 0x82000000

nand erase 0x00080000 0x001E0000

nand write 0x82000000 0x00080000 0x001E0000

都 提示写入ok.

 

 

出现问题1

再次通过 uart0 启动时,NAND 大小变成0MiB。可以进到UBoot,查看 NAND 信息,显示 no devices available

 

U-Boot 2014.07 (Sep 28 2015 - 10:00:51)

I2C:   ready

DRAM:  1 GiB

NAND:  0 MiB

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

Card did not respond to voltage select!

** Bad device mmc 0 **

Using default environment

on_baudrate op:0Net:   <ethaddr> not set. Validating first E-fuse MAC

cpsw, usb_ether

Hit any key to stop autoboot:  0

Card did not respond to voltage select!

Card did not respond to voltage select!

(Re)start USB...

USB0:   Register 2000440 NbrPorts 2

Starting the controller

USB XHCI 1.00

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

Booting from nand ...

no devices available

no devices available

Bad Linux ARM zImage magic!

U-Boot#

 

问题2sysboot 改成由 nand 启动 失败:

 U-Boot SPL 2014.07 (Sep 26 2015 - 20:48:26)

### ERROR ### Please RESET the board ###

 

nand flash 只能通过 uart0写入一次吗?

哪位大哥大姐知道这是什么原因造成的呢,请告知.非常感谢.