mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
58 lines
1.8 KiB
INI
58 lines
1.8 KiB
INI
ODROIDC-UBOOT-CONFIG
|
|
|
|
# Possible screen resolutions
|
|
# Uncomment only a single Line! The line with setenv written.
|
|
# At least one mode must be selected.
|
|
|
|
# setenv m "vga" # 640x480
|
|
# setenv m "480p" # 720x480
|
|
# setenv m "576p" # 720x576
|
|
# setenv m "800x480p60hz" # 800x480
|
|
# setenv m "800x600p60hz" # 800x600
|
|
# setenv m "1024x600p60hz" # 1024x600
|
|
# setenv m "1024x768p60hz" # 1024x768
|
|
# setenv m "1360x768p60hz" # 1360x768
|
|
# setenv m "1366x768p60hz" # 1366x768
|
|
# setenv m "1440x900p60hz" # 1440x900
|
|
# setenv m "1600x900p60hz" # 1600x900
|
|
# setenv m "1680x1050p60hz" # 1680x1050
|
|
# setenv m "720p" # 720p 1280x720
|
|
# setenv m "800p" # 1280x800
|
|
# setenv m "sxga" # 1280x1024
|
|
setenv m "1080p" # 1080P 1920x1080
|
|
# setenv m "1920x1200" # 1920x1200
|
|
|
|
# HDMI DVI Mode Configuration
|
|
setenv vout_mode "hdmi"
|
|
# setenv vout_mode "dvi"
|
|
|
|
# HDMI BPP Mode
|
|
setenv m_bpp "32"
|
|
# setenv m_bpp "24"
|
|
# setenv m_bpp "16"
|
|
|
|
# UHS Card Configuration
|
|
# Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
|
|
# This might break boot for some brand models of cards.
|
|
setenv disableuhs "disableuhs"
|
|
|
|
# Disable VPU (Video decoding engine, Saves RAM!!!)
|
|
# 0 = disabled
|
|
# 1 = enabled
|
|
setenv vpu "1"
|
|
|
|
# Disable HDMI Output (Again, saves ram!)
|
|
# 0 = disabled
|
|
# 1 = enabled
|
|
setenv hdmioutput "1"
|
|
|
|
setenv bootargs "console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs}"
|
|
ext4load mmc 0:1 0x21000000 /boot/uImage
|
|
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
|
|
fdt addr 21800000
|
|
|
|
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
|
|
|
|
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
|
|
|
|
bootm 0x21000000 - 0x21800000
|