Who has multiple devices?
Hi, as per the 'DFUScript' thread, I've made a change to my flashing / backup utility to enable support for more than one attached DFU-capable device, but I'm interested to know what happens if you have more than one of the same device attached and booted into NAND/NOR. So, if you have more than one freerunner or more than one Neo1973, could I please ask you to boot them both/all into NAND/NOR, run dfu-util -l, and post the output here for me, along with what you had attached (i.e two freerunners, two 1973's, etc)? this would be a great help. thanks! -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
On Monday 15 September 2008, Dale Maggee wrote: Hi, as per the 'DFUScript' thread, I've made a change to my flashing / backup utility to enable support for more than one attached DFU-capable device, but I'm interested to know what happens if you have more than one of the same device attached and booted into NAND/NOR. So, if you have more than one freerunner or more than one Neo1973, could I please ask you to boot them both/all into NAND/NOR, run dfu-util -l, and post the output here for me, along with what you had attached (i.e two freerunners, two 1973's, etc)? this would be a great help. Two freerunners in NOR connected directly to the host: # dfu-util -l dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Found Runtime: [0x1d50:0x5119] devnum=4, cfg=0, intf=2, alt=0, name=USB Device Firmware Upgrade Found Runtime: [0x1d50:0x5119] devnum=3, 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
Re: Who has multiple devices?
Al Johnson wrote: On Monday 15 September 2008, Dale Maggee wrote: Hi, as per the 'DFUScript' thread, I've made a change to my flashing / backup utility to enable support for more than one attached DFU-capable device, but I'm interested to know what happens if you have more than one of the same device attached and booted into NAND/NOR. So, if you have more than one freerunner or more than one Neo1973, could I please ask you to boot them both/all into NAND/NOR, run dfu-util -l, and post the output here for me, along with what you had attached (i.e two freerunners, two 1973's, etc)? this would be a great help. Two freerunners in NOR connected directly to the host: # dfu-util -l dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Found Runtime: [0x1d50:0x5119] devnum=4, cfg=0, intf=2, alt=0, name=USB Device Firmware Upgrade Found Runtime: [0x1d50:0x5119] devnum=3, cfg=0, intf=2, alt=0, name=USB Device Firmware Upgrade Thanks Al, hmmm, interesting... Do you have any Idea how you would choose which one to flash if both were in NOR when you run dfu-util? the only difference I can see between those two devices is the devnum=x bit, but dfu-util -h doesn't seem to provide any method for providing this when flashing. could you perhaps use 'dfu-util --path bus-port. ... .port'? If so, what would you give it? I think the answer might end up being if you have two freerunners, make sure that they're not both in NAND/NOR when you flash ;) Thanks, -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
On Monday 15 September 2008, Dale Maggee wrote: Al Johnson wrote: On Monday 15 September 2008, Dale Maggee wrote: Hi, as per the 'DFUScript' thread, I've made a change to my flashing / backup utility to enable support for more than one attached DFU-capable device, but I'm interested to know what happens if you have more than one of the same device attached and booted into NAND/NOR. So, if you have more than one freerunner or more than one Neo1973, could I please ask you to boot them both/all into NAND/NOR, run dfu-util -l, and post the output here for me, along with what you had attached (i.e two freerunners, two 1973's, etc)? this would be a great help. Two freerunners in NOR connected directly to the host: # dfu-util -l dfu-util - (C) 2007 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Found Runtime: [0x1d50:0x5119] devnum=4, cfg=0, intf=2, alt=0, name=USB Device Firmware Upgrade Found Runtime: [0x1d50:0x5119] devnum=3, cfg=0, intf=2, alt=0, name=USB Device Firmware Upgrade Thanks Al, hmmm, interesting... Do you have any Idea how you would choose which one to flash if both were in NOR when you run dfu-util? the only difference I can see between those two devices is the devnum=x bit, but dfu-util -h doesn't seem to provide any method for providing this when flashing. could you perhaps use 'dfu-util --path bus-port. ... .port'? If so, what would you give it? Don't know - a look at the source seems in order since the online help is less than explicit, and the wiki doesn't mention -p at all. I think the answer might end up being if you have two freerunners, make sure that they're not both in NAND/NOR when you flash ;) I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
by 'dfu-util -l' you see dfu capable devices and it's addresses then you can specify which device you want to flash by attribute '-d hw-address' see 'dfu-util -h' On Mon, Sep 15, 2008 at 5:00 PM, Iker Berasaluce [EMAIL PROTECTED] wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Is that always possible? I mean, I have a built in webcam in my laptop that is always detected by DFU, thus making it unable for flashing the FR as far as I tried, that hasn't been too much. I'm looking for a way to tell the DFU wich device I want to flash removing none of them. And that would be useful for the script. -- Iker Berasaluce Departamento de Informatica Fulcrum SA ___ 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
Re: Who has multiple devices?
Al Johnson wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Agreed, that seems like the easiest way to manage it, I'll add this for the next release of my script. Thanks for your info and advice :) -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
On Monday 15 September 2008, Iker Berasaluce wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Is that always possible? I mean, I have a built in webcam in my laptop that is always detected by DFU, thus making it unable for flashing the FR as far as I tried, that hasn't been too much. I'm looking for a way to tell the DFU wich device I want to flash removing none of them. And that would be useful for the script. Your webcam doesn't (or shouldn't) have the same manufacturer and product identifiers as an openmoko so you should just be able to use: dfu-util -d 0x1d50:0x5119 -a rootfs -R -D my_rootfs.jffs2 With two freerunners we can't do that because they both have the same identifiers. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
Iker Berasaluce wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Is that always possible? I mean, I have a built in webcam in my laptop that is always detected by DFU, thus making it unable for flashing the FR as far as I tried, that hasn't been too much. I'm looking for a way to tell the DFU wich device I want to flash removing none of them. And that would be useful for the script. As Al Indicated, we're talking about when you have two of the same device attached. I already have my script detecting multiple devices and showing a list which allows you to select which device to flash. This will be in the next release, I'm just waiting on a couple of guys to test it out and confirm that it works. (I only have one dfu-capable device, so I can't test it properly) -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
On Mon, Sep 15, 2008 at 11:10 AM, Martin Šenkeřík [EMAIL PROTECTED]wrote: by 'dfu-util -l' you see dfu capable devices and it's addresses then you can specify which device you want to flash by attribute '-d hw-address' see 'dfu-util -h' On Mon, Sep 15, 2008 at 5:00 PM, Iker Berasaluce [EMAIL PROTECTED] wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Is that always possible? I mean, I have a built in webcam in my laptop that is always detected by DFU, thus making it unable for flashing the FR as far as I tried, that hasn't been too much. I'm looking for a way to tell the DFU wich device I want to flash removing none of them. And that would be useful for the script. -- Iker Berasaluce Departamento de Informatica Fulcrum SA ___ 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 The original reference to *multiple devices* was having more than one OM phone plugged in...not other USB devices. The script allows keeping other USB devicies plugged in but obviously can't differentiate when two OMs are plugged in. -- Michael Fisher [EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Who has multiple devices?
Wtf .. Please fix the bug! There are plenty of people who might want to mass update their freerunner sets.. ; -- ibi sum On Sep 15, 2008, at 17:51, Dale Maggee [EMAIL PROTECTED] wrote: Al Johnson wrote: I can't think of a situation where I would accidentally have two freerunners sitting in uboot. If -l shows more than one suitable device you could just suggest they remove all but the one that needs programming and try again. Agreed, that seems like the easiest way to manage it, I'll add this for the next release of my script. Thanks for your info and advice :) -Dale ___ 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