Mercurial > hg > aboriginal
annotate sources/targets/armv5l/settings @ 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.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 02 Jul 2010 23:38:31 -0500 |
parents | b274eb556b50 |
children | 0b53de0d6eec |
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 |
703
a71b8cec9cd5
Added ARMv6L support. Required patching the Linux Kernel because circa 2.6.27 they changed how you selected processors for certain ARM boards, making it so you couldn't have a VersatilePB board with an ARMv6-capable processor. QEMU however can do that, so patched that out. Also got rid of extra crud for GCC Flags for ARMv5 that weren't necessary.
Mark Miller <mark@mirell.org>
parents:
701
diff
changeset
|
3 GCC_FLAGS="--with-march=armv5 --with-mfloat-abi=soft --with-mfp=vfp --disable-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 |
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
|
7 CROSS_TARGET=armv5l-unknown-linux-gnueabi |
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
|
8 |
387
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 ROOT=sda |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 CONSOLE=ttyAMA0 |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 |
641
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
12 # Gentoo from Scratch |
703
a71b8cec9cd5
Added ARMv6L support. Required patching the Linux Kernel because circa 2.6.27 they changed how you selected processors for certain ARM boards, making it so you couldn't have a VersatilePB board with an ARMv6-capable processor. QEMU however can do that, so patched that out. Also got rid of extra crud for GCC Flags for ARMv5 that weren't necessary.
Mark Miller <mark@mirell.org>
parents:
701
diff
changeset
|
13 GFS_CHOST="armv5l-unknown-linux-gnueabi" |
641
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
14 GFS_ARCH="arm" |
243594326fb2
Added variables for Gentoo from Scratch
Mark Miller <mark@mirell.org>
parents:
387
diff
changeset
|
15 |
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:
706
diff
changeset
|
16 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:
706
diff
changeset
|
17 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:
706
diff
changeset
|
18 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:
706
diff
changeset
|
19 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:
706
diff
changeset
|
20 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:
706
diff
changeset
|
21 " |
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:
706
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 LINUX_CONFIG=" |
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
|
24 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
|
25 CONFIG_MMU=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
|
26 CONFIG_ARCH_VERSATILE_PB=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
|
27 #CONFIG_MACH_VERSATILE_AB=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
|
28 CONFIG_ARM_THUMB=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_VFP=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
|
30 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
|
31 CONFIG_AEABI=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
|
32 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
|
33 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
|
34 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
|
35 CONFIG_RTC_DRV_PL031=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 " |
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 |
387
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 emulator_command() |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 { |
f0ceae67ebd0
Convert sources/configs/$ARCH files to sources/targets/$ARCH directories.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
40 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
|
41 -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
|
42 } |