[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 01:07:55 CEST 2012


Dear Ilya Averyanov,

> 2012/4/21 Marek Vasut <marex at denx.de>
> 
> > Dear Vasily Khoruzhick,
> > 
> > > 2012/4/20 Marek Vasut <marex at denx.de>:
> > > > Which doesn't matter, either way you need stack ... and you can have
> > 
> > the
> > 
> > > > stack in cache ;-)
> > > 
> > > s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack
> > 
> > Oh, I didn't know that ... so there's no longer any problem.
> 
> No have problem.
> Available only if you boot from NOR flash.
> If you boot from the NAND 4kb of SRAM (steppingstone) not available.

So you'll have to lock cache lines then. If you dig in the ML archive, you'll 
find a lot of discussion on this memory matter, esp. /wrt relocation support.

> > > Btw, using cache for stack looks like awful hack to me.
> > 
> > It's fairy normal.
> 
>  I agree with Vasily Khoruzhick, it looks like a hack

Please, bother to read the CPU manual and also the ARM Architecture reference 
manual before you start with such a wild accusations.

> 
> > > Regards
> > > Vasily
> > 
> > Best regards,
> > Marek Vasut

Best regards,
Marek Vasut


More information about the U-Boot mailing list