2272943826

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826  发布于  2016-06-28 16:05:56
采纳率 0%
24个问答
5657

[已解决]spi 烧写Failed to burn rootfs partition

 
本帖最后由 2272943826 于 2016-11-25 09:54 编辑

谢谢 ngswfx 大神耐心,认真的帮忙。 :P

现在我spi flash 烧写程序进入hi3516 目标板,遇到下面问题:
Failed to burn rootfs partition

file system location memory我改成 9M-16M 成功啦

谢谢
我来回答
回答11个
时间排序
认可量排序

ngswfx

2个粉丝

55

问答

1

专栏

40

资料

ngswfx 2016-06-28 17:03:46
认可0
就是提示1.82不存在,你检查一下你的pc机,看192.168.1.82对不对。

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-06-28 17:13:02
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=32680&ptid=11766]ngswfx 发表于 2016-6-28 17:03[/url]
就是提示1.82不存在,你检查一下你的pc机,看192.168.1.82对不对。[/quote]

谢谢您的回复
     我的网络信息连接好啦
     192.168.1.82 是我主机的ip address
     192.168.1.40 是我开发板的ip address

新的问题: fail to burn the bootfs
:lol
Current status:

Partition Burning Started! Please power off and then power on the board.
Boot 100 % Downloaded.
Boot Downloading completed!


U-Boot 2010.06 (Oct 22 2015 - 14:46:56)

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: 0x01 0xDA 0x90 0x95 0x44 0x01 0xDA 0x90
Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit/512
Nand total size: 256MB

