From: Chin Liang See <clsee@altera.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 09/17] arm: socfpga: sr1500: Enable ubiload console command
Date: Tue, 22 Dec 2015 15:32:34 +0800 [thread overview]
Message-ID: <1450769562-3624-9-git-send-email-clsee@altera.com> (raw)
In-Reply-To: <1450769562-3624-1-git-send-email-clsee@altera.com>
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>
---
include/configs/socfpga_sr1500.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/configs/socfpga_sr1500.h b/include/configs/socfpga_sr1500.h
index 5bd2956..f37d005 100644
--- a/include/configs/socfpga_sr1500.h
+++ b/include/configs/socfpga_sr1500.h
@@ -74,7 +74,10 @@
"qspirootfstype=jffs2\0" \
"qspiboot=setenv bootargs " CONFIG_BOOTARGS \
" root=${qspiroot} rw rootfstype=${qspirootfstype};"\
- "bootm ${loadaddr} - ${fdt_addr}\0"
+ "bootm ${loadaddr} - ${fdt_addr}\0" \
+ "ubiload=ubi part UBI && ubifsmount ubi0 && " \
+ "ubifsload ${loadaddr} /boot/${bootimage} && " \
+ "ubifsload ${fdt_addr} /boot/${fdtimage}\0"
/* Environment */
#define CONFIG_ENV_IS_IN_SPI_FLASH
--
1.9.2.468.g3f0c02a
next prev parent reply other threads:[~2015-12-22 7:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-22 7:32 [U-Boot] [PATCH v3 01/17] arm: socfpga: Enable ubi and ubifs support Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 02/17] arm: socfpga: cyclone5: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 03/17] arm: socfpga: arria5: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 04/17] arm: socfpga: sockit: " Chin Liang See
2015-12-22 20:28 ` Marek Vasut
2015-12-23 0:21 ` Chin Liang See
2015-12-23 0:47 ` Marek Vasut
2015-12-23 1:36 ` Chin Liang See
2015-12-23 1:47 ` Marek Vasut
2015-12-23 2:57 ` Chin Liang See
2015-12-23 3:03 ` Marek Vasut
2015-12-22 7:32 ` [U-Boot] [PATCH v3 05/17] arm: socfpga: sr1500: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 06/17] arm: socfpga: cyclone5_socdk: Enable ubiload console command Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 07/17] arm: socfpga: arria5_socdk: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 08/17] arm: socfpga: sockit: " Chin Liang See
2015-12-22 7:32 ` Chin Liang See [this message]
2015-12-22 7:32 ` [U-Boot] [PATCH v3 10/17] arm: socfpga: cyclone5_socdk: Enable qspiload " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 11/17] arm: socfpga: arria5_socdk: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 12/17] arm: socfpga: sockit: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 13/17] arm: socfpga: sr1500: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 14/17] arm: socfpga: cyclone5_socdk: Update qspiboot to use UBIFS Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 15/17] arm: socfpga: arria5_socdk: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 16/17] arm: socfpga: sockit: " Chin Liang See
2015-12-22 7:32 ` [U-Boot] [PATCH v3 17/17] arm: socfpga: sr1500: " Chin Liang See
2015-12-22 20:17 ` [U-Boot] [PATCH v3 01/17] arm: socfpga: Enable ubi and ubifs support Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450769562-3624-9-git-send-email-clsee@altera.com \
--to=clsee@altera.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox