From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 12 Oct 2015 11:18:14 -0400 Subject: [U-Boot] [U-Boot, v4, 09/10] vexpress64: juno: add alternate kernel and device tree filenames In-Reply-To: <1444407488-32646-10-git-send-email-ryan.harkin@linaro.org> References: <1444407488-32646-10-git-send-email-ryan.harkin@linaro.org> Message-ID: <20151012151814.GE23893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 09, 2015 at 05:18:07PM +0100, Ryan Harkin wrote: > The latest Juno firmware stores the files in NOR flash as "norkern" for > kernel binary, "board.dtb" for the device tree binary. > > The "old" firmware used the name "Image" for the kernel binary and > "juno" for the device tree binary. > > Rather than just change the default U-Boot configuration to use the new > names, breaking users with the old firmware, attempt to load the default > filename first. If that fails, attempt to load the alternate filename. > > I've echo'd that we are loading the alternate file to counter the > output from "afs load" shown if the first load attempt fails. For > example, I see output like this on my Juno board when it's configured > the with the "old" firmware: > > image "norkern" not found in flash > Loading Image instead of norkern > loaded region 0 from 08500000 to 80000000, 00AB6318 bytes > image "board.dtb" not found in flash > Loading juno instead of board.dtb > loaded region 0 from 0A000000 to 83000000, 00003188 bytes > > Signed-off-by: Ryan Harkin > Reviewed-by: Linus Walleij Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: