diff options
Diffstat (limited to 'conf/machine/mtx-1.conf')
-rw-r--r-- | conf/machine/mtx-1.conf | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/conf/machine/mtx-1.conf b/conf/machine/mtx-1.conf index 3a5f047ae0..73500b501d 100644 --- a/conf/machine/mtx-1.conf +++ b/conf/machine/mtx-1.conf @@ -3,11 +3,13 @@ #@DESCRIPTION: Machine configuration for the mtx-1 (aka MeshCube) TARGET_ARCH = "mipsel" +IPKG_ARCHS = "all mipsel ${MACHINE}" PREFERRED_PROVIDER_virtual/kernel = "linux-mtx-1" -#PREFERRED_VERSION_linux-mtx-1 = "2.4.24" -EXTRA_IMAGECMD_jffs2 = "--pad=0x1c00000 --little-endian --eraseblock=0x20000 -n" +# md: is the --pad=.. necessary? I believe not. +# EXTRA_IMAGECMD_jffs2 = "--pad=0x1c00000 --little-endian --eraseblock=0x20000 -n" +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n" # does not gain any speed and just creates problems: # TARGET_CC_ARCH = "-march=mips32" @@ -18,5 +20,10 @@ SERIAL_CONSOLE = "115200 tts/0 vt100" BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-usb-storage kernel-module-scsi-mod kernel-module-sd-mod kernel-module-fat kernel-module-vfat kernel-module-usbnet kernel-module-mii" -# also create a srec file -IMAGE_POSTPROCESS_COMMAND = "${TARGET_PREFIX}objcopy -O srec -I binary --adjust-vma 0xbe000000 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.srec"
\ No newline at end of file +PREFERRED_VERSION_yamon = "2.17" + +# create srec files +IMAGE_POSTPROCESS_COMMAND += "\ + ${TARGET_PREFIX}objcopy -O srec -I binary --adjust-vma 0xbe000000 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.srec; \ + grep -v S7 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.srec > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.srec; \ + grep -v S0 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.flash.srec >> ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.srec; " |