Skip to contentSkip to conversation

BeagleBoard: config: load kernel from MMC ext, not FAT

PATCH New Joel A Fernandes 6 participants 21 messages Aug 16, 2011 – Oct 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/13 BeagleBoard: config: load kernel from MMC ext, not FAT

From: Koen Kooi <[email protected]>

---
 include/configs/omap3_beagle.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/configs/omap3_beagle.h +2 -1
index a494f99..038fb5b 100644
@@ -231,7 +231,8 @@
 	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
 	"importbootenv=echo Importing environment from mmc ...; " \
 		"env import -t $loadaddr $filesize\0" \
-	"loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
+	"loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
 	"mmcboot=echo Booting from mmc ...; " \
 		"run mmcargs; " \
 		"bootm ${loadaddr}\0" \
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/13 BeagleBoard: config: Switch console to ttyO2

---
 include/configs/omap3_beagle.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/omap3_beagle.h +1 -1
index 038fb5b..6e66100 100644
@@ -200,7 +200,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
-	"console=ttyS2,115200n8\0" \
+	"console=ttyO2,115200n8\0" \
 	"mpurate=auto\0" \
 	"buddy=none "\
 	"vram=12M\0" \
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/13 BeagleBoard: config: Switch console to ttyO2

Quoted 11 lines · Joel A Fernandes

---
?include/configs/omap3_beagle.h | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)

include/configs/omap3_beagle.h +0 -0
index 038fb5b..6e66100 100644

include/configs/omap3_beagle.h line 206

Quoted 8 lines
include/configs/omap3_beagle.h +1 -1
@@ -200,7 +200,7 @@
 ?#define CONFIG_EXTRA_ENV_SETTINGS \
 ? ? ? ?"loadaddr=0x82000000\0" \
 ? ? ? ?"usbtty=cdc_acm\0" \
- ? ? ? "console=ttyS2,115200n8\0" \
+ ? ? ? "console=ttyO2,115200n8\0" \
 ? ? ? ?"mpurate=auto\0" \
 ? ? ? ?"buddy=none "\
 ? ? ? ?"vram=12M\0" \

Any status on this patch? It doesn't seem to have made it into v2011.09

FWIW:

Steve

#3 lore raw

PATCH 2/13 BeagleBoard: config: Switch console to ttyO2

Hi Joel, Steve, Sandeep,

Le 30/09/2011 21:14, Steve Sakoman a ?crit :

Quoted 23 lines · Joel A Fernandes
Quoted 11 lines
---
  include/configs/omap3_beagle.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/omap3_beagle.h +0 -0
index 038fb5b..6e66100 100644

include/configs/omap3_beagle.h line 206

Quoted 8 lines
include/configs/omap3_beagle.h +1 -1
@@ -200,7 +200,7 @@
  #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x82000000\0" \
        "usbtty=cdc_acm\0" \
-       "console=ttyS2,115200n8\0" \
+       "console=ttyO2,115200n8\0" \
        "mpurate=auto\0" \
        "buddy=none "\
        "vram=12M\0" \

Any status on this patch? It doesn't seem to have made it into v2011.09

Quoted 3 lines

FWIW:

Hmm... This patch is awaiting upstream, delegated to Sandeep, but the latest u-boot-ti pull request did not contain it.

Sandeep, it this patch in your tree?

Quoted 1 line

Steve

Amicalement,

Signature · 1 line
Albert.
#4 lore raw

PATCH 2/13 BeagleBoard: config: Switch console to ttyO2

Quoted 31 lines

Hi Joel, Steve, Sandeep,

Le 30/09/2011 21:14, Steve Sakoman a ?crit :

Quoted 1 line

On Mon, Aug 15, 2011 at 7:47 PM, Joel A Fernandes<[email protected]>

Quoted 7 lines · wrote:

Review

Quoted 7 lines
---
  include/configs/omap3_beagle.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/include/configs/omap3_beagle.h

Quoted 15 lines

include/configs/omap3_beagle.h line 206

Quoted 12 lines

index 038fb5b..6e66100 100644

include/configs/omap3_beagle.h +1 -1
@@ -200,7 +200,7 @@
  #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x82000000\0" \
        "usbtty=cdc_acm\0" \
