是这样。。我想在uboot 命令行下 使用nandwrite 往nandflash 上面少些 ubl uboot 但是需要ubl uboot描述符。请问这个描述符应该怎么制作。。。。
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.
是这样。。我想在uboot 命令行下 使用nandwrite 往nandflash 上面少些 ubl uboot 但是需要ubl uboot描述符。请问这个描述符应该怎么制作。。。。
Li Liang,
没有自作描述符的工具,描述符很简单的,就几个字节,按照内容自己写一个吧。
可以参考CCS烧写nand的工程里面的描述符作为范例。
请教Meng 大神 :
00000000h: 00ED ACA1 0001 0000 0A00 0000 0100 0000
00000010h: 0100 0000 0000 0000 0A
我在vi里面编辑了一个二进制文件 ubl描述符(最后那个0a不知道怎么出来的) 然后描述符 用nand write 写到 0x20000 ubl代码写到 20800 但是ubl 跑不起来
请问一下是什么原因 是不是我 描述符制作的不对。。
Magic number :A1ACED00
UBL Entry Point :00000100
Number of pages in UBL:0000 000A(这个具体不知道是什么意思。。在网上看到一篇帖子是这么设的 好像是ubl大小 。别的设置倒是知道什么意思)
Starting Block # of UBL:0000 0001
Starting Page # of UBL:0000 0001