Mercurial > hg > aboriginal
changeset 1756:79e08a2f2573 draft 1.4.1
linux 3.19
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 14 Apr 2015 16:37:21 -0500 |
parents | 6f81048998fe |
children | 9b4251fda364 |
files | download.sh sources/baseconfig-linux sources/patches/linux-arm.patch sources/patches/linux-outoutdamnperl.patch |
diffstat | 4 files changed, 3 insertions(+), 149 deletions(-) [+] |
line wrap: on
line diff
--- a/download.sh Tue Apr 14 16:36:38 2015 -0500 +++ b/download.sh Tue Apr 14 16:37:21 2015 -0500 @@ -29,8 +29,8 @@ SHA1=1e49b4e65e071d0abdd9d8eb555fd7e84dc92838 \ maybe_fork "download || dienow" -URL=ftp://kernel.org/pub/linux/kernel/v3.x/linux-3.18.tar.gz \ -SHA1=65378512524be0bda9e4e87c7fd6ecb2de289673 \ +URL=ftp://kernel.org/pub/linux/kernel/v3.x/linux-3.19.tar.gz \ +SHA1=5e7c78faee9e8ffb4b0361b9ff459fdc066baca7 \ maybe_fork "download || dienow"
--- a/sources/baseconfig-linux Tue Apr 14 16:36:38 2015 -0500 +++ b/sources/baseconfig-linux Tue Apr 14 16:37:21 2015 -0500 @@ -47,6 +47,7 @@ CONFIG_OVERLAY_FS=y CONFIG_DEVTMPFS=y CONFIG_BLK_DEV_INITRD=y +CONFIG_RD_GZIP=y CONFIG_INITRAMFS_COMPRESSION_GZIP=y CONFIG_VIRTUALIZATION=y
--- a/sources/patches/linux-arm.patch Tue Apr 14 16:36:38 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -Make the "Arm Versatile" board even more versatile, for QEMU, which can -stick weird processors into things that were never rmeant to receive them. - -diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig -index c1f38f6..fe5738c 100644 ---- a/arch/arm/mach-versatile/Kconfig -+++ b/arch/arm/mach-versatile/Kconfig -@@ -4,7 +4,6 @@ menu "Versatile platform type" - config ARCH_VERSATILE_PB - bool "Support Versatile Platform Baseboard for ARM926EJ-S" - default y -- select CPU_ARM926T - select MIGHT_HAVE_PCI - help - Include support for the ARM(R) Versatile Platform Baseboard -@@ -12,7 +11,6 @@ config ARCH_VERSATILE_PB - - config MACH_VERSATILE_AB - bool "Support Versatile Application Baseboard for ARM926EJ-S" -- select CPU_ARM926T - help - Include support for the ARM(R) Versatile Application Baseboard - for the ARM926EJ-S. -diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig -index 101b968..70de9fd 100644 ---- a/arch/arm/mm/Kconfig -+++ b/arch/arm/mm/Kconfig -@@ -71,7 +71,7 @@ config CPU_ARM9TDMI - - # ARM920T - config CPU_ARM920T -- bool "Support ARM920T processor" if ARCH_INTEGRATOR -+ bool "Support ARM920T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB - select CPU_32v4T - select CPU_ABRT_EV4T - select CPU_CACHE_V4WT -@@ -89,7 +89,7 @@ config CPU_ARM920T - - # ARM922T - config CPU_ARM922T -- bool "Support ARM922T processor" if ARCH_INTEGRATOR -+ bool "Support ARM922T processor" if ARCH_INTEGRATOR || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB - select CPU_32v4T - select CPU_ABRT_EV4T - select CPU_CACHE_V4WT -@@ -127,7 +127,7 @@ config CPU_ARM925T - - # ARM926T - config CPU_ARM926T -- bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB -+ bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB - select CPU_32v5 - select CPU_ABRT_EV5TJ - select CPU_CACHE_VIVT -@@ -135,6 +135,7 @@ config CPU_ARM926T - select CPU_CP15_MMU - select CPU_PABRT_LEGACY - select CPU_TLB_V4WBI if MMU -+ select ARCH_SUPPORTS_BIG_ENDIAN - help - This is a variant of the ARM920. It has slightly different - instruction sequences for cache and TLB operations. Curiously, -@@ -354,7 +355,8 @@ config CPU_PJ4 - - # ARMv6 - config CPU_V6 -- bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX -+ bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_VERSATILE_PB || ARCH_VERSATILE_AB -+ - select CPU_32v6 - select CPU_ABRT_EV6 - select CPU_CACHE_V6 -diff -ruN linux/arch/arm/mach-versatile/Kconfig linux.new/arch/arm/mach-versatile/Kconfig ---- linux/arch/arm/mach-versatile/Kconfig 2012-12-03 00:24:33.494770199 -0600 -+++ linux.new/arch/arm/mach-versatile/Kconfig 2012-12-03 00:17:31.172705566 -0600 -@@ -1,6 +1,12 @@ - menu "Versatile platform type" - depends on ARCH_VERSATILE - -+if ARCH_VERSATILE -+config ARCH_SUPPORTS_BIG_ENDIAN -+ bool -+ default y -+endif -+ - config ARCH_VERSATILE_PB - bool "Support Versatile Platform Baseboard for ARM926EJ-S" - default y
--- a/sources/patches/linux-outoutdamnperl.patch Tue Apr 14 16:36:38 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -Commit e6023367d779 added perl back to the kernel build. KILL IT WITH FIRE. - ---- linux/arch/x86/boot/compressed/Makefile -+++ linux/arch/x86/boot/compressed/Makefile -@@ -89,8 +76,10 @@ - suffix-$(CONFIG_KERNEL_LZO) := lzo - suffix-$(CONFIG_KERNEL_LZ4) := lz4 - --RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \ -- perl $(srctree)/arch/x86/tools/calc_run_size.pl) -+RUN_SIZE = $(shell NUM='\([0-9a-fA-F]*[ \t]*\)'; objdump -h vmlinux | \ -+sed -n 's/^[ \t0-9]*.b[sr][sk][ \t]*'"$$NUM$$NUM$$NUM$$NUM"'.*/\1\4/p' | \ -+xargs | while read a b c d; do [ "$$b" != "$$d" ] && exit 1; \ -+expr $$(printf "%d + %d + %d" 0x$$a 0x$$b 0x$$c); done) - quiet_cmd_mkpiggy = MKPIGGY $@ - cmd_mkpiggy = $(obj)/mkpiggy $< $(RUN_SIZE) > $@ || ( rm -f $@ ; false ) - ---- linux/arch/x86/tools/calc_run_size.pl -+++ /dev/null -@@ -1,39 +0,0 @@ --#!/usr/bin/perl --# --# Calculate the amount of space needed to run the kernel, including room for --# the .bss and .brk sections. --# --# Usage: --# objdump -h a.out | perl calc_run_size.pl --use strict; -- --my $mem_size = 0; --my $file_offset = 0; -- --my $sections=" *[0-9]+ \.(?:bss|brk) +"; --while (<>) { -- if (/^$sections([0-9a-f]+) +(?:[0-9a-f]+ +){2}([0-9a-f]+)/) { -- my $size = hex($1); -- my $offset = hex($2); -- $mem_size += $size; -- if ($file_offset == 0) { -- $file_offset = $offset; -- } elsif ($file_offset != $offset) { -- # BFD linker shows the same file offset in ELF. -- # Gold linker shows them as consecutive. -- next if ($file_offset + $mem_size == $offset + $size); -- -- printf STDERR "file_offset: 0x%lx\n", $file_offset; -- printf STDERR "mem_size: 0x%lx\n", $mem_size; -- printf STDERR "offset: 0x%lx\n", $offset; -- printf STDERR "size: 0x%lx\n", $size; -- -- die ".bss and .brk are non-contiguous\n"; -- } -- } --} -- --if ($file_offset == 0) { -- die "Never found .bss or .brk file offset\n"; --} --printf("%d\n", $mem_size + $file_offset);