-       "console=ttyS2,115200n8\0" \
+       "console=ttyO2,115200n8\0" \
        "mpurate=auto\0" \
        "buddy=none "\
        "vram=12M\0" \

Any status on this patch? It doesn't seem to have made it into v2011.09

Quoted 8 lines
Quoted 3 lines

FWIW:

Hmm... This patch is awaiting upstream, delegated to Sandeep, but the latest u-boot-ti pull request did not contain it.

Sandeep, it this patch in your tree?

Working on my next pull request.

I should be in a position to send my next pull request this weekend.

Regards,
Sandeep

#5 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

In reply to Joel A Fernandes
---
 include/configs/omap3_beagle.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +1 -0
index 6e66100..78d0aa2 100644
@@ -200,6 +200,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
+	"usbethaddr=de:ad:be:ef\0" \
 	"console=ttyO2,115200n8\0" \
 	"mpurate=auto\0" \
 	"buddy=none "\
Signature · 1 line
1.7.1
#6 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

Dear Joel A Fernandes,

Quoted 11 lines · In message <[email protected]> you wrote:
---
 include/configs/omap3_beagle.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +0 -0
index 6e66100..78d0aa2 100644

include/configs/omap3_beagle.h line 203

Quoted 4 lines
include/configs/omap3_beagle.h +1 -0
@@ -200,6 +200,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
+	"usbethaddr=de:ad:be:ef\0" \

NAK.

We don;'t allow any static network configurations in the board config files, and especially not if they contain bogus data.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower.                         - Terry Pratchett, _Mort_
#7 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

Dear Sandeep & Albert,

Quoted 21 lines · In message <[email protected]> I wrote:

Dear Joel A Fernandes,

Quoted 11 lines · In message <[email protected]> you wrote:
---
 include/configs/omap3_beagle.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +0 -0
index 6e66100..78d0aa2 100644

include/configs/omap3_beagle.h line 203

Quoted 4 lines
include/configs/omap3_beagle.h +1 -0
@@ -200,6 +200,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
+	"usbethaddr=de:ad:be:ef\0" \

NAK.

Quoted 2 lines

We don;'t allow any static network configurations in the board config files, and especially not if they contain bogus data.

I see this patch is already maked as "Awaiting Upstream" in Patchwork. Please make sure NOT to include it in any pull requests.

Thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncertain fortune is thoroughly mastered by the equity of the  calcu-
lation.                                               - Blaise Pascal
#8 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

+u-boot at lists.denx.de

Quoted 24 lines · Wolfgang Denk

Dear Sandeep & Albert,

Quoted 21 lines · In message <[email protected]> I wrote:

Dear Joel A Fernandes,

Quoted 11 lines · In message <[email protected]> you wrote:

---
?include/configs/omap3_beagle.h | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)

include/configs/omap3_beagle.h +0 -0
index 6e66100..78d0aa2 100644

include/configs/omap3_beagle.h line 203

Quoted 4 lines
include/configs/omap3_beagle.h +1 -0
@@ -200,6 +200,7 @@
 ?#define CONFIG_EXTRA_ENV_SETTINGS \
 ? ? "loadaddr=0x82000000\0" \
 ? ? "usbtty=cdc_acm\0" \
+ ? "usbethaddr=de:ad:be:ef\0" \

NAK.

Quoted 5 lines
Quoted 2 lines

We don;'t allow any static network configurations in the board config files, and especially not if they contain bogus data.

I see this patch is already maked as "Awaiting Upstream" in Patchwork. Please make sure NOT to include it in any pull requests.

Hi Wolfgang,

I will mark this patch as NAK in patchwork.

thanks,
Joel

#9 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

In reply to Wolfgang Denk
Quoted 4 lines

I see this patch is already maked as "Awaiting Upstream" in Patchwork. Please make sure NOT to include it in any pull requests.

Wolfgang,

I am sure i didn't change the state of this patch to "Awaiting Upstream".

Regards,
Sandeep

#10 lore raw

PATCH 3/13 BeagleBoard: config: hardcode MAC for onboard SMSC

