annotate sources/targets/armv4l/settings @ 1187:878dbfe76341

Move $BUILD/logs creation from record-commands.sh to include.sh so it gets reliably recreated when a user blanks the logs and re-runs.
author Rob Landley <rob@landley.net>
date Sun, 01 Aug 2010 15:19:00 -0500
parents fb2c1618f1ba
children 75ecd2cf6068
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 KARCH=arm
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 KERNEL_PATH=arch/${KARCH}/boot/zImage
701
b4a9c0084f2f Converted ARMV5L from OABI to EABI with VFP support. Added patches for uClibc and uClibc++ to deal with Unwind Exception handling, made uClibc++ pull in libgcc_eh for this as well, and disabled SJLJ exceptions for ARMV5L EABI, which is apparently required, so --enable-sjlj-exceptions was added to the details file for all the other arches. Also correct the GENTOO_CHOST variable for armeb.
Mark Miller <mark@mirell.org>
parents: 641
diff changeset
3 GCC_FLAGS="--with-float=soft --enable-sjlj-exceptions"
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 BINUTILS_FLAGS=
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 QEMU_TEST=$KARCH
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
6
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 ROOT=sda
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 CONSOLE=ttyAMA0
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
9
641
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 387
diff changeset
10 # Gentoo from Scratch
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 387
diff changeset
11 GFS_CHOST="armv4l-gentoo-linux-uclibc"
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 387
diff changeset
12 GFS_ARCH="arm"
243594326fb2 Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents: 387
diff changeset
13
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: 705
diff changeset
14 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: 705
diff changeset
15 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: 705
diff changeset
16 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: 705
diff changeset
17 "
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: 705
diff changeset
18
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
19 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
20
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
21 # 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
22
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
23 # 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
24 # 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
25 # 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
26 # 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
27
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
28 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
29 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
30 CONFIG_ARM_THUMB=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
31 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
32
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 # 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
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_ARCH_VERSATILE_PB=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
36 CONFIG_PCI_LEGACY=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
37 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
38 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
39 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
40 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
41 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
42 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
43 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
44 "
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
387
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
46 emulator_command()
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
47 {
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
48 echo qemu-system-arm -M versatilepb $(qemu_defaults "$@") \
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
49 -net nic,model=rtl8139 -net user
f0ceae67ebd0 Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff changeset
50 }