*** 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!
#
Block:64KB Chip:32MB*1
ID:0xC2 0x20 0x19
Name:"MX25L(256/257)3"
(OK)
"getinfo spi" command sent successfully!
Block:128KB Chip:256MB*1 Page:2KB OOB:64B ECC:1bit/512Byte
ID:0x01 0xDA 0x90 0x95 0x44 0x01 0xDA 0x90
Name:"NAND 256MiB 3,3"
(OK)
"getinfo nand" 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% complete.
(OK)
"sf erase 0 0x100000" command sent successfully!
#
Writing at 0x10000 --  25% complete.
Writing at 0x20000 --  50% complete.
Writing at 0x30000 --  75% complete.
Writing at 0x40000 -- 100% complete.
(OK)
"sf write 0x81000000 0 0x40000" command sent successfully!
Fastboot partition burnt successfully!
(OK)
"setenv serverip 192.168.1.82" command sent successfully!
(OK)
"setenv ethaddr 00:e0:88:37:fa:b1" command sent successfully!
(OK)
"setenv ipaddr 192.168.1.40" command sent successfully!
(OK)
"setenv netmask 255.255.255.0" command sent successfully!
(OK)
"setenv gatewayip 192.168.1.1" command sent successfully!
###
(OK)
"mw.b 0x81000000 0xff 0x2e0000" command sent successfully!
###
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
#####
host 192.168.1.82 is alive
(OK)
"ping 192.168.1.82" command sent successfully!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
TFTP from server 192.168.1.82; our IP address is 192.168.1.40
Download Filename 'uImage_hi3516a'.
Download to address: 0x81000000
Downloading: *
###################################################
done
Bytes transferred = 2985656 (2d8eb8 hex)
(OK)
"tftp 0x81000000 uImage_hi3516a" command sent successfully!
32768 KiB hi_sfc at 0:0 is now current device
(OK)
"sf probe 0" command sent successfully!
Erasing at 0x110000 --   0% complete.
#
Erasing at 0x130000 --   1% complete.
Erasing at 0x150000 --   2% complete.
#
Erasing at 0x180000 --   3% complete.
#
Erasing at 0x1a0000 --   4% complete.
Erasing at 0x1c0000 --   5% complete.
#
Erasing at 0x1f0000 --   6% complete.
#
Erasing at 0x210000 --   7% complete.
Erasing at 0x240000 --   8% complete.
#
Erasing at 0x260000 --   9% complete.
Erasing at 0x280000 --  10% complete.
#
Erasing at 0x2b0000 --  11% complete.
#
Erasing at 0x2d0000 --  12% complete.
Erasing at 0x300000 --  13% complete.
#
Erasing at 0x320000 --  14% complete.
Erasing at 0x340000 --  15% complete.
#
Erasing at 0x370000
--  16% complete.
#
Erasing at 0x390000 --  17% complete.
Erasing
at 0x3c0000 --  18% complete.
#
Erasing at 0x3e0000 --  19% complete.
Erasing at 0x400000 --  20% complete.
#
Erasing
at 0x430000 --  21% complete.
#
Erasing at 0x450000 --  22% complete.
Erasing at 0x480000 --  23%
complete.
#
Erasing at 0x4a0000 --  24% complete.
Erasing at 0x4c0000 --  25% complete.
#
Erasing at 0x4f0000 --  26% complete.
#
Erasing at 0x510000 --  27% complete.
Erasing at 0x540000 --  28% complete.
#
Erasing at 0x560000 --  29% complete.
#
Erasing at 0x580000 --  30% complete.
Erasing at 0x5b0000 --  31%
complete.
#
Erasing at 0x5d0000 --  32% complete.
#
Erasing at 0x600000 --  33% complete.
Erasing at 0x620000 --  34% complete.
#
Erasing at 0x640000 --  35% complete.
Erasing at 0x67000
0 --  36% complete.
#
Erasing at 0x690000 --  37% complete.
#
Erasing at 0x6c0000 --  38% complete.
Erasing at 0x6e0000 --  39% complete.
#
Erasing at 0x700000 --  40% complete.
Erasing at 0x730000 --  41% complete.
#
Erasing at 0x750000 --  42% complete.
#
Erasing at 0x780000 --  43% complete.
Erasing at 0x7a0000 --  44% complete.
#
Erasing at 0x7c0000 --  45% complete.
Erasing at 0x7f0000 --  46% complete.
#
Erasing at 0x810000 --  47% complete.
#
Erasing at 0x840000 --  48% complete.
Erasing at 0x860000 --  49% complete.
#
Erasing at 0x880000 --  50% complete.
Erasing at 0x8b0000 --  51% complete.
#
Erasing at 0x8d0000 --  52% complete.
#
Erasing at 0x900000 --  53% complete.
Erasing at 0x920000 --  54% complete.
#
Erasing at 0x940000 --  55% complete.
#
Erasing at 0x970000 --  56% complete.
Erasing at 0x990000 --  57% complete.
#
Erasing at 0x9c0000
--  58% complete.
Erasing at 0x9e0000 --  59% complete.
#
Erasing at 0xa00000 --  60% complete.
#
Erasing at 0xa30000 --  61% complete.
Erasing at 0xa50000 --  62% complete.
#
Erasing at 0xa80000 --  63% c
omplete.
Erasing at 0xaa0000 --  64% complete.
#
Erasing at 0xac0000 --  65% complete.
#
Erasing
at 0xaf0000 --  66% complete.
Erasing at 0xb10000 --  67% complete.
#
Erasing at 0xb40000 --  68% complete.
Erasing at 0xb60000 --  69% complete.
#
Erasing at 0xb80000 --  70% complete.
#
Erasing at 0xbb000
0 --  71% complete.
Erasing at 0xbd0000 --  72% complete.
#
Erasing at 0xc0
0000 --  73% complete.
Erasing at 0xc20000 --  74% complete.
#
Erasing at 0xc40000 --  75% complete.
#
Erasing at 0xc70000 --  76% complete.
Erasing at 0xc90000 --  77% complete.
#
Erasing at 0xcc0000 --  78% c
omplete.
#
Erasing at 0xce0000 --  79% complete.
Erasing at 0xd00000 --  80% complete.
#
Erasing at 0xd30000 --  81% complete.
Erasing at 0xd50000 --  82% complete.
#
Erasing at 0xd80000 --  83% complete.
#
Erasing at 0xda0000 --  84% complete.
Erasing at 0xdc0000 --  85% complete.
#
Erasing at 0xdf0000 --  86% complete.
Erasing at 0xe10000 --  87% complete.
#
Erasing at 0xe40000 --  88% com
plete.
#
Erasing at 0xe60000 --  89% complete.
Erasing at 0xe80000 --  90% complete.
#
Erasing at 0xeb0000 --  91% complete.
Erasing at 0xed0000 --  92% complete.
#
Erasing at 0xf00000 --  93% complete.
#
Erasing at 0xf20000 --  94% complete.
Erasing at 0xf40000 --  95% complete.
#
Erasing at 0xf70000 --  96% complete.
Erasing at 0xf90000 --  97% complete.
#
Erasing at 0xfc0000 --  98% complete.
#
Erasing at 0xfe0000 --  99% complete.
Erasing at 0x1000000 -- 100% complete.
(OK)
"sf erase 0x100000 0xf00000" command sent successfully!
#
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 --  13% complete.
Writing at 0x170000 --  15% complete.
#
Writing at 0x180000 --  17% complete.
Writing at 0x190000 --  19% complete.
Writing at 0x1a0000 --  21% complete.
Writing at 0x1b0000 --  23% complete.
Writing at 0x1c0000 --  26% complete.
Writing at 0x1d0000 --  28% complete.
Writing at 0x1e0000 --  30% complete.
Writing at 0x1f0000 --  32% complete.
#
Writing at 0x200000 --  34% complete.
Writing at 0x210000 --  36% complete.
Writing at 0x220000 --  39% complete.
Writing at 0x230000 --  41% complete.
Writing at 0x240000 --  43% complete.
Writing at 0x250000 --  45% complete.
Writing at 0x260000 --  47% complete.
#
Writing at 0x270000 --  50% complete.
Writing at 0x280000 --  52% complete.
Writing at 0x290000 --  54% complete.
Writing at 0x2a0000 --  56% complete.
Writing at 0x2b0000 --  58% complete.
Writing at 0x2c0000 --  60% complete.
Writing at 0x2d0000 --  63% complete.
Writing at 0x2e0000 --  65% complete.
#
Writing at 0x2f0000 --  67% complete.
Writing at 0x300000 --  69% complete.
Writing at 0x310000 --  71% complete.
Writing at 0x320000 --  73% complete.
Writing at 0x330000 --  76% complete.
Writing at 0x340000 --  78% complete.
Writing at 0x350000 --  80% complete.
#
Writing at 0x360000 --  82% complete.
Writing at 0x370000 --  84% complete.
Writing at 0x380000 --  86% complete.
Writing at 0x390000 --  89% complete.
Writing at 0x3a0000 --  91% complete.
Writing at 0x3b0000 --  93% complete.
Writing at 0x3c0000 --  95% complete.
Writing at 0x3d0000 --  97% complete.
#
Writing at 0x3e0000 -- 100% complete.
(OK)
"sf write 0x81000000 0x100000 0x2e0000" command sent successfully!
kernel Partition burnt successfully!
(OK)
"mw.b 0x81000000 0xff 0x4b0000" command sent successfully!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
host 192.168.1.82 is alive
(OK)
"ping 192.168.1.82" command sent successfully!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
TFTP from server 192.168.1.82; our IP address is 192.168.1.40
Download Filename 'rootfs_hi3516a_256k.jffs2'.
Download to address: 0x81000000
Downloading: *
######################################################
done
Bytes transferred = 4915076 (4aff84 hex)
(OK)
"tftp 0x81000000 rootfs_hi3516a_256k.jffs2" command sent successfully!
32768 KiB hi_sfc at 0:0 is now current device
(OK)
"sf probe 0" command sent successfully!
ERROR: erase area is out of range!