(Adding my U-Boot address)

Le 23/08/2011 04:05, Paulraj, Sandeep a ?crit :

Quoted 8 lines
Quoted 4 lines

I see this patch is already maked as "Awaiting Upstream" in Patchwork. Please make sure NOT to include it in any pull requests.

Wolfgang,

I am sure i didn't change the state of this patch to "Awaiting Upstream".

I am quite sure I didn't either -- actually, I've been using "Accepted" for patches that I accept in u-boot-arm, instead of "Awaiting upstream" -- should I use the latter?

Anyway, this one is not in my repo at all, and not in Sandeep's as I have it as a remote and up-to-date.

Quoted 2 lines

Regards,
Sandeep

Amicalement,

Signature · 1 line
Albert.
#11 lore raw

PATCH 4/13 BeagleBoard: config: use uImage.beagle for tftp

In reply to Joel A Fernandes
---
 include/configs/omap3_beagle.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +1 -0
index 78d0aa2..263e478 100644
@@ -201,6 +201,7 @@
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
 	"usbethaddr=de:ad:be:ef\0" \
+	"bootfile=uImage.beagle\0" \
 	"console=ttyO2,115200n8\0" \
 	"mpurate=auto\0" \
 	"buddy=none "\
Signature · 1 line
1.7.1
#12 lore raw

PATCH 5/13 BeagleBoard: config: decrease bootdelay to 2 seconds

In reply to Joel A Fernandes

From: Koen Kooi <[email protected]>

---
 include/configs/omap3_beagle.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/omap3_beagle.h +1 -1
index 263e478..36ccd4e 100644
@@ -195,7 +195,7 @@
 							/* partition */
 
 /* Environment information */
-#define CONFIG_BOOTDELAY		10
+#define CONFIG_BOOTDELAY		2
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
Signature · 1 line
1.7.1
#13 lore raw

PATCH 6/13 BeagleBoard: config: enable networking

In reply to Joel A Fernandes

From: Koen Kooi <[email protected]>

---
 include/configs/omap3_beagle.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
include/configs/omap3_beagle.h +8 -2
index 36ccd4e..722dfc3 100644
@@ -129,6 +129,10 @@
 #define CONFIG_CMD_USB
 #define CONFIG_USB_EHCI
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_SMSC95XX
+
+#define CONFIG_NET_MULTI
 
 /* commands to include */
 #include <config_cmd_default.h>
@@ -149,13 +153,15 @@
 #define CONFIG_USB_STORAGE	/* USB storage support		*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_LED		/* LED support			*/
+#define CONFIG_CMD_NET      /* bootp, tftpboot, rarpboot    */
+#define CONFIG_CMD_NFS      /* NFS support          */
+#define CONFIG_CMD_PING
+
 
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
 #undef CONFIG_CMD_IMI		/* iminfo			*/
 #undef CONFIG_CMD_IMLS		/* List all found images	*/
-#undef CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
-#undef CONFIG_CMD_NFS		/* NFS support			*/
 
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_HARD_I2C			1
Signature · 1 line
1.7.1
#14 lore raw

PATCH 7/13 BeagleBoard: config: enable asix driver and dhcp

In reply to Joel A Fernandes

From: Koen Kooi <[email protected]>

---
 include/configs/omap3_beagle.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/configs/omap3_beagle.h +2 -1
index 722dfc3..0bfbfc1 100644
@@ -131,6 +131,7 @@
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_SMSC95XX
+#define CONFIG_USB_ETHER_ASIX
 
 #define CONFIG_NET_MULTI
 
@@ -156,7 +157,7 @@
 #define CONFIG_CMD_NET      /* bootp, tftpboot, rarpboot    */
 #define CONFIG_CMD_NFS      /* NFS support          */
 #define CONFIG_CMD_PING
-
+#define CONFIG_CMD_DHCP
 
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
Signature · 1 line
1.7.1
#15 lore raw

PATCH 8/13 BeagleBoard: config: enable DSS

In reply to Joel A Fernandes

From: Koen Kooi <[email protected]>

---
 include/configs/omap3_beagle.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +1 -0
