summaryrefslogtreecommitdiff
path: root/conf/machine/micro2440.conf
blob: 24ec36d9e4abbffeca48cdee934ca61670f11b6c (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
#@TYPE: Machine
#@Name: FriendlyARM micro2440
#@DESCRIPTION: Machine configuration for FriendlyARM micro2440 Samsung 2440 based board

TARGET_ARCH = "arm"

IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
                       files/device_table_add-s3c_serial.txt"

PREFERRED_VERSION_u-boot = "git"
UBOOT_MACHINE = "mini2440_config"

PREFERRED_PROVIDER_virtual/kernel = "linux-mini2440"

# This can be used as alternative, stable kernel
# PREFERRED_PROVIDER_virtual/kernel = "linux"
# PREFERRED_VERSION_linux = "2.6.29"


# This is not necessarily true, there is a 800x480 display as well
MACHINE_DISPLAY_WIDTH_PIXELS = "240"
MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
MACHINE_DISPLAY_ORIENTATION = "0"
MACHINE_DISPLAY_PPI = "110"
# used by matchbox-panel large icons look ok on both displays
GUI_MACHINE_CLASS = "bigscreen"

# used by sysvinit
SERIAL_CONSOLE = "115200 ttySAC0"

IMAGE_FSTYPES = "jffs2 tar.gz"

MACHINE_FEATURES = "kernel26 touchscreen screen usbhost usbgadget sound alsa ethernet mmc mmcroot i2c spi"

require conf/machine/include/tune-arm920t.inc

KERNEL_IMAGETYPE = "uImage"
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian -e16KiB -n \
        ; sumtool -e16KiB --no-cleanmarkers \
        --littleendian --pad \
        -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
        -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2.summary"