python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / board / hardkernel / odroidc2 / boot.ini
blob2fdffa3049ead38f2b75d1171222d9f848435529
1 ODROIDC2-UBOOT-CONFIG
3 ########################################################################
4 # Changes made to this are overwritten every time there's a new upgrade
5 # To make your changes permanent change it on
6 # boot.ini.default
7 # After changing it on boot.ini.default run the bootini command to
8 # rewrite this file with your personal permanent settings.
9 # Documentation: http://odroid.com/dokuwiki/doku.php?id=en:c2_persistent_bootini
10 ########################################################################
12 # Possible screen resolutions
13 # Uncomment only a single Line! The line with setenv written.
14 # At least one mode must be selected.
16 # Custom modeline!
17 # To use custom modeline you need to disable all the below resolutions
18 # and setup your own!
19 # For more information check our wiki:
20 # http://odroid.com/dokuwiki/doku.php?id=en:c2_hdmi_autosetting
21 # Example below:
22 # setenv m "custombuilt"
23 # setenv modeline "1920,1200,154000,74040,60,1920,1968,2000,2080,1200,1202,1208,1235,1,0,1"
25 # 480 Lines (720x480)
26 # setenv m "480i60hz" # Interlaced 60Hz
27 # setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
28 # setenv m "480p60hz" # 480 Progressive 60Hz
29 # setenv m "480p_rpt" # 480 Progressive for Rear Projection Televisions 60Hz
31 # 576 Lines (720x576)
32 # setenv m "576i50hz" # Interlaced 50Hz
33 # setenv m "576i_rpt" # Interlaced for Rear Projection Televisions 50Hz
34 # setenv m "576p50hz" # Progressive 50Hz
35 # setenv m "576p_rpt" # Progressive for Rear Projection Televisions 50Hz
37 # 720 Lines (1280x720)
38 # setenv m "720p50hz" # 50Hz
39 # setenv m "720p60hz" # 60Hz
41 # 1080 Lines (1920x1080)
42 # setenv m "1080i60hz" # Interlaced 60Hz
43 setenv m "1080p60hz" # Progressive 60Hz
44 # setenv m "1080i50hz" # Interlaced 50Hz
45 # setenv m "1080p50hz" # Progressive 50Hz
46 # setenv m "1080p24hz" # Progressive 24Hz
48 # 4K (3840x2160)
49 # setenv m "2160p30hz" # Progressive 30Hz
50 # setenv m "2160p25hz" # Progressive 25Hz
51 # setenv m "2160p24hz" # Progressive 24Hz
52 # setenv m "smpte24hz" # Progressive 24Hz SMPTE
53 # setenv m "2160p50hz" # Progressive 50Hz
54 # setenv m "2160p60hz" # Progressive 60Hz
55 # setenv m "2160p50hz420" # Progressive 50Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
56 # setenv m "2160p60hz420" # Progressive 60Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
58 ### VESA modes ###
59 # setenv m "640x480p60hz"
60 # setenv m "800x480p60hz"
61 # setenv m "480x800p60hz"
62 # setenv m "800x600p60hz"
63 # setenv m "1024x600p60hz"
64 # setenv m "1024x768p60hz"
65 # setenv m "1280x800p60hz"
66 # setenv m "1280x1024p60hz"
67 # setenv m "1360x768p60hz"
68 # setenv m "1440x900p60hz"
69 # setenv m "1600x900p60hz"
70 # setenv m "1680x1050p60hz"
71 # setenv m "1600x1200p60hz"
72 # setenv m "1920x1200p60hz"
73 # setenv m "2560x1080p60hz"
74 # setenv m "2560x1440p60hz"
75 # setenv m "2560x1600p60hz"
76 # setenv m "3440x1440p60hz"
78 # HDMI BPP Mode
79 setenv m_bpp "32"
80 # setenv m_bpp "24"
81 # setenv m_bpp "16"
83 # HDMI DVI/VGA modes
84 # By default its set to HDMI, if needed change below.
85 # Uncomment only a single Line.
86 # setenv vout "dvi"
87 # setenv vout "vga"
89 # HDMI HotPlug Detection control
90 # Allows you to force HDMI thinking that the cable is connected.
91 # true = HDMI will believe that cable is always connected
92 # false = will let board/monitor negotiate the connection status
93 setenv hpd "true"
94 # setenv hpd "false"
96 # Monitor output
97 # Controls if HDMI PHY should output anything to the monitor
98 setenv monitor_onoff "false" # true or false
100 # Server Mode (aka. No Graphics)
101 # Setting nographics to 1 will disable all video subsystem
102 # This mode is ideal of server type usage. (Saves ~300Mb of RAM)
103 setenv nographics "0"
105 # Meson Timer
106 # 1 - Meson Timer
107 # 0 - Arch Timer
108 # Using meson_timer improves the video playback however it breaks KVM (virtualization).
109 # Using arch timer allows KVM/Virtualization to work however you'll experience poor video
110 setenv mesontimer "1"
112 # UHS (Ultra High Speed) MicroSD mode enable/disable
113 setenv disableuhs "false"
115 # MicroSD Card Detection enable/disable
116 # Force the MMC controlled to believe that a card is connected.
117 setenv mmc_removable "true"
119 # USB Multi WebCam tweak
120 # Only enable this if you use it.
121 setenv usbmulticam "false"
123 # Default Console Device Setting
124 setenv condev "console=ttyS0,115200n8 console=tty0" # on both
126 # CPU Frequency / Cores control
127 ###########################################
128 ### WARNING!!! WARNING!!! WARNING!!!
129 # Before changing anything here please read the wiki entry:
130 # http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq
132 # MAX CPU's
133 # setenv maxcpus "1"
134 # setenv maxcpus "2"
135 # setenv maxcpus "3"
136 setenv maxcpus "4"
138 # MAX Frequency
139 # setenv max_freq "2016" # 2.016GHz
140 # setenv max_freq "1944" # 1.944GHz
141 # setenv max_freq "1944" # 1.944GHz
142 # setenv max_freq "1920" # 1.920GHz
143 # setenv max_freq "1896" # 1.896GHz
144 # setenv max_freq "1752" # 1.752GHz
145 # setenv max_freq "1680" # 1.680GHz
146 # setenv max_freq "1656" # 1.656GHz
147 setenv max_freq "1536" # 1.536GHz
151 ###########################################
153 # Boot Arguments
154 if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
156 setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam}"
158 # Booting
160 setenv loadaddr "0x11000000"
161 setenv dtb_loadaddr "0x1000000"
162 setenv initrd_loadaddr "0x13000000"
164 fatload mmc 0:1 ${loadaddr} Image
165 fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
166 fdt addr ${dtb_loadaddr}
168 if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu@0/timer; fdt rm /cpus/cpu@1/timer; fdt rm /cpus/cpu@2/timer; fdt rm /cpus/cpu@3/timer; fi
169 if test "${mesontimer}" = "1"; then fdt rm /timer; fi
171 if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi
172 if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
173 if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
174 if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi
176 booti ${loadaddr} - ${dtb_loadaddr}