fengsheng

fengsheng

0个粉丝

4

问答

0

专栏

0

资料

fengsheng  发布于  2020-04-14 22:26:39
采纳率 0%
4个问答
2190

使用HiTool刷Hi3516D v300后,不启动

 
使用HiTool刷Hi3516D v300后,只输出空格和换行,好像没有从spi flash启动,请问大家有没有遇到过的?
uboot驱动和底层不太熟:'( 。

启动模式这部分的电路如下:


HiTool刷的时候好像刷成功了,HiTool的下面的输出日志可以看到下载过程:
[code]串口已经连接,请给单板上电,若已经上电,请断电后重新上电。
########################################################################################################## ---- 10%
######################################################################################################### ---- 20%
######################################################################################################### ---- 30%
######################################################################################################### ---- 40%
######################################################################################################### ---- 50%
######################################################################################################### ---- 60%
######################################################################################################### ---- 70%
######################################################################################################### ---- 80%
######################################################################################################### ---- 90%
####################################################################################################### ---- 100%
Boot download completed!
     

System startup


U-Boot 2016.11 (Sep 05 2018 - 14:41:50 +0800)hi3516dv300

Relocation Offset is: 0d6d9000
Relocating to 8fed9000, new gd at 8fe38ef0, sp at 8fe38ed0
SPI Nor:  Check Flash Memory Controller v100 ... Found
SPI Nor ID Table Version 1.0
SPI Nor(cs 0) ID: 0xc8 0x40 0x18
Block:64KB Chip:16MB Name:"GD25Q128"
SPI Nor total size: 16MB
NAND:  0 MiB
MMC:   
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 42:ed:b3:30:4b:c9

start download process.

Boot started successfully!

Send command:        getinfo version
version: U-Boot 2016.11
[EOT](OK)

Send command:        getinfo bootmode
spi
[EOT](OK)

Send command:        sf probe 0
[EOT](OK)
Send command:        getinfo spi

Block:64KB Chip:16MB*1
ID:0xC8 0x40 0x18
Name:"GD25Q128"
[EOT](OK)

Send command:        sf probe 0
[EOT](OK)

Send command:        sf erase 0x0 0x100000

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% complete.
SF: 1048576 bytes @ 0x0 Erased: OK
[EOT](OK)

Send command:        sf write 0x81000000 0x0 0x100000
device 0 offset 0x0, size 0x100000

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% complete.
SF: 1048576 bytes @ 0x0 Written: OK
[EOT](OK)

Send command:        reset
reset success!
Boot burned successfully.

串口已经连接,请给单板上电,若已经上电,请断电后重新上电。
# ---- 36%
# ---- 100%
Boot download completed!
                              
System startup


U-Boot 2016.11 (Sep 05 2018 - 14:41:50 +0800)hi3516dv300

Relocation Offset is: 0d6d9000
Relocating to 8fed9000, new gd at 8fe38ef0, sp at 8fe38ed0
SPI Nor:  Check Flash Memory Controller v100 ... Found
SPI Nor ID Table Version 1.0
SPI Nor(cs 0) ID: 0xc8 0x40 0x18
Block:64KB Chip:16MB Name:"GD25Q128"
SPI Nor total size: 16MB
NAND:  0 MiB
MMC:   
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 42:ed:b3:30:4b:c9

start download process.

Boot started successfully!

Send command:        getinfo version
version: U-Boot 2016.11
[EOT](OK)

Send command:        getinfo bootmode
spi
[EOT](OK)

Send command:        sf probe 0
[EOT](OK)

Send command:        getinfo spi
Block:64KB Chip:16MB*1
ID:0xC8 0x40 0x18
Name:"GD25Q128"
[EOT](OK)

Send command:        sf probe 0
[EOT](OK)

Send command:        sf erase 0x0 0x100000

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% complDte.
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% complete.
SF: 1048576 bytes @ 0x0 Erased: OK
[EOT](OK)

Send command:        sf write 0x81000000 0x0 0x100000
device 0 offset 0x0, size 0x100000

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% complete.
SF: 1048576 bytes @ 0x0 Written: OK
[EOT](OK)

