Commit Graph

86 Commits

Author SHA1 Message Date
Tianling Shen
d786f0ab6d
kernel: add missing Kconfigs for kernel 4.14
All changes were taken from upstream commit 81d0b4a9f431b2 ("kernel:
 bump 4.14 to 4.14.259")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-01 17:35:27 +08:00
Tianling Shen
9ac376921e
kernel: bump to 4.9.294, 4.14.259, 4.19.222
Resolve conflicted:
 - mvebu/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch

Remove upsteamed:
 - mvebu/524-PCI-aardvark-set-host-and-device-to-the-same-MAX-payload-size.patch
 - mvebu/527-PCI-aardvark-allow-to-specify-link-capability.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-25 03:54:06 +08:00
Tianling Shen
9bfc21a8d3
kernel: bump to 4.9.280, 4.14.244, 4.19.204
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-17 19:38:52 +08:00
AmadeusGhost
4d9881f18a sunxi: remove kmod-usb2 from device packages
This driver is already built-in.
2021-07-06 23:12:48 +08:00
ElonH
890e2f4469
kmod-rtc-sunxi: missing deps kmod-multimedia-input
(cherry picked from commit 91deb050bb)
2021-06-20 17:01:34 +08:00
AmadeusGhost
0c512fa3c4 sunxi: 02_network: remove the extra part 2021-06-13 12:19:00 +08:00
Tianling Shen
b632ec7b90
sunxi: cortexa53: make at24 eeprom driver built-in
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-12 23:55:01 +08:00
Tianling Shen
a8aa2f0593
sunxi: nanopi r1s h5: read mac address from eeprom
NanoPi R1S H5 has a unique MAC address for the ethernet on board. As
the USB NIC doesn't have, just reuse this MAC and flipp the LA bit for it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-11 15:57:14 +08:00
Josef Schlehofer
b0789e5156 linux-firmware: update to version 20210315 and trim down broadcom FW
In there linux-firmware repository located in kernel, there were removed old
broadcom firmware [1] as they seem to be likely vulnerable to KrØØk vulnerability
(CVE-2019-15126), because Cypress released new versions and superseded
by it.

In OpenWrt, there is Makefile for cypress-firmware, which already provides
the same named packages like it was in linux-firmware. For example, cypress-firmware-43455-sdio
provides brcmfmac-firmware-43455-sdio [2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=0f0aefd733f70beae4c0246edbd2c158d5ce974c

[2] eeda8652f1/package/firmware/cypress-firmware/Makefile (L124)

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-06-06 23:57:49 +08:00
AmadeusGhost
df1bfb1a6e sunxi: nanopi-r1s-h5: simplify mac address generation path
Idea was from eb85ab9 ("rockchip: use alternative CID path")

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-02 23:25:11 +08:00
AmadeusGhost
705dd55888 sunxi: nanopi-r1s-h5: remove non-existent usb node
(cherry picked from commit b8ec046701)
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-02 23:22:02 +08:00
AmadeusGhost
4b855e35fc sunxi/h5: set max cpu freq to 1296MHz 2021-04-08 23:27:46 +08:00
Tianling Shen
0c6e721a78
kernel: bump to 4.9.264, 4.14.228, 4.19.184
Resolve conflicted:
- generic/pending-4.19/611-netfilter_match_bypass_default_table.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-04 20:08:14 +08:00
Tianling Shen
4a24bd4db0
kernel: bump to 4.9.262, 4.14.227, 4.19.183
Resolve conflicted:
- layerscape/patches-4.14/809-flexcan-support-layerscape.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-27 01:15:23 +08:00
AmadeusGhost
284c9b6345 sunxi: h5: add 1.2GHz CPU OPP 2021-03-26 20:12:53 +08:00
Register
a52382d5d7 sunxi: h3: add more cpu operating points
Signed-off-by: Register <458892+aieu@users.noreply.github.com>
[Fixed format issues, add 960MHz and remove overclock part]
Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
2021-03-26 20:09:43 +08:00
CN_SZTL
7ed8a3dc50
kernel: bump to 4.9.257, 4.14.221, 4.19.175
Resolve conflicted:
 - layerscape/patches-4.14/302-dts-support-layerscape.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-10 19:37:50 +08:00
AmadeusGhost
ecd317d8f4 sunxi: backport h5 cpufreq support from upstream linux 2021-02-10 16:21:08 +08:00
AmadeusGhost
7e779f435c sunxi: Nanopi R1S H5: add missing device package
That is required by the Reset button.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-02-09 12:40:22 +08:00
AmadeusGhost
9b5659f066 autocore-arm: add target sunxi support 2021-02-05 18:23:44 +08:00
AmadeusGhost
a956b8d05e sunxi: add cpufreq support for Allwinner H5 2021-02-05 18:19:45 +08:00
AmadeusGhost
3adf449fa9 sunxi: use stable MAC-address for NanoPi R1S H5
Idea from a8a17fd223

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-02-05 18:16:09 +08:00
AmadeusGhost
144c82515c sunxi: add support for FriendlyARM NanoPi R1S H5
Specification:
  CPU: Allwinner H5, Quad-core Cortex-A53
  DDR3 RAM: 512MB
  Network: 10/100/1000M Ethernet x 2
  WiFi: RTL8189ETV, 802.11b/g/n 1T1R
  USB Host: Type-A x 1
  MicroSD Slot x 1
  MicroUSB: for power input
  Debug Serial Port: 3Pin pin-header
  LED: WAN, LAN, SYS
  KEY: Reset
  Power Supply: DC 5V/2A

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-02-05 18:12:53 +08:00
Jayantajit Gogoi
d20975bfbc sunxi: add support for FriendlyARM NanoPi R1
Specification:

- CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
- DDR3 RAM: 512MB/1GB
- Network:
    10/100/1000M Ethernet x 1,
    10/100M Ethernet x 1
- WiFi: 802.11b/g/n, with SMA antenna interface
- USB Host: Type-A x2
- MicroSD Slot x 1
- MicroUSB: for OTG and power input
- Debug Serial Port: 3Pin 2.54mm pitch pin-header
- LED:
    nanopi:red:status
    nanopi:green:wan
    nanopi:green:lan
- KEY:
    reset
- Power Supply: DC 5V/2A

Installation:

- Write the image to SD Card with dd
- Boot NanoPi from the SD Card

Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2021-02-05 18:01:10 +08:00
Adrian Schmutzler
75697c9c12
treewide: provide global default for SUPPORTED_DEVICES
The majority of our targets provide a default value for the variable
SUPPORTED_DEVICES, which is used in images to check against the
compatible on a running device:

  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))

At the moment, this is implemented in the Device/Default block of
the individual targets or even subtargets. However, since we
standardized device names and compatible in the recent past, almost
all targets are following the same scheme now:

  device/image name:  vendor_model
  compatible:         vendor,model

The equal redundant definitions are a symptom of this process.

Consequently, this patch moves the definition to image.mk making it
a global default. For the few targets not using the scheme above,
SUPPORTED_DEVICES will be defined to a different value in
Device/Default anyway, overwriting the default. In other words:
This change is supposed to be cosmetic.

This can be used as a global measure to get the current compatible
with: $(firstword $(SUPPORTED_DEVICES))
(Though this is not precisely an achievement of this commit.)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:47:58 +08:00
Adrian Schmutzler
83a2987c47 sunxi: tidy up cases in base-files
This removes unnecessary quotes in cases and applies alphabetic
order to members.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-21 12:06:07 +08:00
Rogan Dawes
2e4457de4d
sunxi: add text referencing Allwinner H3 and H5 CPUs
This makes it a little easier to figure out which options to choose.

Signed-off-by: Rogan Dawes <rogan@dawes.za.net>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 00:33:29 +08:00
CN_SZTL
ed2dc1c007
sunxi: move to kernel 4.19 and drop unusable devices
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 20:10:02 +08:00
CN_SZTL
e0aceee93a
kernel: bump to 4.14.203, 4.19.154
Resolve conflicted:
 - 210-dwc2_defaults.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-31 01:29:00 +08:00
CN_SZTL
aba9592e41
sunxi: rework nanopi r1s (h5) compilation for kernel 4.14
Known issues:
 - Wireless not working

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-10-18 00:36:02 +08:00
CN_SZTL
75bbbc8bc2
sunxi: switch to kernel 4.14 2020-09-05 14:41:44 +08:00
CN_SZTL
8f79928762
sunxi: nanopi-r1: set device packages 2020-08-10 22:11:17 +08:00
Adrian Schmutzler
070b0bff93
target: replace remaining occurrences of ifconfig with ip
ifconfig is effectively deprecated for quite some time now. Let's
replace the remaining occurrences for our target setup by the
corresponding ip commands now.

Note that this does not touch ar71xx, as it will be dropped anyway,
and changing it would only make backports harder.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 20:58:21 +08:00
CN_SZTL
4c39b45763
kernel: bump 4.14 to 4.14.190
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-29 16:38:17 +08:00
Rogan Dawes
6a51ed965c sunxi: add text referencing Allwinner H3 and H5 CPUs
This makes it a little easier to figure out which options to choose.

Signed-off-by: Rogan Dawes <rogan@dawes.za.net>
2020-06-27 12:33:18 +08:00
CN_SZTL
fc5e5739b2 target/sunxi: add support for nanopi duo2/r1/r1s on kernel 4.19 2020-05-24 11:21:02 +00:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 4d68a12e34.
2020-02-28 20:50:04 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
This reverts commit 191ace6dff.
2020-02-27 17:39:41 +08:00
CN_SZTL
59d9e97911
Merge Lean's source 2020-02-27 17:39:13 +08:00
coolsnowwolf
191ace6dff Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 01ab5cf3c9.
2020-02-26 16:47:18 +08:00
CN_SZTL
831dd702a9
Merge Lean's source 2020-02-25 13:45:26 +08:00
AmadeusGhost
01ab5cf3c9
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
* kernel: bump 4.14 to 4.14.171

Refreshed all patches.

Fixes:
- CVE-2013-1798

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.105

Refreshed all patches.

Fixes:
- CVE-2013-1798
- CVE-2019-3016

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.106

Refreshed all patches.

Remove upstreamed:
- 950-0786-leds-pca963x-Fix-open-drain-initialization.patch

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump to 4.9.214, 4.14.171, 4.19.106

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-25 12:24:44 +08:00
CN_SZTL
6ed41a4b2a
target/sunxi: fix 2020-02-08 21:18:39 +08:00
CN_SZTL
4070332704
target/sunxi: fix 2020-02-08 21:14:22 +08:00
CN_SZTL
823e00a512
Merge Lean's source 2020-02-08 18:04:42 +08:00
AmadeusGhost
7133ea672b
sunxi: switch to kernel 4.19 (#2976) 2020-02-08 17:16:54 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
CN_SZTL
6029b1ac46
Merge AmadeusGhost's source 2020-02-06 19:51:47 +08:00
AmadeusGhost
1d26d45a48 kernel: bump to 4.14.169, 4.19.101 2020-02-06 12:00:10 +08:00