Commit Graph

125 Commits

Author SHA1 Message Date
lean
780869012b uboot-rockchip: add support for firefly station-p2 board 2022-09-02 01:40:40 +08:00
AmadeusGhost
b477a0b702 rockchip: add support for FastRhino R66S/R68S
For R68S, flash in as follows:
  dd if=openwrt-rockchip-armv8-fastrhino_r68s-ext4-sysupgrade.img
     of=/dev/mmcblk0
2022-09-01 12:01:21 +08:00
AmadeusGhost
6aaf68d8f5 rockchip: add basic support for HINLINK OPC-H68K 2022-09-01 11:59:31 +08:00
AmadeusGhost
7f8e3bf68c rockchip: add support for EZPRO Mrkaio M68S 2022-09-01 11:57:14 +08:00
AmadeusGhost
5115f2bc1d rockchip: backport support for Radxa ROCK3 A
Also enabled pcie on this board.
2022-09-01 11:56:02 +08:00
AmadeusGhost
c9dfab16d3 uboot-rockchip: don't hardcore USB_OHCI_NEW options
This will only make things complicated.
2022-09-01 11:51:00 +08:00
AmadeusGhost
22d08ddd3d rockchip: revert to origin defaults
The current target code is too chaotic, the patches are
messy and disorderly, and there are still many duplicate
code. Pack it back to half a year ago.
2022-09-01 11:28:49 +08:00
AmadeusGhost
b5b402cd07 Revert "rockchip: backport rk3568 support to kernel 5.10"
This reverts commit cb3ea4bf55.
2022-09-01 11:25:13 +08:00
lean
ef5585ee83 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-29 21:40:36 +08:00
Daniel Golle
a86cabf4c2 uboot-mediatek: add support for compressed BL3/FIP image
MediaTek's ARM Trusted Firmware v2.7+ allows the images inside a FIP
structure to be compressed. Make use of that for boards with NOR flash.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:28:25 +08:00
Daniel Golle
2ab51c530a arm-trusted-firmware-mediatek: update to v2.7+ from MediaTek
The updated sources bring support for the MT798x Filogic SoC family.

Add builds for MT7986 with most supported storage types, each for DDR3
and DDR4 configurations.

A better solution for skipping bad blocks on SPI-NAND connected via the
SNFI interface has been implemented upstream, so drop local patch.
Add pending patches [1] and [2] to fix boot on existing MT7622 boards.

Tested on BananaPi BPi-R64 (SDMMC, eMMC, SPI-NAND), Linksys E8450 and
Ubiquiti UniFi 6 LR as well as upcoming Bananapi BPi-R3 board for which
support will be added in future patches.

[1]: https://github.com/mtk-openwrt/arm-trusted-firmware/pulls/#3
[2]: https://github.com/mtk-openwrt/arm-trusted-firmware/pulls/#4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:24:17 +08:00
Daniel Golle
746a5e8ad6 arm-trusted-firmware-mediatek: remove no longer needed Configure step
As anyway only the default is called now we can as well also just remove
the override for Build/Configure.

Fixes: e2cffbb805 ("arm-trusted-firmware-mediatek: update to 2021-03-10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:24:10 +08:00
Daniel Golle
2efe9343ca trusted-firmware-a.mk: pass DTC path similar to u-boot.mk
Instead of relying on dtc being provided by the build host use the
dtc from $(LINUX_DIR) similar to how it's done also in u-boot.mk.
For this to work kernel.mk now needs to be included before
trusted-firmware-a.mk, add this include to all affected packages.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:20:19 +08:00
lean
87f72815e8 uboot-rockchip: add HINLINK OPC-H68K support 2022-08-28 11:25:59 +08:00
Daniel Golle
547bdeb71e arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI)
Add patch to skip bad blocks when reading from SPI-NAND. This is needed
in case erase block(s) early in the flash inside the FIP area are bad
and hence need to be skipped in order to be able to boot on such damaged
chips.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-23 22:57:31 +08:00
lean
5ae7088669 uboot-rockchip: add RK3568 Radxa ROCK 3A board support 2022-08-20 02:14:11 +08:00
coolsnowwolf
1cde7fcb20 arm-trusted-firmware-rockchip-vendor: rk3568 atf revert to v1.28 2022-08-11 15:26:18 +00:00
huangjf
797a067e82 rockchip: add support for firefly station-p2 board 2022-08-11 06:33:26 +00:00
coolsnowwolf
114bd4f332 uboot-rockchip: add fastrhino r66s support 2022-08-10 09:40:11 +00:00
cuiyf5516
09eb2e90cd
uboot-rockchip: refresh rk3328 rkbin verdor atf (#9903) 2022-08-08 23:51:35 +08:00
coolsnowwolf
8dbff7b4f8 uboot-rockchip: add rk3568 board support 2022-08-08 09:25:58 +00:00
coolsnowwolf
13b92d9b2b arm-trusted-firmware-rockchip-vendor: add rk3568/rk3588 rkbin verdor atf 2022-08-08 06:18:05 +00:00
coolsnowwolf
d05a98ba99 arm-trusted-firmware-rockchip-vendor: bump to v2022-08-01 2022-08-08 03:38:29 +00:00
骷髅头
eb3ebc4fc0
rockchip:add doornet2 lpddr4 4gb (#9817)
* 添加DN2 LPDDR4 4GB

* 添加DN2 LPDDR4 4GB

* rockchip: Complement missing configuration for other kernels

Co-authored-by: hejiawencc <hjw0415@outlook.com>
2022-07-24 15:43:55 +08:00
lean
7af074fd1d Revert "uboot-rockchip:doornet2 detaches from evb rk (#9812)"
This reverts commit cdad02d028.
2022-07-21 16:58:40 +08:00
骷髅头
cdad02d028
uboot-rockchip:doornet2 detaches from evb rk (#9812)
* add CONFIG_TARGET_DOORNET2_RK3399=y

* uboot-rockchip:doornet2 out of evb rk patch

* uboot-rockchip:cancel doornet2 to use rkbin

* Update armv8.mk

* rockchip:add  kernel5.15 rk3399-nanopi-r4se.dts

* rockchip:add kernel 5.18 rk3399-nanopi-r4se
2022-07-21 16:12:52 +08:00
Tianling Shen
bd522ba3a1
uboot-rockchip: remove prebuilt of-platdata (#9747)
With this change you need have swig and libpython3-dev installed on
your host, which should be done already.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-07-13 23:30:37 +08:00
lean
53686de196 uboot-rockchip: add support for FriendlyElec NanoPi R4SE emmc boot 2022-07-12 22:46:00 +08:00
lean
b6a99d33e1 uboot-rockchip: bump to v2022.07 RTM release 2022-07-12 11:09:47 +08:00
lean
c50a2c3261 uboot-rockchip: update with 2022.07-rc2 to support RK3566/RK3568 2022-07-11 16:42:10 +08:00
AmadeusGhost
e4d5e7769b Revert "arm-trusted-firmware-rockchip-vendor: add RK3566/RK3568 support"
The rk356x SoC does not have Rockchip miniloader at all.
However, it has following features (hope you can enjoy):
 -- Support boot Android format image only
 -- Support gpt/misc compulsory verification
 -- Full-closed binary and uboot can't ntr it

This reverts commit 2c340abaf1.
2022-07-11 12:03:14 +08:00
lean
2c340abaf1 arm-trusted-firmware-rockchip-vendor: add RK3566/RK3568 support 2022-07-09 15:53:09 +08:00
Beginner
7da8ae4ef4
grub2: add missing license (#9196)
The PKG_LICENSE field was missing.
While at it, normalize the Makefile a bit.

Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2022-04-06 15:10:03 +08:00
google-you-ok?
e7d9312102
uboot-rockchip: Fix doornet1dts (#9003)
* uboot-rockchip: Fix doornet1dts

The dts refers to the official website uboot startup parameters
`arch/arm/mach-rockchip/rk3328/rk3328.c`---Fix boot order parameters,It is helpful for other devices to start emmc and sd normally

* Update 104-rockchip-rk3328-Add-support-for-EmbedFire-DoorNet1.patch
2022-03-05 10:10:45 +08:00
lean
2923e808b2 rockchip: add support for FriendlyARM NanoPi NEO3 2022-02-26 21:03:54 +08:00
Jax Jiang
dd0b95dbde x86: grub2: search for the "kernel" filesystem on all disks
Previously, grub2 was hardcoded to always look on "hd0" for the
kernel.

This works well when the system only had a single disk.
But if there was a second disk/stick present, it may have look
on the wrong drive because of enumeration races.

This patch utilizes grub2 search function to look for a filesystem
with the label "kernel". This works thanks to existing setup in
scripts/gen_image_generic.sh. Which sets the "kernel" label on
both the fat and ext4 filesystem variants.

Signed-off-by: Jax Jiang <jax.jiang.007@gmail.com>
Suggested-by: Alberto Bursi <bobafetthotmail@gmail.com> (MX100 WA)
(word wrapped, slightly rewritten commit message, removed MX100 WA)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-26 05:46:11 +00:00
Beginner-Go
a61a59795b Revert "grub: x86 efi add search module for better find boot partition on multiple disk"
This reverts commit 8b97425415.
2022-02-26 05:45:54 +00:00
google-you-ok?
2b9548669a
rockchip:Fix doornet2 device tree (#8897)
* Rockchip:Fix dtsi of doornet2

phy:
Modify phy timing;The manufacturer's board requires two timing modes: 125m and 25m ---stmmac_mdio.c  stmmac_main.c
Among them, stmmac_main.c is added with 1.5 reset, and the compilation of other devices is not affected
emmc:
In emmc hs400 mode, the performance test effect is the same as hs200, so it is safer to reduce hs200

* Rockchip:Add doornet2 to overclock to 2.2GHz/1.8GHz

* Create 105-rockchip-rk3399-Add-support-for-EmbedFire-DoorNet2.patch

Modify the startup method: SD starts first, which is convenient for saving bricks. If there is no system in SD, it will automatically jump to the next emmc boot

* Update with kernel 5.4

* Update 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch
2022-02-18 11:45:13 +08:00
lean
8b97425415 grub: x86 efi add search module for better find boot partition on multiple disk 2022-02-09 21:32:14 +08:00
Piotr Dymacz
762ed37e19 uboot-imx: set BUILD_SUBTARGET to 'cortexa9'
All currently supported devices belong to the imx/cortexa9 subtarget.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 10:00:25 +08:00
Piotr Dymacz
b4ee2613e0 uboot-envtools: move imx to imx_cortexa9
Subtarget-specific files under 'uboot-envtools' package are supported
since 6f3a05ebb0 ("uboot-envtools: support uci-default config also per
subtargets").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:59 +08:00
Piotr Dymacz
c9451f29f3 uboot-imx6: rename to 'uboot-imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:59:13 +08:00
Piotr Dymacz
7135adeb6b uboot-envtools: rename 'imx6' to 'imx'
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:31 +08:00
Piotr Dymacz
df2e050cc4 kobs-ng: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:58:02 +08:00
lean
cc7063de8c ipq807x: add QNAP 301w (AX WIFI router with 4 1G and 2 10G ports) support 2022-01-02 12:24:33 +08:00
木四水
01042589af
Add Support For OrangePi R1 Plus LTS (#8498) 2021-12-22 23:29:37 +08:00
lean
37828c4b47 mediatek: Add support for Xiaomi Redmi Router AX6S 2021-12-03 12:25:39 +08:00
AmadeusGhost
156a636522 rockchip: apply patches for GuangMiao G4C
Only God knows how to soft reset it.
2021-11-15 13:19:01 +08:00
hejiawencc
7addb7e937
rockchip: add support for Embedfire DoorNet2 (#8226) 2021-11-11 09:26:13 +08:00
lean
0977610352 rockchip: add support for HuaKe GuangMiao G4C by AmadeusGhost 2021-11-08 12:55:54 +08:00