U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] dfu: using dfu-util -l shows different output
Date: Tue, 25 Jun 2013 10:08:01 +0200	[thread overview]
Message-ID: <51C94FE1.7090402@denx.de> (raw)

Hello,

using "dfu-util -l" shows different output connecting to
an am335x based board and using dfu_nand.c with current
u-boot:

after resetting the board I get:

# dfu-util -l
dfu-util 0.5

(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found Runtime: [0525:bd00] devnum=0, cfg=2, intf=0, alt=0, name="Device Firmware Upgrade"
#

after a dfu transfer I see:

# dfu-util -l
dfu-util 0.5

(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=0, name="SPL"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=1, name="SPL.backup1"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=2, name="SPL.backup2"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=3, name="SPL.backup3"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=4, name="u-boot"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=5, name="kernel_a"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=6, name="kernel_b"
Found DFU: [0525:bd00] devnum=0, cfg=2, intf=0, alt=7, name="rootfs"
#

Which I expected  ...

U-Boot environment variable:

U-Boot# print dfu_alt_info
dfu_alt_info=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel_a part 0 7;kernel_b part 0 8;rootfs
part 0 10
U-Boot#

Is this a bug or a feature?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

             reply	other threads:[~2013-06-25  8:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25  8:08 Heiko Schocher [this message]
2013-06-25  8:16 ` [U-Boot] dfu: using dfu-util -l shows different output Pantelis Antoniou
2013-06-25  8:25   ` Heiko Schocher
2013-06-25  8:44     ` Lukasz Majewski
2013-06-25  8:55       ` Heiko Schocher
2013-06-25 10:29         ` Lukasz Majewski
2013-06-25 11:24           ` Heiko Schocher
2013-06-25 11:35             ` Lukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C94FE1.7090402@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox