Thank you, looking more calmly, I found the headers marked as G, R, T. Would these be: ground, tx, rx? I think I'm confusing it with my second TVbox which has a slightly different PCB, if this is the UART interface, I'll solder headers and connect my USB adapter, at what baud rate should I listen?
It worked, it was these pads, here is the output with booting from the SD card:
DDR Version V1.10 20190926
In
ID:0xFFF
660MHz
DDR3
Bus Width=16 Col=11 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
mach:2
OUT
U-Boot SPL 2021.04-armbian (May 06 2021 - 19:15:25 +0000)
Trying to boot from MMC2
I/TC:
I/TC: Non-secure external DT found
I/TC: Switching console to device: /serial@11030000
I/TC: OP-TEE version: 3.10.0-40-ga1d5c81f (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #6 Wed Sep 16 21:36:15 UTC 2020 arm
I/TC: Primary CPU initializing
M/TC: Not protecting region 1: 0x68400000-0x68600000
I/TC: Primary CPU switching to normal world boot
U-Boot 2021.04-armbian (May 06 2021 - 19:15:25 +0000)
Model: Generic Rockchip rk322x TV Box board
DRAM: 992 MiB
MMC: dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial@11030000
Out: serial@11030000
Err: serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net: eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2909 bytes read in 5 ms (567.4 KiB/s)
## Executing script at 60000000
Boot script loaded from mmc 1
238 bytes read in 5 ms (45.9 KiB/s)
6094752 bytes read in 282 ms (20.6 MiB/s)
8771448 bytes read in 475 ms (17.6 MiB/s)
50042 bytes read in 10 ms (4.8 MiB/s)
786 bytes read in 7 ms (109.4 KiB/s)
Applying kernel provided DT overlay rk322x-emmc.dtbo
1286 bytes read in 7 ms (178.7 KiB/s)
Applying kernel provided DT overlay rk322x-led-conf1.dtbo
232 bytes read in 7 ms (32.2 KiB/s)
Applying kernel provided DT fixup script (rk322x-fixup.scr)
## Executing script at 600f0000
## Loading init Ramdisk from Legacy Image at 64000000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6094688 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 61f00000
Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
Using Device Tree in place at 61f00000, end 61f74fff
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
Armbian 24.2.1 bookworm ttyS2
rk322x-box login:
this is the emmc boot output running the same image from the sd card written on it:
⸮⸮DDR Version V1.10 20190926
In
ID:0xFFF
660MHz
DDR3
Bus Width=16 Col=11 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
mach:2
OUT
U-Boot SPL 2021.04-armbian (May 06 2021 - 19:15:25 +0000)
Trying to boot from MMC2
I/TC:
I/TC: Non-secure external DT found
I/TC: Switching console to device: /serial@11030000
I/TC: OP-TEE version: 3.10.0-40-ga1d5c81f (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #6 Wed Sep 16 21:36:15 UTC 2020 arm
I/TC: Primary CPU initializing
M/TC: Not protecting region 1: 0x68400000-0x68600000
I/TC: Primary CPU switching to normal world boot
U-Boot 2021.04-armbian (May 06 2021 - 19:15:25 +0000)
Model: Generic Rockchip rk322x TV Box board
DRAM: 992 MiB
MMC: dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **
** Unable to read "/boot/boot.env" from mmc0:1 **
In: serial@11030000
Out: serial@11030000
Err: serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net: eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
7[r[999;999H[6n8Card did not respond to voltage select! : -110
Scanning disk dwmmc@30000000.blk...
Disk dwmmc@30000000.blk not ready
Scanning disk dwmmc@30020000.blk...
Found 2 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-8e-44-db-3b-e1-5d
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk322x-rk322x-box
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk322x
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
Config file not found
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
ethernet@30200000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@30200000
=>