Re: dfu-util doesn't list NAND partitions

2010-12-27 Thread Martix
Hi,
I had this problem few months ago.
You should flash u-boot to NAND by nandwrite and run dynpart and
dynenv set u-boot_env in NAND u-boot console.
see: http://wiki.openmoko.org/wiki/Nandwrite
Then you can flash all partitions (including NAND u-boot) via dfu-util
from running NAND u-boot.


2010/12/26 Ivan Matveev imatvee...@nm.ru:
 Hi,
 the issue described at
 http://docs.openmoko.org/trac/ticket/2348
 is still there.
 Tried with 2 versions of dfu-util

 dfu-util --intf 0 -l
 dfu-util - (C) 2007 by OpenMoko Inc.
 This program is Free Software and has ABSOLUTELY NO WARRANTY

 Found Runtime: [0x1d50:0x5119] devnum=53, cfg=0, intf=2, alt=0,
 name=USB Device Firmware Upgrade
 
 ./dfu-util --intf 0 -l
 dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko
 Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY

 dfu-util does currently only support DFU version 1.0

 Found Runtime: [0x1d50:0x5119] devnum=55, cfg=0, intf=2, alt=0,
 name=USB Device Firmware Upgrade


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[solved] Re: dfu-util doesn't list NAND partitions

2010-12-27 Thread Ivan Matveev
Hi Martix,
thank you for the reply.

 Hi,
 I had this problem few months ago.
 You should flash u-boot to NAND by nandwrite and run dynpart and
 dynenv set u-boot_env in NAND u-boot console.
 see: http://wiki.openmoko.org/wiki/Nandwrite
 Then you can flash all partitions (including NAND u-boot) via dfu-util
 from running NAND u-boot.

  the issue described at
  http://docs.openmoko.org/trac/ticket/2348

I think we have different cases. In my case dfu-util downloads/uploads
fine if you name the partition right. But it didn't list the partitions
with
dfu-util --list
as it was in ran time mode. The partitions have different names in
dfu-util/u-boot/qi so I didn't know how to upload(FR-PC)
'identity-ext2'(qi name) partition.
I'v found a workaround 

dfu-util -a non-existent-partition -U anyfile

dfu-util says bad words you on PC console
FS screens says 'bla bla switching to DFU mode'

dfu-util --list
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=0, name=RAM
0x3200
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=1,
name=u-boot
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=2,
name=u-boot_env
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=3,
name=kernel
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=4,
name=splash
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=5,
name=factory
Found DFU: [0x1d50:0x5119] devnum=76, cfg=0, intf=0, alt=6,
name=rootfs



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


dfu-util doesn't list NAND partitions

2010-12-26 Thread Ivan Matveev
Hi,
the issue described at
http://docs.openmoko.org/trac/ticket/2348
is still there.
Tried with 2 versions of dfu-util

dfu-util --intf 0 -l
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Found Runtime: [0x1d50:0x5119] devnum=53, cfg=0, intf=2, alt=0,
name=USB Device Firmware Upgrade 

./dfu-util --intf 0 -l
dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko
Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found Runtime: [0x1d50:0x5119] devnum=55, cfg=0, intf=2, alt=0,
name=USB Device Firmware Upgrade


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community