index 0bfbfc1..9fc65f7 100644
@@ -172,6 +172,7 @@
 #define CONFIG_SYS_I2C_BUS_SELECT	1
 #define CONFIG_I2C_MULTI_BUS		1
 #define CONFIG_DRIVER_OMAP34XX_I2C	1
+#define CONFIG_VIDEO_OMAP3	/* DSS Support			*/
 
 /*
  * TWL4030
Signature · 1 line
1.7.1
#16 lore raw

PATCH 9/13 BeagleBoard: config: make mtest run

In reply to Joel A Fernandes

From: Jason Kridner <[email protected]>

Utilize the alternate mtest and define a valid region.

---
 include/configs/omap3_beagle.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
include/configs/omap3_beagle.h +5 -4
index 9fc65f7..c2d0078 100644
@@ -287,10 +287,11 @@
 /* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE		(CONFIG_SYS_CBSIZE)
 
-#define CONFIG_SYS_MEMTEST_START	(OMAP34XX_SDRC_CS0)	/* memtest */
-								/* works on */
-#define CONFIG_SYS_MEMTEST_END		(OMAP34XX_SDRC_CS0 + \
-					0x01F00000) /* 31MB */
+#define CONFIG_SYS_ALT_MEMTEST		1
+#define CONFIG_SYS_MEMTEST_START	(0x82000000)		/* memtest */
+								/* defaults */
+#define CONFIG_SYS_MEMTEST_END		(0x87FFFFFF) 		/* 128MB */
+#define CONFIG_SYS_MEMTEST_SCRATCH	(0x81000000)	/* dummy address */
 
 #define CONFIG_SYS_LOAD_ADDR		(OMAP34XX_SDRC_CS0)	/* default */
 							/* load address */
Signature · 1 line
1.7.1
#17 lore raw

PATCH 10/13 BeagleBoard: config: increase command-line functionality

In reply to Joel A Fernandes

From: Jason Kridner <[email protected]>

Enable the expression evaluator.

---
 include/configs/omap3_beagle.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
include/configs/omap3_beagle.h +3 -2
index c2d0078..ae509d0 100644
@@ -158,6 +158,7 @@
 #define CONFIG_CMD_NFS      /* NFS support          */
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
+#define CONFIG_CMD_SETEXPR	/* Evaluate expressions		*/
 
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
@@ -279,11 +280,11 @@
 #define CONFIG_SYS_HUSH_PARSER		/* use "hush" command parser */
 #define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
 #define CONFIG_SYS_PROMPT		"OMAP3 beagleboard.org # "
-#define CONFIG_SYS_CBSIZE		256	/* Console I/O Buffer Size */
+#define CONFIG_SYS_CBSIZE		512	/* Console I/O Buffer Size */
 /* Print Buffer Size */
 #define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
 					sizeof(CONFIG_SYS_PROMPT) + 16)
-#define CONFIG_SYS_MAXARGS		16	/* max number of command args */
+#define CONFIG_SYS_MAXARGS		32	/* max number of command args */
 /* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE		(CONFIG_SYS_CBSIZE)
 
Signature · 1 line
1.7.1
#18 lore raw

PATCH 11/13 BeagleBoard: config: add optargs/buddy/camera

In reply to Joel A Fernandes

From: Jason Kridner <[email protected]>

buddy and camera are used to configure peripherals in the kernel at boot time that cannot easily be detected by the kernel.

---
 include/configs/omap3_beagle.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +6 -0
index ae509d0..6038c91 100644
@@ -214,6 +214,8 @@
 	"console=ttyO2,115200n8\0" \
 	"mpurate=auto\0" \
 	"buddy=none "\
+	"optargs=\0" \
+	"camera=none\0" \
 	"vram=12M\0" \
 	"dvimode=1024x768MR-16 at 60\0" \
 	"defaultdisplay=dvi\0" \
@@ -223,16 +225,20 @@
 	"nandroot=/dev/mtdblock4 rw\0" \
 	"nandrootfstype=jffs2\0" \
 	"mmcargs=setenv bootargs console=${console} " \
+		"${optargs} " \
 		"mpurate=${mpurate} " \
 		"buddy=${buddy} "\
+		"camera=${camera} "\
 		"vram=${vram} " \
 		"omapfb.mode=dvi:${dvimode} " \
 		"omapdss.def_disp=${defaultdisplay} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
 	"nandargs=setenv bootargs console=${console} " \
+		"${optargs} " \
 		"mpurate=${mpurate} " \
 		"buddy=${buddy} "\
+		"camera=${camera} "\
 		"vram=${vram} " \
 		"omapfb.mode=dvi:${dvimode} " \
 		"omapdss.def_disp=${defaultdisplay} " \
Signature · 1 line
1.7.1
#19 lore raw

PATCH 12/13 BeagleBoard: config: Enabled multibus support for I2C in configuration

In reply to Joel A Fernandes

From: Jason Kridner <[email protected]>

---
 include/configs/omap3_beagle.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
include/configs/omap3_beagle.h +6 -0
index 6038c91..85bd0da 100644
@@ -115,6 +115,12 @@
 /* DDR - I use Micron DDR */
 #define CONFIG_OMAP3_MICRON_DDR		1
 
