forked from MichaIng/DietPi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot_c2.ini
More file actions
36 lines (25 loc) · 1.06 KB
/
boot_c2.ini
File metadata and controls
36 lines (25 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#Modifcations to /boot/* files, will not be saved when powered on.
#Please ensure you edit from the DietPi-RamDisk location /DietPi/*
ODROIDC2-UBOOT-CONFIG
#Resolution + Refresh rate
setenv m "720p60hz"
# HDMI BPP Mode | 24bit to ensure Kodi and Xserver both work, whilst we wait for a fix from Odroid.
setenv m_bpp "24"
# HDMI DVI/VGA modes
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.
setenv vout "dvi"
# setenv vout "vga"
# Default Console Device Setting
setenv condev "console=ttyS0"
###########################################
# Boot Arguments
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0"
# Booting
setenv loadaddr "0x11000000"
setenv dtb_loadaddr "0x1000000"
setenv initrd_loadaddr "0x13000000"
fatload mmc 0:1 ${initrd_loadaddr} uInitrd
fatload mmc 0:1 ${loadaddr} Image
fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}