airoha: Add support for TP-Link xx230v v1, xx530v v1 and ex530v v1#20104
airoha: Add support for TP-Link xx230v v1, xx530v v1 and ex530v v1#20104Sirherobrine23 wants to merge 7 commits intoopenwrt:mainfrom
Conversation
851b871 to
9bd349c
Compare
9bd349c to
b5778ad
Compare
10e60b5 to
0f64a7a
Compare
849fd5b to
f0806af
Compare
|
current issue is switch not working xx230v boot log |
fecf51e to
888f910
Compare
2fc6790 to
bb5cf4f
Compare
|
Regarding the issue of eth0 having no traffic, I believe the problem lies in the airoha_eth driver. It was written for the AN7581, so using it on the EN7523 will not work. |
|
@merbanan where this could be happening is in the eth driver, i have absolutely no idea where it could be |
|
That is the difference between the changes |
|
I just bought a Mikrotik hex S (2025) which has the en7562CT SoC so I can test it as well |
|
Do you have any way to boot from NAND flash? Or is there any way to replace U-Boot? I cannot boot from NAND flash; it shows errors like "FDT_MAGIC fail" and "IH_MAGIC fail" with the original U-Boot. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hi! I'd greatly appreciate some cross-testing on 6.18; since I don't have any EN7523 hardware to test. We can figure out which patches we can pull in / revise. One of the biggest changes for Airoha on 6.18 is |
|
Thanks @Sirherobrine23 ! For EN7523, do you plan to eventually drop BMT/BBT? On AN7581, the reference devices have been converted to a U-boot that natively supports UBI, while the bootloader locked devices use a chainloader to load a uboot that supports UBI. If you are doing the same on EN7523, we can get rid of the BMT/BBT support entirely. |
|
i wanted to be able to remove the stock uboot from these devices and replace it with the upstream uboot, but not now, only after the drivers for the an7523 are stable so i can test that, TP-Link's uboot has a really annoying limitation, and I also want to be able to use all of the NAND for openwrt, For now, I making chainload for TP-Link devices same Gemtek, i haven't been working with those devices much this week |
add nodes in dst that do not need patches enable some options in the linux kernel config Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
some files were added for the an7523 such as uboot-envtools, and base-files. In addition to the new pinctrl, thermal to the SoC and some changes to scuclk and trng, it was also added eip93, watchdog, uart2, usb and i2c Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
driver for ethernet, airoha NPU, was introduced and the mt7530 switch that required small fixes to work correctly on an7523, most of the worker was in relation to the ethernet drive, minor changes have been applied for NPU and mt7530 switch Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com> Signed-off-by: Benjamin Larsson <benjamin.larsson@genexis.eu>
Device specification for xx230v v1.x -------------------- SoC: Econet/Airoha EN7529CT FXS: Si32192FM1 Ethernet: 4x Gigabit en7523 + VLAN Button: Reset, Wifi Bootloader: U-Boot 2014.04-rc1 (Apr 23 2025 - 11:33:03) LEDs: 6 LEDs NAND: ESMT F50L1G4JLB (128Mb) USB: 1x 2.0 XPON: Econet EN7571N Switch leds: 4x RAM: Zentrl A3T2GF40CBF (256Mb) Wifi: Mediatek MT7905DEN + Mediatek MT7975DN Device specification for xx230v v1.x -------------------- SoC: Econet/Airoha EN7529CT FXS: Si32192FM1 Ethernet: 4x Gigabit en7523 + VLAN Button: Reset, Wifi Bootloader: U-Boot 2014.04-rc1 (Apr 23 2025 - 11:33:03) LEDs: 6 LEDs NAND: ESMT F50L1G4JLB (128Mb) USB: 1x 2.0 XPON: Econet EN7571N Switch leds: 4x RAM: Winbond W634GU6QB-11 (512Mb) / ESMT M15T2G16128A (256Mb) Wifi: Mediatek MT7916AN + Mediatek MT7976DN 1. Set your computer's IP address to 192.168.1.100. 2. Run a TFTP server providing the initramfs image. 3. Power on the device and hit ctrl-c to canceling autoboot. 4. run `setenv loadaddr 0x89800000; tftpboot $loadaddr openwrt-airoha-en7523-tplink_xx230v_v1-initramfs-kernel.bin; bootm;` 5. install with sysupgrade file Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
Device specification for ex530v v1.x -------------------- SoC: Econet/Airoha EN7526CT FXS: Si32192FM1 Ethernet: 4x Gigabit en7523 + VLAN Button: Reset, Wifi Bootloader: U-Boot 2014.04-rc1 (Apr 23 2025 - 11:33:03) LEDs: 7 LEDs NAND: ESMT F50L4G41XB (512Mb) USB: 1x 3.0 RAM: - (512Mb) Wifi: Mediatek MT7905DEN + Mediatek MT7975DN 1. Set your computer's IP address to 192.168.1.100. 2. Run a TFTP server providing the initramfs image. 3. Power on the device and hit ctrl-c to canceling autoboot. 4. run `setenv loadaddr 0x89800000; tftpboot $loadaddr openwrt-airoha-en7523-tplink_ex530v_v1-initramfs-kernel.bin; bootm;` 5. install with sysupgrade file Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
small fix for an7523 to avoid some kernel panic's related to these drivers for pcie panic ``` [ 1.855492] pcieport 0001:00:01.0: BAR 0 [mem size 0x00000000 64bit pref disabled]: not assigned; can't enable device [ 1.867196] pcieport 0001:00:01.0: probe with driver pcieport failed with error -22 ... [ 8.029608] pci 0001:00:01.0: BAR 0 [mem size 0x00000000 64bit pref disabled]: not assigned; can't enable device [ 8.039840] pci 0001:00:01.0: Error enabling bridge (-22), continuing [ 8.046328] mt7915e 0001:01:00.0: enabling device (0140 -> 0142) [ 13.344324] mt7915e 0001:01:00.0: Retry message 00000010 (seq 1) [ 18.384322] mt7915e 0001:01:00.0: Message 00000010 (seq 1) timeout [ 18.390538] mt7915e 0001:01:00.0: Could not release semaphore [ 18.390584] 8<--- cut here --- [ 18.396337] mt7915e 0001:01:00.0: Failed to get patch semaphore [ 18.399361] Unable to handle kernel NULL pointer dereference at virtual address 00000004 when write [ 18.414328] [00000004] *pgd=00000000 [ 18.417915] Internal error: Oops: 817 [#1] SMP ARM [ 18.422704] Modules linked in: mt7915e(O+) mt76_connac_lib(O) mt76(O) mac80211(O) libchacha20poly1305 ipt_REJECT cfg80211(O) xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake poly1305_arm nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables hwmon crc_ccitt compat(O) chacha_neon act_vlan ntfs3 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact i2c_dev xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet [ 18.423058] ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ifb ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_generic sha512_arm seqiv sha3_generic jitterentropy_rng drbg hmac geniv rng cmac usb_storage leds_gpio xhci_plat_hcd uhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug(O) vfat fat exfat crc32c_generic [ 18.569305] CPU: 1 UID: 0 PID: 277 Comm: kworker/u8:1 Tainted: G O 6.12.77 #0 [ 18.577835] Tainted: [O]=OOT_MODULE [ 18.581323] Hardware name: Generic DT based system [ 18.586117] Workqueue: mt76 mt7915_mac_reset_work [mt7915e] [ 18.591740] PC is at mt76_txq_schedule_pending+0x5c/0x1e0 [mt76] [ 18.597764] LR is at mt76_txq_schedule_pending+0x44/0x1e0 [mt76] [ 18.603780] pc : [<bf6f3774>] lr : [<bf6f375c>] psr: a0000013 [ 18.610047] sp : c613fe90 ip : 00000000 fp : cb5aa6e4 [ 18.615273] r10: 00000000 r9 : cb5a98bc r8 : cb5a98b8 [ 18.620498] r7 : c613fe90 r6 : 00000000 r5 : cb5a98a0 r4 : cb5a98a0 [ 18.627026] r3 : c613fe90 r2 : 00000000 r1 : 00000000 r0 : cb5a98b8 [ 18.633554] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 18.640691] Control: 10c5383d Table: 8abd806a DAC: 00000055 [ 18.646436] Register r0 information: non-slab/vmalloc memory [ 18.652104] Register r1 information: NULL pointer [ 18.656808] Register r2 information: NULL pointer [ 18.661514] Register r3 information: non-slab/vmalloc memory [ 18.667173] Register r4 information: non-slab/vmalloc memory [ 18.672833] Register r5 information: non-slab/vmalloc memory [ 18.678492] Register r6 information: NULL pointer [ 18.683197] Register r7 information: non-slab/vmalloc memory [ 18.688858] Register r8 information: non-slab/vmalloc memory [ 18.694517] Register r9 information: non-slab/vmalloc memory [ 18.700177] Register r10 information: NULL pointer [ 18.704969] Register r11 information: non-slab/vmalloc memory [ 18.710715] Register r12 information: NULL pointer [ 18.715507] Process kworker/u8:1 (pid: 277, stack limit = 0x10619fca) [ 18.721948] Stack: (0xc613fe90 to 0xc6140000) [ 18.726309] fe80: c613fe90 c613fe90 cb5a98a0 cb5a98a0 [ 18.734487] fea0: 00000000 cb5a9dc4 cb5ac6e4 cb5a98a0 00000000 bf6f3908 00000000 cb5ab234 [ 18.742664] fec0: 00000000 bf70fcdc cb5af6e4 cb5a98ac 00000000 00000000 c0a396a4 c62c2d00 [ 18.750841] fee0: cb5a9e30 00000000 cb5a9e18 cb5ab9b4 74030188 00000000 00000000 cb5a9dc4 [ 18.759019] ff00: c5e3e850 c5e3e800 cb5af6e4 c608f800 c0008600 01000000 c608f805 c5e3e850 [ 18.767195] ff20: 00000000 c01339c4 c62c326 c62c2d00 c0008600 c4e03d40 cb5af6e4 00000000 [ 18.775373] ff40: c5e3e800 c0008600 c4e03d40 c0008620 c62c2d00 c5e3e82c 00000000 c013456 [ 18.783549] ff60: c5e3e800 ca840f40 c006bec8 ca840a40 c62c2d00 c01343f0 c5e3e800 ca840f40 [ 18.791727] ff80: c006bec8 00000000 00000000 c013c220 ca840a40 c013c148 00000000 00000000 [ 18.799904] ffa0: 00000000 00000000 00000000 c010013c 00000000 00000000 00000000 00000000 [ 18.808081] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.816258] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 18.824431] Call trace: [ 18.824485] mt76_txq_schedule_pending [mt76] from mt76_txq_schedule_all+0x10/0x48 [mt76] [ 18.835222] mt76_txq_schedule_all [mt76] from mt7915_mac_reset_work+0xa68/0xcb8 [mt7915e] [ 18.843561] mt7915_mac_reset_work [mt7915e] from process_one_work+0x1a4/0x34c [ 18.850832] process_one_work from worker_thread+0x17c/0x340 [ 18.856506] worker_thread from kthread+0xd8/0xf4 [ 18.861220] kthread from ret_from_fork+0x14/0x38 [ 18.865933] Exception stack(0xc613ffb0 to 0xc613fff8) [ 18.870987] ffa0: 00000000 00000000 00000000 00000000 [ 18.879166] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.887342] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 18.893959] Code: 0a000008 e595101c e5952020 e59d3000 (e581d004) [ 18.900069] ---[ end trace 0000000000000000 ]--- [ 18.904701] Kernel panic - not syncing: Fatal exception in interrupt ``` and for eip93 panic ``` [ 18.584872] 8<--- cut here --- [ 18.587950] Unable to handle kernel paging request at virtual address d6d2221b when read [ 18.596051] [d6d2221b] *pgd=00000000 [ 18.599662] Internal error: Oops: 5 [#1] SMP ARM [ 18.604305] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack mt7915e(O) mt76_connac_lib(O) mt76(O) mac80211(O) libchacha20poly1305 ipt_REJECT cfg80211(O) xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake poly1305_arm nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables hwmon crc_ccitt compat(O) [ 18.604721] chacha_neon act_vlan ntfs3 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact i2c_dev cryptodev(O) xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ifb ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_generic sha512_arm seqiv sha3_generic jitterentropy_rng drbg hmac geniv rng cmac usb_storage leds_gpio xhci_plat_hcd uhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug(O) vfat fat exfat crc32c_generic [ 18.775239] CPU: 0 UID: 0 PID: 2432 Comm: openssl Tainted: G O 6.12.74 #0 [ 18.783450] Tainted: [O]=OOT_MODULE [ 18.786959] Hardware name: Generic DT based system [ 18.791778] PC is at _eip93_hash_init+0xe0/0x2d4 [ 18.796431] LR is at _eip93_hash_init+0x5c/0x2d4 [ 18.801074] pc : [<c064afe4>] lr : [<c064af60>] psr: 40000013 [ 18.807368] sp : c7899ab8 ip : 00000000 fp : 00000000 [ 18.812620] r10: bf2d0a14 r9 : d6d22217 r8 : 3a400fc3 [ 18.817872] r7 : cb3bb040 r6 : cb3bb040 r5 : c78ff680 r4 : c78ff480 [ 18.824433] r3 : cb3e5dc0 r2 : ffffffff r1 : 00000000 r0 : c78ff680 [ 18.830977] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 18.838115] Control: 10c5383d Table: 8795406a DAC: 00000055 [ 18.843859] Register r0 information: slab kmalloc-128 start c78ff680 pointer offset 0 size 128 [ 18.852496] Register r1 information: NULL pointer [ 18.857201] Register r2 information: non-paged memory [ 18.862253] Register r3 information: slab kmalloc-128 start cb3e5d80 pointer offset 64 size 128 [ 18.870968] Register r4 information: slab kmalloc-128 start c78ff480 pointer offset 0 size 128 [ 18.879597] Register r5 information: slab kmalloc-128 start c78ff680 pointer offset 0 size 128 [ 18.888225] Register r6 information: slab kmalloc-256 start cb3bb000 pointer offset 64 size 256 [ 18.896940] Register r7 information: slab kmalloc-256 start cb3bb000 pointer offset 64 size 256 [ 18.905656] Register r8 information: non-paged memory [ 18.910708] Register r9 information: vmalloc memory [ 18.915586] Register r10 information: 3-page vmalloc region starting at 0xbf2d0000 allocated at load_module+0x6a4/0x196c [ 18.926474] Register r11 information: NULL pointer [ 18.931273] Register r12 information: NULL pointer [ 18.936065] Process openssl (pid: 2432, stack limit = 0x912c4ac3) [ 18.942158] Stack: (0xc7899ab8 to 0xc789a000) [ 18.946518] 9aa0: 67452301 efcdab8 [ 18.954697] 9ac0: cb87b5c0 8ba7b5c0 bf2d0a14 c793f0c0 cbcae540 c78ff480 cb3bb040 c7899b84 [ 18.962874] 9ae0: 00000000 bf2d0a14 00000000 c064b2d4 00000000 bf2d0a14 00000000 8ba7b5c0 [ 18.971051] 9b00: c793f0c0 cbcae540 c793f128 c7899dd4 c7899b84 bf2ca050 cbcae540 c793f128 [ 18.979228] 9b20: c793f0c0 bf2c7e48 00000000 00000000 cfb96640 cfb9665c 00000000 00000000 [ 18.987406] 9b40: 00000020 33323130 37363534 31303938 35343332 39383736 33323130 37363534 [ 18.995583] 9b60: 31303938 c4fc2ca4 00000000 00000000 c4f9ac40 00000000 c4f9a8f0 00000000 [ 19.003759] 9b80: c4fc13b8 00000000 00000000 00000000 00000098 ba2e8ba3 00000000 00052cc0 [ 19.011937] 9ba0: 00000000 c7899e14 c7899e14 00000000 00000001 00052cc0 00052cc0 c4fc13b8 [ 19.020114] 9bc0: 00040cc0 00000000 c684ea80 c029fd98 c4f9a6c0 cfb96640 cfd87e68 c029e430 [ 19.028291] 9be0: cb54cb00 ffffffff c4f9a6c0 c4f0e2a4 c4fc2d10 00000000 11111111 38e38e39 [ 19.036468] 9c00: fffff800 c4fc2ca8 c4fc5764 83f00000 38e38e39 c4f9a6c0 00000001 c7899cfc [ 19.044646] 9c20: c7899cf8 c02be8c4 c7899cfc c4f9ac40 00000000 c4f9ac40 00000000 00000000 [ 19.052822] 9c40: 00000000 00000000 0000003e c025226c c0026c40 60000013 00000001 cfd87e68 [ 19.061000] 9c60: 00000001 4bddc23f c0001180 00000015 cfccf4dc c052d618 c0001180 00052cc0 [ 19.069176] 9c80: cfccf4dc c793f000 c4f0e2a4 c02a5ca4 0000001f c793f000 ffe00000 c0026c40 [ 19.077354] 9ca0: cfd8888 cfb96270 cfd67078 00000000 c0001180 c0000080 ffffffff 00000088 [ 19.085530] 9cc0: c684ea80 c02a63f8 00000dc0 00000dc0 00000001 c0026c40 b6b19000 c02b99d4 [ 19.093708] 9ce0: cfd87e68 cbbc8820 cb792590 cb7925f0 00150015 c08bb938 cb000000 cfd87e68 [ 19.101886] 9d00: b6b1a000 c0001180 00000dc0 00000435 cbcae55c c0a82400 bf2ce240 00000088 [ 19.110063] 9d20: c7899d28 c02a7950 ffffff04 ffff0a00 cb7923c0 bf2c72e8 ffffff04 ffff0a00 [ 19.118239] 9d40: ffffffff bf2d0518 00000002 c08b5af0 00000040 ffffff04 ffff0a00 c684ea80 [ 19.126415] 9d60: c684ea80 c7899e74 c7899e34 00000040 ffffff04 ffff0a00 cb485800 c793f0c0 [ 19.134593] 9d80: c793fdc0 bea311a0 c7899df0 49a65b70 cbcae540 c01c6366 cbcae540 bea31168 [ 19.142771] 9da0: bea31168 c684ea80 00000004 c6b7cda8 b6b0d010 bf2c8778 c6b7cda8 c684ea80 [ 19.150950] 9dc0: c0a1e980 c6b7cda8 c5e896e8 c5e89748 c7899dd0 00000000 0000000d 00000000 [ 19.159133] 9de0: 00000000 00000000 00000000 00000000 68616da8 28626365 29736561 65646500 [ 19.167318] 9e00: 00000029 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 19.175496] 9e20: 00000000 00000000 00000000 00000000 00000000 28626365 2d736561 39706965 [ 19.183673] 9e40: 70002933 00293339 00000006 00000010 0000003e b6f1c270 00000000 b6bdae6c [ 19.191849] 9e60: 00000000 b6f1c048 ffffffff 00000040 00000012 00000000 00000000 00000004 [ 19.200029] 9e80: 0000003e 015ebdf0 00001000 b6b19000 00000000 b6f35b70 00001000 b6f7ef50 [ 19.208214] 9ea0: 00001000 b6f1b7d4 b6b19000 00001000 0000006a c793fdc0 c793fd80 c4f8eb00 [ 19.216401] 9ec0: cbcae548 c78ff680 c793fdc0 c793fd80 c4f8eb00 c793fd80 c793f0dc c793f0c0 [ 19.224585] 9ee0: c793f0c0 bf2ce240 68616da8 cbcae548 c793f0c8 00000004 00000000 49a65b70 [ 19.232762] 9f00: c01c6366 c684ea80 00000000 bea31168 c684ea80 00000004 c6b7cda8 c02dc334 [ 19.240939] 9f20: c6b96000 ffffff9c c0100258 cb54cb00 00000005 c02c2df4 00000000 00020002 [ 19.249116] 9f40: b6b10000 00000006 00000100 00000001 c7899f58 b6b0b64d 00000000 00000002 [ 19.257294] 9f60: 00000005 c02c3054 00020002 00000000 cb485800 0000000 000d0f30 49a65b70 [ 19.265479] 9f80: c0100258 00000004 bea31168 00000000 00000036 c0100258 cb54cb00 00000036 [ 19.273655] 9fa0: b6b0d010 c0100060 00000004 bea31168 00000004 c01c6366 bea31168 00000000 [ 19.281833] 9fc0: 00000004 bea31168 00000000 00000036 00000000 b6b0d088 bea31184 b6b0d010 [ 19.290010] 9fe0: b6b0cf34 bea31020 b6b0a428 b6f33974 60000010 00000004 00000000 00000000 [ 19.298183] Call trace: [ 19.298193] _eip93_hash_init from eip93_hash_init+0x34/0x170 [ 19.306490] eip93_hash_init from cryptodev_hash_reset+0x10/0x64 [cryptodev] [ 19.313671] cryptodev_hash_reset [cryptodev] from cryptodev_release+0x808/0xc3c [cryptodev] [ 19.322238] cryptodev_release [cryptodev] from cryptodev_ioctl+0x3bc/0xda8 [cryptodev] [ 19.330370] cryptodev_ioctl [cryptodev] from sys_ioctl+0x2f4/0xb1c [ 19.336708] sys_ioctl from ret_fast_syscall+0x0/0x4c [ 19.341767] Exception stack(0xc7899fa8 to 0xc7899ff0) [ 19.346823] 9fa0: 00000004 bea31168 00000004 c01c6366 bea31168 00000000 [ 19.355001] 9fc0: 00000004 bea31168 00000000 00000036 00000000 b6b0d088 bea31184 b6b0d010 [ 19.363176] 9fe0: b6b0cf34 bea31020 b6b0a428 b6f33974 [ 19.368233] Code: e5963040 e1a00005 e5843040 e5845044 (e5998004) [ 19.374331] ---[ end trace 0000000000000000 ]--- [ 19.378948] Kernel panic - not syncing: Fatal exception [ 19.384282] Rebooting in 3 seconds.. ``` Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
|
The serial port is most likely on one of the test points. I think some points are connected to the spi-nand chip. Perform a continuity test against the spi-nand to reduce the amount of pins to guess. RX and TX should be a 3.3V. |
|
Pin 2 in column 1 is receiving data, but I haven't found the baud rate yet |
|
With a LA you could look at the signals more properly. It should be 115200 baud. |
|
I found the UART serial pads using this part here, but for now only the BL2 log: |







