xr028

xr028

0个粉丝

1

问答

0

专栏

0

资料

xr028  发布于  2017-09-04 19:10:42
采纳率 0%
1个问答
3864

Hi3516D FASTBOOT失败,一直 20 20 20 20 0A

 
Hi3516D,参考SDK中的单板 HI3516AREFB VER.D.pdf
UBOOT使用SDK中的u-boot-hi3516d.bin


板子使用SPI FALSH,SFC_BOOT_MODE悬空(内部下拉)

问题如下:

fastboot工具烧写boot信息如下:
Boot downloading started.
Boot 100 % Downloaded.
Boot Downloading completed!
之后uboot没有启动,终端一直接收“20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0A”。


看论坛中正确的应该是启动UBoot

参照论坛中的帖子,修改过UBOOT代码,修改过Excel配置文件,现象都是一样的
请问可能出现的问题在哪儿?

另外如何在这种情况下验证DDR配置是否正确???



补充内容 (2017-9-14 13:56):
经检查,是ddr供电不正确导致的。供电正确后,烧UBOOT如下:
Boot downloading started.
Boot 100 % Downloaded.
Boot Downloading completed!


U-Boot 2010.06 (Mar 28 2016
- 19:29:12)

Check spi flash c
o...
我来回答
回答4个
时间排序
认可量排序

zhanweizhao

0个粉丝

6

问答

0

专栏

3

资料

zhanweizhao 2017-09-06 10:54:35
认可0
可以用fastboot工具直接将uboot下到ddr中,如果uboot和ddr都正常,在串口中可以进去到uboot命令行

xr028

0个粉丝

1

问答

0

专栏

0

资料

xr028 2017-09-14 13:50:39
认可0
本帖最后由 xr028 于 2017-9-14 13:52 编辑

经检查,是ddr供电不正确导致的。供电正确后,烧UBOOT如下:
Boot downloading started.
Boot 100 % Downloaded.
Boot Downloading completed!


U-Boot 2010.06 (Mar 28 2016
- 19:29:12)

Check spi flash c
ontroller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0
x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L(256/257)35(E/F)"

Check Nand Flash Controller v610 ... found
Special NAND id ta
ble Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!

*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
start download process.

Boot Started successfully!
version: 3.0.3
(OK)
"getinfo version" command sent successfully!
spi
(OK)
"getinfo bootmode" command sent successfully!
32768 KiB hi_sfc at 0:0 is now
current device
(OK)
"sf probe 0" command sent successfully!
Erasing at 0x10000 --   6% complete.
Erasing at 0x20000 --  12% complete.
Erasing at 0x30000 --  18% complete.
Erasing at 0x40000 --  25% complete.
#
Erasing at 0x50000 --  31% complete.
Erasing at 0x60000 --  37% complete.
Erasing at 0x70000 --  43% complete.
Erasing at 0x80000 --  50% complete.
#
Erasing at 0x90000 --  56% complete.
Erasing at 0xa0000 --  62% complete.
Erasing at 0xb0000 --  68% complete.
Erasing at 0xc0000 --  75% complete.
#
Erasing at 0xd0000 --  81% complete.
Erasing at 0xe0000 --  87% complete.
Erasing at 0xf0000 --  93% complete.
#
Erasing at 0x100000 -- 100% com
plete.
(OK)
"sf erase 0 0x00100000" command sent successfully!
Writing at 0x10000 --   6% complete.
Writing at 0x20000 --  12% complete.
Writing at 0x30000 --  18% complete.
Writing at 0x40000 --  25% complete.
Writing at 0x50000 --  31% complete.
Writing at 0x60000 --  37% complete.
Writing at 0x70000 --  43% complete.
Writing at 0x80000 --  50% complete.
Writing at 0x90000 --  56% complete.
Writing at 0xa0000 --  62% complete.
Writing at 0xb0000 --  68% complete.
Writing at 0xc0000 --  75% complete.
Writing at 0xd0000 --  81% complete.
Writing at 0xe0000 --  87% complete.
#
Writing at 0xf0000 --  93% complete.
Writing at 0x100000 -- 100% com
plete.
(OK)
"sf write 0x81000000 0 0x00100000" command sent successfully!

以上过程表明些FLASH成功了


重启,在终端出现如下提示:
U-Boot 2010.06 (Mar 28 2016 - 19:29:12)

Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L(256/257)35(E/F)"
Check Nand Flash Controller v610 ... found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon #
说明FLASH写入成功,接下来解决bad CRC的问题

xr028

0个粉丝

1

问答

0

专栏

0

资料

xr028 2017-09-14 13:53:21
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=63476&ptid=23375]zhanweizhao 发表于 2017-9-6 10:54[/url]
可以用fastboot工具直接将uboot下到ddr中,如果uboot和ddr都正常,在串口中可以进去到uboot命令行[/quote]

我认为这个检查不了DDR,因为当DDR供电不正确的时候,写入到DDR也提示成功

jiangfy486

0个粉丝

1

问答

0

专栏

0

资料

jiangfy486 2017-10-20 20:19:36
认可0
你之前ddr 供电不正常  指的是啥不正常呢  能具体点吗  现在也碰到你这样的问题呢
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区