why can not dfu-util list new partitions?
Ruini Xue
xueruini at gmail.com
Sat Mar 28 06:22:47 CET 2009
Hi,
I create a new partition named myrootfs just after rootfs in FR
NAND as follows:
=========================================================
GTA02v6 # mtdparts
device nor0 <physmap-flash>, # parts = 1
#: name size offset mask_flags
0: nor 0x00200000 0x00000000 0
device nand0 <neo1973-nand>, # parts = 7
#: name size offset mask_flags
0: u-boot 0x00040000 0x00000000 0
1: u-boot_env 0x00040000 0x00040000 0
2: kernel 0x00800000 0x00080000 0
3: splash 0x000a0000 0x00880000 0
4: factory 0x00040000 0x00920000 0
5: rootfs 0x07600000 0x00960000 0
6: myrootfs 0x080a0000 0x07f60000 0
# My new partition is here!!
active partition: nor0,0 - (nor) 0x00200000 @ 0x00000000
defaults:
mtdids : nor0=physmap-flash,nand0=neo1973-nand
mtdparts: <NULL>
======================================================
I want to flash a small rootfs to myrootfs with dfu-util, however,
dfu-util can not list the new partition:
=====================================================
$ sudo dfu-util -l
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=0, name="RAM
0x32000000"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=1, name="u-boot"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=2, name="u-boot_env"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=3, name="kernel"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=4, name="splash"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=5, name="factory"
Found DFU: [0x1d50:0x5119] devnum=22, cfg=0, intf=0, alt=6, name="rootfs"
????? where is the new partition?
============================================================
What's the problem? or is it safe to write with "dfu-util -a myrootfs
-D smallrootfs.jffs2 -R"?
Best
-- ruini
More information about the openmoko-kernel
mailing list