Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-11-03 Thread Lukasz Majewski
Hi Wolfgang, Dear Lukasz, In message 20131031222010.082d453f@jawa you wrote: Why can we not have a common format for all media supporting the raw type? I mean, why can we not also use start, size for mmc? It should be trivial to convert into a LBA number. I think, that I

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-11-01 Thread Heiko Schocher
Hello Lukasz, Am 31.10.2013 18:25, schrieb Lukasz Majewski: Dear All, As a follow up from u-boot's mini-summit at ELCE 2013, I would like to once again share the new format of dfu_alt_info env variable (for those who couldn't attend). dfu_alt_info_cleanup:

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-10-31 Thread Lukasz Majewski
Dear All, As a follow up from u-boot's mini-summit at ELCE 2013, I would like to once again share the new format of dfu_alt_info env variable (for those who couldn't attend). dfu_alt_info_cleanup: |---+-+-+-+--| | | dev_name: |

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-10-31 Thread Wolfgang Denk
Dear Lukasz, In message 20131031182541.3a3020c6@amdc308.digital.local you wrote: As a follow up from u-boot's mini-summit at ELCE 2013, I would like to once again share the new format of dfu_alt_info env variable (for those who couldn't attend). dfu_alt_info_cleanup:

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-10-31 Thread Wolfgang Denk
Dear Lukasz, In message 20131031222010.082d453f@jawa you wrote: Why can we not have a common format for all media supporting the raw type? I mean, why can we not also use start, size for mmc? It should be trivial to convert into a LBA number. I think, that I could do better with this

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-10-31 Thread Lukasz Majewski
Hi Wolfgang, Dear Lukasz, In message 20131031182541.3a3020c6@amdc308.digital.local you wrote: As a follow up from u-boot's mini-summit at ELCE 2013, I would like to once again share the new format of dfu_alt_info env variable (for those who couldn't attend).

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-08-23 Thread Lukasz Majewski
On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell mboa...@prograde.net wrote, On Jul 18, 2013, at 12:39 PM, Tom Rini tr...@ti.com wrote: uImage | raw | nand | 0 | kernel | - | - | - | Since partitions provide start/size. Hi Michael, I've got some WIP that pulls

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-19 Thread Marek Vasut
Dear Heiko Schocher, Hello Marek, Am 18.07.2013 17:10, schrieb Marek Vasut: Hi, Dear Heiko Schocher, In message51e77a1d.90...@denx.de you wrote: Try nand write.trimffs to write UBI images produced with ubinize . This solves not the erasecounter problem, or? For UBI we

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Lukasz Majewski
On Thu, 18 Jul 2013 07:36:40 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, Hello Lukasz, Am 17.07.2013 16:34, schrieb Lukasz Majewski: On Wed, 17 Jul 2013 12:26:35 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Wolfgang Denk
Dear Heiko Schocher, In message 51e77a1d.90...@denx.de you wrote: Try nand write.trimffs to write UBI images produced with ubinize . This solves not the erasecounter problem, or? For UBI we need something like this: http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo But

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Marek Vasut
Hi, Dear Heiko Schocher, In message 51e77a1d.90...@denx.de you wrote: Try nand write.trimffs to write UBI images produced with ubinize . This solves not the erasecounter problem, or? For UBI we need something like this:

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Tom Rini
On Tue, Jul 16, 2013 at 05:35:21PM +0200, Lukasz Majewski wrote: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of dfu_alt_info environment

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Michael Cashwell
On Jul 18, 2013, at 12:39 PM, Tom Rini tr...@ti.com wrote: uImage | raw | nand | 0 | kernel | - | - | - | Since partitions provide start/size. I've got some WIP that pulls the alt info from a GPT partition map on mmc. That alt settings in DFU can be strings or numbers was

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/18/2013 04:17 PM, Lukasz Majewski wrote: On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell mboa...@prograde.net wrote: On Jul 18, 2013, at 12:39 PM, Tom Rini tr...@ti.com wrote: uImage | raw | nand | 0 | kernel | - | - |

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Lukasz Majewski
On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell mboa...@prograde.net wrote: On Jul 18, 2013, at 12:39 PM, Tom Rini tr...@ti.com wrote: uImage | raw | nand | 0 | kernel | - | - | - | Since partitions provide start/size. I've got some WIP that pulls the alt info

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Heiko Schocher
Hello Marek, Am 18.07.2013 17:10, schrieb Marek Vasut: Hi, Dear Heiko Schocher, In message51e77a1d.90...@denx.de you wrote: Try nand write.trimffs to write UBI images produced with ubinize . This solves not the erasecounter problem, or? For UBI we need something like this:

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of dfu_alt_info environment variable.

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Lukasz Majewski
On Wed, 17 Jul 2013 12:26:35 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Tormod Volden
On Wed, Jul 17, 2013 at 4:34 PM, Lukasz Majewski wrote: _As a side note:_ I'm now developing proof-of-concept idea of executing set of commands sent to u-boot by dfu-util [***]. Rationale for this is the lack of ability to reset u-boot after sending data to u-boot via DFU. dfu-util has -R

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Marek Vasut
Dear Heiko Schocher, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Marek, Am 18.07.2013 06:17, schrieb Marek Vasut: Dear Heiko Schocher, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Lukasz, Am 17.07.2013 16:34, schrieb Lukasz Majewski: On Wed, 17 Jul 2013 12:26:35 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND),

[U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-16 Thread Lukasz Majewski
Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of dfu_alt_info environment variable. Proposed new format for single dfu entity: NAME | Type |

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-16 Thread Tormod Volden
On Tue, Jul 16, 2013 at 5:35 PM, Lukasz Majewski wrote: The end step would be to extend dfu-util to support -C switch, which would allow to send u-boot command quoted as text: dfu-util -aN -C reset Instead of adding a new, rather u-boot specific option to dfu-util, would implementation of the

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 23:27:44 +0200 Tormod Volden lists.tor...@gmail.com wrote: Hi Tormod, On Tue, Jul 16, 2013 at 5:35 PM, Lukasz Majewski wrote: The end step would be to extend dfu-util to support -C switch, which would allow to send u-boot command quoted as text: dfu-util -aN -C reset