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.

DM8168evm的uboot问题



你好,我买了一块Spectrum Digital DM816x/AM389x EVM (含daughter 板)。之前自己配置了环境,可以启动。后来我在uboot中输入了 nand scrub 指令,从此就无法启动uboot了,我知道这个应该是nand flash 被清空了,所有我按照说明文档在ccs下进行了uboot 烧写,步骤如下

1、SW3拨码开关打到全“0”,SW4[10],打开CCS5.2 ,导入host-tools/src/nand-flash-writer工程,编译后,下载nand-flash-writer.out 文件,并运行。内容如下:

 

[CortexA8] Welcome to CCS Nand Flash Utility

[CortexA8]

[CortexA8] Choose your operation

[CortexA8] Enter 1 ---> To Flash an Image

[CortexA8] Enter 2 ---> To ERASE the whole NAND

[CortexA8] Enter 3 ---> To EXIT

2

[CortexA8] Starting NETRA NAND writer

[CortexA8]

[CortexA8] ----------------------

[CortexA8]   NAND FLASH DETAILS

[CortexA8] ----------------------

[CortexA8]  Device ID : 0xca

[CortexA8]  Manufacture ID : 0x2c

[CortexA8]  Page Size : 2048 Bytes

[CortexA8]  Spare Size : 64 Bytes

[CortexA8]  Pages_Per_Block : 64

[CortexA8]  Number_of_Blocks : 2048

[CortexA8]  Device_width : 2 Byte

[CortexA8]  DeviceSize : 256 MB

[CortexA8]

[CortexA8] Performing Global Nand Erase

[CortexA8] ... done

[CortexA8]

[CortexA8] NAND flashing successful!

[CortexA8] Welcome to CCS Nand Flash Utility

[CortexA8]

[CortexA8]

[CortexA8] Choose your operation

[CortexA8] Enter 1 ---> To Flash an Image

[CortexA8] Enter 2 ---> To ERASE the whole NAND

[CortexA8] Enter 3 ---> To EXIT

1

[CortexA8] Enter image file path

E:\my\sharedfiles\DVRRDK_03.00.00.00\pre_built_binary\ti816x_dvr\uboot_NAND_DM816X_DVR

[CortexA8] Enter offset (in hex):

0

[CortexA8] Choose the ECC scheme from given options :

[CortexA8] Enter 1 ---> BCH 8-bit

[CortexA8] Enter 2 ---> HAM 

[CortexA8] Enter 3 ---> T0 EXIT

[CortexA8] Please enter ECC scheme type :

1

[CortexA8] Starting NETRA NAND writer

[CortexA8]

[CortexA8] ----------------------

[CortexA8]   NAND FLASH DETAILS

[CortexA8] ----------------------

[CortexA8]  Device ID : 0xca

[CortexA8]  Manufacture ID : 0x2c

[CortexA8]  Page Size : 2048 Bytes

[CortexA8]  Spare Size : 64 Bytes

[CortexA8]  Pages_Per_Block : 64

[CortexA8]  Number_of_Blocks : 2048

[CortexA8]  Device_width : 2 Byte

[CortexA8]  DeviceSize : 256 MB

。。。。。。。。。

[CortexA8] Writing image data to Block 1 Page0x1f

[CortexA8] Writing image data to Block 1 Page0x20

[CortexA8] Writing image data to Block 1 Page0x21

[CortexA8] Image successfully flashed

[CortexA8]

[CortexA8]

[CortexA8] NAND flashing successful!

Uboot 烧写成功了,将开关SW3拨打到[0000010010],启动进入uboot后,我在uboot中输入 nand erase 会报错如下:

接着我又试了一下 save 环境变量,也报错了

然后,uboot的界面就一直在这里等待。无法其他操作。

我以为烧写错了uboot,于是我又擦除后,重新烧写了E:\my\sharedfiles\DVRRDK_03.00.00.00\pre_built_binary\ti816x_dvr\uboot_NAND_DM816X_EVM

但是,结果还是和上面的一样,这两条指令都有错误。

这是怎么回事呀??求救