[oe-commits] Denis 'GNUtoo' Carikli : linux-leviathan: permit booting directly with fastboot

git version control git at git.openembedded.org
Thu Jun 10 21:34:21 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3e7f28bd305aeccc1022ecfb63d3f9bb25680067
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3e7f28bd305aeccc1022ecfb63d3f9bb25680067

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Wed Jun  9 16:38:42 2010 +0200

linux-leviathan: permit booting directly with fastboot

if we don't gzip the empty ramdisk,the bootloader will refuse
to boot our kenrnel when in fastboot mode and will display this message:
  booting... FAILED (remote: reproduce boot image with on-flash ramdisk error)

---

 recipes/linux/linux-leviathan_git.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/linux/linux-leviathan_git.bb b/recipes/linux/linux-leviathan_git.bb
index 7ee49a6..bc8a477 100644
--- a/recipes/linux/linux-leviathan_git.bb
+++ b/recipes/linux/linux-leviathan_git.bb
@@ -2,7 +2,7 @@ require linux.inc
 DEPENDS += "android-image-utils-native"
 
 PV = "2.6.32+${PR}+gitr${SRCREV}"
-PR = "r17"
+PR = "r18"
 
 COMPATIBLE_MACHINE = "htcdream"
 CMDLINE = "console=tty1 root=/dev/mmcblk0p1 rootdelay=8 fbcon=rotate:1 panic=30 mem=110M"
@@ -18,8 +18,9 @@ S = "${WORKDIR}/git"
 
 do_deploy_append() {
     touch -f empty
+    gzip empty
     mkbootimg --kernel ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin \
-              --ramdisk empty \
+              --ramdisk empty.gz \
               --cmdline "${CMDLINE}" \
               --output ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.fastboot
 }





More information about the Openembedded-commits mailing list