+/* Enable Multi Bus support for I2C */
+#define CONFIG_I2C_MULTI_BUS		1
+
+/* Probe all devices */
+#define CONFIG_SYS_I2C_NOPROBES		{0x0, 0x0}
+
 /* USB */
 #define CONFIG_MUSB_UDC			1
 #define CONFIG_USB_OMAP3		1
Signature · 1 line
1.7.1
#20 lore raw

PATCH 13/13 BeagleBoard: config: updated default configuration

In reply to Joel A Fernandes

From: Jason Kridner <[email protected]>

* Improved boot env var setting
* Made room for a 64MB ramdisk by moving from 0x81600000 to 0x81000000
* Added ramarg, ramroot and ramboot env variables

---
 include/configs/omap3_beagle.h |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
include/configs/omap3_beagle.h +18 -2
index 85bd0da..42975b1 100644
@@ -213,7 +213,8 @@
 #define CONFIG_BOOTDELAY		2
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"loadaddr=0x82000000\0" \
+	"loadaddr=0x80200000\0" \
+	"rdaddr=0x81000000\0" \
 	"usbtty=cdc_acm\0" \
 	"usbethaddr=de:ad:be:ef\0" \
 	"bootfile=uImage.beagle\0" \
@@ -223,13 +224,15 @@
 	"optargs=\0" \
 	"camera=none\0" \
 	"vram=12M\0" \
-	"dvimode=1024x768MR-16 at 60\0" \
+	"dvimode=640x480MR-16 at 60\0" \
 	"defaultdisplay=dvi\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
 	"mmcrootfstype=ext3 rootwait\0" \
 	"nandroot=/dev/mtdblock4 rw\0" \
 	"nandrootfstype=jffs2\0" \
+	"ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M\0" \
+	"ramrootfstype=ext2\0" \
 	"mmcargs=setenv bootargs console=${console} " \
 		"${optargs} " \
 		"mpurate=${mpurate} " \
@@ -254,6 +257,16 @@
 	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
 	"importbootenv=echo Importing environment from mmc ...; " \
 		"env import -t $loadaddr $filesize\0" \
+	"ramargs=setenv bootargs console=${console} " \
+		"${optargs} " \
+		"mpurate=${mpurate} " \
+		"buddy=${buddy} "\
+		"vram=${vram} " \
+		"omapfb.mode=dvi:${dvimode} " \
+		"omapdss.def_disp=${defaultdisplay} " \
+		"root=${ramroot} " \
+		"rootfstype=${ramrootfstype}\0" \
+	"loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
 	"loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
 	"mmcboot=echo Booting from mmc ...; " \
@@ -263,6 +276,9 @@
 		"run nandargs; " \
 		"nand read ${loadaddr} 280000 400000; " \
 		"bootm ${loadaddr}\0" \
+	"ramboot=echo Booting from ramdisk ...; " \
+		"run ramargs; " \
+		"bootm ${loadaddr}\0" \
 
 #define CONFIG_BOOTCOMMAND \
 	"if mmc rescan ${mmcdev}; then " \
Signature · 1 line
1.7.1