Mercurial > hg > aboriginal
annotate sources/targets/armv6l @ 1634:23b9782e7ab0
Linux commit a5463cd34354 introduced random breakage for no apparent reason, resulting in armv6l not booting unless you enable CONFIG_KUSER_HELPERS (which makes that commit a NOP).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 17 Oct 2013 02:15:26 -0500 |
parents | a49311441334 |
children | b89324905ca2 |
rev | line source |
---|---|
1400
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 DESCRIPTION=" |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 ARM v6, little endian, EABI with vector floating point (vfp). |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 The Pentium II of the ARM world: this architecture was introduced in 2001 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 and actually shipped silicon around 2003. This hardware can still run v4 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 and v5 instruction sets, but recompiling for armv6 should provide a |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 slight performance boost (and thus better battery life). |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 " |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 KARCH=arm |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 KERNEL_PATH=arch/${KARCH}/boot/zImage |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 GCC_FLAGS="--with-march=armv6 --with-mfloat-abi=soft --with-mfp=vfp" |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 BINUTILS_FLAGS= |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 QEMU_TEST=$KARCH |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 CROSS_TARGET="armv6l-unknown-linux-gnueabi" |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 ROOT=sda |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 CONSOLE=ttyAMA0 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 UCLIBC_CONFIG=" |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 TARGET_arm=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 CONFIG_ARM_EABI=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 ARCH_WANTS_LITTLE_ENDIAN=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 DOPIC=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
26 " |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
27 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
28 LINUX_CONFIG=" |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 # Processor config |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
31 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
32 CONFIG_CPU_V6=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
33 CONFIG_MMU=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
34 CONFIG_ARM_THUMB=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
35 CONFIG_AEABI=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
36 CONFIG_VFP=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
37 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 # Versatile board |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 |
1574
a49311441334
The linux 3.7 arm config changed the default board off of versatile, so add a config symbol explicitly specifying it.
Rob Landley <rob@landley.net>
parents:
1434
diff
changeset
|
40 CONFIG_ARCH_VERSATILE=y |
1400
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
41 CONFIG_ARCH_VERSATILE_PB=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
42 CONFIG_PCI_LEGACY=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
43 CONFIG_SERIAL_NONSTANDARD=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
44 CONFIG_SERIAL_AMBA_PL011=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
45 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
46 CONFIG_RTC_DRV_PL031=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
47 CONFIG_SCSI_SYM53C8XX_2=y |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
48 CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
49 CONFIG_SCSI_SYM53C8XX_MMIO=y |
1634
23b9782e7ab0
Linux commit a5463cd34354 introduced random breakage for no apparent reason, resulting in armv6l not booting unless you enable CONFIG_KUSER_HELPERS (which makes that commit a NOP).
Rob Landley <rob@landley.net>
parents:
1574
diff
changeset
|
50 |
23b9782e7ab0
Linux commit a5463cd34354 introduced random breakage for no apparent reason, resulting in armv6l not booting unless you enable CONFIG_KUSER_HELPERS (which makes that commit a NOP).
Rob Landley <rob@landley.net>
parents:
1574
diff
changeset
|
51 # Work around random breakage in the 3.11 kernel |
23b9782e7ab0
Linux commit a5463cd34354 introduced random breakage for no apparent reason, resulting in armv6l not booting unless you enable CONFIG_KUSER_HELPERS (which makes that commit a NOP).
Rob Landley <rob@landley.net>
parents:
1574
diff
changeset
|
52 CONFIG_KUSER_HELPERS=y |
1400
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
53 " |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
54 |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
55 emulator_command() |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
56 { |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
57 echo qemu-system-arm -M versatilepb -cpu arm1136-r2 $(qemu_defaults "$@") \ |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
58 -net nic,model=rtl8139 -net user |
0b1022dc9a36
Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
59 } |