annotate sources/patches/linux-arm.patch @ 1722:5a68c514f756 draft

Shuffle around remaining busybox commands in config so they're roughly grouped by toybox replacement difficulty.
author Rob Landley <rob@landley.net>
date Sun, 11 Jan 2015 10:23:14 -0600
parents 1b2017d3ecf5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
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
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
72 select CPU_CACHE_V6
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
73 diff -ruN linux/arch/arm/mach-versatile/Kconfig linux.new/arch/arm/mach-versatile/Kconfig
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
74 --- linux/arch/arm/mach-versatile/Kconfig 2012-12-03 00:24:33.494770199 -0600
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
75 +++ linux.new/arch/arm/mach-versatile/Kconfig 2012-12-03 00:17:31.172705566 -0600
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
76 @@ -1,6 +1,12 @@
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
77 menu "Versatile platform type"
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
78 depends on ARCH_VERSATILE
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
79
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
80 +if ARCH_VERSATILE
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
81 +config ARCH_SUPPORTS_BIG_ENDIAN
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
82 + bool
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
83 + default y
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
84 +endif
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
85 +
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
86 config ARCH_VERSATILE_PB
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
87 bool "Support Versatile Platform Baseboard for ARM926EJ-S"
bee6b26a006d Linux 3.7.
Rob Landley <rob@landley.net>
parents: 1534
diff changeset
88 default y