summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-openmoko.inc')
-rw-r--r--packages/linux/linux-openmoko.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/linux/linux-openmoko.inc b/packages/linux/linux-openmoko.inc
index b4863ca0c8..3a6589791e 100644
--- a/packages/linux/linux-openmoko.inc
+++ b/packages/linux/linux-openmoko.inc
@@ -4,12 +4,12 @@
KERNEL_IMAGETYPE = "uImage"
UBOOT_ENTRYPOINT = "30008000"
-FILES_kernel-image = ""
-ALLOW_EMPTY = "1"
-
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = 'om-gta01|om-gta02'
+CONFIG_NAME_om-gta01 = "gta01"
+CONFIG_NAME_om-gta02 = "gta02"
+
CMDLINE = "unused -- bootloader passes ATAG list"
###############################################################
@@ -66,6 +66,10 @@ else
exit 1
fi
+ if [ ! -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ] ; then
+ exit 1
+ fi
+
${bindir}/flash_eraseall $MTD_KERNEL_PARTITION
${bindir}/nandwrite -p $MTD_KERNEL_PARTITION /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
else