summaryrefslogtreecommitdiffstats
path: root/include/ld9040.h
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-10-09 17:18:07 +0100
committerTom Rini <trini@konsulko.com>2015-10-11 17:12:05 -0400
commitecbed5d6f4f96457dee8846c611056cb0d630642 (patch)
tree5ccbeeab4a2c3cc4a88428b47f4d2b2fa4a146a6 /include/ld9040.h
parent4a6bdb59e1b33b62fce79c417b0ecc958408fec8 (diff)
downloadtalos-obmc-uboot-ecbed5d6f4f96457dee8846c611056cb0d630642.tar.gz
talos-obmc-uboot-ecbed5d6f4f96457dee8846c611056cb0d630642.zip
vexpress64: juno: add alternate kernel and device tree filenames
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 <ryan.harkin@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/ld9040.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud