Commit Graph

1410 Commits

Author SHA1 Message Date
Tianling Shen
10a0ee06ee
kernel: bump to 4.9.285, 4.14.249, 4.19.209
Manually rebased:
- generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-07 14:56:30 +08:00
AmadeusGhost
dd4890c9a4 ramips: add support for JCG JHR-AC945M
Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 256MB
  2.4GHz: MT7615N bgn 4x4
  5GHz: MT7615N nac 4x4
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Unsupported chips:
  ATMEGA328P-AU
  HCLTEK HT1621B

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-10-01 10:18:40 +08:00
Tianling Shen
85c98e5920
omap: fix name of uboot file
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-30 05:22:40 +08:00
Tianling Shen
e55f67150e
layerscape: drop redudant patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-30 05:17:53 +08:00
Yangbo Lu
0d849b3340
layerscape: drop pause frame support for aquantia phy
An aquantia phy patch which dropped pause frame support was
missing when integrated LSDK-19.03 kernel patches into OpenWrt.
Without this patch, LS1043A 10G port would not work. So apply it.

Patch link
https://source.codeaurora.org/external/qoriq/qoriq-components/
linux/commit/?h=linux-4.14&id=66346b115818365cfaf99d292871b19f0a1d2850

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
(cherry picked from commit 94a1999b4f)
2021-09-30 05:16:21 +08:00
Biwen Li
dc1e2d5ebe
kernel: layerscape: fix compilation error
This fixes a compilation error as follows:
drivers/staging/fsl_qbman/qman_config.c:815:29: error: bitwise comparison
always evaluates to false [-Werror=tautological-compare]
  if ((qman_ip_rev & 0xFF00) == QMAN_REV31) {

Signed-off-by: Biwen Li <biwen.li@nxp.com>
(cherry picked from commit 53b73131e9)
2021-09-30 05:13:41 +08:00
Tianling Shen
94ecc7dfda
treewide: disable 4M devices build
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-30 05:06:03 +08:00
Adrian Schmutzler
7984a95946
treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.

For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.

Cc: Paul Spooren <mail@aparcar.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit ef2cb8572b)
2021-09-17 04:48:26 +08:00
Sven Eckelmann
3211091e62 ipq40xx: Select correct board-2.bin for EnGenius EMR3500
The board data file for the EnGenius EMR3500 is not part of the default
board-2.bin which is shipped by ath10k-board-qca4019. As result, the wrong
calibration information will be loaded into the wifi chip.

Fixes: 3f61e5e1b9 ("ipq40xx: add support for EnGenius EMR3500")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-09-15 23:30:14 +08:00
Sven Eckelmann
98e8ea7c84 ipq40xx: Select correct board-2.bin for EnGenius EMD1
The board data file for the EnGenius EMD1 is not part of the default
board-2.bin which is shipped by ath10k-board-qca4019. As result, the wrong
calibration information will be loaded into the wifi chip.

Fixes: 51f3035978 ("ipq40xx: add support for EnGenius EMD1")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-09-15 23:28:17 +08:00
Tianling Shen
8d9ab9fe0d
ar71xx: hardcode VERSION_DIST for mkdapimg2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:26:28 +08:00
Tianling Shen
17e4ffc418
archs38: drop target
I've never heard somebody use this target, and it requires uClibc to
work, which was removed in the past.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:17:33 +08:00
Tianling Shen
4fa4878e6b
arc770: drop target
I've never heard somebody use this target, and it requires uClibc to
work, which was removed in the past.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:17:29 +08:00
AmadeusGhost
91b245d0f2 mediatek/4.19: build error fixes 2021-09-13 15:35:05 +08:00
Chuanhong Guo
f4d680bd16
ramips: disable images for 4M devices
default initramfs for 5.4 kernel is larger than 4M, causing build error
for oversized initramfs image.
disable these images because we have no mechanism for ignoring initramfs
errors and the squashfs image will be larger than initramfs anyway.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit d7d46da938)
2021-09-13 09:01:58 +08:00
Tianling Shen
7f022898e9
ath79: nand: add KERNEL_SIZE for glinet_gl-ar750s-nor-nand
The recipe check-kernel-size was deprecated and use KERNEL_SIZE to
check the size of the kernel image.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 08:05:58 +08:00
Tianling Shen
bc54e5ea6e
ar71xx: tiny: add missing mkbuffaloimg method
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 07:59:14 +08:00
Tianling Shen
db3a9e3987
x86: add automount
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 05:02:45 +08:00
Tianling Shen
1ebbbbfec6
target: drop some default packages
Let users to decide build them or not.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 05:01:06 +08:00
Tianling Shen
0c22299647
kernel: bump to 4.9.282, 4.14.246, 4.19.206
Resolve conflicted:
- generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-06 06:39:19 +08:00
ElonH
d91803a08d kernel-4.19: add missing kconf 2021-08-23 23:24:45 +08:00
ElonH
56be2fe6ac kerner-4.9: add missing kconf 2021-08-23 23:16:12 +08:00
ElonH
ed70f9d796 kernel-4.14: add missing kconf 2021-08-23 22:51:02 +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
3f0c2b59f7 generic: add missing kernel config
Fixes: #426
2021-08-10 12:18:20 +08:00
Tianling Shen
54c0966bb1
kernel: bump to 4.9.278, 4.14.242, 4.19.201
Resolve conflicted:
- generic/pending-4.14/690-net-add-support-for-threaded-NAPI-polling.patch
- generic/pending-4.19/690-net-add-support-for-threaded-NAPI-polling.patch

Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-06 22:23:34 +08:00
Tianling Shen
2bc0124b74
target: drop some default packages
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-06 10:45:40 +08:00
Edgar Su
5a6225d587 x86: kernel: set NR_CPUS to 512
NR_CPUS limits the number of CPUs supported to 8. This makes total sense
on hardware-restircted platforms, but not on x86_64, where CPUs with
more than 8 cores can be easily acquired and with less physical limitaions.

