mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Put boot script name and root device into variables
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
ODROIDC-UBOOT-CONFIG
|
||||
|
||||
setenv rootdev "/dev/mmcblk0p2"
|
||||
|
||||
# Possible screen resolutions
|
||||
# Uncomment only a single Line! The line with setenv written.
|
||||
# At least one mode must be selected.
|
||||
@@ -78,7 +80,7 @@ if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
|
||||
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
|
||||
|
||||
# Boot Arguments
|
||||
setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} loglevel=1 no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac}"
|
||||
setenv bootargs "root=${rootdev} rootwait ro ${condev} loglevel=1 no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} ${extraargs}"
|
||||
|
||||
# Booting
|
||||
fatload mmc 0:1 0x21000000 uImage
|
||||
|
||||
Reference in New Issue
Block a user