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.

uniflash烧写nand出错

Other Parts Discussed in Thread: UNIFLASH

使用uniflash烧写nand,restore已经运行起来,下载flash-image.out完成后,出现如下信息:

########################################################
438.5 KiB/s
done
Bytes transferred = 75239424 (47c1000 hex)

Got Flash Image

NAND write: incorrect device type in NAND.SPL
MLO Programming Failed... error exit
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC f4:5e:ab:58:90:2c
HOST MAC de:ad:be:af:00:00
RNDIS ready
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
Using usb_ether device
TFTP from server 192.168.100.1; our IP address is 192.168.100.27
Filename 'TargetProgrammingError:f4:5e:ab:58:90:2c'.
Load address: 0x80001000
Loading: T
TFTP error: 'File not found or No Access' (1)
Not retrying...
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC f4:5e:ab:58:90:2c
HOST MAC de:ad:be:af:00:00
RNDIS ready
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
Using usb_ether device
TFTP from server 192.168.100.1; our IP address is 192.168.100.27
Filename 'TargetErrorExit:f4:5e:ab:58:90:2c'.
Load address: 0x80001000
Loading: T
TFTP error: 'File not found or No Access' (1)
Not retrying...

Halting processor.....
## Starting application at 0x0002001C ...

请问这是什么原因呢?

  • 另外,注意到这个信息:

    TFTP from server 192.168.100.1; our IP address is 192.168.100.27
    Filename 'flash-image.out'.
    Load address: 0x80200000
    Loading: T #################################################################
    ############################################################

    和debrick.txt中的:

    # Use the load address and the offset provided from the flash-cat utility to calculate

    setenv Image1_DDR_ADDR 0x82000000 

    不知道这两个地址有什么关系,是否需要设置成一样?(如果要设成一样,应该设成哪个值才对?)

  • 另外,debrick中配置为:

    setenv Image1_NAND_Offset NAND.SPL

    试了多次,发现改成

    setenv Image1_NAND_Offset nand0,0 

    后似乎能够往下执行,但又有其它的问题.....

    sdk6.0与debrick是不是也有格式匹配的问题呢?

  • 现在,nand的烧写和起动已经可以了,debrick.txt文件按照

    setenv Image1_NAND_Offset nand0,0 

    的格式写的。

    但还是想知道格式:

    setenv Image1_NAND_Offset NAND.SPL

    是在什么情况下使用的呢?

  • 经过这段时间以来的使用确认,按照第一种格式写是没问题的。