[oe-commits] org.oe.dev gumstix: make uboot entry point overridable per machine

koen commit openembedded-commits at lists.openembedded.org
Tue Aug 21 20:35:16 UTC 2007


gumstix: make uboot entry point overridable per machine

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 486b98349c864712c681885da1a19351dd230534
ViewMTN: http://monotone.openembedded.org/revision.psp?id=486b98349c864712c681885da1a19351dd230534
Files:
1
conf/machine/gumstix.conf
packages/linux/linux.inc
Diffs:

#
# mt diff -rd57c8ad67f764f0c8b84652dff5f1be870934e6a -r486b98349c864712c681885da1a19351dd230534
#
# 
# 
# patch "conf/machine/gumstix.conf"
#  from [75e55dd0434ef7022374d2e79bd4a46db49d7c21]
#    to [a650e6c9c2788b0d9289abdda0b9ed9e3e8ded38]
# 
# patch "packages/linux/linux.inc"
#  from [d128bae3ce7c9dfd5aade6bc00dd94b38ec21b93]
#    to [0d2a0276e1a47797b28ef11fe32b25b254898aa2]
# 
============================================================
--- conf/machine/gumstix.conf	75e55dd0434ef7022374d2e79bd4a46db49d7c21
+++ conf/machine/gumstix.conf	a650e6c9c2788b0d9289abdda0b9ed9e3e8ded38
@@ -15,6 +15,8 @@ OLDEST_KERNEL = "2.6.15"
 
 OLDEST_KERNEL = "2.6.15"
 
+UBOOT_ENTRYPOINT = "a0008000"
+
 #Assume people have some gumstix extension boards 
 MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget bluetooth"
 
============================================================
--- packages/linux/linux.inc	d128bae3ce7c9dfd5aade6bc00dd94b38ec21b93
+++ packages/linux/linux.inc	0d2a0276e1a47797b28ef11fe32b25b254898aa2
@@ -59,6 +59,8 @@ do_install_prepend() {
         fi
 }
 
+UBOOT_ENTRYPOINT ?= "20008000"
+
 do_deploy() {
         install -d ${DEPLOY_DIR_IMAGE}
         install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
@@ -68,7 +70,7 @@ do_deploy() {
             ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
             rm -f linux.bin.gz
             gzip -9 linux.bin
-            uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a 20008000 -e 20008000 -n "${DISTRO_NAME} Kernel for ${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
+            uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME} Kernel for ${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
             rm -f linux.bin.gz
         fi
 }






More information about the Openembedded-commits mailing list