All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH: Use uImage make target for linux-omap1
@ 2007-08-04  0:35 Khem Raj
  2007-08-04  2:24 ` Luís Vitório Cargnini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Khem Raj @ 2007-08-04  0:35 UTC (permalink / raw)
  To: Openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

Hello,

Current uImage generated for omap1 target did not boot on my target.
We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have
tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

Thanks

-Khem

[-- Attachment #2: diff --]
[-- Type: application/octet-stream, Size: 1411 bytes --]

#
# old_revision [7954d4275dc1865e011407126cfd455d897e754d]
#
# patch "packages/linux/linux-omap1.inc"
#  from [8fc1c4685852446244d91a93910ed587bdc52aa8]
#    to [c80e56a3ff3b65aedcb557db63f37678a33abfdc]
#
============================================================
--- packages/linux/linux-omap1.inc	8fc1c4685852446244d91a93910ed587bdc52aa8
+++ packages/linux/linux-omap1.inc	c80e56a3ff3b65aedcb557db63f37678a33abfdc
@@ -7,8 +7,7 @@ inherit kernel
 
 inherit kernel
 
-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
+KERNEL_IMAGETYPE = "uImage"
 
 module_autoload_ohci-hcd_omap5912osk = "ohci-hcd"
 
@@ -22,15 +21,9 @@ do_configure_prepend() {
 
         oe_runmake oldconfig
 }
-
 do_deploy() {
-        if [ "${MACHINE}" == "omap5912osk" ]; then
-                install -d ${DEPLOY_DIR_IMAGE}
-                ${OBJCOPY} -O binary -R .note -R .comment -S ${KERNEL_OUTPUT} ${S}/linux.bin
-                gzip -f -9 ${S}/linux.bin
-                mkimage -A arm -O linux -T kernel -C gzip -a 0x10008000 -e 0x10008000 -n "OE" -d ${S}/linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}-${MACHINE}-${DATETIME}.bin
-                rm ${S}/linux.bin.gz
-        fi
+        install -d ${DEPLOY_DIR_IMAGE}
+        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}
 }
 
 do_deploy[dirs] = "${S}"

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-08-06  3:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04  0:35 PATCH: Use uImage make target for linux-omap1 Khem Raj
2007-08-04  2:24 ` Luís Vitório Cargnini
2007-08-04  6:19 ` Koen Kooi
2007-08-04 11:57 ` Philip Balister
2007-08-04 19:00   ` Khem Raj
2007-08-04 21:56   ` Luís Vitório Cargnini
2007-08-05  1:39     ` Khem Raj
2007-08-05 22:42       ` Philip Balister
2007-08-06  3:33         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.