From 6d9a04839968cfee92609191b904c9b8ba28ea34 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 6 Jan 2007 23:51:17 +0000 Subject: h3600 (and h3800 by inclusion), h5000, hx4700: add support from writing reflash.ctl files containing instruction to flash the rootfs using bootldr --- conf/machine/h3600.conf | 2 ++ conf/machine/h5000.conf | 1 + conf/machine/hx4700.conf | 3 +++ 3 files changed, 6 insertions(+) (limited to 'conf/machine') diff --git a/conf/machine/h3600.conf b/conf/machine/h3600.conf index eb0b6d40e6..cd451d3dfe 100644 --- a/conf/machine/h3600.conf +++ b/conf/machine/h3600.conf @@ -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 diff --git a/conf/machine/h5000.conf b/conf/machine/h5000.conf index c0c9b2fefe..00e6495274 100644 --- a/conf/machine/h5000.conf +++ b/conf/machine/h5000.conf @@ -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 \ diff --git a/conf/machine/hx4700.conf b/conf/machine/hx4700.conf index 53903f7982..19c3f37ead 100644 --- a/conf/machine/hx4700.conf +++ b/conf/machine/hx4700.conf @@ -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 # -- cgit v1.2.3