[U-Boot] [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-17 Thread Alison Wang
For LS102xA, the initialized next_pbl_cmd should be the sum of 0x8100, the lower 24 bits of CONFIG_SPL_TEXT_BASE and CONFIG_SPL_MAX_SIZE(0x1a000). The sum is different from PowerPC. The PBI CRC command is different from PowerPC too. In pblimage tool, add the support for the above two issues. S

Re: [U-Boot] [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-18 Thread Albert ARIBAUD
Hi Alison, On Thu, 18 Sep 2014 13:47:14 +0800, Alison Wang wrote: > For LS102xA, the initialized next_pbl_cmd should be the sum of > 0x8100, the lower 24 bits of CONFIG_SPL_TEXT_BASE and > CONFIG_SPL_MAX_SIZE(0x1a000). The sum is different from PowerPC. > The PBI CRC command is different fro

Re: [U-Boot] [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-21 Thread Huan Wang
Hi, Albert, > On Thu, 18 Sep 2014 13:47:14 +0800, Alison Wang > wrote: > > > @@ -111,6 +115,14 @@ static void pbl_parser(char *name) > > size_t len = 0; > > > > fname = name; > > + > > + if (strstr(fname, "ls102xa")) { > > + next_pbl_cmd = 0x8101a000; > > + pbl_cmd_