Hi, i do this few weeks ago for LVDS display...

What i did in u-boot configuration:
CONFIG_VIDEO_SUNXI=y
# CONFIG_VIDEO_HDMI is not set
# CONFIG_VIDEO_VGA is not set
# CONFIG_VIDEO_COMPOSITE is not set
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:51000,le:319,ri:4,up:34,lo:2,hs:1,vs:1,sync:3,vmode:0"
CONFIG_VIDEO_LCD_DCLK_PHASE=1
CONFIG_VIDEO_LCD_POWER="PH9"
CONFIG_VIDEO_LCD_RESET=""
CONFIG_VIDEO_LCD_BL_EN="PH8"
CONFIG_VIDEO_LCD_BL_PWM=""
# CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW is not set
# CONFIG_VIDEO_LCD_PANEL_I2C is not set
CONFIG_VIDEO_LCD_IF_LVDS=y
# CONFIG_VIDEO_LCD_PANEL_PARALLEL is not set
CONFIG_VIDEO_LCD_PANEL_LVDS=y

You should enable HDMI instead of my LVDS display and set correct times...

Milos Ladicorbic

петак, 14. август 2020. 12.24.17 UTC+2, [email protected] је написао/ла:
>
>
> Hello.
> Need help to enable HDMI output on u-boot load.
> At current time HDMI output work only after linux kernel is loaded. At 
> u-boot time HDMI output is blank (no signal on monitor)
> .I try some option like
>
> setenv video-mode=sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=1
> setenv video-mode=sunxi:1024x768-24@60,monitor=dvi,hpd=1,edid=1
> setenv video-mode=sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=0
> setenv video-mode=sunxi:1024x768-24@60,monitor=hdmi,hpd=0,edid=1
> setenv video-mode=sunxi:1024x768-24@60,monitor=hdmi,hpd=1,edid=1
> setenv video-mode=sunxi:1024x768-24@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 
>
> 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@1c0f000: 0, mmc@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@1c30000                                                              
>                                                                              
>
> starting 
> USB...                                                                        
>                                                                           
>
> Bus usb@1c1a000: USB EHCI 
> 1.00                                                                          
>                                                          
>
> Bus usb@1c1a400: USB OHCI 
> 1.0                                                                           
>                                                          
>
> Bus usb@1c1b000: USB EHCI 
> 1.00                                                                          
>                                                          
>
> Bus usb@1c1b400: USB OHCI 
> 1.0                                                                           
>                                                          
>
> scanning bus usb@1c1a000 for devices... 1 USB Device(s) 
> found                                                                         
>                            
>
> scanning bus usb@1c1a400 for devices... 1 USB Device(s) 
> found                                                                         
>                            
>
> scanning bus usb@1c1b000 for devices... 1 USB Device(s) 
> found                                                                         
>                            
>
> scanning bus usb@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 ...
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/90006574-f045-4968-8aa5-7da8ccd83c54o%40googlegroups.com.

Reply via email to