annotate sources/targets/armv4tl/settings @ 1265:918501f802d1

Update squashfs and kernel to current versions.
author Rob Landley <rob@landley.net>
date Thu, 21 Oct 2010 19:09:51 -0500
parents fb2c1618f1ba
children 5e22b534839a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
829
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 KARCH=arm
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 KERNEL_PATH=arch/${KARCH}/boot/zImage
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 GCC_FLAGS="--with-march=armv4t --with-float=soft --disable-sjlj-exceptions"
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 BINUTILS_FLAGS=
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 QEMU_TEST=$KARCH
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
6
831
3116f25406d6 Add patch armv4tl needs, and tweak settings to provide equivalent but slightly less confusing binutils/gcc tuple.
Rob Landley <rob@landley.net>
parents: 829
diff changeset
7 CROSS_TARGET=armv4tl-unknown-linux-gnueabi
829
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
8
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 ROOT=sda
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 CONSOLE=ttyAMA0
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
11
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 # This is every bit as ugly as it looks, because it's for gcc.
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 export target_cpu_cname=arm9tdmi
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
14
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
15 # Gentoo from Scratch
831
3116f25406d6 Add patch armv4tl needs, and tweak settings to provide equivalent but slightly less confusing binutils/gcc tuple.
Rob Landley <rob@landley.net>
parents: 829
diff changeset
16 GFS_CHOST="$CROSS_TARGET"
3116f25406d6 Add patch armv4tl needs, and tweak settings to provide equivalent but slightly less confusing binutils/gcc tuple.
Rob Landley <rob@landley.net>
parents: 829
diff changeset
17 GFS_ARCH="$KARCH"
829
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
18
871
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
19 UCLIBC_CONFIG="
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
20 TARGET_arm=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
21 CONFIG_ARM_EABI=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
22 ARCH_WANTS_LITTLE_ENDIAN=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
23 DOPIC=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
24 "
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 831
diff changeset
25
1152
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
26 LINUX_CONFIG="
1153
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
27
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
28 # Processor config
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
29
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
30 # QEMU patch: http://www.mail-archive.com/qemu-devel@nongnu.org/msg19370.html
1154
fb2c1618f1ba More baseconfig-linux work.
Rob Landley <rob@landley.net>
parents: 1153
diff changeset
31 # and QEMU option '-cpu arm920t' enable CONFIG_CPU_ARM920T=y which is the
1153
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
32 # processor that actually _needs_ this code. But until then, qemu can only
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
33 # emulate an armv5 CPU...
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
34
1152
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
35 CONFIG_CPU_ARM926T=y
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
36 CONFIG_MMU=y
1153
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
37 CONFIG_VFP=y
1152
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
38 CONFIG_ARM_THUMB=y
1153
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
39 CONFIG_AEABI=y
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
40
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
41 # Versatile board
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
42
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
43 CONFIG_ARCH_VERSATILE_PB=y
1152
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
44 CONFIG_PCI_LEGACY=y
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
45 CONFIG_SERIAL_NONSTANDARD=y
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
46 CONFIG_SERIAL_AMBA_PL011=y
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
47 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
48 CONFIG_RTC_DRV_PL031=y
1153
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
49 CONFIG_SCSI_SYM53C8XX_2=y
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
50 CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
0b53de0d6eec Forgot to check in the baseconfig-linux file. Also, convert the x86 targets and clean up the arm targets.
Rob Landley <rob@landley.net>
parents: 1152
diff changeset
51 CONFIG_SCSI_SYM53C8XX_MMIO=y
1152
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
52 "
2f39d1bfb2fd Add baseconfig-linux, the infrastructure to use it, and move over the arm targets. (You can override with a miniconfig-linux or miniconfig-uClibc in the appropriate target directory.)
Rob Landley <rob@landley.net>
parents: 871
diff changeset
53
829
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
54 emulator_command()
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
55 {
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
56 echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
57 -net nic,model=rtl8139 -net user
83e108bdf5a5 Add armv4tl-eabi target, for arm 920t systems such as Openmoko Freerunner.
Rob Landley <rob@landley.net>
parents:
diff changeset
58 }