We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_tips [2016/02/03 14:34]
joy.cho [How to change U-boot configuration by BOOT.INI]
en:c2_tips [2016/10/10 10:24] (current)
joy.cho [How to change HDMI output resolution]
Line 8: Line 8:
 </​WRAP>​ </​WRAP>​
 <WRAP center round box 60%> <WRAP center round box 60%>
-Supported resolutions at this moment (2015-12-24)+Supported resolutions at this moment (2016-08-03)
   - 4K UHD (2160p)   - 4K UHD (2160p)
 +  - 3440x1440
 +  - 2560x1600
 +  - 2560x1440
 +  - 2560x1080
   - 1920x1200 (WUXGA)   - 1920x1200 (WUXGA)
   - 1920x1080 (1080p)   - 1920x1080 (1080p)
Line 21: Line 25:
   - 640x480 (VGA)   - 640x480 (VGA)
   - 1680x1050   - 1680x1050
 +  - 1600x1200
   - 1600x900   - 1600x900
   - 1440x900   - 1440x900
   - 1360x768   - 1360x768
-  - 1024x600+  - 1024x600 ​(DVI supported for ODROID-VU7+)
   - 800x600   - 800x600
  
Line 64: Line 69:
 </​code>​ </​code>​
 === Boot.ini === === Boot.ini ===
-You can boot with **boot.ini** without changing U-boot environment values permanently. If **boot.ini** is existed in FAT partition **ODROID-C2** does boot with it first, unless boot with default setting stored in U-boot environment. You can download the file below and copy into your FAT partition+You can boot with **boot.ini** without changing U-boot environment values permanently. If **boot.ini** is existed in FAT partition **ODROID-C2** does boot with it first, unless boot with default setting stored in U-boot environment. 
- +The example related to display is as following.
-<file ini boot.ini> +
-ODROIDC2-UBOOT-CONFIG +
- +
-setenv dtbaddr 0x1000000 +
-setenv loadaddr 0x20000000+
  
 +<​code>​
 setenv hdmimode "​720p60hz"​ setenv hdmimode "​720p60hz"​
  
-setenv rootopt "​root=/​dev/​mmcblk0p2 rw init=/init rootwait"​ 
-setenv consoleopt "​console=ttyS0,​115200"​ 
-setenv androidopt "​androidboot.hardware=odroidc2 androidboot.serialno=${fbt_id#​}"​ 
-setenv logoopt "​osd1,​loaded,​${fb_addr},​${hdmimode}"​ 
-setenv selinuxopt "​androidboot.selinux=disabled"​ 
 # CEC Configuration # CEC Configuration
 setenv cecconfig "​cecf"​ setenv cecconfig "​cecf"​
Line 87: Line 83:
 # "​dvi"​ - For DVI interface # "​dvi"​ - For DVI interface
 setenv vout_mode "​hdmi"​ setenv vout_mode "​hdmi"​
- 
-# Overscan offset configuration 
-# All offsets are zero and can be tuned by manual or ODROID Utility 
-setenv top "​0"​ 
-setenv left "​0"​ 
-setenv bottom "​0"​ 
-setenv right "​0"​ 
  
 setenv bootargs "​${rootopt} ${consoleopt} hdmimode=${hdmimode} hdmitx=${cecconfig} vout=${vout_mode} overscan_top=${top} overscan_left=${left} overscan_bottom=${bottom} overscan_right=${right} logo=${logoopt} ${androidopt} ${selinuxopt}"​ setenv bootargs "​${rootopt} ${consoleopt} hdmimode=${hdmimode} hdmitx=${cecconfig} vout=${vout_mode} overscan_top=${top} overscan_left=${left} overscan_bottom=${bottom} overscan_right=${right} logo=${logoopt} ${androidopt} ${selinuxopt}"​
Line 99: Line 88:
 showlogo ${hdmimode} showlogo ${hdmimode}
  