Send command:        mw.b 0x81000000 0xFF 0x2f0000
[EOT](OK)
downloadFileSerial: file=E:\workplace\project\uImage
                    address=81000000
Partition 1         length=        3042294

Send command:        loady 0xffffffff81000000

## Ready for binary (ymodem) download to 0x81000000 at 115200 bps...
C#################### 100K
#################### 200K
#################### 300K
#################### 400K
#################### 500K
#################### 600K
#################### 700K
#################### 800K
#################### 900K
#################### 1000K
#################### 1100K
#################### 1200K
#################### 1300K
#################### 1400K
#################### 1500K
#################### 1600K
#################### 1700K
#################### 1800K
#################### 1900K
#################### 2000K
#################### 2100K
#################### 2200K
#################### 2300K
#################### 2400K
#################### 2500K
#################### 2600K
#################### 2700K
#################### 2800K
#################### 2900K
##############
Transfer is finishing, wait a moment please.
CxyzModem - CRC mode, 1(SOH)/2971(STX)/0(CAN) packets, 3 retries
## Total Size      = 0x002e6bf6 = 3042294 Bytes
[EOT](OK)

Send command:        sf probe 0
[EOT](OK)

Send command:        sf erase 0x100000 0x320000

Erasing at 0x110000 --   2% complete.
Erasing at 0x120000 --   4% complete.
Erasing at 0x130000 --   6% complete.
Erasing at 0x140000 --   8% complete.
Erasing at 0x150000 --  10% complete.
Erasing at 0x160000 --  12% complete.
Erasing at 0x170000 --  14% complete.
Erasing at 0x180000 --  16% complete.
Erasing at 0x190000 --  18% complete.
Erasing at 0x1a0000 --  20% complete.
Erasing at 0x1b0000 --  22% complete.
Erasing at 0x1c0000 --  24% complete.
Erasing at 0x1d0000 --  26% complete.
Erasing at 0x1e0000 --  28% complete.
Erasing at 0x1f0000 --  30% complete.
Erasing at 0x200000 --  32% complete.
Erasing at 0x210000 --  34% complete.
Erasing at 0x220000 --  36% complete.
Erasing at 0x230000 --  38% complete.
Erasing at 0x240000 --  40% complete.
Erasing at 0x250000 --  42% complete.
Erasing at 0x260000 --  44% complete.
Erasing at 0x270000 --  46% complete.
Erasing at 0x280000 --  48% complete.
Erasing at 0x290000 --  50% complete.
Erasing at 0x2a0000 --  52% complete.
Erasing at 0x2b0000 --  54% complete.
Erasing at 0x2c0000 --  56% complete.
Erasing at 0x2d0000 --  58% complete.
Erasing at 0x2e0000 --  60% complete.
Erasing at 0x2f0000 --  62% complete.
Erasing at 0x300000 --  64% complete.
Erasing at 0x310000 --  66% complete.
Erasing at 0x320000 --  68% complete.
Erasing at 0x330000 --  70% complete.
Erasing at 0x340000 --  72% complete.
Erasing at 0x350000 --  74% complete.
Erasing at 0x360000 --  76% complete.
Erasing at 0x370000 --  78% complete.
Erasing at 0x380000 --  80% complete.
Erasing at 0x390000 --  82% complete.
Erasing at 0x3a0000 --  84% complete.
Erasing at 0x3b0000 --  86% complete.
Erasing at 0x3c0000 --  88% complete.
Erasing at 0x3d0000 --  90% complete.
Erasing at 0x3e0000 --  92% complete.
Erasing at 0x3f0000 --  94% complete.
Erasing at 0x400000 --  96% complete.
Erasing at 0x410000 --  98% complete.
Erasing at 0x420000 -- 100% complete.
SF: 3276800 bytes @ 0x100000 Erased: OK
[EOT](OK)

Send command:        sf write 0x81000000 0x100000 0x2f0000
device 0 offset 0x100000, size 0x2f0000

