Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:xu3_tips [2015/04/04 12:12] odroid [How to change HDMI output resolution] |
en:xu3_tips [2015/09/07 21:27] odroid [ODROID-XU3 Tips] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== ODROID-XU3/XU4 Tips ====== | ||
+ | |||
+ | ==== How to change HDMI output resolution ==== | ||
+ | |||
+ | You can select the HDMI resolution by editing the boot.ini file. | ||
+ | Just remove three "#" marks for your display. | ||
+ | |||
+ | The boot.ini file must be placed on the FAT partition on your boot media. | ||
+ | |||
+ | The default setting is 1920x1080(60hz). | ||
+ | |||
+ | === Default boot.ini file for Android === | ||
+ | <file ini boot.ini> | ||
+ | ODROIDXU-UBOOT-CONFIG | ||
+ | |||
+ | # --- Screen Configuration for HDMI --- # | ||
+ | # --------------------------------------- | ||
+ | # ODROID-VU forced resolution | ||
+ | # --------------------------------------- | ||
+ | # setenv fb_x_res "1280" | ||
+ | # setenv fb_y_res "800" | ||
+ | # setenv hdmi_phy_res "800p60hz" | ||
+ | # --------------------------------------- | ||
+ | # 1920x1080(60Hz) Monitor | ||
+ | # --------------------------------------- | ||
+ | setenv fb_x_res "1920" | ||
+ | setenv fb_y_res "1080" | ||
+ | setenv hdmi_phy_res "1080p60hz" | ||
+ | # --------------------------------------- | ||
+ | # 1920x1080(50Hz) Monitor | ||
+ | # --------------------------------------- | ||
+ | # setenv fb_x_res "1920" | ||
+ | # setenv fb_y_res "1080" | ||
+ | # setenv hdmi_phy_res "1080p50hz" | ||
+ | # --------------------------------------- | ||
+ | # 1280x720(60Hz) monitor | ||
+ | # --------------------------------------- | ||
+ | # setenv fb_x_res "1280" | ||
+ | # setenv fb_y_res "720" | ||
+ | # setenv hdmi_phy_res "720p60hz" | ||
+ | # setenv hdmi_phy_res "720p50hz" | ||
+ | # --------------------------------------- | ||
+ | # 1280x720(50Hz) monitor | ||
+ | # --------------------------------------- | ||
+ | # setenv fb_x_res "1280" | ||
+ | # setenv fb_y_res "720" | ||
+ | # setenv hdmi_phy_res "720p50hz" | ||
+ | # --------------------------------------- | ||
+ | |||
+ | setenv vout "hdmi" | ||
+ | |||
+ | setenv edid "0" | ||
+ | |||
+ | setenv led_blink "1" | ||
+ | |||
+ | setenv bootcmd "movi read kernel 0 40008000;bootz 40008000" | ||
+ | |||
+ | setenv bootargs "fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} vout=${vout} hdmi_phy_res=${hdmi_phy_res} edid=${edid} left=${left} right=${right} upper=${upper} lower=${lower} vsync=${vsync} hsync=${hsync} led_blink=${led_blink}" | ||
+ | boot | ||
+ | |||
+ | </file> | ||
+ | |||
+ | |||
+ | === Default boot.ini file for Linux === | ||
+ | |||
+ | <file ini boot.ini> | ||
+ | ODROIDXU-UBOOT-CONFIG | ||
+ | |||
+ | # U-Boot Parameters | ||
+ | setenv initrd_high "0xffffffff" | ||
+ | setenv fdt_high "0xffffffff" | ||
+ | |||
+ | # Mac address configuration | ||
+ | setenv macaddr "00:1e:06:61:7a:39" | ||
+ | |||
+ | #-------------------------------------------------------------------- | ||
+ | # Basic Ubuntu Setup. Don't touch unless you know what you are doing. | ||
+ | # ------------------------------------------------------------------- | ||
+ | setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro" | ||
+ | |||
+ | # boot commands | ||
+ | setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb; bootz 0x40008000 0x42000000 0x44000000" | ||
+ | |||
+ | # --- Screen Configuration for HDMI --- # | ||
+ | # --------------------------------------- | ||
+ | # Uncomment only ONE line! Leave all commented for automatic selection. | ||
+ | # Uncomment only the setenv line! | ||
+ | # --------------------------------------- | ||
+ | # ODROID-VU forced resolution | ||
+ | # setenv videoconfig "video=HDMI-A-1:1280x800@60" | ||
+ | # ----------------------------------------------- | ||
+ | # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid) | ||
+ | # setenv videoconfig "video=HDMI-A-1:1920x1080@60" | ||
+ | # ----------------------------------------------- | ||
+ | # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid) | ||
+ | setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin" | ||
+ | # ----------------------------------------------- | ||
+ | # 1280x720 (720P) with monitor provided EDID information. (720p-edid) | ||
+ | # setenv videoconfig "video=HDMI-A-1:1280x720@60" | ||
+ | # ----------------------------------------------- | ||
+ | # 1280x720 (720P) without monitor data using generic information (720p-noedid) | ||
+ | # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin" | ||
+ | # ----------------------------------------------- | ||
+ | # 1024x768 without monitor data using generic information | ||
+ | # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin" | ||
+ | |||
+ | # final boot args | ||
+ | setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr}" | ||
+ | # drm.debug=0xff | ||
+ | # Boot the board | ||
+ | boot | ||
+ | |||
+ | </file> | ||
+ | |||
+ | ==== Currently Supported Linux Distributions ==== | ||
+ | * Ubuntu 14.04 [[http://forum.odroid.com/viewtopic.php?f=95&t=5985|Ubuntu 14.04 Forum Thread]] | ||
+ | Note: More distribution support will come with time. | ||
+ | |||
+ | ==== HDMI Support On Linux ==== | ||
+ | |||
+ | HDMI support should work out-of-box for everyone including framebuffer console if you experience any issue please contact us on the [[http://forum.odroid.com|ODROID Forums]] | ||
+ | |||
+ | On the provided Ubuntu image there are several examples on how to configure the HDMI to your specific resolution or even lock to a certain resolution. | ||
+ | You can check the configuration file on /media/boot/boot.ini of the Ubuntu Image | ||
+ | |||
+ | |||
+ | ==== DisplayPort Support on Linux ==== | ||
+ | |||
+ | For displayport configuration please follow this guide [[http://forum.odroid.com/viewtopic.php?f=95&t=5976|Displayport Guide on ODROID Forums]] | ||
+ | |||
+ | ==== ODROID Utility for Linux Upgrade ==== | ||
+ | Note for your own convenience we provide daily builds of Linux kernel that can be easily installed on Supported distros by using a ODROID Utility. | ||
+ | <code> | ||
+ | sudo -s | ||
+ | wget -O /usr/local/bin/odroid-utility.sh https://raw.githubusercontent.com/mdrjr/odroid-utility/master/odroid-utility.sh | ||
+ | chmod +x /usr/local/bin/odroid-utility.sh | ||
+ | odroid-utility.sh | ||
+ | </code> | ||
+ | |||