Commit c26112a73de78b494436061f832874e7a521b067
Committed by
Marek Vasut
1 parent
dc93280d3e
Exists in
v2017.01-smarct4x
and in
30 other branches
arm: socfpga: arria5_socdk: Enable ubiload console command
Enabling ubiload command to load kernel image and device tree from mtd part labeled "UBI". ubiload command will search the file from directory /boot. Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Dinh Nguyen <dinh.linux@gmail.com> Cc: Pavel Machek <pavel@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de>
Showing 1 changed file with 4 additions and 1 deletions Side-by-side Diff
include/configs/socfpga_arria5_socdk.h
... | ... | @@ -74,7 +74,10 @@ |
74 | 74 | "qspirootfstype=jffs2\0" \ |
75 | 75 | "qspiboot=setenv bootargs " CONFIG_BOOTARGS \ |
76 | 76 | " root=${qspiroot} rw rootfstype=${qspirootfstype};"\ |
77 | - "bootm ${loadaddr} - ${fdt_addr}\0" | |
77 | + "bootm ${loadaddr} - ${fdt_addr}\0" \ | |
78 | + "ubiload=ubi part UBI && ubifsmount ubi0 && " \ | |
79 | + "ubifsload ${loadaddr} /boot/${bootimage} && " \ | |
80 | + "ubifsload ${fdt_addr} /boot/${fdtimage}\0" | |
78 | 81 | |
79 | 82 | /* The rest of the configuration is shared */ |
80 | 83 | #include <configs/socfpga_common.h> |