-movi read dtb 0 ${dtbaddr} +</code>
-movi read boot 0 ${loadaddr} +
-booti ${loadaddr} - ${dtbaddr} +
-</file>+
 ====== How to change U-boot configuration by BOOT.INI ====== ====== How to change U-boot configuration by BOOT.INI ======
 ---- ----
-In order to support easy boot loader setup, ODROID-C2 also support **boot.ini** ​as well as previous ODROID boards. So you can easily list up the commands what you want to executed in U-boot rather than the default. Here is the example to boot Ubuntu.+In order to support easy boot loader setup, ODROID-C2 also support **boot.ini** as previous ODROID boards. So you can easily list up the commands what you want to executed in U-boot rather than the default. Here is the example to boot Ubuntu.
  
 You can download the file below and copy into your FAT partition. You can download the file below and copy into your FAT partition.
Line 116: Line 102:
 setenv loadaddr 0x20000000 setenv loadaddr 0x20000000
  
 +# Resolution Configuration
 +# '​hdmimode'​ must be one of below to configure display resolution within
 +# supported by your TV or monitor.
 +#    Symbol ​            | Resolution
 +# ----------------------+-------------
 +#    "​480p60hz" ​        | 720x480 Progressive 60Hz
 +#    "​576p50hz" ​        | 720x576 Progressive 50Hz
 +#    "​720p60hz" ​        | 1280x720 Progressive 60Hz
 +#    "​720p50hz" ​        | 1280x720 Progressive 50Hz
 +#    "​1080p60hz" ​       | 1920x1080 Progressive 60Hz
 +#    "​1080p50hz" ​       | 1920x1080 Progressive 50Hz
 +#    "​1080p30hz" ​       | 1920x1080 Progressive 30Hz
 +#    "​1080p24hz" ​       | 1920x1080 Progressive 24Hz
 +#    "​1080i60hz" ​       | 1920x1080 Interlaced 60Hz
 +#    "​1080i50hz" ​       | 1920x1080 Interlaced 50Hz
 +#    "​2160p60hz" ​       | 3840x2160 Progressive 60Hz
 +#    "​2160p50hz" ​       | 3840x2160 Progressive 50Hz
 +#    "​2160p30hz" ​       | 3840x2160 Progressive 30Hz
 +#    "​2160p25hz" ​       | 3840x2160 Progressive 25Hz
 +#    "​2160p24hz" ​       | 3840x2160 Progressive 24Hz
 +#    "​2160p60hz420" ​    | 3840x2160 Progressive 60Hz YCbCr 4:2:0
 +#    "​2160p50hz420" ​    | 3840x2160 Progressive 50Hz YCbCr 4:2:0
 +#    "​640x480p60hz" ​    | 640x480 Progressive 60Hz
 +#    "​800x480p60hz" ​    | 800x480 Progressive 60Hz
 +#    "​800x600p60hz" ​    | 800x600 Progressive 60Hz
 +#    "​1024x600p60hz" ​   | 1024x600 Progressive 60Hz
 +#    "​1024x768p60hz" ​   | 1024x768 Progressive 60Hz
 +#    "​1280x800p60hz" ​   | 1280x800 Progressive 60Hz
 +#    "​1280x1024p60hz" ​  | 1280x1024 Progressive 60Hz
 +#    "​1360x768p60hz" ​   | 1360x768 Progressive 60Hz
 +#    "​1440x900p60hz" ​   | 1440x900 Progressive 60Hz
 +#    "​1600x900p60hz" ​   | 1600x900 Progressive 60Hz
 +#    "​1680x1050p60hz" ​  | 1680x1050 Progressive 60Hz
 +#    "​1920x1200p60hz" ​  | 1920x1200 Progressive 60Hz
 setenv hdmimode "​720p60hz"​ setenv hdmimode "​720p60hz"​
  
Line 123: Line 143:
 setenv logoopt "​osd1,​loaded,​${fb_addr},​${hdmimode}"​ setenv logoopt "​osd1,​loaded,​${fb_addr},​${hdmimode}"​
 setenv selinuxopt "​androidboot.selinux=disabled"​ setenv selinuxopt "​androidboot.selinux=disabled"​
