summaryrefslogtreecommitdiffstats
path: root/board/hardkernel/odroidxu4/boot.ini
diff options
context:
space:
mode:
Diffstat (limited to 'board/hardkernel/odroidxu4/boot.ini')
-rw-r--r--board/hardkernel/odroidxu4/boot.ini38
1 files changed, 38 insertions, 0 deletions
diff --git a/board/hardkernel/odroidxu4/boot.ini b/board/hardkernel/odroidxu4/boot.ini
new file mode 100644
index 0000000000..87ac7ac135
--- /dev/null
+++ b/board/hardkernel/odroidxu4/boot.ini
@@ -0,0 +1,38 @@
+ODROIDXU-UBOOT-CONFIG
+
+# U-Boot Parameters
+setenv initrd_high "0xffffffff"
+setenv fdt_high "0xffffffff"
+
+setenv macaddr "00:1e:06:61:7a:39"
+setenv bootrootfs "console=tty1 root=/dev/mmcblk1p2 rootwait rw fsck.repair=yes net.ifnames=0"
+setenv bootcmd "load mmc 0:1 0x40008000 zImage; load mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; bootz 0x40008000 - 0x44000000"
+setenv vout "hdmi"
+setenv governor "performance"
+setenv HPD "true"
+
+# TMDS data amplitude control.
+setenv hdmi_tx_amp_lvl "31"
+
+# TMDS data amplitude fine control for each channel.
+setenv hdmi_tx_lvl_ch0 "3"
+setenv hdmi_tx_lvl_ch1 "3"
+setenv hdmi_tx_lvl_ch2 "3"
+
+# TMDS data pre-emphasis level control.
+setenv hdmi_tx_emp_lvl "6"
+
+# TMDS clock amplitude control.
+setenv hdmi_clk_amp_lvl "31"
+
+# TMDS data source termination resistor control.
+setenv hdmi_tx_res "0"
+
+setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"
+
+# final boot args
+setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}"
+
+# Boot the board
+boot
+
OpenPOWER on IntegriCloud