Mercurial > hg > aboriginal
annotate sources/patches/linux-arm.patch @ 1684:7b4566efd8bd draft 1.2.8
Silence some asynchronous messages linux produces on top of the shell prompt.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Sep 2014 10:39:51 -0500 |
parents | 1b2017d3ecf5 |
children |
rev | line source |
---|---|
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 Make the "Arm Versatile" board even more versatile, for QEMU, which can |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 stick weird processors into things that were never rmeant to receive them. |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
4 diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
5 index c1f38f6..fe5738c 100644 |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
6 --- a/arch/arm/mach-versatile/Kconfig |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
7 +++ b/arch/arm/mach-versatile/Kconfig |
1570 | 8 @@ -4,7 +4,6 @@ menu "Versatile platform type" |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
9 config ARCH_VERSATILE_PB |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
10 bool "Support Versatile Platform Baseboard for ARM926EJ-S" |
1570 | 11 default y |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
12 - select CPU_ARM926T |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
13 select MIGHT_HAVE_PCI |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
14 help |
1570 | 15 Include support for the ARM(R) Versatile Platform Baseboard |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
16 @@ -12,7 +11,6 @@ config ARCH_VERSATILE_PB |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
17 |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
18 config MACH_VERSATILE_AB |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
19 bool "Support Versatile Application Baseboard for ARM926EJ-S" |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
20 - select CPU_ARM926T |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
21 help |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
22 Include support for the ARM(R) Versatile Application Baseboard |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
23 for the ARM926EJ-S. |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
24 diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
25 index 101b968..70de9fd 100644 |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
26 --- a/arch/arm/mm/Kconfig |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
27 +++ b/arch/arm/mm/Kconfig |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
28 @@ -71,7 +71,7 @@ config CPU_ARM9TDMI |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 # ARM920T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
31 config CPU_ARM920T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
32 - bool "Support ARM920T processor" if ARCH_INTEGRATOR |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
33 + bool "Support ARM920T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
34 select CPU_32v4T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
35 select CPU_ABRT_EV4T |
1570 | 36 select CPU_CACHE_V4WT |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
37 @@ -89,7 +89,7 @@ config CPU_ARM920T |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
38 |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
39 # ARM922T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
40 config CPU_ARM922T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
41 - bool "Support ARM922T processor" if ARCH_INTEGRATOR |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
42 + bool "Support ARM922T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
43 select CPU_32v4T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
44 select CPU_ABRT_EV4T |
1570 | 45 select CPU_CACHE_V4WT |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
46 @@ -127,7 +127,7 @@ config CPU_ARM925T |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
47 |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
48 # ARM926T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
49 config CPU_ARM926T |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
50 - bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
51 + bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
52 select CPU_32v5 |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
53 select CPU_ABRT_EV5TJ |
1570 | 54 select CPU_CACHE_VIVT |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
55 @@ -135,6 +135,7 @@ config CPU_ARM926T |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
56 select CPU_CP15_MMU |
1570 | 57 select CPU_PABRT_LEGACY |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
58 select CPU_TLB_V4WBI if MMU |
1570 | 59 + select ARCH_SUPPORTS_BIG_ENDIAN |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
60 help |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
61 This is a variant of the ARM920. It has slightly different |
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
62 instruction sequences for cache and TLB operations. Curiously, |
1534
418a7e78cfe1
Make arm versatile work again.
Rob Landley <rob@landley.net>
parents:
1365
diff
changeset
|
63 @@ -354,7 +355,8 @@ config CPU_PJ4 |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
64 |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
65 # ARMv6 |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
66 config CPU_V6 |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
67 - bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
68 + bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB |
1329
c52b7a665f31
Update busybox, and update uClibc and linux to test versions that should ship soon. Update patches directory to match.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
69 + |
1365
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
70 select CPU_32v6 |
f6153a16bfad
Fix armv6l, for details see http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg00829.html
Rob Landley <rob@landley.net>
parents:
1359
diff
changeset
|
71 select CPU_ABRT_EV6 |
1570 | 72 select CPU_CACHE_V6 |
73 diff -ruN linux/arch/arm/mach-versatile/Kconfig linux.new/arch/arm/mach-versatile/Kconfig | |
74 --- linux/arch/arm/mach-versatile/Kconfig 2012-12-03 00:24:33.494770199 -0600 | |
75 +++ linux.new/arch/arm/mach-versatile/Kconfig 2012-12-03 00:17:31.172705566 -0600 | |
76 @@ -1,6 +1,12 @@ | |
77 menu "Versatile platform type" | |
78 depends on ARCH_VERSATILE | |
79 | |
80 +if ARCH_VERSATILE | |
81 +config ARCH_SUPPORTS_BIG_ENDIAN | |
82 + bool | |
83 + default y | |
84 +endif | |
85 + | |
86 config ARCH_VERSATILE_PB | |
87 bool "Support Versatile Platform Baseboard for ARM926EJ-S" | |
88 default y |