thảo luận Keenetic cho vAP-32X6V1

  • Người tạo chủ đề Người tạo chủ đề dichton
  • Ngày bắt đầu Ngày bắt đầu
@quyquaquyet.tx bác ơi bác trích cái uboot của Immortal con 32x6 giúp em với được không bác,em build cả đêm mà vẫn ko build được.
 
32x6v1 lên 1.6.0 rồi thì mở ssh bằng cách nào vậy mấy bác. File config cũ không cho khôi phục nữa.
 
Trang trước có thím load xong nand, đến phần switch bị hư rồi kìa, inbox thím ấy hợp tác thử xem. Đoán là do chưa merge config từ flash/default-config nên module switch mt798x load sai nên crash.
bác có cao kiến gì cho e thỉnh giáo đc ko, e làm đủ cách mà nó nhất quyết ko nhận con mt7531
 
bác có cao kiến gì cho e thỉnh giáo đc ko, e làm đủ cách mà nó nhất quyết ko nhận con mt7531
Em thấy log của 32x6:
Mã:
[I] Jan  1 00:00:02 kernel: Booting Linux on physical CPU 0x0
[I] Jan  1 00:00:02 kernel: Linux version 4.9-ndm-5 [email protected]/KeeneticPorted (gcc version 14.3.0 (crosstool-NG 1.27.0_ndm_5.1_05356ea) ) #0 SMP Fri Jun 5 18:11:02 2026
[I] Jan  1 00:00:02 kernel: Boot CPU: AArch64 Processor [410fd034]
[I] Jan  1 00:00:02 kernel: Machine model: Keenetic KN-3811
...
[I] Jan  1 03:00:09 kernel: mt7986_eth: NDM Ethernet Switch Driver for MediaTek MT798x, v1.0.85-2
[I] Jan  1 03:00:09 kernel: mt7986_eth: MT7981 SoC, TX/RX descriptors: 2048/1024, LRO descriptors: 48
[I] Jan  1 03:00:09 kernel: mt7986_eth: eth2 created for GMAC1 (24:0b:2a:c6:6a:7b address, 4 EPHY ports)
[I] Jan  1 03:00:09 kernel: mt7986_eth: eth3 created for GMAC2 (24:0b:2a:c6:6a:7c address, 1 EPHY port)
[I] Jan  1 03:00:09 kernel: mt7986_eth: MT7531AE switch, Rev: 0x1, XTAL: 25MHz
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-0 PHY analog calibration
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-1 PHY analog calibration
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-2 PHY analog calibration
[I] Jan  1 03:00:10 kernel: mt7986_eth: GE-3 PHY analog calibration
[I] Jan  1 03:00:10 kernel: mt7986_eth: MT7531 switch initialized
[I] Jan  1 03:00:10 kernel: mt7986_eth: GBE analog calibration
So sánh thử file dtb giữa mấy bản port NX31/NX32U/AX3000T thì tất cả dùng chung kernel/dtb của KN-3811, chỉ khác nhau mỗi file default-config mà em nói để set lại port lan/wan nên em đoán do bác ép file dts 3053 của bác vào khác với dts gốc 3811 nên sai device tree, boot treo.

Bác đã thử lấy file rom 4.3.6.3 về, thay file kernel bác vừa thêm dosilicon nand vô rồi boot chưa ?
https://osvault.keeneticported.dev/osvault/Netis NX32U/
 
Bật tftpd64 vào uboot command dùng tftpboot đẩy file lên ram, rồi dùng nand write

tftpboot 0x46000000 (tên file)
nand write 0x46000000 0x0 0x(dung lượng file dạng hex từ tftpboot)

Gửi từ Xiaomi 22031116BG bằng VOZVNApp
nay la nand tach doan cuoi roi a fen :too_sad:
Mã:
MT7981> nand list
List of NAND devices:
* spi-nand0
  - device: spi_nand@0
  - parent: spi@1100a000
  - driver: spi_nand
  - type: NAND flash
  - block size:        0x20000 bytes
  - page size:         0x800 bytes
  - OOB size:          128 bytes
  - OOB available:     63 bytes
  - ECC strength:      8 bits
  - ECC step size:     512 bytes
  - bitflip threshold: 6 bits
  - 0x000000000000-0x000010000000 : "spi-nand0"
      - 0x000000000000-0x000000100000 : "bl2"
      - 0x000000100000-0x000000200000 : "orig-env"
      - 0x000000200000-0x000000400000 : "factory"
      - 0x000000400000-0x000000600000 : "fip"
      - 0x000000600000-0x000007600000 : "ubi"
MT7981> nand write 0x46000000 0x0 0x10000000
'spi-nand0' is now active device
Writing from 0x0 to 0xfffffff, size 0x10000000 ...
Bad block at 0xf020000 ... aborted
khoi dong lai tach luon roi @@
Mã:
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
L0: 3902 0031 [0001]
00: 1012 0000
F9: 0000 0000
L0: 3902 0031 [0001]
01: 102A 0001
02: 1012 0000
BP: 2000 00C0 [0001]
EC: 0000 0000 [1000]
T0: 0000 020E [010F]
System halt!

