Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-04-01 Thread Marek Vasut
Dear Graeme Russ, > Hi Marek, > > On 04/01/2012 05:27 AM, Marek Vasut wrote: > > Dear Mike Frysinger, > > > >> On Thursday 15 March 2012 03:52:45 Marek Vasut wrote: > >>> --- a/common/cmd_bootm.c > >>> +++ b/common/cmd_bootm.c > >>> > >>> -static void bootm_start_lmb(void) > >>> -{ > >>> > >>>

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-04-01 Thread Graeme Russ
Hi Marek, On 04/01/2012 05:27 AM, Marek Vasut wrote: > Dear Mike Frysinger, > >> On Thursday 15 March 2012 03:52:45 Marek Vasut wrote: >>> --- a/common/cmd_bootm.c >>> +++ b/common/cmd_bootm.c >>> >>> -static void bootm_start_lmb(void) >>> -{ >>> >>> #ifdef CONFIG_LMB >>> >>> +static void boot_s

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-31 Thread Marek Vasut
Dear Mike Frysinger, > On Thursday 15 March 2012 03:52:45 Marek Vasut wrote: > > --- a/common/cmd_bootm.c > > +++ b/common/cmd_bootm.c > > > > -static void bootm_start_lmb(void) > > -{ > > > > #ifdef CONFIG_LMB > > > > +static void boot_start_lmb(bootm_headers_t *images) > > +{ > > > > ul

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-31 Thread Mike Frysinger
On Thursday 15 March 2012 03:52:45 Marek Vasut wrote: > --- a/common/cmd_bootm.c > +++ b/common/cmd_bootm.c > > -static void bootm_start_lmb(void) > -{ > #ifdef CONFIG_LMB > +static void boot_start_lmb(bootm_headers_t *images) > +{ > ulong mem_start; > phys_size_t mem_si

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-30 Thread Wolfgang Denk
Dear Marek Vasut, In message <1331797965-7415-1-git-send-email-ma...@denx.de> you wrote: > From: Marek Vasut > > This command boots Linux zImage from where the zImage is loaded to. Passing > initrd and fdt is supported. > > Tested on i.MX28 based DENX M28EVK > Tested on PXA270 based Voipac PXA2

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-16 Thread Rob Herring
On 03/16/2012 02:16 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message <4f626711.8030...@gmail.com> you wrote: >> >> Turns out there is already a filesize variable that gets set on file >> load commands. >> >> And RTFM didn't help as that one is not documented... ;) > > Are you sure? I'

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-16 Thread Wolfgang Denk
Dear Rob Herring, In message <4f626711.8030...@gmail.com> you wrote: > > Turns out there is already a filesize variable that gets set on file > load commands. > > And RTFM didn't help as that one is not documented... ;) Are you sure? I'm pretty sure I can see it in the section of the manual tha

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Marek Vasut
Dear Rob Herring, > On 03/15/2012 04:10 PM, Rob Herring wrote: > > On 03/15/2012 03:29 PM, Marek Vasut wrote: > >> Dear Rob Herring, > >> > >>> On 03/15/2012 02:05 PM, Marek Vasut wrote: > Dear Rob Herring, > > > On 03/15/2012 02:52 AM, Marek Vasut wrote: > >> From: Marek Vasut

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Rob Herring
On 03/15/2012 04:10 PM, Rob Herring wrote: > On 03/15/2012 03:29 PM, Marek Vasut wrote: >> Dear Rob Herring, >> >>> On 03/15/2012 02:05 PM, Marek Vasut wrote: Dear Rob Herring, > On 03/15/2012 02:52 AM, Marek Vasut wrote: >> From: Marek Vasut >> >> This command boots Linu

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Rob Herring
On 03/15/2012 03:29 PM, Marek Vasut wrote: > Dear Rob Herring, > >> On 03/15/2012 02:05 PM, Marek Vasut wrote: >>> Dear Rob Herring, >>> On 03/15/2012 02:52 AM, Marek Vasut wrote: > From: Marek Vasut > > This command boots Linux zImage from where the zImage is loaded to. > Pa

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Wolfgang Denk
Dear Rob, In message <4f62479f.8070...@gmail.com> you wrote: > > How about: > > bootz [ [ []]] No. We hav ebeen used for 12 years to the order first kernel address, then ramdisk address (and a little less longer ), then dtb address. Don't change this now, and don;t make it inconsistent for d

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Marek Vasut
Dear Rob Herring, > On 03/15/2012 02:05 PM, Marek Vasut wrote: > > Dear Rob Herring, > > > >> On 03/15/2012 02:52 AM, Marek Vasut wrote: > >>> From: Marek Vasut > >>> > >>> This command boots Linux zImage from where the zImage is loaded to. > >>> Passing initrd and fdt is supported. > >> > >>

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Rob Herring
On 03/15/2012 02:05 PM, Marek Vasut wrote: > Dear Rob Herring, > >> On 03/15/2012 02:52 AM, Marek Vasut wrote: >>> From: Marek Vasut >>> >>> This command boots Linux zImage from where the zImage is loaded to. >>> Passing initrd and fdt is supported. >> >> This is great! However, the initrd is sti

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Marek Vasut
Dear Rob Herring, > On 03/15/2012 02:52 AM, Marek Vasut wrote: > > From: Marek Vasut > > > > This command boots Linux zImage from where the zImage is loaded to. > > Passing initrd and fdt is supported. > > This is great! However, the initrd is still in the u-boot image format, > right? > > If

Re: [U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

2012-03-15 Thread Rob Herring
On 03/15/2012 02:52 AM, Marek Vasut wrote: > From: Marek Vasut > > This command boots Linux zImage from where the zImage is loaded to. Passing > initrd and fdt is supported. > This is great! However, the initrd is still in the u-boot image format, right? If a raw initrd is supported, then we c