(ERROR)
Failed to send "sf erase 0x1000000 0x2000000" command!
Failed to burn rootfs partition!

ngswfx

2个粉丝

55

问答

1

专栏

40

资料

ngswfx 2016-06-28 17:24:31
认可0
本帖最后由 ngswfx 于 2016-6-28 17:29 编辑

[quote][url=forum.php?mod=redirect&goto=findpost&pid=32682&ptid=11766]2272943826 发表于 2016-6-28 17:13[/url]
谢谢您的回复
     我的网络信息连接好啦
     192.168.1.82 是我主机的ip address
[/quote]

ERROR: erase area is out of range!  由于你的flash是32M的,配置sf erase 0x1000000 0x2000000也没错,但是考虑到软件底层实现可能在0x2000000越界。0x0-0x2000000可是大于0x2000000的。

你把16M -32M改成 16M-31M试试,弄不好最后一个字节越界了。


kenerl uimage 3M左右。
你的这个rootfs只有5M左右,小点没关系。

如果还是不行,就让kernel 1M-8M  rootfs 8M-16M               //这主要防止uboot认错了32M的flash的容量,实际上是16M的。

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-06-28 17:35:24
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=32686&ptid=11766]ngswfx 发表于 2016-6-28 17:24[/url]
ERROR: erase area is out of range!  由于你的flash是32M的,配置sf erase 0x1000000 0x2000000也没 ...[/quote]