-# CEC Configuration 
-setenv cecconfig "​cecf"​ 
  
 # HDMI/DVI Mode Configuration # HDMI/DVI Mode Configuration
Line 131: Line 149:
 # "​dvi"​ - For DVI interface # "​dvi"​ - For DVI interface
 setenv vout_mode "​hdmi"​ setenv vout_mode "​hdmi"​
 +
 +# HPD enable/​disable option
 +setenv disablehpd "​false"​
  
 # Overscan offset configuration # Overscan offset configuration
 # All offsets are zero and can be tuned by manual or ODROID Utility # All offsets are zero and can be tuned by manual or ODROID Utility
-setenv ​top "​0"​ +setenv ​overscan_top ​"​0"​ 
-setenv ​left "​0"​ +setenv ​overscan_left ​"​0"​ 
-setenv ​bottom ​"​0"​ +setenv ​overscan_bottom ​"​0"​ 
-setenv ​right "​0"​+setenv ​overscan_right ​"​0"​
  
-setenv bootargs "​${rootopt} ${consoleopt} hdmimode=${hdmimode} hdmitx=${cecconfig} vout=${vout_mode} ​overscan_top=${top} overscan_left=${left} overscan_bottom=${bottom} overscan_right=${right} logo=${logoopt} ${androidopt} ${selinuxopt}"​+setenv bootargs "​${rootopt} ${consoleopt} hdmimode=${hdmimode} hdmitx=${cecconfig} vout=${vout_mode} ​disablehpd=${disablehpd} logo=${logoopt} ${androidopt} ${selinuxopt}"​ 
 +save
  
 showlogo ${hdmimode} showlogo ${hdmimode}
Line 155: Line 177:
 ===== U-boot commands ===== ===== U-boot commands =====
 You can describe multiple commands of U-boot from the next line of **ODROIDC2-UBOOT-CONFIG**. The commands are only restricted within the commands enabled by the running U-boot. You can describe multiple commands of U-boot from the next line of **ODROIDC2-UBOOT-CONFIG**. The commands are only restricted within the commands enabled by the running U-boot.
 +
 ====== How to replace booting logo ====== ====== How to replace booting logo ======
-**ODROID-C2** can shows booting logo to the display till target O/S is started. +**ODROID-C2** can show booting logo on the display till target O/S is started. 
-===== LOGO file format ===== + 
-Currently, we support **24-bit Windows BMP image** and **24-bit Windows Gzipped BMP image**. +Please refer to the following wiki page
-And default size is **1280x720**. You can display any other size of logo file, but it will be showen at the left-top corner+ 
-===== Using BOOT.INI ===== +http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c2_bootlogo 
-You can add the commands to your **boot.ini** before **bootcmd** is executed. Note that you can replace the logo file name **boot-logo.bmp** or **boot-logo.bmp.gz** with yours and it must be in FAT (BOOT) partition+
-<​code>​ +
-showlogo ${hdmimode} +
-</​code>​+
  
-The command, showlogo is as following. 
-<​code>​ 
-osd open 
-osd clear 
-vout output ${outputmode} 
-hdmitx output ${outputmode} 
-fatload mmc 0 ${bootlogo_addr} boot-logo.bmp.gz 
-bmp display ${bootlogo_addr} 
-</​code>​ 
-===== Using FASTBOOT ===== 
-The logo partition is internally assigned in **U-boot** itself, please refer [[http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c2_partition_table#​android_partition_table|this]] for detail. This works just for **Android Users**. 
  
-Firstly, you must get into your **U-boot** command line while pressing any key when your **ODROID-C2** is powered up. And execute **fastboot** command from **U-boot** and connect with your desktop using USB cable. 
-<​code>​ 
-odroidc2#​fastboot 
-</​code>​ 
-Next, run **fastboot** command from your desktop. 
-<​code>​ 
-$ fastboot flash logo boot-logo.bmp.gz 
-</​code>​ 
en/c2_tips.1454479493.txt.gz · Last modified: 2016/02/03 14:34 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0