Commit Graph

237 Commits

Author SHA1 Message Date
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
lean
0b74998c3a arm-trusted-firmware-rockchip-vendor: revert version 2024-04-24 23:57:06 +08:00
coolsnowwolf
e703f844c8 uboot-rockchip: update rk3566 ATF and DDR version 2024-04-11 07:58:28 +08:00
coolsnowwolf
ad5d57cd81 uboot-rockchip: update rk356x ATF and DDR version 2024-04-10 16:59:16 +08:00
coolsnowwolf
e4172db5da sunxi: add F1C100/200 (arm926ej-s) support 2024-04-10 08:50:23 +08:00
coolsnowwolf
f788f35b36 closed-arm-firmware-rockchip: bump to 2024-02-22 2024-04-09 21:45:43 +08:00
coolsnowwolf
3b68197250 arm-trusted-firmware-rockchip-vendor: add RK3528/RK3588 support 2024-04-05 18:22:48 +08:00
coolsnowwolf
a771805649 uboot-sunxi: fix h2 without SPL I2C failed to build 2024-04-05 17:48:16 +08:00
Lollipop907
6586685561
rockchip: Add support for Advantech RSB4810 (#12031) 2024-04-05 16:57:42 +08:00
coolsnowwolf
0d1280a187 uboot-sunxi: add support for H618 x98h 2024-03-28 18:00:02 +08:00
coolsnowwolf
5c5b7af071 uboot-sunxi: add ac200/ac300 with internal eth phy support 2024-03-28 17:56:26 +08:00
aiamadeus
f69a1db025 sunxi: add support for Orange Pi Zero 3 2024-03-20 20:25:26 +08:00
Daniel Golle
4fb3ef8364 uboot-mediatek: update to version 2023.07.02
Release 2023.07 got tagged wrongly and replaced by follow-up release
2023.07.02.

Now using upstream DTS for BPi-R3.
Removed two patches which made it upstream, refreshed the rest.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-03-16 20:39:45 +08:00
Daniel Golle
d95acb11e0 arm-trusted-firmware-mediatek: update to sources of 2023-07-24
Use updated Trusted Firmware-A sources from MediaTek, now stacked
on top of the ARM Trusted Firmware-A v2.9 release.
Add builds for the newly added MT7988 SoC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-03-16 20:36:52 +08:00
coolsnowwolf
6b306de18b uboot-sunxi: bump to version 2024.01 2024-03-09 20:57:39 +08:00
coolsnowwolf
ca76a0ba65 qualcommax: ipq60xx: fixes boot issues 2024-02-20 20:20:10 +08:00
coolsnowwolf
7f7562ee7c grub2: fix EFI support for armvirt 2024-02-20 00:18:02 +08:00
coolsnowwolf
2948e7995a qualcommax: ipq60xx: add Redmi AX5 JDCloud support 2024-02-19 16:07:47 +08:00
coolsnowwolf
2229a47aee qualcommax: ipq60xx: add ZN M2 support 2024-02-19 15:35:33 +08:00
Daniel Golle
faded141e2 uboot-mediatek: adapt BPi-R3 and BPi-R64 to new device tree overlay
Update bootloader environment for BPi-R3 and BPi-R64 to adapt to new
device tree overlay mechanism now that support for multiple device
tree overlays has been added.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-04 22:50:57 +08:00
coolsnowwolf
b7fcf33b05 ipq60xx: rename target to qualcommax 2024-01-30 17:30:36 +08:00
HHJLKK
ce91432bb0
mediatek: add support for IMOU LC-HX3001 (#11812) 2024-01-21 16:00:17 +08:00
HunZI
a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00
coolsnowwolf
39d6ad7040 grub2: add loongarch64 support 2024-01-11 20:18:46 +08:00
David Bauer
d7d01fb74d uboot-envtools: fix GL-MT2500 offset
The previous offsets did also work, as they've wrapped back to 0x0.
However, in reality the environment starts at offset 0x0 of the
u-boot-env MMC partition.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-12-04 21:36:56 +08:00
Carter Wang
54d1ca443d uboot-mediatek: Fix ubi command in commands
Fix typo 'ubi remote ...' -> 'ubi remove ...'.

Signed-off-by: Carter Wang <carter.wang@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-27 22:16:05 +08:00
David Bauer
4fa8f64776 mediatek: add support for GL.iNet GL-MT2500
Hardware
--------
SoC:  MediaTek MT7981BA
RAM:  1GB DDR4 (NANYA NT5AD512M16C4-JR)
MMC:  8GB eMMC (Samsung 8GTF4R)
ETH:  1000Base-T LAN (ePHY)
      2500Base-T WAN (MaxLinear GPY211C)
BTN:  1x Reset Button
LED:  System (blue/white)
      VPN (white)
USB:  1x USB-A (USB 3.0)
UART: 115200 8N1 - Pinout on board next to LAN port
      Don't connect 3.3V!

Known Issues
------------
U-Boot vendor recovery does not seem to accept any images, neither
GL.iNet images nor OpenWrt images. Recovery requires serial access!

Installation
------------
Upload the OpenWrt sysupgrade image to the Gl.iNet Web-UI. Make sure to
not retain existing settings.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-11-27 22:10:03 +08:00
coolsnowwolf
de47a6a5c4 rockchip: add uboot-envtools support for T68M 2023-11-20 13:25:09 +08:00
coolsnowwolf
b2baa9ea19 treewide: disable GL.iNet’s devices support
This is required by their group admin, since
they can represent the GL.iNet official.
2023-11-17 14:25:01 +08:00
zheshifandian
a2c8782d53
mediatek: improve GL-MT6000 support (#11636)
* mediatek: fix sysupgrade for gl-mt6000

* mediatek: add u-boot support for gl-mt6000

* mediatek: fix lan port for gl-mt6000

* mediatek: fix wifi mac for gl-mt6000
2023-11-04 14:19:47 +08:00
coolsnowwolf
b29bd49781 arm-trusted-firmware-rockchip-vendor: update PKG_MIRROR_HASH 2023-10-18 23:16:08 +08:00
雷耀
36278047cf
rockchip: add support for seewo sv21-rk3568 (#11567) 2023-10-08 10:51:40 +08:00
AmadeusGhost
02b57804f8 mediatek: add Xiaomi AX3000T support 2023-09-25 21:56:38 +08:00