HDMi Output on OrangePi Win/Win Plus Allwinner A64 (SUN50I)

Anton Gorlov stalker at locum.ru
Fri Aug 14 22:18:39 CEST 2020


Hello.

Does u-boot support HDMI output on  OrangePi Win/Win Plus Allwinner A64 
(SUN50I) platform?
At current time HDMI output only work after linux kernel is loaded.
Before - blank screen on a monitor (no signal).

Change setting's for video-mode=sunxi.. did not give any results. Output 
only in serial console
I try:

setenv video-mode=sunxi:1024x768-24 at 60,monitor=dvi,hpd=0,edid=1
setenv video-mode=sunxi:1024x768-24 at 60,monitor=dvi,hpd=1,edid=1
setenv video-mode=sunxi:1024x768-24 at 60,monitor=dvi,hpd=0,edid=0
setenv video-mode=sunxi:1024x768-24 at 60,monitor=hdmi,hpd=0,edid=1
setenv video-mode=sunxi:1024x768-24 at 60,monitor=hdmi,hpd=1,edid=1
setenv video-mode=sunxi:1024x768-24 at 60,monitor=hdmi,hpd=0,edid=0
and
setenv hdmi.audio=EDID:0 disp.screen0_output_mode=1024x768p60
setenv hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1024x768p60


Need some help to debug this.


Full output of U-BOOT load
===
U-Boot SPL 2020.07-STLK1-dirty (Aug 14 2020 - 02:43:26 +0300) 
 

DRAM: 2048 MiB 
 

Trying to boot from MMC1 
 

NOTICE:  BL31: v2.3(debug):v2.3-420-gf0b1864f8 
 

NOTICE:  BL31: Built : 15:05:30, Jul 31 2020 
 

NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689) 
 

NOTICE:  BL31: Found U-Boot DTB at 0x4099690, model: OrangePi Win/Win 
Plus 

INFO:    ARM GICv2 driver initialized 
 

INFO:    Configuring SPC Controller 
 

INFO:    PMIC: Probing AXP803 on RSB 
 

INFO:    PMIC: dcdc1 voltage: 3.300V 
 

INFO:    PMIC: dcdc5 voltage: 1.500V 
 

INFO:    PMIC: dcdc6 voltage: 1.100V 
 

INFO:    PMIC: dldo1 voltage: 3.300V 
 

INFO:    PMIC: dldo2 voltage: 3.300V 
 

INFO:    PMIC: dldo4 voltage: 3.300V 
 

INFO:    BL31: Platform setup done 
 

INFO:    BL31: Initializing runtime services 
 

INFO:    BL31: cortex_a53: CPU workaround for 843419 was applied 
 

INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied 
 

NOTICE:  PSCI: System suspend is unavailable 
 

INFO:    BL31: Preparing for EL3 exit to normal world 
 

INFO:    Entry point address = 0x4a000000 
 

INFO:    SPSR = 0x3c9 
 

alloc space exhausted 
 



U-Boot 2020.07-STLK1-dirty (Aug 14 2020 - 02:43:26 +0300) Allwinner 
Technology 


CPU:   Allwinner A64 (SUN50I) 
 

Model: OrangePi Win/Win Plus 
 

DRAM:  2 GiB 
 

MMC:   mmc at 1c0f000: 0, mmc at 1c10000: 1 
 

Loading Environment from FAT... Card did not respond to voltage select! 
 

In:    serial 
 

Out:   serial 
 

Err:   serial 
 

Model: OrangePi Win/Win Plus 
 

Net:   phy interface7 
 

eth0: ethernet at 1c30000 
 

starting USB... 
 

Bus usb at 1c1a000: USB EHCI 1.00 
 

Bus usb at 1c1a400: USB OHCI 1.0 
 

Bus usb at 1c1b000: USB EHCI 1.00 
 

Bus usb at 1c1b400: USB OHCI 1.0 
 

scanning bus usb at 1c1a000 for devices... 1 USB Device(s) found 
 

scanning bus usb at 1c1a400 for devices... 1 USB Device(s) found 
 

scanning bus usb at 1c1b000 for devices... 1 USB Device(s) found 
 

scanning bus usb at 1c1b400 for devices... 1 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3098 bytes read in 2 ms (1.5 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
104 bytes read in 2 ms (50.8 KiB/s)
39702 bytes read in 5 ms (7.6 MiB/s)
3821 bytes read in 5 ms (746.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 44000000
11888288 bytes read in 550 ms (20.6 MiB/s)
17162752 bytes read in 818 ms (20 MiB/s)
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
    Image Name:   uInitrd
    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
    Data Size:    11888224 Bytes = 11.3 MiB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
    Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
    Loading Ramdisk to 494a9000, end 49fff660 ... OK
    Loading Device Tree to 0000000049436000, end 00000000494a8fff ... OK

Starting kernel ...


More information about the U-Boot mailing list