I'm moving forward.
I managed to get the FEL - a true Male A <> Male A USB cable is required.
FEL mode is now working.
I'm able to transfer the u-boot-sunxi-with-spl.bin of Armbian but TX1 is booting on Android immediately (based on Armbian-unofficial_26.02.0-trunk_X96q-v5-1_bookworm_current_6.12.64_minimal.img - u-boot-sunxi-with-spl.bin extracted).
This means that I don't have the possibility to boot on the Armbian USB drive (flashed with u-boot-sunxi-with-spl.bin)
Similarly, I tried with another image based on MiniArch (MiniArch-20240715-6.18.7-board-h313.tanix_tx1-SD-Image.img.xz).
I was able to transfer those MiniArch via FEL:
sunxi-fel -v -p uboot bootloader/u-boot-sunxi-with-spl.bin
write 0x40200000 Image
write 0x4fa00000 dtbs/allwinner/sun50i-h313-tanix-tx1.dtb
write 0x4fc00000 load-kernel.scr
Original made Load-kernel.scr in the MiniArch-20240715-6.18.7-board-h313.tanix_tx1-SD-Image.img.xz :
setenv bootargs console=ttyS0,115200 root=/dev/sda2 rw rootwait ram=1024M debug
booti 0x40200000 - 0x4fa00000
With the MiniArch FEL, the TX1 is not booting on Android and I can see 4 penguins with cursor.
I updated the load-kernel.scr to have some verbose by changing the console:
setenv bootargs console=tty1 console=ttyS0,115200 root=/dev/sda2 rw rootwait rootdelay=60 ram=1024M debug loglevel=7 booti 0x40200000 - 0x4fa00000
Result:
MiniArch bootloader and FEL transfer writes allow to boot. USB devices are detected (USB Hub, USB drive, keyboard) but nothing happens further, or it ends up with a kernel panic.
Output of the Linux TX1 console after MiniArch FEL transfer sequence:
1.651121] sunxi-mc 4022000.mmc: initialized, max. request size: 2048 KB, u
[
top_ops)
1.655936] sunti-drm display-engine: bound 6510000.tcon-top Cops sunBi_tcon_
1.973277] mnc2: new high speed DDR MMC card at address 0001 _tcon_ops)
1.9745881 sunfi-drm display-engine: bound 6515000. lcd-controller Cops sunti
1.9789521 mncblk2: mmc2:0001 HAGZe@ 14.7 GiB
1.9825631 sunBi-du-hdmi 6000000.hdmi: Detected HDMI TX controller u2.12a wi th HDCP (DWC HDMI 2.0 TX PHY)
p17
1.990428] mncblk2: p1 p2 p3 p1 p5 p6 p? p8 p9 p10 p11 p12 p13 p14 p15 p16
[ iver
1.991663] sunBi-du-hdmi 6000000.hdmi: registered Designbare HDMI I2C bus dr
1.998192]
mncblkbooto: mnc2:0001 HAGZed 4.00 MiB
1.999521]
sunti-drn display-engine: bound 6000000.hdmi Cops sunBi_du hami_o
ps)
2.007404] mncblk2boot1: mnc2:0001 HAGZes 4.00 MiB
2.012147] [drm] Initialized sunfi-drm 1.0.0 for display-engine on minor o
2.723997]
Console: switching to colour frane buffer device 240x67
2.7468481
sunti-den display-engine: larm] fb0: sunti-drodrufb frame buffer device
2.7554683
2.7573363
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 of_cis_init
2.7599291
sunxi-nuc 4021000.mmc: allocated
mnc-purseg
2. 763866]
ush usb3: New USE device strings: Mfr=3, Product=2, SerialNumber=1
2.766352]
of_cfs_init: 0K
2.771541]
usb usb3: Product: Generic Platform OHCI controller
2.7789161
clk: Disabling unused clocks
2.781535]
usb usb3: Manufacturer: Linux 6.18.7 ohci_hcd
2.785297] sunxi-nnc 4021000.mnc: initialized, max. request size: 16384 KB, uses new tinings mode
2.7875991 PM: genpd: Disabling unused power domains
2.7914431 usb usb3: SerialNumber: 5101400 .usb
2.8161741
check access for rdinit=/init failed: -2, ignoring
2.816738]
hub 3-0:1.0: USB hub found
[2.822049
Waiting 90 sec before mounting root device...
2.831452]
hub 3-0:1.0: 1 port detected
2.8428851
mnc1: new high speed SDIO card at address 0001
7.4519021
usb 3-1: new full-speed USB device number 2 using ohci-platform
7.6636101
usb 3-1: New USB device found, idVendor=0a05, idProduct=7211, bcdDevice= 1.00
7.6718951
usb 3-1: New USB device strings: Mfr=0, Product=1, Seria lNumber=0
7.679084]
usb 3-1: Product: USBZ.0 HUB
7.684782J
hub
3-1:1.0: USB hub found
7.6896091
hub
3-1:1.0: 4 ports detected
8.115235] usb
3-1.1: new full-speed USB device number 3 using ohci-platform
8.224936] usb
3-1,1: not running at top speed; connect to a high speed hub
8.266936] usb
3-1.1: New USB device found, idVendor=059f, idProduct=1022, bcdDevice= 1.00
8.2753821
8.282744]
USD
3-1,1: New USB device strings: Mfral, Product=2, SerialMunber=3
usb
8.2871451
usb
3-1.1:
Product: LaCie lanaKey
8.2912791
usb
3-1.1:
Manufacturer: LaCie
3-1.1:
SerialNumber: 97e0bfb3cfe007
8.501898]
แรง
3-1.2:
new full-speed USB device number 4 using ohci-platform
8.6079401
8.6163791
usb
3-1.2:
New USB device found, idVendor=0318, idProduct=2808, bcdDevice= 2.00
3-1.2:
New USB device strings: Mfr=0, Product=1, Seria lNumber=0
8.6237581
usb
3-1.2:
Product: 2.4G Composite Devic
8.711901]
uSb
3-1.3: new low-speed USB device number 5 using ohci-platform
8.847941] usb
8.8563831
usb
3-1.3: New USB device found, idVendor=04f2, idProduct=0403, bcdDevice= 1.65
3-1.3: New USB device strings: Mfr=1, Product=2, Seria lNumber=0
8.865882] usb
3-1.3: Product: USB Keyboard
8.8722631
usb 3-1.3: Manufacturer: Chicony
12.851997]
sun501-h6-prcm-ppu 7010250. power-controller: sync_state() pending due to 1800000. gpu
If I wait, I ended up seeing a kernel panic :
Kernel panic - not suncing: UFS: Unable to mount rout fs
; on unknoun-block(0,0)
93.6966821
b30d
93.696690]
03.7097151
b30e
93.7097231
93.7224501
b30f
93.7227581
93.7357951
b310
93.735804]
33.748859]
b311
163B4 mncblk2p9 а0085546-4166-744a-a353-fca9272bBe4d
163B4 mncblk2p10 а0085546-4166-741a-a353-fca9272bBete
16384 mncblk2p11 a0085546-4166-744a-a353-fca9272bBe4f
16384 mmcblkZp12 а0085546-4166-744a-a353-fca9272bBe50
512 mmcblk2p13 a0085546-4166-744a-a353-fca9272bBe51
15872 mncblk2p14 a0085546-4166-744a-a353-fca9272bBe52
163B4 mncblk2p15 a0085546-4166-744a-a353-fca9272bBe53
16384 mncblk2p16 а0085546-4166-744a-a353-fca9272bBe54
11423727 mmcblk2p17 a0085546-4166-744a-a353-fca9272bBe55
93.748867]
93.761944]
b320
4096 mmcblkZbooto
93.7619521
(driver?)
93.7121621
b340
4096 mmcblk2boot1
93.7121121
(driver?)
99.7835151
List of all bdeu filesystems:
33.7895001
exts
93.7895061
ext4
93.793371] extz
33.7972031
ufat
93.8010141
msdos
93.8048091
93.8120251
Kernel panic - not suncing: UFS: Unable to mount rout fs
; on unknoun-block(0,0)
93.8221681
CPU: 2 UID: 0 PID: 1 Comm: swapper/0 Tainted: G
6.18.7 #1 PREEMPT 56ea6Zc682B4f70bf2
93.9338801 -1 end Kernel panic - not syncing: UFS: Unable to mount root fs on unknown-block(0,0) }—
93.836517] Tainted: [WI-WARN
93.841380] Hardware name: Tanix TX1 (DT)
93.8472801
Call trace:
93.8515981
show_stack+0x24/0x70 (C)
93.857135]
dump_stack_lul+0x74/0x94
93.8626511
dump _stack+0x14/0x24
93.8677961
upanic+0x104/0x2d4
93.872767]
panic +0x5c/0x64
93.877447]
mount root gener ic+0x14/0x29B
93.8834131
mount_root +0x16c/0x188
93.8886741
prepare _namespace +0x1cc/0x22c
93.8945131
kernel_init_frecable+0x264/0x284
93.900587]
kernel_init+0x1c/0x140
93.905767]
ret_from_fork+0x10/0x20
93.9110311
MP: stopping secondary CPU:
93.9166281 Kernel Offset: disable
93.9217681
CPU features:
At this stage, I'm stuck with the TX1 :
- Armbian Image - no boot success - FEL difficult
- MiniArch - boot started but stuck
Any help would be appreciated.