[oe-issues] [Bug 2077] New: linux-omap1 builds vmlinux instead of uImage

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue Apr 3 10:49:10 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2077

           Summary: linux-omap1 builds vmlinux instead of uImage
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: anvoebugz at gmail.com
         QAContact: tinderbox-oe at gmx.net


Machine: omap5912osk
Distro: celinux-test
Build command: bitbake bootstrap-image


The result of building image with linux-omap1 is vmlinux.
The board is booted with u-boot that uploades uImage.

The proposal patch that resolves problem:

diff -urN org.openembedded.dev/packages/linux/linux-omap1.inc
org.openembedded.dev.new/packages/linux/linux-omap1.inc
--- org.openembedded.dev/packages/linux/linux-omap1.inc 2007-03-20
12:27:25.000000000 -0700
+++ org.openembedded.dev.new/packages/linux/linux-omap1.inc     2007-03-28
13:49:12.000000000 -0700
@@ -7,8 +7,7 @@

 inherit kernel

-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
+KERNEL_IMAGETYPE = "uImage"

 module_autoload_ohci-hcd_omap5912osk = "ohci-hcd"

@@ -26,10 +25,7 @@
 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
+                cp ${KERNEL_OUTPUT}
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}-${MACHINE}-${DATETIME}
         fi
 }


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list