szemzoa / awboot

small linux bootloader for Allwinner T113-S3 and V851s
72 stars 33 forks source link

[MangoPi MQ-R] Booting zImage using U-Boot fails #4

Closed iamdavidcz closed 1 year ago

iamdavidcz commented 1 year ago

Hi @szemzoa

I am trying to boot your kernel using U-Boot on MangoPi MQ-R (T113-S3), but without much luck:

U-Boot 2018.05 (Nov 06 2022 - 16:25:11 +0000) Allwinner Technology

CPU:   Allwinner T113-S3 (SUN8I 1859)
Model: Mango Pi MQ-R
DRAM:  128 MiB
MMC:   SUNXI SD/MMC: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Failed (-5)
In:    serial
Out:   serial
Err:   serial
=> fatload mmc 0 0x40000000 zImage
6265248 bytes read in 1080 ms (5.5 MiB/s)
=> fatload mmc 0 0x41000000 sun8i-t113-mangopi-dual.dtb
23616 bytes read in 7 ms (3.2 MiB/s)
=> bootz 0x40000000 - 0x41000000
Kernel image @ 0x40000000 [ 0x000000 - 0x5f99a0 ]
## Flattened Device Tree blob at 41000000
   Booting using the fdt blob at 0x41000000
   Loading Device Tree to 43f6d000, end 43f75c3f ... OK

Starting kernel ...

It hangs on Starting kernel.... No output on UART5 (0x02501400). Is there much of a difference between MangoPi MQ-Dual and MQ-R?

iamdavidcz commented 1 year ago

Anyway, I have compiled the kernel from @Evlers and changed uart0 status in dtb and it works like a charm!