[U-Boot] [RFCv2] mainline u-boot on socfpga

Pavel Machek pavel at denx.de
Mon Sep 15 10:34:14 CEST 2014


Hi!

> > I know coding style leaves something to be desired.
> >  
> > But.. it recognizes MMC/ethernet, and can load linux kernel.
> > 
> > Unfortunately, 1MB of memory at 0 is not available for some reason;
> > but linux works ok if you avoid that area.
> > 
> > "fpga load 0" now seems to work.
> > 
> > For some reason, I had to rewrite fpgamgr_axi_write(). There's some
> > bug in assembly version, causing code to get confused after it is
> > executed.
> > 
> 
> This assembly version works well for me as I got daily test run to test
> this functionality. We got around 77% improvement using this assembly
> compared to C code previously. Having that said, probably you can share
> with me the details of your bug.

It seems that if CONFIG_THUMB is enabled (as is in some versions,
IIRC), it crashes and burns.

Compared with MMC speed, it seems to be fast enough, but ok, 77%
speedup is nice. We have fixed version in tree, Marek will post it
soon.

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the U-Boot mailing list