Commit Graph

110 Commits

Author SHA1 Message Date
CN_SZTL
abc3581f44
Merge Mainline 2020-07-25 00:27:32 +08:00
CN_SZTL
876540ebc1
config/images: enable console by default 2020-07-25 00:06:47 +08:00
CN_SZTL
e0e9a24cc3
Merge Mainline 2020-07-24 20:54:40 +08:00
Hauke Mehrtens
a76f4760b1
build: Remove dependency of user space stack cookies from kernel
Currently the user space stack cookies work well also when the kernel
stack cookies are not activated. This is handled completely in user
space and does not need kernel support.

This dependency was probably needed some years ago when the libc did not
support stack cookies.

Reviewed-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-24 20:00:50 +08:00
AmadeusGhost
ea0f145c3e Merge Mainline 2020-06-28 18:16:21 +08:00
AmadeusGhost
9bfbdcb765 Merge Lean's source 2020-06-28 17:50:37 +08:00
Javier Marcet
7e9a5bc399 kernel: rename CONFIG_NETPRIO_CGROUP to CONFIG_CGROUP_NET_PRIO
This has been changed in kernel 3.14.

Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-27 12:38:01 +08:00
coolsnowwolf
378ca0f03e x64: add EFI Image boot from emmc SSD support 2020-06-23 23:44:27 +08:00
CN_SZTL
6be0617500
Merge Mainline 2020-06-21 00:39:01 +08:00
Ian Cooper
6ca48b8591 toolchain: remove gcc libssp and use libc variant
Removes the standalone implementation of stack smashing protection
in gcc's libssp in favour of the native implementation available
in glibc and uclibc. Musl libc already uses its native ssp, so this
patch does not affect musl-based toolchains.

Stack smashing protection configuration options are now uniform
across all supported libc variants.

This also makes kernel-level stack smashing protection available
for x86_64 and i386 builds using non-musl libc.

Signed-off-by: Ian Cooper <iancooper@hotmail.com>
2020-06-18 08:06:20 +08:00
Christopher Hill
bb05e8143f ath79: add support for MikroTik RouterBOARD 493G (rb4xx series)
This patch adds support for the MikroTik RouterBOARD RB493G, ported
from the ar71xx target.

See https://routerboard.com/RB493G for details

Specification:
- SoC Qualcomm Atheros AR7161
- RAM: 256 MiB
- Storage: 128MiB NAND
- Ethernet: 9x 1000/100/10 Mbps
- USB 1x 2.0 / 1.0 type A
- PCIe: 3x Mini slot
- MicroSD slot

Working:
- Board/system detection
- Ethernet
- SPI
- NAND
- LEDs
- USB
- Sysupgrade

Enabled (but untested due to lack of hardware):
- PCIe - ath79_pci_irq struct has the slot/pin/IRQ mappings if needed

Installation methods:
- tftp boot initramfs image, scp then flash via "sysupgrade -n"
- nand boot existing OpenWrt, scp then flash via "sysupgrade -n"

Notes:
- initramfs image will not work if uncompressed image size over ~8.5Mb
- The "rb4xx" drivers have been enabled

Signed-off-by: Christopher Hill <ch6574@gmail.com>
2020-06-16 12:05:24 +08:00
CN_SZTL
82c8447db8
target: make TESTING_KERNEL selectable 2020-04-14 23:56:07 +08:00
Chen Minqiang
7b93b863e8
x86: make crashdump works
1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
2. select crashkernel mem size by totalmem
   mem <= 256M disable crashkernel by default
   mem >= 4G use 256M for crashkernel
   mem >= 8G use 512M for crashkernel
   default use 128M
3. set BOOT_IMAGE in kdump.init
4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error

