All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS
@ 2016-02-10  7:41 Adam Ford
  2016-02-10 22:12 ` Tom Rini
  2016-02-15 22:35 ` [U-Boot] [U-Boot,V2] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Ford @ 2016-02-10  7:41 UTC (permalink / raw)
  To: u-boot

With the recent addition of UBI support, this patch will add the preset
parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.

-V2: ubi.mtd=fs instead of ubi.mtd=4

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 include/configs/omap3_logic.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 9ea6ef3..fba2a12 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -180,6 +180,8 @@
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
 	"mmcrootfstype=ext4 rootwait\0" \
+	"nandroot=ubi0:rootfs rw ubi.mtd=fs noinitrd\0" \
+	"nandrootfstype=ubifs rootwait\0" \
 	"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
 			"if run loadbootscript; then " \
 				"run bootscript; " \
@@ -221,6 +223,10 @@
 		"${optargs} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
+	"nandargs=run setconsole; setenv bootargs console=${console} " \
+		"${optargs} " \
+		"root=${nandroot} " \
+		"rootfstype=${nandrootfstype}\0" \
 	"fdtaddr=0x86000000\0" \
 	"loadfdtimage=mmc rescan; " \
 		"fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS
  2016-02-10  7:41 [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS Adam Ford
@ 2016-02-10 22:12 ` Tom Rini
  2016-02-15 22:35 ` [U-Boot] [U-Boot,V2] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-02-10 22:12 UTC (permalink / raw)
  To: u-boot

On Wed, Feb 10, 2016 at 01:41:10AM -0600, Adam Ford wrote:

> With the recent addition of UBI support, this patch will add the preset
> parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
> 
> -V2: ubi.mtd=fs instead of ubi.mtd=4
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160210/ff65875e/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [U-Boot,V2] OMAP3_logic: Add NAND args to boot UBIFS
  2016-02-10  7:41 [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS Adam Ford
  2016-02-10 22:12 ` Tom Rini
@ 2016-02-15 22:35 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-02-15 22:35 UTC (permalink / raw)
  To: u-boot

On Wed, Feb 10, 2016 at 01:41:10AM -0600, Adam Ford wrote:

> With the recent addition of UBI support, this patch will add the preset
> parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
> 
> -V2: ubi.mtd=fs instead of ubi.mtd=4
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20160215/82044b49/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-15 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10  7:41 [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS Adam Ford
2016-02-10 22:12 ` Tom Rini
2016-02-15 22:35 ` [U-Boot] [U-Boot,V2] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.