From 66848a81f76ebaf72a2083d186df8668f08a6825 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Fri, 13 Aug 2010 04:56:07 +0000 Subject: u-boot/angstrom-uboot-scripts/beagleboard-test-image: increase ramdisk * add initramfs image * move to 128MB ramdisk until I can get initramfs working Signed-off-by: Jason Kridner Signed-off-by: Koen Kooi --- .../0001-BeagleBoard-move-ramdisk-parameters.patch | 38 ++++++++++++++++++++++ recipes/u-boot/u-boot_git.bb | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch (limited to 'recipes/u-boot') diff --git a/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch new file mode 100644 index 0000000000..5d6e69d24b --- /dev/null +++ b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch @@ -0,0 +1,38 @@ +From c8d02f2a8500f06de39681aed60ea5c9894f8087 Mon Sep 17 00:00:00 2001 +From: Jason Kridner +Date: Wed, 11 Aug 2010 14:50:38 -0500 +Subject: [PATCH] BeagleBoard: move ramdisk parameters + +This will make it easier to reprogram the ramdisk size. + +Signed-off-by: Jason Kridner +--- + include/configs/omap3_beagle.h | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h +index 48ad805..4f5c1d4 100644 +--- a/include/configs/omap3_beagle.h ++++ b/include/configs/omap3_beagle.h +@@ -217,7 +217,7 @@ + "mmcrootfstype=ext3 rootwait\0" \ + "nandroot=/dev/mtdblock4 rw\0" \ + "nandrootfstype=jffs2\0" \ +- "ramroot=/dev/ram0 rw\0" \ ++ "ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0" \ + "ramrootfstype=ext2\0" \ + "mmcargs=setenv bootargs console=${console} " \ + "${optargs} " \ +@@ -248,8 +248,7 @@ + "vram=${vram} " \ + "omapfb.mode=dvi:${dvimode} " \ + "omapdss.def_disp=${defaultdisplay} " \ +- "root=${ramroot} rw ramdisk_size=65536 " \ +- "initrd=${rdaddr},64M " \ ++ "root=${ramroot} " \ + "rootfstype=${ramrootfstype}\0" \ + "loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \ + "bootscript=echo Running bootscript from mmc ...; " \ +-- +1.5.6.4 + diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb index 7f26a87114..19386fce95 100644 --- a/recipes/u-boot/u-boot_git.bb +++ b/recipes/u-boot/u-boot_git.bb @@ -1,5 +1,5 @@ require u-boot.inc -PR ="r63" +PR ="r64" FILESPATHPKG =. "u-boot-git:" @@ -71,6 +71,7 @@ SRC_URI_beagleboard = "git://www.denx.de/git/u-boot.git;protocol=git \ file://0044-Beagleboard-Adjust-boot.patch \ file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \ file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \ + file://0001-BeagleBoard-move-ramdisk-parameters.patch \ file://fw_env.config \ " SRCREV_beagleboard = "ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55" -- cgit 1.2.3-korg