see also: https://forum.openwrt.org/t/x86-64-8-cpu-limitation-on-vanilla-release/100946

Signed-off-by: Edgar Su <sjs333@outlook.com>
2021-07-19 12:09:46 +08:00
Tianling Shen
1ac8417985
kernel: bump to 4.9.275, 4.14.239, 4.19.197
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-17 00:05:32 +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
Rafał Miłecki
26663f405a ipq40xx: specify FritzBox 7530 LAN port label numbers
This helps managing LAN ports.

Ref: https://forum.openwrt.org/t/openwrt-21-02-0-second-release-candidate/98026/121
Fixes: 95b0c07a61 ("ipq40xx: add support for FritzBox 7530")
Cc: David Bauer <mail@david-bauer.net>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-06-24 23:09:16 +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
Tianling Shen
0397f2d0c6
x86: fix upgrade vars
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 23:47:35 +08:00
Chris Blake
230a107237
x86: add upgrade support to diag.sh
Similar to how this is done in the diag.sh found in the base-files
package, we should blink our status LED (if we have one) during the
upgrade process. This follows the same blink pattern as seen at
./package/base-files/files/etc/diag.sh#L36

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
(cherry picked from commit 82bec3364d)
2021-06-17 23:17:47 +08:00
Tomasz Maciej Nowak
ecc43547a5
tegra: sysupgrade: remove check for number of arguments
This chunk got mistakenly removed from 30c95c4, since the get_image_dd
evaluates only first agument, so that check is useless.

Fixes: 30c95c4 ("tegra: sysupgrade: use get_image_dd wrapper")
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit 16815704fc)
2021-06-17 20:40:00 +08:00
Tomasz Maciej Nowak
53b95eb480
mvebu: sysupgrade: use get_image_dd wrapper
This function eliminates false-positive errors emitted by dd.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit 456f5680db)
2021-06-17 20:38:56 +08:00
Tomasz Maciej Nowak
e3a6dc1d9c
tegra: sysupgrade: use get_image_dd wrapper
This function eliminates false-positive errors emitted by dd.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
[drop argument check changes]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 30c95c4d26)
2021-06-17 20:38:37 +08:00
Tianling Shen
c9344d6a6a
x86: add Hyper-V & PVE image build
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 20:34:57 +08:00
李国
9eddf65670
x86: generate EFI platform bootable images
Add EFI platform bootable images for x86 platforms. These images can
also boot from legacy BIOS platform.

EFI System Partition need to be fat12/fat16/fat32 (not need to load
filesystem drivers), so the first partition of EFI images are not ext4
filesystem any more.

GPT partition table has an alternate partition table, we did not
generate it. This may cause problems when use these images as qemu disk
(kernel can not find rootfs), we pad enough sectors will be ok.

Signed-off-by: 李国 <uxgood.org@gmail.com>
[part_magic_* refactoring, removed genisoimage checks]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit a6b7c3e672)
2021-06-17 20:13:41 +08:00
Tianling Shen
396367e818
x86: sync with upstream
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 18:56:16 +08:00
Tianling Shen
606fbf7ab1
Revert "x86: sync upstream grub config"
This does nothing.

This reverts commit c01acf6c4d.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 18:41:35 +08:00
Tianling Shen
c01acf6c4d
x86: sync upstream grub config
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-17 18:32:23 +08:00
AmadeusGhost
7e33e24758 ipq806x: m520: add gpio-led sys supportt
(cherry picked from commit 6e017db)
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-06-15 23:35:06 +08:00
Hauke Mehrtens
af7578867d
ramips: remove upstreamed patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-13 21:18:16 +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
Tianling Shen
afd4f84321
kernel: bump to 4.9.272, 4.14.236, 4.19.194
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-11 00:48:28 +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
Tomasz Maciej Nowak
c8e6f77e8c ipq40xx: add uboot-envtools to default packages
When support for Luma WRTQ-329ACN was added, the instructions for
flashing this device include using tools from uboot-envtools package.
Unfortunately the OpenWrt buildroot system omits packages from
DEVICE_PACKAGES when CONFIG_TARGET_MULTI_PROFILE,
CONFIG_TARGET_PER_DEVICE_ROOTFS, CONFIG_TARGET_ALL_PROFILES are set. In
result the official images are without tools mentioned in the
instruction. The workoround for the fashing would be installing
uboot-envtools when booted with initramfs image, but not always the
access to internet is available. The other method would be to issue the
necesary command in U-Boot environment but some serial terminals default
configuration don't work well with pasting lines longer than 80 chars.
Therefore add uboot-envtools to default packages, which adds really
small flash footprint to rootfs, where increased size usually is not an
issue.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
2021-06-06 23:51:29 +08:00