This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#@TYPE: Machine |
| 2 |
#@NAME: 4G Systems mtx-3 |
| 3 |
#@DESCRIPTION: Machine configuration for the mtx-3 (aka SurfBox 3rd generation) |
| 4 |
|
| 5 |
# hint: the mtx-3 architecture is still in experimental state, no hardware |
| 6 |
# is yet available for it |
| 7 |
|
| 8 |
# TARGET_ARCH should be set here in the machine configuration. |
| 9 |
# For compiling the kernel, ARCH will be derived form it by kernel-arch.bbclass |
| 10 |
TARGET_ARCH = "arm" |
| 11 |
require conf/machine/include/tune-arm926ejs.inc |
| 12 |
|
| 13 |
# begin overrides mtx-3 |
| 14 |
|
| 15 |
KERNEL_VERSION_mtx-3 = "2.6.15.4" |
| 16 |
PREFERRED_PROVIDER_virtual/kernel = "linux-mtx-3" |
| 17 |
PREFERRED_PROVIDER_hotplug_mtx-3 = "udev" |
| 18 |
MACHINE_FEATURES = "kernel26 usbhost vfat" |
| 19 |
|
| 20 |
EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n" |
| 21 |
|
| 22 |
USE_DEVFS = "1" |
| 23 |
USE_VT = "0" |
| 24 |
SERIAL_CONSOLE = "115200 ttyS0 vt100" |
| 25 |
|
| 26 |
BOOTSTRAP_EXTRA_RDEPENDS += "" |
| 27 |
|
| 28 |
# FIXME: old srec files as mtx-2 used to do it ... this may need to get adapted sometime! |
| 29 |
|
| 30 |
# create srec files |
| 31 |
#IMAGE_POSTPROCESS_COMMAND += "\ |
| 32 |
# ${TARGET_PREFIX}objcopy -O srec -I binary --adjust-vma 0xbe000000 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.srec; \ |
| 33 |
# grep -v S7 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.srec > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.srec; \ |
| 34 |
# grep -v S0 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.flash.srec >> ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.srec; " |