Tested on x86_64

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-04-14 03:51:40 +08:00
AmadeusGhost
ed025d9baa config: enable ext4 rootfs and gzip
Also disable for x86 by default
2020-04-01 16:08:54 +08:00
AmadeusGhost
8ba4d0d346 bcm27xx: fix error patch
This commit fix efc4ae1
2020-03-11 08:28:42 +08:00
AmadeusGhost
c024328960 config-4.19: refresh default config
This commit revert 'config: refresh default config for Raspberry Pi',
and enable ext4 rootfs for target_bcm27xx.
2020-03-05 17:53:53 +08:00
CN_SZTL
14609a8f8a
Merge Lean's source 2020-02-21 02:50:38 +08:00
coolsnowwolf
9f8000a6d6 sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
CN_SZTL
25a9d6c304
Merge Lean's source 2020-02-18 13:05:42 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
CN_SZTL
6be9370273
Merge Lean's source 2020-02-17 11:21:21 +08:00
AmadeusGhost
61341499df
brcm2708: rename target to bcm27xx (#3098)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-17 10:36:14 +08:00
coolsnowwolf
0653ca192e disable ipkg sign check 2020-02-04 00:34:50 +08:00
CN_SZTL
5893c0d03c
Merge Lean's source 2020-02-03 14:13:23 +08:00
coolsnowwolf
ecea39f109 Revert "files: sync from openwrt v19.07 (#2690)"
This reverts commit 2289184a62.
2020-02-03 12:33:25 +08:00
CN_SZTL
951a74ad69
opkg: bump to latest git HEAD (#2914)
* opkg: bump to latest git HEAD

Signed-off-by: CN_SZTL <cnsztl@gmail.com>

* config: add option for opkg
2020-02-03 12:00:39 +08:00
CN_SZTL
e6abd4e3ba
Merge Lean's source 2020-02-01 17:10:56 +08:00
AmadeusGhost
2289184a62
files: sync from openwrt v19.07 (#2690) 2020-02-01 16:50:37 +08:00
CN_SZTL
be84b7e4ef
config: fix libcxx settings 2020-01-27 22:06:40 +08:00
LEAN-ESX
6c5dcf4fb8 buildsystem: Make PIE ASLR option tristate 2020-01-17 10:55:30 -08:00
CN_SZTL
c6fe53a995
buildsystem: Make PIE ASLR option tristate 2020-01-15 02:00:14 +08:00
CN_SZTL
83e1c33c6b
Merge Lean's source 2020-01-13 13:02:30 +08:00
AmadeusGhost
5e942cf804 update some packages to latest version (#2760) 2020-01-13 09:47:13 +08:00
CN_SZTL
cf62f3f2b2
Merge Lean's source 2019-10-29 12:46:36 +08:00
LEAN-ESX
4d696d393e ipq40xx: Qualcomm HW Crypto Engine fixes 2019-10-28 21:23:00 -07:00
LEAN-ESX
b6c3b13659 kernel: default disable KERNEL_NAMESPACES to reduce kernel size 2019-10-28 19:47:55 -07:00
CN_SZTL
46fba6cc69
Merge Lean's source 2019-10-26 21:00:31 +08:00
coolsnowwolf
586ff91baa
Update Config-kernel.in 2019-10-26 17:49:48 +08:00
CN_SZTL
f3aa0eac48
Merge Lean's source 2019-10-26 07:44:31 +08:00
coolsnowwolf
a27bc59099
Update Config-kernel.in 2019-10-26 01:15:00 +08:00
CN_SZTL
e0bca8c036
Merge https://github.com/coolsnowwolf/lede into dev 2019-10-21 13:22:31 +08:00
LEAN-ESX
39a642a130 build: create JSON files containing image info 2019-10-20 05:03:52 -07:00
LEAN-ESX
f6984f6389 config: refresh default config for Raspberry Pi 2019-10-20 04:59:56 -07:00
CN_SZTL
e83679e4c5
Merge Lean's source 2019-10-16 23:56:50 +08:00
LEAN-ESX
426b3643cc kernel:seccomp disable by default 2019-10-16 08:25:40 -07:00
CN_SZTL
60a8d5de11
Merge https://github.com/coolsnowwolf/lede into dev 2019-10-12 19:10:26 +08:00
LEAN-ESX
c78939e05c mips: enable KERNEL_MIPS_FPU_EMULATOR by default 2019-10-12 02:41:29 -07:00
CN_SZTL
7b63b46a22
config: remove unused GCC_VERSION_4_8 config symbols 2019-10-12 15:57:24 +08:00
CN_SZTL
fc184df3d4
Merge Lean's source 2019-10-12 08:03:19 +08:00
LEAN-ESX
6ade5c53f0 kernel: update config 2019-10-10 04:09:54 -07:00