From 0f2b2c95aeff4e382d145ba583c46076ed044c54 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Thu, 27 Oct 2016 15:20:13 +0200 Subject: Double size of OTA ramdisk to 16M The ramdisk size on qemux86-64 was 9MB, decompressed, which was causing a kernel panic on boot. Double it to 16MB. Change-Id: I11e28977b1342d3d8cb5c43de5105ac288d097f2 Signed-off-by: Phil Wise --- .../u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-sota/recipes-bsp/u-boot') diff --git a/meta-sota/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch b/meta-sota/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch index 851a0ab..5172fdd 100644 --- a/meta-sota/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch +++ b/meta-sota/recipes-bsp/u-boot/u-boot-ota/0001-Set-up-environment-for-OSTree-integration.patch @@ -23,7 +23,7 @@ index 78c296f..79df455 100644 + +#undef CONFIG_BOOTCOMMAND +#define CONFIG_BOOTCOMMAND "run loadenv;" \ -+ "setenv bootargs $bootargs\" console=ttyS0 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda ramdisk_size=8192 \";" \ ++ "setenv bootargs $bootargs\" console=ttyS0 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda ramdisk_size=16384 \";" \ + "ext2load ide 0 $loadaddr \"/boot\"$kernel_image;" \ + "ext2load ide 0 $ramdiskaddr \"/boot\"$ramdisk_image;" \ + "zboot $loadaddr - $ramdiskaddr $filesize" -- cgit 1.2.3-korg