Devices specification base
SoC: Econet/Airoha EN7529CT
FXS: Si32192FM1
Ethernet: 4x Gigabit en7523 + VLAN
Button: Reset, Wifi
Bootloader: U-Boot 2014.04-rc1 (Apr 23 2025 - 11:33:03)
LEDs: 6 LEDs
xx230v v1 and xx530v v1
NAND: ESMT F50L1G4JLB (128Mb)
LEDs: 6 LEDs
USB: 1x 2.0
XPON: Econet EN7571N
Switch leds: 4x
xx230v v1
RAM: Zentrl A3T2GF40CBF (256Mb)
Wifi: Mediatek MT7905DEN + Mediatek MT7975DN
xx530v v1
RAM: Winbond W634GU6QB-11 (512Mb) / ESMT M15T2G16128A (256Mb)
Wifi: Mediatek MT7916AN + Mediatek MT7976DN
USB: 1x 3.0
NAND: ESMT F50L4G41XB (512Mb)
RAM: 512Mb
Booting OpenWrt initramfs and installing:
ctrl-cto canceling autoboot.tftpboot 0x84dc8f18 openwrt-airoha-en7523-tplink_xx230v_v1-initramfs-kernel.bin; bootm 0x84dc8f18;orsetenv loadaddr 0x84dc8f18;and put with tftp client, done runbootmOpenwrt boot log: Openwrt boot
GPL repository: https://sirherobrine23.com.br/Sirherobrine23/Tplink-xx230v
NAND: https://sirherobrine23.com.br/Sirherobrine23/Tplink-xx230v/releases/download/v0.1/dump.tar.xz