[U-Boot] Altera Arria10 socfpga image usage

2017-09-01 Thread Andre Renaud
Hi, Is there a document somewhere describing how to program the Arria10 dev kit with the u-boot-with-spl.sfp image? This is the image built from the 'next' branch from http://git.denx.de/?p=u-boot/u-boot-socfpga.git using: $ make socfpga_arria10_defconfig $ make The image is too large to be wrappe

[U-Boot] [PATCH] MX6: Correct calculation of PLL_SYS

2014-06-09 Thread Andre Renaud
DIV_SELECT is used as Fout = Fin * div_select / 2.0, so we should do the shift after the multiply to avoid rounding errors Signed-off-by: Andre Renaud --- arch/arm/cpu/armv7/mx6/clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch

Re: [U-Boot] [PATCH v4 11/15] dm: Fix printf() strings in the 'dm' command

2014-06-08 Thread Andre Renaud
On 7 June 2014 07:13, Simon Glass wrote: > The values here are int, but the map_to_sysmem() call can return a long. > Add a cast to deal with this. ... > - printf("%s- %s @ %08x", buf, in->name, map_to_sysmem(in)); > + printf("%s- %s @ %08x", buf, in->name, (uint)map_to_sysmem(in)); I

Re: [U-Boot] fdt performance

2013-10-17 Thread Andre Renaud
Hi Wolfgang, On 18 October 2013 07:55, Wolfgang Denk wrote: > In message <525f8284.4000...@caviumnetworks.com> you wrote: >> Some of the checks in fdt_offset_ptr also look useless, such as if >> ((offset + len) < offset) which will always be false, or >> if (p + len < p) > > What happens if the "

Re: [U-Boot] imximage on the MX50

2013-10-02 Thread Andre Renaud
Hi Stefano, >> Specifically, the dcd_ptr in the v2 imx header points to an address in >> DDR, however I would have thought that on power-up the DCD is loaded >> somewhere in iRAM (since the DDR isn't running at this stage), and >> then only once this has been interpreted is the full image loaded i

[U-Boot] imximage on the MX50

2013-10-01 Thread Andre Renaud
Hi, I'm trying to port u-boot 2013.10-rc2 to the i.MX50 (which is very similar to the i.MX53). However I'm not having much luck with the imximage, and have so far not managed to make the unit run stand-alone. Specifically, the dcd_ptr in the v2 imx header points to an address in DDR, however I wo

[U-Boot] [PATCH] Fix bitmap offsets for non 8-bit LCDs

2013-02-13 Thread Andre Renaud
Currently bitmap logos don't interpret the X coordinate correctly if the bpp is anything other than 8. Signed-off-by: Andre Renaud --- common/lcd.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 66d4f94..ee47712 100644

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Andre Renaud
Hi Simon, On 17 January 2013 04:17, Simon Glass wrote: > If we do this, rather than re-invent the wheel, does anyone have any > suggestions on a very small and simple existing library that we could > bring in to do this? If what you want is a small graphics/font system then I'd recommend the w

Re: [U-Boot] [PATCH v2] at91: Add support for Bluewater Systems Snapper 9G45 module

2011-11-01 Thread Andre Renaud
mr); > + writel(AT91_RSTC_KEY | AT91_RSTC_CR_EXTRST, &rstc->cr); You don't actually need to reset the PHY for 500ms, only 100us, so the AT91_RSTC_MR_ERSTL(13) can be replaced with AT91_RSTC_MR_ERSTL(0), which give you the minimum delay (62ms I think). Regards, Andre -- Blu

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-10 Thread Andre Renaud
far as I can tell from the i.MX25 datasheet the image has a fixed offset, and there doesn't seem much point in not rolling this into the final image. Am I missing something about this? Regards, Andre -- Bluewater Systems - An Aiotec Company Andre Renaud an...@bluewat

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
s after. Thanks for that, once I get some other things finalised I'll shift over to using this system. Regards, Andre -- Bluewater Systems - An Aiotec Company Andre Renaud an...@bluewatersys.com 5 Amuri Park, 404 Barbadoes St www.bluewatersys.com

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
the #include method previously mentioned. Just out of interest, how does the imximage.cfg file work? I can't see any reference to that file in any of the build system, so how do you get it prepended to the image? Regards, Andre -- Bluewater Systems - An Aiotec Company Andre Renaud

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hi Simon, > We have a similar thing with Tegra, and have built something into the > USB download script which prepends the needed data. In this case it > needs to be signed so it isn't possible to just include it in the U-Boot > source, anyway. > > I suppose > > cat preload.bin u-boot.bin >u-boot

[U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hello, I am working on an i.MX25 board, and would like to know the recommended mechanism for putting code in before the first instruction in the executable, but outside the *_spl system. Basically, the i.MX25 has a smart boot rom in the CPU, which will extract the first block, and interpret it (as

[U-Boot] [Patch 1/1] Spi Flash: Allow auto-booting of images from spi flash load

2011-07-06 Thread Andre Renaud
This allows intelligent booting of FIT (& the legacy style) images from SPI flash. Basically it means that you don't have to guess at the image length, so data reads are more optimal (& hopefully faster). Signed-off-by: Andre Renaud --- Index: co