summaryrefslogtreecommitdiff
path: root/conf/machine/include/AT91.inc
blob: 6c0f8f04ac44f5bf2788dd0ad486f7aa8f442565 (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
44
45
46
47
48
49
50
51
# Common description for Atmel ARM processors

TARGET_ARCH = "arm"
#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
CPU_FAMILY = "at91"

PREFERRED_PROVIDER_virtual/kernel = "linux"
PREFERRED_VERSION_linux = "2.6.32"

#PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
#PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-1300"
#PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
#PREFERRED_PROVIDER_xserver = "xserver-xorg"
#PREFERRED_PROVIDER_xserver = "xserver-kdrive"
#XSERVER = "xserver-kdrive-fbdev"
# Angstrom defines:
#PREFERRED_VERSION_xserver-kdrive = "1.4.0.90"
#PREFERRED_VERSION_xserver-kdrive = "1.6.1"

PREFERRED_PROVIDER_at91bootstrap = "at91bootstrap_2.13"
PREFERRED_VERSION_at91bootstrap = "2.13"

PREFERRED_PROVIDER_u-boot = "u-boot_2009.08"
PREFERRED_VERSION_u-boot = "2009.08"

KERNEL_IMAGETYPE = "uImage"

# PREFERRED_VERSION_mplayer = "svn"

#don't try to access tty1
USE_VT = "0"

MACHINE_FEATURES = " kernel26 alsa ext2 usbgadget vfat uboot "
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "at91bootstrap"

MACHINE_EXTRA_RDEPENDS += " kernel-modules "
#MACHINE_EXTRA_RDEPENDS += " atmel-fixes "

# used by sysvinit_2
SERIAL_CONSOLE = "115200 ttyS0"
IMAGE_FSTYPES ?= "jffs2"
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
#
# Uncomment or add kernel modules that should be autoloaded
#module_autoload_g_file_storage = ${@base_contains('MACHINE_FEATURES', 'usbgadget',  'g_file_storage', '',d)}
#module_autoload_g_ether        = ${@base_contains('MACHINE_FEATURES', 'usbgadget',  'g_ether', '',d)}
module_autoload_g_serial       = ${@base_contains('MACHINE_FEATURES', 'usbgadget',  'g_serial', '',d)}

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