真心谢谢你的及时回复

     按照你的 5M的 rootfs , 我把 范围改成啦 16M-26M。

rootfs 还是有点问题 。
Current Stauts:

"sf write 0x81000000 0x100000 0x2e0000" command sent successfully!
kernel Partition burnt successfully!
(OK)
"mw.b 0x81000000 0xff 0x4b0000" command sent successfully!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
host 192.168.1.82 is alive
(OK)
"ping 192.168.1.82" command sent successfully!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=1000M
MAC:   00-E0-88-37-FA-B1
TFTP from server 192.168.1.82; our IP address is 192.168.1.40
Download Filename 'rootfs_hi3516a_256k.jffs2'.
Download to address: 0x81000000
Downloading: *
######################################################
done
Bytes transferred = 4915076 (4aff84 hex)
(OK)
"tftp 0x81000000 rootfs_hi3516a_256k.jffs2" command sent successfully!
32768 KiB hi_sfc at 0:0 is now current device
(OK)
"sf probe 0" command sent successfully!
ERROR: erase area is out of range!

(ERROR)
Failed to send "sf erase 0x1000000 0x1a00000" command!
Failed to burn rootfs partition!

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-06-28 17:36:41
认可0
本帖最后由 2272943826 于 2016-11-25 09:52 编辑

[quote][url=forum.php?mod=redirect&goto=findpost&pid=32686&ptid=11766]ngswfx 发表于 2016-6-28 17:24[/url]
ERROR: erase area is out of range!  由于你的flash是32M的,配置sf erase 0x1000000 0x2000000也没 ...[/quote]

非常感谢

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-06-28 17:49:08
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=32690&ptid=11766]2272943826 发表于 2016-6-28 17:36[/url]
按照 16M-26M的 rootfs 的范围,
一样的问题[/quote]

我改成 8M-16M 成功啦  

谢谢您的指导 :lol

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-06-28 17:55:10
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=32686&ptid=11766]ngswfx 发表于 2016-6-28 17:24[/url]
ERROR: erase area is out of range!  由于你的flash是32M的,配置sf erase 0x1000000 0x2000000也没 ...[/quote]

你好好厉害,:lol:P

wuyong

0个粉丝

3

问答

0

专栏

1

资料

wuyong 2016-09-02 14:58:20
认可0
很不错,值得学习一下

2920537617

0个粉丝

5

问答

0

专栏

0

资料

2920537617 2016-09-27 17:07:36
认可0

很不错,值得学习一下

画个圈圈诅咒你

0个粉丝

4

问答

0

专栏

0

资料

画个圈圈诅咒你 2016-09-28 15:12:49
认可0
我想问一下,能够烧写的文件类型是什么样?谢谢

2272943826

0个粉丝

24

问答

0

专栏

8

资料

2272943826 2016-09-28 17:11:31
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=38612&ptid=11766]画个圈圈诅咒你 发表于 2016-9-28 15:12[/url]
我想问一下,能够烧写的文件类型是什么样?谢谢[/quote]

   
1 uboot-----u-boot-hi3516a.bin
2 kernel-----uImage_hi3516a
3 rootfilesystem------rootfs_hi3516a_64k.jffs2
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区