[U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

Marek Vasut marex at denx.de
Sat Apr 21 15:19:30 CEST 2012


Dear Ilya Averyanov,

> 2012/4/21 Vasily Khoruzhick <anarsoul at gmail.com>
> 
> > 2012/4/21 Ilya Averyanov <averyanovin+uboot at gmail.com>:
> > > No have problem.
> > > Available only if you boot from NOR flash.
> > > If you boot from the NAND 4kb of SRAM (steppingstone) not available.
> > 
> > For NAND boot it's mapped at 0x0
> > For NOR boot it's mapped at 0x40000000
> > 
> > NAND controller uses it for booting purpose, but anyway for SPL we
> > should fit code into
> > 4k (hardware limitation), so I think using assembly here for SDRAM init
> > is OK.
> > 
> > And how will you use the internal SRAM when you boot from NAND, if the
> > SoC
> 
> writes in the SDRAM read data from NAND, and your data will be overwritten.

Why? You'll load SPL into SRAM, then in SPL you'll copy the rest of uboot from 
NAND to - then already inited - SDRAM and execute it. We even have ready-to-use 
NAND SPL.

> 
> > Regards
> > Vasily

Best regards,
Marek Vasut


More information about the U-Boot mailing list