Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Charles Manning
On Friday 28 February 2014 10:23:11 Wolfgang Denk wrote: > Dear Charles, > > sorry, I only send part of the message. Here is the rest. > > In message you wrote: > > > > Both Gerhard and me asked before: Why exactly do we need another > > > > implementation of CRC32. We already have some - why c

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Charles Manning
> > I can certainly avoid the ifdef, but there is already another one three > > lines down > > for the SAMSUNG case: > > > > ifdef CONFIG_SOCFPGA > > ALL-y += $(OBJTREE)/socfpga-signed-preloader.bin > > endif > > > > ifdef CONFIG_SAMSUNG > > ALL-y+= $(obj)/$(BOARD)-spl.bin > > endif > > > > I

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Wolfgang Denk
Dear Charles, sorry, I only send part of the message. Here is the rest. In message you wrote: > > > > Both Gerhard and me asked before: Why exactly do we need another > > > implementation of CRC32. We already have some - why cannot we use > > > these? ... > The actual table values I am using

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Wolfgang Denk
Dear Charles, In message you wrote: > > > > I asked before: Can we not use "ALL-$(CONFIG_SOCFPGA)" and avoid the > > > ifdef ? ... > I can certainly avoid the ifdef, but there is already another one three > lines down > for the SAMSUNG case: > > ifdef CONFIG_SOCFPGA > ALL-y += $(OBJTREE)/socf

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
Hello Wolfgang I have some further observations to my last email... Your input would be vastly appreciated. Please see below. On Tue, Feb 25, 2014 at 8:18 AM, Charles Manning wrote: > Hello Wolfgang > On Monday 24 February 2014 19:48:36 Wolfgang Denk wrote: > > Dear Charles, > > > > In messag

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
Hello Wolfgang On Monday 24 February 2014 19:48:36 Wolfgang Denk wrote: > Dear Charles, > > In message <1393194939-29786-1-git-send-email-cdhmann...@gmail.com> you wrote: > > Like many platforms, the Altera socfpga platform requires that the > > preloader be "signed" in a certain way or the built-

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-23 Thread Wolfgang Denk
Dear Charles, In message <1393194939-29786-1-git-send-email-cdhmann...@gmail.com> you wrote: > Like many platforms, the Altera socfpga platform requires that the > preloader be "signed" in a certain way or the built-in boot ROM will > not boot the code. > > This change automatically creates an ap

[U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-23 Thread Charles Manning
Like many platforms, the Altera socfpga platform requires that the preloader be "signed" in a certain way or the built-in boot ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image. Signed-off-by: Charles Manning --- Changes for v3: -