From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Tue, 24 Nov 2015 14:31:02 +0100 Subject: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10 In-Reply-To: <201511241031.12916.marex@denx.de> References: <1447968947-8395-1-git-send-email-dinguyen@opensource.altera.com> <5653A05A.20008@opensource.altera.com> <1448335054.2059.8.camel@altera.com> <201511241031.12916.marex@denx.de> Message-ID: <20151124133102.GD11843@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! > > > > So what do I do if I want to boot arria10 from NAND ? UBI and UBIFS > > > > won't > > > > fit into 256kiB, so I think using SPL might be the sensible thing > > > > afterall, > > > > since you would be able to use arbitrarily-sized U-Boot. > > > > > > I hope Chin Liang can chime here, I know that we have support for > > > NAND, > > > but I haven't been part of that task, so I don't know how it's being > > > done. > > > > Finally my email is back online :) > > > > We do have NAND support but not with UBI and UBIFS. > > I just hope you're not using raw NAND and just hoping it will work. HERE: > > For this support, user can use U-Boot to load arbitrarily-sized U-Boot > > that run on SDRAM. ... > > One of the nice thing of U-Boot over SPL is the console support and > > ability to troubleshoot. > > This is possible with Arria 10 SoC as we have larger OCRAM (256kB vs CV > > SoC 64kB). > > OK, that's not really the point here -- the point is, if you compile enough > features into U-Boot, it will be bigger than those 256k. What will you do > then ? You'll compile small U-Boot, and use it to load larger U-Boot, as he said in the mark "HERE" above. And yes, I guess that makes sense, and yes, we should finally make loading U-Boot from U-Boot oficially supported, at least on Socfpga. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html