Wind River Support Network

HomeDefectsLIN6-8045
Fixed

LIN6-8045 : [bcm-xlp] It's hang while write jffs2 image to spi nor flash

Created: Jul 30, 2014    Updated: Dec 3, 2018
Resolved Date: Aug 14, 2014
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

root@localhost:~# flash_eraseall /dev/mtd5
flash_eraseall has been replaced by `flash_erase <mtddev> 0 0`; please use it
Erasing 64 Kibyte @ 7f0000 -- 100 % complete 
root@localhost:~# 
root@localhost:~# mkdir 128
root@localhost:~# mv /tmp/bcm-xlp-* 128/
root@localhost:~# 
d5ot@localhost:~# flashcp -v 128/bcm-xlp-glibc-small-standard-dist.jffs2 /dev/mt 
Erasing blocks: 96/96 (100%)
Writing data: 10k/6144k (0%)
 
---------- hang at here --------------
mtd5 size.
......
root@localhost:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 20000000 00080000 "firmware"
mtd1: 20000000 00080000 "kernel"
mtd2: 40000000 00080000 "user"
mtd3: 00200000 00010000 "x-loader"
mtd4: 00500000 00010000 "kernel"
mtd5: 00800000 00010000 "rootfs"
mtd6: 00100000 00010000 "env"
mtd7: 01c00000 00010000 "firmware"
mtd8: 06400000 00010000 "kernel"
root@localhost:~#

Jffs2 image size.
......
[wgao@pek-lpgtest9 ~]$ ls -l /folk/wr-taf/xlp/std/flashboot/128/bcm-xlp-glibc-small-standard-dist.jffs2 
-rw-r--r-- 1 wr-taf users 6291456 Jul 28 14:25 /folk/wr-taf/xlp/std/flashboot/128/bcm-xlp-glibc-small-standard-dist.jffs2
[wgao@pek-lpgtest9 ~]$ 

Other Downloads


Live chat
Online