h3600 (and h3800 by inclusion), h5000, hx4700: add support from writing reflash.ctl...
authorKoen Kooi <koen@openembedded.org>
Sat, 6 Jan 2007 23:51:17 +0000 (23:51 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 6 Jan 2007 23:51:17 +0000 (23:51 +0000)
conf/machine/h3600.conf
conf/machine/h5000.conf
conf/machine/hx4700.conf

index eb0b6d4..cd451d3 100644 (file)
@@ -32,6 +32,8 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-module-nls-cp437 \
 
 EXTRA_IMAGECMD_h3600_jffs2 = "-e 0x40000 -p"
 
+EXTRA_IMAGECMD_h3600_jffs2_append = "; echo "${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
+
 
 
 # TODO: see if any of these modules have 2.6 counterparts
index c0c9b2f..00e6495 100644 (file)
@@ -21,6 +21,7 @@ MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usb
 PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
 PREFERRED_PROVIDER_xserver = "xserver-kdrive"
 EXTRA_IMAGECMD_h5000_jffs2 = "-e 0x40000 -p"
+EXTRA_IMAGECMD_h5000_jffs2_append = "; echo "${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
 
 MACHINE_EXTRA_RDEPENDS = "kernel ipaq-boot-params"
 MACHINE_EXTRA_RRECOMMENDS = " kernel-module-h5400_lcd \
index 53903f7..19c3f37 100644 (file)
@@ -44,6 +44,9 @@ EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jf
                          -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
                          -e 256KiB -p"
 
+#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
+EXTRA_IMAGECMD_jffs2_append = "; echo "${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
+
 #
 # Modules autoload and other boot properties
 #