From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Mon, 15 Sep 2014 10:34:14 +0200 Subject: [U-Boot] [RFCv2] mainline u-boot on socfpga In-Reply-To: <1410766315.2763.14.camel@clsee-VirtualBox.altera.com> References: <20140903193420.GA18388@amd> <20140908120845.GA19660@amd> <1410766315.2763.14.camel@clsee-VirtualBox.altera.com> Message-ID: <20140915083414.GA11838@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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