Re: Can't flash smaller root-fs through dfu-util?
Dr. H. Nikolaus Schaller [EMAIL PROTECTED] [2007-08-19 21:23:08]: After unsuccessfully flashing different root-filesystems, I finally found this note: If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=419#c7 ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
RE: Can't flash smaller root-fs through dfu-util?
Dr. H. Nikolaus Schaller wrote: After unsuccessfully flashing different root-filesystems, I finally found this note: If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? I have no info on the first question, but about the serial interface. The commands above actually run over USB. Simply boot the Neo into uBoot (hold the Aux button while powering on) and select the option to use the console over USB (Move selection using Aux, invoke the selection by pressing power). Then plug in the USB cable and run the cu command. - John ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Can't flash smaller root-fs through dfu-util?
Am 21.08.2007 um 17:13 schrieb andy selby: If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? Just type screen /dev/ttyACM0 into any pc while the device is in u-boot mode attached by a usb But not on a Mac... cable, that will give you the GTA01Bv3 prompt ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Can't flash smaller root-fs through dfu-util?
Am 21.08.2007 um 19:23 schrieb John Seghers: Dr. H. Nikolaus Schaller wrote: After unsuccessfully flashing different root-filesystems, I finally found this note: If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? I have no info on the first question, but about the serial interface. The commands above actually run over USB. Simply boot the Neo into uBoot (hold the Aux button while powering on) and select the option to use the console over USB (Move selection using Aux, invoke the selection by pressing power). Then plug in the USB cable and run the cu command. Many thanks for your suggestions, but MacOS X has no cu command :-( And, I want to automate this all with dfu-util. BTW: the bug tracker (bugs #419, #719, #726) says it has been solved by a newer version of uboot - but to my experience it is not completely solved even by an uboot compiled 19th August. It looks like that contrary to the warnings on http:// wiki.openmoko.org/wiki/Flashing_openmoko it is NOT optional. We all should flash a newer uboot first. Nikolaus ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Can't flash smaller root-fs through dfu-util?
If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? Just type screen /dev/ttyACM0 into any pc while the device is in u-boot mode attached by a usb cable, that will give you the GTA01Bv3 prompt ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Can't flash smaller root-fs through dfu-util?
On 8/21/07, Dr. H. Nikolaus Schaller [EMAIL PROTECTED] wrote: Am 21.08.2007 um 19:23 schrieb John Seghers: Dr. H. Nikolaus Schaller wrote: After unsuccessfully flashing different root-filesystems, I finally found this note: If you upload rootfs image that is smaller that previous one it won't work - you need to attach to bootloader, erase NAND and then upload your rootfs first: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs This *should* help but I am trying to understand why dfu-util can't do that? And what do I do if I have no serial interface? Does this mean I can't ever again flash a (smaller) rootfs? I have no info on the first question, but about the serial interface. The commands above actually run over USB. Simply boot the Neo into uBoot (hold the Aux button while powering on) and select the option to use the console over USB (Move selection using Aux, invoke the selection by pressing power). Then plug in the USB cable and run the cu command. Many thanks for your suggestions, but MacOS X has no cu command :-( And, I want to automate this all with dfu-util. BTW: the bug tracker (bugs #419, #719, #726) says it has been solved by a newer version of uboot - but to my experience it is not completely solved even by an uboot compiled 19th August. It looks like that contrary to the warnings on http:// wiki.openmoko.org/wiki/Flashing_openmoko it is NOT optional. We all should flash a newer uboot first. Nikolaus The problem is that many of us don't have a debug board, and it's a bit scary to flash a new uboot which could brick the device. It would be nice if some uboot builds were blessed so that we know we can safely flash those without bricking the neo. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Can't flash smaller root-fs through dfu-util?
Dr. H. Nikolaus Schaller wrote: cu -l /dev/ttyACM0 GTA01Bv3 # nand erase rootfs Many thanks for your suggestions, but MacOS X has no cu command :-( You can use minicom from the Darwin Ports collection. I've added a section on the Wiki: http://wiki.openmoko.org/wiki/MacOS_X#USB_Serial ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community