Mercurial > hg > aboriginal
changeset 1325:fd341b09cc27
Bring bootraw patch up to 2.6.37 so it doesn't need fuzz factor support to apply (which busybox patch doesn't do, and which is a bad idea anyway because fuzz has the annoying habit of silently applying hunks in the wrong place and introducing _subtle_ bugs).
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 10 Jan 2011 08:26:02 -0600 |
parents | abedce270c1e |
children | be1f24b10864 |
files | sources/patches/linux-2.6.28-boot-raw.patch sources/patches/linux-bootraw.patch |
diffstat | 2 files changed, 31 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/patches/linux-2.6.28-boot-raw.patch Sat Jan 08 19:58:33 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig -index f4af967..023604d 100644 ---- a/arch/mips/Kconfig -+++ b/arch/mips/Kconfig -@@ -670,9 +670,6 @@ config ARC - config ARCH_MAY_HAVE_PC_FDC - bool - --config BOOT_RAW -- bool -- - config CEVT_BCM1480 - bool - -@@ -1887,6 +1884,18 @@ config SECCOMP - - If unsure, say Y. Only embedded should say N here. - -+config BOOT_RAW -+ bool "Enable the kernel to be executed from the load address" -+ default n -+ help -+ Allow the kernel to be executed from the load address for -+ bootloaders which cannot read the ELF format. This places -+ a jump to start_kernel at the load address. -+ -+ If unsure, say N. -+ -+ -+ - endmenu - - config LOCKDEP_SUPPORT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/linux-bootraw.patch Mon Jan 10 08:26:02 2011 -0600 @@ -0,0 +1,31 @@ +--- linux.bak/arch/mips/Kconfig 2011-01-04 18:50:19.000000000 -0600 ++++ linux/arch/mips/Kconfig 2011-01-10 08:15:26.000000000 -0600 +@@ -787,9 +787,6 @@ + config ARCH_MAY_HAVE_PC_FDC + bool + +-config BOOT_RAW +- bool +- + config CEVT_BCM1480 + bool + +@@ -2222,6 +2219,18 @@ + help + Include support for flattened device tree machine descriptions. + ++config BOOT_RAW ++ bool "Enable the kernel to be executed from the load address" ++ default n ++ help ++ Allow the kernel to be executed from the load address for ++ bootloaders which cannot read the ELF format. This places ++ a jump to start_kernel at the load address. ++ ++ If unsure, say N. ++ ++ ++ + endmenu + + config LOCKDEP_SUPPORT