[U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-26 Thread Chris Packham
From: Chris Packham Instead of assuming that SYS_TEXT_BASE is 0xFFF8 calculate the initial pbl command offset by subtracting the image size from the top of the 24-bit address range. Also increase the size of the memory buffer to accommodate a larger output image. Signed-off-by: Chris Packham

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-26 Thread Xie Shaohui-B21989
Hi, Chris, For the init value of "next_pbl_cmd", there was a patch at below link can be used: http://lists.denx.de/pipermail/u-boot/2013-March/150260.html this patch with your modification below should can meet your requirement: > -static unsigned char mem_buf[60]; > +static unsigned char me

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-27 Thread Chris Packham
On 27/05/13 18:18, Xie Shaohui-B21989 wrote: > Hi, Chris, > > For the init value of "next_pbl_cmd", there was a patch at below link can be > used: > http://lists.denx.de/pipermail/u-boot/2013-March/150260.html > Thanks for the pointer. I did check the main u-boot.git tree but didn't search the

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-27 Thread Xie Shaohui-B21989
> On 27/05/13 18:18, Xie Shaohui-B21989 wrote: > > Hi, Chris, > > > > For the init value of "next_pbl_cmd", there was a patch at below link > can be used: > > http://lists.denx.de/pipermail/u-boot/2013-March/150260.html > > > > Thanks for the pointer. I did check the main u-boot.git tree but didn'