diff options
Diffstat (limited to 'conf/machine/compulab-pxa270.conf')
-rw-r--r-- | conf/machine/compulab-pxa270.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/conf/machine/compulab-pxa270.conf b/conf/machine/compulab-pxa270.conf index d8d9264699..063a68481a 100644 --- a/conf/machine/compulab-pxa270.conf +++ b/conf/machine/compulab-pxa270.conf @@ -17,8 +17,15 @@ SERIAL_CONSOLE ?= "38400 ttySA0" # used by opie-collections.inc ROOT_FLASH_SIZE ?= "32" -EXTRA_IMAGECMD_jffs2 = "--pad=0x1000000 --eraseblock=0x40000" +# for NAND flash. +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pad=0x20000 --no-cleanmarkers;\ + sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ + -e 0x20000 -p; \ + cd ${DEPLOY_DIR_IMAGE}; \ + rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs-summary.jffs2; \ + ln -s ${IMAGE_NAME}.rootfs-summary.jffs2 ${IMAGE_LINK_NAME}.rootfs-summary.jffs2 \ + " MACHINE_FEATURES = "kernel26 pcmcia usbhost usbgadget pcmcia touchscreen alsa" -MACHINE_TASK_PROVIDER = "task-base" |