xai mtk thi ra cai nay:
Mã:
ubi0 error: ubi_io_read: error -74 (ECC error) while reading 2048 bytes from PEB 129:2048, read 2048 bytes
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read 64 bytes
 
Sửa lần cuối:
Em thấy log của 32x6:
Mã:
[I] Jan  1 00:00:02 kernel: Booting Linux on physical CPU 0x0
[I] Jan  1 00:00:02 kernel: Linux version 4.9-ndm-5 [email protected]/KeeneticPorted (gcc version 14.3.0 (crosstool-NG 1.27.0_ndm_5.1_05356ea) ) #0 SMP Fri Jun 5 18:11:02 2026
[I] Jan  1 00:00:02 kernel: Boot CPU: AArch64 Processor [410fd034]
[I] Jan  1 00:00:02 kernel: Machine model: Keenetic KN-3811
...
[I] Jan  1 03:00:09 kernel: mt7986_eth: NDM Ethernet Switch Driver for MediaTek MT798x, v1.0.85-2
[I] Jan  1 03:00:09 kernel: mt7986_eth: MT7981 SoC, TX/RX descriptors: 2048/1024, LRO descriptors: 48
[I] Jan  1 03:00:09 kernel: mt7986_eth: eth2 created for GMAC1 (24:0b:2a:c6:6a:7b address, 4 EPHY ports)
[I] Jan  1 03:00:09 kernel: mt7986_eth: eth3 created for GMAC2 (24:0b:2a:c6:6a:7c address, 1 EPHY port)
[I] Jan  1 03:00:09 kernel: mt7986_eth: MT7531AE switch, Rev: 0x1, XTAL: 25MHz
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-0 PHY analog calibration
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-1 PHY analog calibration
[I] Jan  1 03:00:09 kernel: mt7986_eth: GE-2 PHY analog calibration
[I] Jan  1 03:00:10 kernel: mt7986_eth: GE-3 PHY analog calibration
[I] Jan  1 03:00:10 kernel: mt7986_eth: MT7531 switch initialized
[I] Jan  1 03:00:10 kernel: mt7986_eth: GBE analog calibration
So sánh thử file dtb giữa mấy bản port NX31/NX32U/AX3000T thì tất cả dùng chung kernel/dtb của KN-3811, chỉ khác nhau mỗi file default-config mà em nói để set lại port lan/wan nên em đoán do bác ép file dts 3053 của bác vào khác với dts gốc 3811 nên sai device tree, boot treo.

Bác đã thử lấy file rom 4.3.6.3 về, thay file kernel bác vừa thêm dosilicon nand vô rồi boot chưa ?
https://osvault.keeneticported.dev/osvault/Netis NX32U/
file default-config ở đâu vậy bác nhỉ? dts ban đầu tôi dùng KN-3811.dts trong sdk nhưng không được, nên chỉnh sửa cũng ko đc nốt. Còn cách bác gợi ý để tôi thử xem sao.

via theNEXTvoz for iPhone
 
nay la nand tach doan cuoi roi a fen :too_sad:
Mã:
MT7981> nand list
List of NAND devices:
* spi-nand0
  - device: spi_nand@0
  - parent: spi@1100a000
  - driver: spi_nand
  - type: NAND flash
  - block size:        0x20000 bytes
  - page size:         0x800 bytes
  - OOB size:          128 bytes
  - OOB available:     63 bytes
  - ECC strength:      8 bits
  - ECC step size:     512 bytes
  - bitflip threshold: 6 bits
  - 0x000000000000-0x000010000000 : "spi-nand0"
      - 0x000000000000-0x000000100000 : "bl2"
      - 0x000000100000-0x000000200000 : "orig-env"
      - 0x000000200000-0x000000400000 : "factory"
      - 0x000000400000-0x000000600000 : "fip"
      - 0x000000600000-0x000007600000 : "ubi"
MT7981> nand write 0x46000000 0x0 0x10000000
'spi-nand0' is now active device
Writing from 0x0 to 0xfffffff, size 0x10000000 ...
Bad block at 0xf020000 ... aborted
khoi dong lai tach luon roi @@
Mã:
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
L0: 3902 0031 [0001]
00: 1012 0000
F9: 0000 0000
L0: 3902 0031 [0001]
01: 102A 0001
02: 1012 0000
BP: 2000 00C0 [0001]
EC: 0000 0000 [1000]
T0: 0000 020E [010F]
System halt!
xai mtk thi ra cai nay:
Mã:
ubi0 error: ubi_io_read: error -74 (ECC error) while reading 2048 bytes from PEB 129:2048, read 2048 bytes
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read only 64 bytes, retry
ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 130:0, read 64 bytes
Của t không có bad block, bác thử cái này xem
nand erase.spread 0x0 0x10000000
nand write.spread 0x46000000 0x0 0x10000000

Gửi từ Xiaomi 22031116BG bằng VOZVNApp
 

Thống kê chủ đề

Ngày tạo
dichton,
Người trả lời cuối
caoson2206,
Trả lời
1.218
Lượt xem
105.826
Quay lại
Lên đầu trang