Writing at 0x110000 --   2% complete.
Writing at 0x120000 --   4% complete.
Writing at 0x130000 --   6% complete.
Writing at 0x140000 --   8% complete.
Writing at 0x150000 --  10% complete.
Writing at 0x160000 --  12% complete.
Writing at 0x170000 --  14% complete.
Writing at 0x180000 --  17% complete.
Writing at 0x190000 --  19% complete.
Writing at 0x1a0000 --  21% complete.
Writing at 0x1b0000 --  23% complete.
Writing at 0x1c0000 --  25% complete.
Writing at 0x1d0000 --  27% complete.
Writing at 0x1e0000 --  29% complete.
Writing at 0x1f0000 --  31% complete.
Writing at 0x200000 --  34% complete.
Writing at 0x210000 --  36% complete.
Writing at 0x220000 --  38% complete.
Writing at 0x230000 --  40% complete.
Writing at 0x240000 --  42% complete.
Writing at 0x250000 --  44% complete.
Writing at 0x260000 --  46% complete.
Writing at 0x270000 --  48% complete.
Writing at 0x280000 --  51% complete.
Writing at 0x290000 --  53% complete.
Writing at 0x2a0000 --  55% complete.
Writing at 0x2b0000 --  57% complete.
Writing at 0x2c0000 --  59% complete.
Writing at 0x2d0000 --  61% complete.
Writing at 0x2e0000 --  63% complete.
Writing at 0x2f0000 --  65% complete.
Writing at 0x300000 --  68% complete.
Writing at 0x310000 --  70% complete.
Writing at 0x320000 --  72% complete.
Writing at 0x330000 --  74% complete.
Writing at 0x340000 --  76% complete.
Writing at 0x350000 --  78% complete.
Writing at 0x360000 --  80% complete.
Writing at 0x370000 --  82% complete.
Writing at 0x380000 --  85% complete.
Writing at 0x390000 --  87% complete.
Writing at 0x3a0000 --  89% complete.
Writing at 0x3b0000 --  91% complete.
Writing at 0x3c0000 --  93% complete.
Writing at 0x3d0000 --  95% complete.
Writing at 0x3e0000 --  97% complete.
Writing at 0x3f0000 -- 100% complete.
SF: 3080192 bytes @ 0x100000 Written: OK
[EOT](OK)
Partition kernel burnt successfully!

Send command:        mw.b 0x81000000 0xFF 0x9d0000
[EOT](OK)
downloadFileSerial: file=E:\workplace\\rootfs.img
                    address=81000000
Partition 1         length=        5242880

Send command:        loady 0xffffffff81000000[/code]

大家帮看看是什么问题,谢谢谢谢!
我来回答
回答5个
时间排序
认可量排序

UncleRoderick

28个粉丝

14

问答

1

专栏

14

资料

UncleRoderick 2020-04-15 09:47:17
认可0
这个看起来是能烧录的啊

david

33个粉丝

368

问答

253

专栏

229

资料

david 2020-04-15 11:12:16
认可0
看下 bootsel 实际硬件电路上是怎么选择的

qn1566696959

0个粉丝

9

问答

0

专栏

0

资料

qn1566696959 2020-04-15 13:29:37
认可0
确定flash驱动没有问题?

硅天下科技

1个粉丝

38

问答

0

专栏

9

资料

硅天下科技 2020-08-05 22:08:07
认可0
烧写时,步骤是:
1.首先选择芯片(如果芯片列表里面没有Hi3516DV300,选择相同系列的Hi3516CV500也可以)
2.选择串口传输(网络传输没试过)
3.勾选fastboot,打开烧写文件(一般是uboot文件)
4.选择器件类型(和flash有关,可选的是spi、nand和emmc)
5.长度输入1M
点击烧写即可开始将文件通过串口传输至内部的DDR,待传输结束后自动保存至Flash

fengsheng

0个粉丝

4

问答

0

专栏

0

资料

fengsheng 2020-08-05 23:00:23
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=161492&ptid=79868]硅天下科技 发表于 2020-8-5 22:08[/url]
烧写时,步骤是:
1.首先选择芯片(如果芯片列表里面没有Hi3516DV300,选择相同系列的Hi3516CV500也可以) ...[/quote]

谢谢您,是这个步骤
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区