diff options
-rw-r--r-- | conf/beagle.conf | 9 | ||||
-rw-r--r-- | linux/montavista-sa_2.4.17-mvl21.oe | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/conf/beagle.conf b/conf/beagle.conf index d43c504d4a..a3ccda7aec 100644 --- a/conf/beagle.conf +++ b/conf/beagle.conf @@ -11,9 +11,14 @@ BOOTSTRAP_EXTRA_RDEPENDS = "kernel modutils-collateral hostap-modules-cs orinoco kernel-module-net-fd \ kernel-module-sa1100-bi kernel-module-usbdcore kernel-module-usbdmonitor " -#kernel-module-gpio kernel-module-registers - EXTRA_IMAGECMD_jffs2 = "--pad=0xec0000 --little-endian --eraseblock=0x40000" +EXTRA_IMAGEDEPENDS = "cetools-native" + +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ + --output=${T}/${IMAGE_NAME}.rootfs.jffs2 \ + ${EXTRA_IMAGECMD}; bin2rom ${T}/${IMAGE_NAME}.rootfs.jffs2 \ + ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img \ + ffffffff ffffffff d0140000" include conf/handheld-common.conf include conf/tune-strongarm.conf diff --git a/linux/montavista-sa_2.4.17-mvl21.oe b/linux/montavista-sa_2.4.17-mvl21.oe index 24eb347d4e..21f344fc90 100644 --- a/linux/montavista-sa_2.4.17-mvl21.oe +++ b/linux/montavista-sa_2.4.17-mvl21.oe @@ -4,6 +4,7 @@ LICENSE = "GPL" KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}" MVLV = "${@oe.data.getVar('PV',d,True).split('-')[1]}" PR = "r4" +DEPENDS = "cetools-native" FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}" @@ -34,3 +35,11 @@ do_configure_prepend() { echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config } +do_deploy() { + install -d ${DEPLOY_DIR}/images + bin2rom arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${DATETIME}.bin c0008000 c0008000 +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile |