Commit Graph

269 Commits

Author SHA1 Message Date
cn-shell
f21df97339
uboot-rockchip: fix NanoPi-R3S defconfig (#13232)
Fixes: #12491, #13001
2024-12-23 22:30:09 +08:00
coolsnowwolf
0a3cb8e16a ramips: add setmac and getmac scripts 2024-12-16 11:21:10 +08:00
aiamadeus
062dc20078 arm-trusted-firmware-rockchip: update to v2.12
Switch rk3588 to the mainline atf.
Fixes: #13211
2024-12-15 18:36:21 +08:00
coolsnowwolf
d242992f65 base-files: allow override model name from uboot env 2024-12-11 19:28:11 +08:00
coolsnowwolf
eb12799875 uboot-rk35xx: fixes build with gcc13
Fixes: #13191
2024-12-09 23:06:21 +08:00
coolsnowwolf
007d406efc rockchip: refine fan speed for mmbox anas3035 2024-11-29 18:31:31 +08:00
aiamadeus
61b26c92f8 uboot-rockchip: disable optee client
Fixes: #13129
2024-11-26 22:30:17 +08:00
coolsnowwolf
0a6ea7cfbf rockchip: add support for MMBOX ANAS3035 2024-11-23 01:02:34 +08:00
coolsnowwolf
af207e5f62 uboot-rockchip: update rkbin and add rk3576 support 2024-11-22 13:00:18 +08:00
aiamadeus
c74ed3282c rockchip: add HINLINK H29K CPE Board 2024-11-20 22:26:09 +08:00
coolsnowwolf
44ac9994fe rockchip: add NanoPi R2C Plus support 2024-11-19 12:30:32 +08:00
coolsnowwolf
54aae07290 rockchip: Add support for FriendlyElec NanoPi R2S Plus 2024-11-18 22:09:35 +08:00
coolsnowwolf
655367c488 rockchip: add Radxa ROCK 5A support 2024-11-18 21:56:45 +08:00
coolsnowwolf
cb33d17dba Revert "rkbin: update to latest git HEAD" 2024-11-13 23:38:08 +08:00
aiamadeus
f0ab317249 rkbin: update to latest git HEAD 2024-11-07 21:26:16 +08:00
coolsnowwolf
b926a6f9cb rockchip: refresh uboot devices config
Fixes: #12621
2024-10-30 10:36:28 +08:00
coolsnowwolf
9a93c4cc0c rockchip: add OrangePi 5 Plus support 2024-10-23 00:05:28 +08:00
coolsnowwolf
cf4723548d rockchip: add OrangePi 5 support 2024-10-22 23:53:51 +08:00
coolsnowwolf
f0f8f53e51 rockchip: add FriendlyElec NanoPi R3S support 2024-10-22 23:41:31 +08:00
aiamadeus
9f65b6fb9e rockchip: add seewo srcm3588/expand support 2024-10-22 23:26:26 +08:00
aiamadeus
2c463fa4fb uboot-rockchip: update to version 2024.10
Fixes: #12572
2024-10-22 10:18:10 +08:00
coolsnowwolf
4f77bbc4a4 uboot-rockchip: refresh rk3399 devices config
Fixes: #12538
2024-10-15 19:40:18 +08:00
coolsnowwolf
3f4efb6c4f rockchip: fix some devices support
Fixes: #12533
2024-10-13 21:36:06 +08:00
Tianling Shen
8061c8b8f9
mediatek: add support for OpenEmbed SOM7981 (#12524)
* kernel: crypto: add atmel i2c hw accelerator support

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* kernel: add led act/polarity select for rtl8221 phy

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

* mediatek: add support for OpenEmbed SOM7981

Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 256 MiB SPI-NAND
  RAM: 0.5/1 GB DDR4
  Ethernet: 1x 1GbE, 1x 2.5GbE (RTL8221B)
  WiFi: MediaTek MT7976C
  USB: 1x M.2 B-Key
  GPIO: 26-Pin header
  UART: 6 GND, 8 TX, 10 RX (in Pin header)
  Button: Reset

Installation:
The board comes with a third-party custom OpenWrt image, you can upload
sysupgrade image via LuCI directly WITHOUT keeping configurations.

Or power on the board with pressing reset button for 5 second, then visit
http://192.168.1.1 and upload -factory.bin firmware.

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

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2024-10-08 19:42:37 +08:00
coolsnowwolf
af37c0ffb4 atf-rockchip: update rk3568 support 2024-10-03 22:00:09 +08:00
coolsnowwolf
53661b6a15 rockchip: add RUMU3F FINE 3399 support 2024-09-18 17:14:00 +08:00
coolsnowwolf
2ad20218e5 uboot-rockchip: add ArmSoM Sige7 support 2024-09-18 15:01:54 +08:00
coolsnowwolf
98e2f0b48b rockchip: add ArmSom Sige3 RK3568 (ARM64 4 cores) support 2024-09-18 14:05:09 +08:00
coolsnowwolf
a3ca5c60f0 rkbin: remove tfa references
Fixes: #12465
This is closed source, no need.
2024-09-15 19:10:21 +08:00
coolsnowwolf
c9c95be315 uboot-rockchip: update rkbin dependencies 2024-09-11 22:16:08 +08:00
coolsnowwolf
95c79b7036 atf-rockchip: add support for rk3568/rk3588 2024-09-11 22:10:12 +08:00
coolsnowwolf
fd25a03bef uboot-rk35xx: add new package for rk3528 2024-08-23 23:10:29 +08:00
aiamadeus
6da30838ca rockchip: add support for Radxa ROCK 3C 2024-08-20 23:30:23 +08:00
coolsnowwolf
a66cf5fe24 rockchip: fixes build for rk3328 and rk3399 devices 2024-08-15 23:50:23 +08:00
coolsnowwolf
d3bc57db55 arm-trusted-firmware-rockchip-vendor: rename to rkbin 2024-08-15 22:38:35 +08:00
coolsnowwolf
793679209f arm-trusted-firmware-rockchip-vendor: bump to latest git HEAD 2024-08-13 23:05:26 +08:00
coolsnowwolf
bb208b0974 rockchip: add ScenSmart SV901 EAIO Replica Board support 2024-08-07 21:30:26 +08:00
Daniel Golle
08aaf074b9 mediatek: add support for BananaPi BPI-R4 board
Hardware
--------
SOC:    MediaTek MT7988A (4x Cortex-A73)
RAM:    4 GiB DDR4
Flash:  128 MiB Winbond SPI-NAND
MMC:    8 GiB eMMC *or* microSD (cannot be used both)
ETH:    4x 1GE (1x WAN, 3x LAN)
        2x SFP+ (10G, 5G, 2.5G, 1G)
USB:    on-board USB 3.2 4-port hub
        1x USB 3.2 port (type A connector)
        1x M.2 for 4G/5G modem
        2x mPCIe for additional modems
WiFi:   optional MediaTek MT7996 Wi-Fi 7 module
        (using 2x PCIe gen3 x2 on the mPCIe slots and 12V power)

Installation
------------
1. Decompress and write the sdcard image to a micro SD card and use that
to boot the R4 (both dip switches in upper position).

2. Use the bootloader menu accessible via the serial console to install
to SPI-NAND.

3. Switch to boot from SPI-NAND and install to eMMC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 13:36:10 +08:00
Daniel Golle
21ab9a9f1a uboot-mediatek: update to U-Boot 2024.01 release
Rebase local patches on top of quarterly timed release, allowing to
drop numerous patches which have been accepted upstream since the
release of U-Boot 2023.07.02.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:33:07 +08:00
Daniel Golle
15d850a5ef arm-trusted-firmware-mediatek: use UBI on new NAND targets
Make use of recently added UBI support in MediaTek's ARM
TrustedFirmware-A on new MT7988 SoC.

Load fip from static UBI volume instead of fixed offset on SPIM-NAND
and SNFI.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:20:28 +08:00
Daniel Golle
dbf65dd826 arm-trusted-firmware-mediatek: import patchset for Fidelix flash on SNFI
Import pending patches to set pinconf settings for SPI-NAND pins on
MT7622 identical to what the old proprietary preloader did.

Should further increase the reliability of some SNFI-attached SPI-NAND
flash chips.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-10 23:08:07 +08:00
Daniel Golle
d5ae67bea0 arm-trusted-firmware-mediatek: update to MediaTek-patched v2.10.0
Update ARM TrustedFirmware-A to the most recent release of
MediaTek downstream patched version released 2024-01-17.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-10 23:05:03 +08:00
Daniel Golle
be9a399019 uboot-mediatek: snfi: FM35Q1GA is x4-only
Dont allow x2 read and cache read operations on FM35Q1GA as they seem
to be unstable. Also the Linux drivers does not allow x2 ops.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-08 22:30:09 +08:00
Shiji Yang
63af18b5a9 ramips: add support for H3C TX180x series devices
H3C TX180x series WiFi6 routers are customized by different carrier.
While these three devices look different, they use the same motherboard
inside. Another minor difference comes from the model name definition
in the u-boot environment variable.

Specifications:
 SOC:      MT7621 + MT7915
 ROM:      128 MiB
 RAM:      256 MiB
 LED:      status *2
 Button:   reset *1 + wps/mesh *1
 Ethernet:        lan *3 + wan *1 (10/100/1000Mbps)
 TTL Baudrate:    115200
 TFTP server IP:  192.168.124.99

Compatibility mode is used to guarantee the connection of old devices
that only support WiFi4 or WiFi5.

TFTP + TTL Installation:
Although a TTL connection is required for installation, we do not need
to tear down it. We can find the TTL port from the cooling hole at the
bottom. It is located below LAN3 and the pins are defined as follows:
|LAN1|LAN2|LAN3|----|WAN|
--------------------
    |GND|TX|RX|VCC|

1. Set tftp server IP to 192.168.124.99 and put initramfs firmware in
   server's root directory, rename it to a simple name "initramfs.bin".
2. Plug in the power supply and wait for power on, connect the TTL cable
   and open a TTL session, enter "reboot", then enter "Y" to confirm.
   Finally push "0" to interruput boot while booting.
3. Execute command to install a initramfs system:
   # tftp 0x80010000 192.168.124.99:initramfs.bin
   # bootm 0x80010000
4. Backup nand flash by OpenWrt LuCI or dd instruction. We need those
   partitions if we want to back to stock firmwre due to official
   website does not provide download link.
   # dd if=/dev/mtd1 of=/tmp/u-boot-env.bin
   # dd if=/dev/mtd4 of=/tmp/firmware.bin
5. Edit u-boot env to ensure use default bootargs and first image slot:
   # fw_setenv bootargs
   # fw_setenv bootflag 0
6. Upgrade sysupgrade firmware.
7. About restore stock firmware: flash the "firmware" and "u-boot-env"
   partitions that we backed up in step 4.
   # mtd write /tmp/u-boot-env.bin u-boot-env
   # mtd write /tmp/firmware.bin firmware

Additional Info:
The H3C stock firmware has a 160-byte firmware header that appears to
use a non-standard CRC32 verification algorithm. For this part of the
data, the u-boot does not check it so we can just directly replace it
with a placeholder.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2024-05-25 22:25:15 +08:00
John Crispin
563de907f6 arm-trusted-firmware-mediatek: add mt7981 ddr4 builds
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-22 23:36:15 +08:00
coolsnowwolf
6e604e9875 amlogic: add mesongx Phicomm N1 support 2024-05-06 05:53:58 +08:00
aiamadeus
b760a6f166 uboot-sunxi: drop broken patches
These patches break boot, link: #12104
2024-04-30 20:21:23 +08:00
Daniel Golle
61bc98ea14 arm-trusted-firmware-tools: update to version 2.9
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-29 21:25:10 +08:00
Daniel Golle
e72f8049c7 arm-trusted-firmware-mediatek: update to release 2023-10-13
Drop local patches now upstream.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-28 21:15:06 +08:00
coolsnowwolf
5ebdcf2f4b atf-rockchip-vendor: add rk3528 support 2024-04-27 23:18:04 +08:00