mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
kexec-tools update to version 2.0.0; add support for armeb.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14121 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
24
package/kexec-tools/patches/0001-arm.patch
Normal file
24
package/kexec-tools/patches/0001-arm.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -ruN kexec-tools/kexec/arch/arm/kexec-arm.c kexec-tools-mod/kexec/arch/arm/kexec-arm.c
|
||||
--- kexec-tools/kexec/arch/arm/kexec-arm.c 2008-07-14 05:28:19.000000000 -0600
|
||||
+++ kexec-tools-mod/kexec/arch/arm/kexec-arm.c 2008-12-04 17:35:46.913936145 -0600
|
||||
@@ -110,6 +110,8 @@
|
||||
|
||||
const struct arch_map_entry arches[] = {
|
||||
{ "arm", KEXEC_ARCH_ARM },
|
||||
+ { "armv5teb", KEXEC_ARCH_ARM },
|
||||
+ { "armv6l", KEXEC_ARCH_ARM },
|
||||
{ 0 },
|
||||
};
|
||||
|
||||
diff -ruN kexec-tools/kexec/arch/arm/kexec-zImage-arm.c kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c
|
||||
--- kexec-tools/kexec/arch/arm/kexec-zImage-arm.c 2008-07-14 05:28:19.000000000 -0600
|
||||
+++ kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c 2008-12-04 17:03:41.512536642 -0600
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <stdint.h>
|
||||
#include <getopt.h>
|
||||
#include <arch/options.h>
|
||||
-#include <asm/page.h>
|
||||
+#include <unistd.h>
|
||||
#include "../../kexec.h"
|
||||
|
||||
#define COMMAND_LINE_SIZE 1024
|
||||
Reference in New Issue
Block a user