forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from coolsnowwolf/master
20240115 日常更新 更新版本号
- Loading branch information
Showing
234 changed files
with
35,997 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.15 = .145 | ||
LINUX_KERNEL_HASH-5.15.145 = b2a49d87605f3a9491581150315e22337c1afb599efc1e2737481be3a2d6d620 | ||
LINUX_VERSION-5.15 = .146 | ||
LINUX_KERNEL_HASH-5.15.146 = 5a807a5fa2a80ada957d8079681dfb5cc196ec26f43244d1c8a4fd7af592d192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.4 = .265 | ||
LINUX_KERNEL_HASH-5.4.265 = 4dae99e49f466d4689e128ec023754908147159d7462019a83c7da1f25df9b15 | ||
LINUX_VERSION-5.4 = .266 | ||
LINUX_KERNEL_HASH-5.4.266 = da072f7e6fe719c01e517cac1fa9988b2f5fa87d62a8501b7dc16d3b62b2acb6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
LINUX_VERSION-6.6 = .10 | ||
LINUX_KERNEL_HASH-6.6.10 = 9ee627e4c109aec7fca3eda5898e81d201af2c7eb2f7d9d7d94c1f0e1205546c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
. $TOPDIR/include/site/linux | ||
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} | ||
ac_cv_c_bigendian=${ac_cv_c_bigendian=no} | ||
|
||
ac_cv_sizeof___int64=0 | ||
ac_cv_sizeof_char=1 | ||
ac_cv_sizeof_int=4 | ||
ac_cv_sizeof_int16_t=2 | ||
ac_cv_sizeof_int32_t=4 | ||
ac_cv_sizeof_int64_t=8 | ||
ac_cv_sizeof_long_int=8 | ||
ac_cv_sizeof_long_long=8 | ||
ac_cv_sizeof_long=8 | ||
ac_cv_sizeof_off_t=8 | ||
ac_cv_sizeof_short_int=2 | ||
ac_cv_sizeof_short=2 | ||
ac_cv_sizeof_size_t=8 | ||
ac_cv_sizeof_ssize_t=8 | ||
ac_cv_sizeof_u_int16_t=2 | ||
ac_cv_sizeof_u_int32_t=4 | ||
ac_cv_sizeof_u_int64_t=8 | ||
ac_cv_sizeof_uint16_t=2 | ||
ac_cv_sizeof_uint32_t=4 | ||
ac_cv_sizeof_uint64_t=8 | ||
ac_cv_sizeof_unsigned_int=4 | ||
ac_cv_sizeof_unsigned_long=8 | ||
ac_cv_sizeof_unsigned_long_long=8 | ||
ac_cv_sizeof_unsigned_short=2 | ||
ac_cv_sizeof_void_p=8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
search --set=root --label kernel | ||
configfile ($root)/boot/grub/grub.cfg | ||
configfile ($root)/efi/openwrt/grub.cfg |
36 changes: 36 additions & 0 deletions
36
package/boot/grub2/patches/001-add-missing-extra_deps-list.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From 4d4dae6a52b1749642261a15f5dcc1e3d4150b36 Mon Sep 17 00:00:00 2001 | ||
From: Julien Olivain <ju.o@free.fr> | ||
Date: Fri, 22 Dec 2023 19:02:53 +0100 | ||
Subject: [PATCH] Add missing grub-core/extra_deps.lst file in release tarball | ||
|
||
A file is missing in the grub-2.12 release tarballs (both .gz and .xz). | ||
See [1]. The issue was reported in [2] and fixed upstream in [3]. | ||
|
||
This patch adds the missing file, on top of the release tarball. This | ||
patch won't apply on upstream git, since the file is present in the | ||
source repository. Since the issue is fixed upstream in [3], it is | ||
expected upcoming releases tarballs will include the file. | ||
|
||
The file content was fetched from the upstream git repo: | ||
https://git.savannah.gnu.org/gitweb/?p=grub.git;a=blob_plain;f=grub-core/extra_deps.lst;hb=refs/tags/grub-2.12 | ||
|
||
[1] https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz | ||
[2] https://lists.gnu.org/archive/html/grub-devel/2023-12/msg00054.html | ||
[3] https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=b835601c7639ed1890f2d3db91900a8506011a8e | ||
|
||
Signed-off-by: Julien Olivain <ju.o@free.fr> | ||
Upstream: Fixed by: https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=b835601c7639ed1890f2d3db91900a8506011a8e | ||
--- | ||
grub-core/extra_deps.lst | 1 + | ||
1 file changed, 1 insertion(+) | ||
create mode 100644 grub-core/extra_deps.lst | ||
|
||
diff --git a/grub-core/extra_deps.lst b/grub-core/extra_deps.lst | ||
new file mode 100644 | ||
index 0000000..f44ad6a | ||
--- /dev/null | ||
+++ b/grub-core/extra_deps.lst | ||
@@ -0,0 +1 @@ | ||
+depends bli part_gpt | ||
-- | ||
2.43.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
package/devel/binutils/patches/001-replace-attribute_const.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
Fix this compile error: | ||
---------------------- | ||
./../common/cpuid.c:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__get_cpuid' | ||
27 | __get_cpuid (unsigned int op ATTRIBUTE_UNUSED, unsigned int *eax, | ||
| ^~~~~~~~~~~ | ||
---------------------- | ||
|
||
and this error: | ||
---------------------- | ||
unwind.c: In function '__collector_ext_return_address': | ||
unwind.c:236:34: error: '__u64' undeclared (first use in this function) | ||
236 | context->uc_mcontext.sp = (__u64) __builtin_frame_address(0); \ | ||
| ^~~~~ | ||
unwind.c:490:3: note: in expansion of macro 'FILL_CONTEXT' | ||
490 | FILL_CONTEXT ((&context)); | ||
|
||
---------------------- | ||
--- a/gprofng/common/cpuid.c | ||
+++ b/gprofng/common/cpuid.c | ||
@@ -23,7 +23,7 @@ | ||
#elif defined(__aarch64__) | ||
#define ATTRIBUTE_UNUSED __attribute__((unused)) | ||
|
||
-static inline uint_t __attribute_const__ | ||
+static inline uint_t __attribute__((__const__)) | ||
__get_cpuid (unsigned int op ATTRIBUTE_UNUSED, unsigned int *eax, | ||
unsigned int *ebx ATTRIBUTE_UNUSED, | ||
unsigned int *ecx ATTRIBUTE_UNUSED, unsigned int *edx ATTRIBUTE_UNUSED) | ||
--- a/gprofng/libcollector/unwind.c | ||
+++ b/gprofng/libcollector/unwind.c | ||
@@ -233,7 +233,7 @@ memory_error_func (int status ATTRIBUTE_ | ||
#elif ARCH(Aarch64) | ||
#define FILL_CONTEXT(context) \ | ||
{ CALL_UTIL (getcontext) (context); \ | ||
- context->uc_mcontext.sp = (__u64) __builtin_frame_address(0); \ | ||
+ context->uc_mcontext.sp = (uint64_t) __builtin_frame_address(0); \ | ||
} | ||
|
||
#endif /* ARCH() */ | ||
@@ -4579,11 +4579,11 @@ stack_unwind (char *buf, int size, void | ||
if (buf && bptr && eptr && context && size + mode > 0) | ||
getByteInstruction ((unsigned char *) eptr); | ||
int ind = 0; | ||
- __u64 *lbuf = (void *) buf; | ||
- int lsize = size / sizeof (__u64); | ||
- __u64 pc = context->uc_mcontext.pc; | ||
- __u64 sp = context->uc_mcontext.sp; | ||
- __u64 stack_base; | ||
+ uint64_t *lbuf = (void *) buf; | ||
+ int lsize = size / sizeof (uint64_t); | ||
+ uint64_t pc = context->uc_mcontext.pc; | ||
+ uint64_t sp = context->uc_mcontext.sp; | ||
+ uint64_t stack_base; | ||
unsigned long tbgn = 0; | ||
unsigned long tend = 0; | ||
|
||
@@ -4594,7 +4594,7 @@ stack_unwind (char *buf, int size, void | ||
{ | ||
stack_base = sp + 0x100000; | ||
if (stack_base < sp) // overflow | ||
- stack_base = (__u64) -1; | ||
+ stack_base = (uint64_t) -1; | ||
} | ||
DprintfT (SP_DUMP_UNWIND, | ||
"unwind.c:%d stack_unwind %2d pc=0x%llx sp=0x%llx stack_base=0x%llx\n", | ||
@@ -4625,17 +4625,17 @@ stack_unwind (char *buf, int size, void | ||
__LINE__, (unsigned long) sp); | ||
break; | ||
} | ||
- pc = ((__u64 *) sp)[1]; | ||
- __u64 old_sp = sp; | ||
- sp = ((__u64 *) sp)[0]; | ||
+ pc = ((uint64_t *) sp)[1]; | ||
+ uint64_t old_sp = sp; | ||
+ sp = ((uint64_t *) sp)[0]; | ||
if (sp < old_sp) | ||
break; | ||
} | ||
if (ind >= lsize) | ||
{ | ||
ind = lsize - 1; | ||
- lbuf[ind++] = (__u64) SP_TRUNC_STACK_MARKER; | ||
+ lbuf[ind++] = (uint64_t) SP_TRUNC_STACK_MARKER; | ||
} | ||
- return ind * sizeof (__u64); | ||
+ return ind * sizeof (uint64_t); | ||
} | ||
#endif /* ARCH() */ |
Oops, something went wrong.