Tom Rini
5e5b630eef
Merge patch series "arm: airoha: add support for en7523 based boards"
...
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu > says:
This patch series adds basic support for the boards based on Airoha
EN7523/EN7529/EN7562 SoCs. Due to ATF restrictions these boards are
able to run 32-bit OS only.
This patch series adds support for the following hardware:
* console UART
* ethernet controller/switch
* spinand flash (in non-dma mode)
The following issues may be expected:
* Extra slow UBI attaching in U-Boot (up to 20 sec with fastmap enabled).
This is caused by the lack of DMA support in the U-Boot airoha-snfi driver.
* Linux airoha-snfi driver in some cases might damage you flash data
(see: https://lore.kernel.org/lkml/20251012121707.2296160-15-mikhail.kshevetskiy@iopsys.eu/ )
* Latest linux kernel is recommended to properly support flashes
with more than one plane per lun
(see: https://lore.kernel.org/lkml/20251012121707.2296160-7-mikhail.kshevetskiy@iopsys.eu/ )
* It's NOT recommended to use flashes working in continuous mode because
U-Boot airoha-snfi driver does not support such flashes properly.
The patches was tested on the board:
- SoC: Airoha EN7562
- RAM: 512 MB
- SPI NAND: 4 Gbit, made by Toshiba
- Linux boot: was NOT tested
The U-Boot was chain-loaded from the running U-Boot. Airoha ATF-2.3 does
not allow easily chain-loading of U-Boot from U-Boot, so a special FIT
image (mimic linux kernel) was created
1) Create u-boot.its file with the following contents:
=== cut here ===
/dts-v1/;
/ {
description = "ARM OpenWrt FIT (Flattened Image Tree)";
#address-cells = <1>;
images {
u-boot-ram {
description = "OpenWrt U-Boot RAM image";
data = /incbin/("u-boot.bin.lzma");
type = "kernel";
arch = "arm";
os = "linux";
compression = "lzma";
load = <0x81e00000>;
entry = <0x81e00000>;
hash@1 {
algo = "crc32";
};
hash@2 {
algo = "sha1";
};
};
fdt-1 {
description = "OpenWrt device tree blob";
data = /incbin/("dts/upstream/src/arm/airoha/en7523-evb.dtb");
type = "flat_dt";
arch = "arm";
compression = "none";
hash@1 {
algo = "crc32";
};
hash@2 {
algo = "sha1";
};
};
};
configurations {
default = "config-ram-uboot";
config-ram-uboot {
description = "OpenWrt RAM U-Boot";
kernel = "u-boot-ram";
fdt = "fdt-1";
};
};
};
==================
2) Create u-boot.itb image to chain-load new u-boot from the old one
lzma_alone e u-boot.bin u-boot.bin.lzma
mkimage -f u-boot.its u-boot.itb
3) Load new u-boot from the old one
U-Boot> tftpboot u-boot.itb && bootm
Link: https://lore.kernel.org/r/20251101004503.2379529-1-mikhail.kshevetskiy@iopsys.eu
2025-11-07 16:45:09 -06:00
..
2025-11-06 08:30:33 -06:00
2025-04-11 13:25:31 +02:00
2025-11-07 16:45:09 -06:00
2025-02-27 12:11:02 -06:00
2025-11-03 10:02:39 -06:00
2025-11-07 16:00:59 -06:00
2025-09-08 10:37:22 -06:00
2025-08-15 14:17:30 -06:00
2025-09-20 17:45:39 -03:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:49:40 -05:00
2025-10-28 12:19:04 -06:00
2023-10-15 12:23:48 +02:00
2024-10-11 11:44:48 -06:00
2025-08-18 15:47:57 +02:00
2025-10-30 10:11:18 +08:00
2025-03-19 03:36:19 +01:00
2025-10-30 11:04:51 -06:00
2025-10-13 14:54:32 -06:00
2025-04-23 13:19:44 -06:00
2024-10-17 03:12:47 +02:00
2024-07-29 15:01:04 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2025-09-26 11:55:13 -06:00
2025-05-30 09:49:31 +01:00
2025-08-25 16:20:48 +02:00
2024-05-20 13:35:03 -06:00
2025-06-02 17:26:15 -06:00
2024-11-03 21:27:12 -06:00
2024-10-24 09:45:55 +02:00
2025-09-24 11:03:16 -06:00
2024-05-20 13:35:03 -06:00
2023-08-08 10:22:03 -04:00
2025-06-02 17:26:15 -06:00
2024-07-29 15:01:04 -06:00
2024-10-03 09:08:29 -06:00
2023-12-21 08:54:37 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-02-15 10:38:34 +01:00
2024-05-20 13:35:03 -06:00
2023-04-28 01:30:24 +01:00
2025-04-28 12:45:44 -06:00
2025-04-28 12:45:44 -06:00
2025-04-28 12:45:44 -06:00
2025-07-27 22:57:35 +01:00
2024-06-13 16:30:48 -06:00
2023-04-28 11:30:17 -06:00
2025-06-02 17:26:15 -06:00
2025-07-23 17:37:14 -06:00
2025-03-26 13:28:08 +02:00
2025-02-19 18:49:47 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2024-10-11 11:44:48 -06:00
2025-01-15 08:48:43 -06:00
2025-10-22 14:16:56 -06:00
2025-10-26 09:03:32 -06:00
2025-10-22 14:16:56 -06:00
2025-06-12 16:14:33 -06:00
2025-06-02 17:26:15 -06:00
2024-02-13 15:38:49 -05:00
2024-07-29 15:01:04 -06:00
2023-10-24 16:34:45 -04:00
2025-06-02 17:26:15 -06:00
2025-06-02 17:26:15 -06:00
2025-05-30 09:49:32 +01:00
2024-03-21 06:56:13 +01:00
2023-12-28 12:02:56 -05:00
2025-06-05 16:57:35 -06:00
2024-01-29 22:35:02 -05:00
2025-10-28 12:12:20 -06:00
2025-10-03 16:55:44 -06:00
2025-05-29 08:29:16 -06:00
2025-06-02 17:26:15 -06:00
2025-05-05 15:51:46 +02:00
2025-05-02 13:40:20 -06:00
2024-03-21 06:56:13 +01:00
2024-03-21 06:56:13 +01:00
2023-11-10 11:01:50 -05:00
2025-03-14 13:37:54 +02:00
2025-01-22 15:58:03 -06:00
2025-01-22 10:22:34 +01:00
2025-03-16 14:56:16 +01:00
2024-05-20 13:35:03 -06:00
2025-06-06 17:12:20 +08:00
2025-06-02 17:26:15 -06:00
2023-11-07 14:50:51 -05:00
2024-05-20 13:35:03 -06:00
2025-06-02 17:26:15 -06:00
2025-08-06 08:41:30 +02:00
2024-04-02 09:08:07 +02:00
2024-04-02 09:08:07 +02:00
2025-11-07 09:28:28 +08:00
2024-07-29 15:01:04 -06:00
2024-06-07 10:47:59 -06:00
2024-05-20 13:35:03 -06:00
2025-11-06 23:26:28 +01:00
2025-07-03 11:34:10 +03:00
2025-05-25 11:27:18 +02:00
2024-06-10 11:43:37 +02:00
2025-07-03 12:25:56 +03:00
2024-05-01 08:39:16 +02:00
2025-06-02 17:26:15 -06:00
2024-09-21 10:59:06 +02:00
2025-11-06 23:26:28 +01:00
2024-06-14 12:59:07 -06:00
2025-05-30 13:43:24 -06:00
2025-09-16 13:41:24 -06:00
2025-06-20 12:57:47 -06:00
2025-06-20 12:15:08 -06:00
2024-10-11 11:44:48 -06:00
2025-05-02 08:38:02 -06:00
2025-04-21 11:07:04 -06:00
2025-05-30 09:49:32 +01:00
2025-09-26 11:55:13 -06:00
2024-11-01 13:37:58 -06:00
2025-11-07 15:34:04 -06:00
2023-05-02 14:23:34 -04:00
2025-11-03 10:02:39 -06:00
2023-05-13 09:52:32 -04:00
2024-04-18 08:29:35 -06:00
2024-07-09 09:15:37 +02:00
2025-06-02 17:26:15 -06:00
2025-07-22 11:30:14 -06:00
2023-04-28 11:30:17 -06:00
2025-07-09 08:40:03 -06:00
2024-12-31 10:57:54 -06:00
2024-09-24 13:41:20 -06:00
2023-11-07 14:50:52 -05:00
2025-08-25 16:20:48 +02:00
2025-04-02 20:00:59 -06:00
2025-10-09 13:50:40 -06:00
2025-05-13 11:30:09 -06:00
2024-07-29 15:01:04 -06:00
2023-01-20 12:27:06 -05:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-06-14 09:09:40 -06:00
2025-06-14 09:09:40 -06:00
2025-06-27 11:48:20 -06:00
2024-05-20 13:35:03 -06:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2023-11-07 14:50:52 -05:00
2023-11-07 14:50:52 -05:00
2023-11-07 14:50:52 -05:00
2023-01-20 12:27:24 -05:00
2024-07-29 15:01:04 -06:00
2025-04-04 12:25:02 -06:00
2025-10-09 13:50:40 -06:00
2024-05-24 13:40:03 -06:00
2025-10-09 09:07:04 +02:00
2024-09-09 17:18:04 +02:00
2024-09-21 10:58:38 +02:00
2024-07-29 15:01:04 -06:00
2024-10-03 11:52:16 -06:00
2024-12-02 07:40:39 -06:00
2024-04-08 13:04:48 +02:00
2024-01-24 11:12:11 -05:00
2024-05-20 13:35:03 -06:00
2024-08-13 06:23:15 +02:00
2025-08-06 08:41:30 +02:00
2025-06-02 17:26:16 -06:00
2024-10-11 11:44:48 -06:00
2023-07-25 12:44:46 -04:00
2025-10-26 09:03:30 -06:00
2025-07-17 09:56:33 -03:00
2025-07-17 09:56:33 -03:00
2023-07-13 11:29:40 +02:00
2024-02-08 09:01:22 -03:00
2025-07-26 07:34:28 +02:00
2025-04-14 08:59:39 -06:00
2025-06-13 13:10:33 -06:00
2025-03-10 07:41:16 +01:00
2023-12-21 11:59:49 -05:00
2024-10-11 11:44:48 -06:00
2024-10-17 15:38:50 -06:00
2024-10-27 17:24:13 -06:00
2025-07-24 11:50:21 -06:00
2024-12-04 14:30:18 -06:00
2024-06-19 12:07:44 -06:00
2024-06-19 12:07:44 -06:00
2024-07-29 15:01:04 -06:00
2025-02-07 11:39:24 -06:00
2024-05-20 13:35:03 -06:00
2025-07-14 12:43:28 -06:00
2025-01-24 14:34:40 -06:00
2025-06-25 09:50:37 -06:00
2025-06-26 11:57:59 -06:00
2024-05-20 13:35:03 -06:00
2025-09-26 11:55:13 -06:00
2025-04-03 11:41:54 -06:00
2023-04-07 14:21:37 +02:00
2025-06-14 09:09:40 -06:00
2025-03-05 12:14:04 -06:00
2023-12-21 08:54:37 -05:00
2025-04-03 16:54:49 -06:00
2024-11-15 14:32:02 +01:00
2025-06-05 16:57:35 -06:00
2024-07-29 15:01:04 -06:00
2025-10-10 11:07:44 -06:00
2023-08-08 10:22:03 -04:00
2025-10-30 10:11:18 +08:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2024-05-20 13:35:03 -06:00
2025-08-14 15:33:00 +08:00
2023-11-10 11:01:50 -05:00
2024-10-24 11:21:48 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-07-08 13:11:12 -06:00
2025-05-29 08:30:25 -06:00
2025-10-24 13:47:50 -06:00
2025-08-18 15:47:58 +02:00
2025-10-22 14:28:33 +02:00
2024-10-16 11:11:56 -06:00
2024-11-25 23:07:37 -03:00
2024-12-14 09:32:59 -06:00
2024-01-24 11:12:11 -05:00
2023-08-30 17:56:21 -04:00
2023-10-06 14:38:13 -04:00
2023-06-20 16:08:13 -04:00
2024-09-30 17:48:12 -06:00
2023-11-07 14:50:52 -05:00
2025-07-03 11:32:49 +03:00
2025-10-14 10:29:30 +03:00
2024-07-29 15:01:04 -06:00
2025-05-05 14:16:50 -06:00
2025-01-22 16:43:54 +01:00
2024-05-20 13:35:03 -06:00
2025-10-22 14:28:33 +02:00
2025-10-28 12:24:03 -06:00
2023-11-07 14:50:52 -05:00
2025-04-28 10:41:19 -03:00
2024-12-30 15:55:07 -06:00
2025-01-15 08:48:42 -06:00
2023-02-06 13:04:53 -05:00
2024-05-20 13:35:03 -06:00
2025-04-16 16:51:45 -06:00
2023-09-14 10:42:24 -04:00
2025-11-04 12:45:30 -03:00
2023-02-12 13:44:20 -05:00
2024-09-12 17:35:37 +02:00
2024-03-02 12:26:19 -05:00
2023-12-21 08:54:37 -05:00
2024-05-20 13:35:03 -06:00
2024-09-12 17:35:37 +02:00
2023-10-10 16:19:43 -04:00
2023-10-15 12:23:48 +02:00
2025-07-08 13:11:12 -06:00
2025-10-24 13:47:50 -06:00
2023-10-13 16:59:23 -04:00
2025-10-24 13:47:50 -06:00
2025-10-24 13:47:50 -06:00
2025-05-29 18:35:49 -06:00
2025-10-30 10:11:18 +08:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2025-03-10 09:22:35 +01:00
2025-04-23 13:19:44 -06:00
2025-05-29 08:25:18 -06:00
2023-10-15 12:23:48 +02:00
2024-05-20 13:35:03 -06:00
2025-01-14 14:29:29 -06:00
2025-01-14 14:29:29 -06:00
2025-01-14 14:29:29 -06:00
2024-01-24 11:12:11 -05:00
2024-07-29 15:01:04 -06:00
2024-10-24 09:41:52 +02:00
2025-10-05 20:26:22 +02:00
2025-04-16 19:57:19 -06:00
2025-07-08 13:11:12 -06:00
2025-02-03 16:01:36 -06:00
2025-11-06 11:26:18 -06:00
2024-05-20 13:35:03 -06:00
2024-10-10 16:02:20 -06:00
2025-07-14 12:43:28 -06:00
2025-03-10 09:22:35 +01:00
2024-10-11 11:44:48 -06:00
2024-10-14 17:58:12 -06:00
2025-06-11 09:42:55 +02:00
2025-06-11 09:42:55 +02:00
2025-07-24 08:54:15 +02:00
2025-04-28 12:45:44 -06:00
2023-05-06 17:28:18 +08:00
2025-02-28 08:41:54 -06:00
2025-10-20 11:54:29 -06:00
2024-01-09 10:08:52 +01:00
2023-02-10 07:41:40 -05:00
2024-07-29 15:01:04 -06:00
2025-10-08 13:54:59 -06:00
2023-09-15 23:38:02 +02:00
2023-11-10 11:01:50 -05:00
2025-02-11 20:10:58 -06:00
2023-09-09 06:12:47 +02:00
2024-01-24 11:12:11 -05:00
2023-02-28 09:44:19 +02:00
2025-01-07 15:45:51 +02:00
2025-01-09 11:11:10 -06:00
2023-02-28 09:44:33 +02:00
2025-07-01 08:46:38 +03:00
2025-01-01 10:40:33 -06:00
2024-04-04 10:45:27 +02:00
2023-11-07 14:50:52 -05:00
2024-08-08 09:28:00 +02:00
2023-06-06 10:37:25 +02:00
2025-07-11 10:43:29 -06:00
2024-10-11 11:44:48 -06:00
2024-07-29 15:01:04 -06:00
2024-03-22 10:16:13 +01:00
2024-09-18 13:01:00 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-10-22 11:09:24 +02:00
2025-02-03 16:01:36 -06:00
2023-07-21 09:00:38 +02:00
2023-05-31 17:23:01 -04:00
2023-03-13 13:53:01 +01:00
2025-03-08 16:35:46 +02:00
2025-05-02 13:40:25 -06:00
2023-03-07 15:57:19 +01:00
2023-03-07 15:57:19 +01:00
2023-03-07 15:57:19 +01:00
2023-03-07 15:59:47 +01:00
2023-03-07 15:59:58 +01:00
2023-03-07 15:59:58 +01:00
2025-05-02 13:40:25 -06:00
2023-04-25 11:53:15 -04:00
2024-05-20 13:35:03 -06:00
2025-07-08 13:11:12 -06:00
2025-09-19 11:54:27 -06:00
2024-10-23 06:52:38 +02:00
2025-07-30 08:01:11 +02:00
2025-04-16 13:44:44 +02:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-10-09 09:07:03 +02:00
2023-07-21 09:00:38 +02:00
2024-08-05 16:13:26 +02:00