summaryrefslogtreecommitdiff
path: root/conf/machine/mtx-3.conf
blob: f6e9e8aad5b2b46a284700633cefeaec255ceee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#@TYPE: Machine
#@NAME: 4G Systems mtx-3
#@DESCRIPTION: Machine configuration for the mtx-3 (aka SurfBox 3rd generation)

# hint: the mtx-3 architecture is still in experimental state, no hardware
# is yet available for it

# TARGET_ARCH should be set here in the machine configuration.
# For compiling the kernel, ARCH will be derived form it by kernel-arch.bbclass 
TARGET_ARCH = "arm"
require conf/machine/include/tune-arm926ejs.inc

# begin overrides mtx-3
#PREFERRED_VERSION_glibc_mtx-3 = "2.3.5+cvs20050627"
PREFERRED_VERSION_gcc-cross-initial_mtx-3 = "3.4.4"
PREFERRED_VERSION_gcc-cross-intermediate_mtx-3 = "3.4.4"
PREFERRED_VERSION_gcc-cross_mtx-3 = "3.4.4"
PREFERRED_VERSION_gcc-cross-sdk_mtx-3 = "3.4.4"
PREFERRED_VERSION_gcc_mtx-3 = "3.4.4"
PREFERRED_VERSION_binutils-cross_mtx-3 = "2.15.94.0.1"
PREFERRED_VERSION_binutils-cross-sdk_mtx-3 = "2.15.94.0.1"
PREFERRED_VERSION_binutils_mtx-3 = "2.16"

KERNEL_VERSION_mtx-3 = "2.6.15.4"
PREFERRED_PROVIDER_virtual/kernel = "linux-mtx-3"
PREFERRED_PROVIDER_hotplug_mtx-3 = "udev"
MACHINE_FEATURES = "kernel26 usbhost vfat"

EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n"  

USE_DEVFS = "1"
USE_VT = "0"
SERIAL_CONSOLE = "115200 ttyS0 vt100"

BOOTSTRAP_EXTRA_RDEPENDS += ""

# FIXME: old srec files as mtx-2 used to do it ... this may need to get adapted sometime!

# 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; "