Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-03 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> > >> >My point here is to first load SPL u-boot (which size is around > >> >110 KiB), and then download via DFU full-featured u-boot, which > >> >would be placed in SDRAM. > >> > >> Yes this is good idea, so the SPL-DFU will have only RAM device > >> support (to loa

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-03 Thread B, Ravi
Hi Lukasz >> >> >My point here is to first load SPL u-boot (which size is around 110 >> >KiB), and then download via DFU full-featured u-boot, which would be >> >placed in SDRAM. >> >> Yes this is good idea, so the SPL-DFU will have only RAM device >> support (to load u-boot into DDR). But we

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-03 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> >One question: > >> > >> >Would it be possible to develop SPL (MLO) for your platform, > >> >which does following things: > >> > >> >1. Loads the full-fledge u-boot to SDRAM 2. Starts the u-boot and > >> >3. u-boot flash all the needed stuff > >> > >> >By using suc

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-02 Thread B, Ravi
Hi Lukasz >> >One question: >> >> >Would it be possible to develop SPL (MLO) for your platform, which >> >does following things: >> >> >1. Loads the full-fledge u-boot to SDRAM 2. Starts the u-boot and 3. >> >u-boot flash all the needed stuff >> >> >By using such approach we could restrict ou

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-02 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> The problem here is, how o flash the images first time to fresh > >> boards to QSPI or eMMC device, where there is no MMC/SD > >> boot option available. The solution to this problem is use > >> peripheral USB boot mode (configuring sysboot switches), where the > >> RO

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-06-02 Thread B, Ravi
Hi Lukasz >> The problem here is, how o flash the images first time to fresh >> boards toQSPI or eMMC device, where there is no MMC/SD boot >> option available. The solution to this problem is use peripheral USB >> boot mode (configuring sysboot switches), where the ROM loads the >> intial S

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> without fat/ext4, mmc support. But all device support may increase > >> size. > > > Ok. > > > However, adding fat/ext4/mmc (and other) support should be on > > demand (and enabled by proper Kconfig options). This would allow > > others to add only what is really nee

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread B, Ravi
Hi Lukasz >> without fat/ext4, mmc support. But all device support may increase >> size. > Ok. > However, adding fat/ext4/mmc (and other) support should be on demand (and > enabled by proper Kconfig options). > This would allow others to add only what is really needed. True, we provide increm

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> >> Since DFU is tighly coupled to u-boot infrastructure , the size > >> >> will increase due to multiple dependencies to compile u-boot > >> >> DFU source in SPL. Let me re-think on possibility and come back. > >> > >> >If you would need any assistance, please let me

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread B, Ravi
Hi Lukasz >> >> Since DFU is tighly coupled to u-boot infrastructure , the size >> >> will increase due to multiple dependencies to compile u-boot DFU >> >> source in SPL. Let me re-think on possibility and come back. >> >> >If you would need any assistance, please let me know (I don't have >>

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread Lukasz Majewski
Hi Ravi, > Hi Lucasz > > Thanks for active support. > > >> >> > > >> >> > - Would it be hard to add SPL-DFU support also to BeagleBone > >> >> > Black(am335x) (BBB) board? I'm asking since BBB is far more > >> >> > pervasive than dra7x (and I might be able to cover SPL-DFU > >> >> > easily wi

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread B, Ravi
Hi Lucasz Thanks for active support. >> >> > >> >> > - Would it be hard to add SPL-DFU support also to BeagleBone >> >> > Black(am335x) (BBB) board? I'm asking since BBB is far more >> >> > pervasive than dra7x (and I might be able to cover SPL-DFU easily >> >> > with our new ptest (DFU) test

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-31 Thread Lukasz Majewski
Hi Ravi, > Lukasz > > >> Hi Lukasz > >> > >> > On 30-May-2016, at 5:24 PM, Lukasz Majewski > >> > wrote: > >> > > >> > Hi Ravi, > >> > > >> > Thanks for adding this functionality to DFU. > >> > > >> > Please find below organizational tips: > >> > > >> > - Please use 'patman' (./tools/patman

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-30 Thread B, Ravi
Lukasz >> Hi Lukasz >> >> > On 30-May-2016, at 5:24 PM, Lukasz Majewski >> > wrote: >> > >> > Hi Ravi, >> > >> > Thanks for adding this functionality to DFU. >> > >> > Please find below organizational tips: >> > >> > - Please use 'patman' (./tools/patman/patman) tool when sending >> > patc

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-30 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > > On 30-May-2016, at 5:24 PM, Lukasz Majewski > > wrote: > > > > Hi Ravi, > > > > Thanks for adding this functionality to DFU. > > > > Please find below organizational tips: > > > > - Please use 'patman' (./tools/patman/patman) tool when sending > > patches (it adds

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-30 Thread B, Ravi
Hi Lukasz > On 30-May-2016, at 5:24 PM, Lukasz Majewski wrote: > > Hi Ravi, > > Thanks for adding this functionality to DFU. > > Please find below organizational tips: > > - Please use 'patman' (./tools/patman/patman) tool when sending patches > (it adds me automatically to CC). > > - Woul

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-30 Thread Lukasz Majewski
Hi Ravi, Thanks for adding this functionality to DFU. Please find below organizational tips: - Please use 'patman' (./tools/patman/patman) tool when sending patches (it adds me automatically to CC). - Would it be hard to add SPL-DFU support also to BeagleBone Black(am335x) (BBB) board? I'm