baudrate=115200
boardname=ODROIDC
bootcmd=run snappy_boot
bootdelay=1
bootstart=0
chipname=8726m8
console=ttyS0,115200n8
kernel_addr=0x21000000
initrd_addr=0x22000000
fdt_addr=0x21800000
fb_addr=0x7900000
cvbsmode=576cvbs
hdmimode=720p
vout=hdmi
vdaccfg=0xa000
m_bpp=32
mmcdev=0
mmcpart=1
kernel_file=uImage
initrd_file=uInitrd
fdt_file=meson8b_odroidc.dtb
loadfiles=run loadkernel; run loadinitrd; run loadfdt
loadkernel=fatload mmc ${mmcdev}:${mmcpart} ${kernel_addr} ${snappy_ab}/${kernel_file}
loadinitrd=fatload mmc ${mmcdev}:${mmcpart} ${initrd_addr} ${snappy_ab}/${initrd_file}; setenv initrd_size ${filesize}
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${snappy_ab}/dtbs/${fdt_file}
mmcargs=setenv bootargs console=${console} console=tty0 no_console_suspend vdaccfg=${vdaccfg} logo=osd1,loaded,${fb_addr},${hdmimode},full dmfc=3 cvbsmode=${cvbsmode} hdmimode=${hdmimode} m_bpp=${m_bpp} vout=${vout} ${disableuhs} root=${mmcroot}
snappy_ab=a
snappy_boot=if test "${snappy_mode}" = "try"; then if test ${snappy_trial_boot} = 1; then if test "${snappy_ab}" = "a"; then setenv snappy_ab "b"; else setenv snappy_ab "a"; fi; else setenv snappy_trial_boot 1; saveenv; fi; fi; run loadfiles; setenv mmcroot /dev/disk/by-label/system-${snappy_ab} ${snappy_cmdline}; run mmcargs; bootm ${kernel_addr} ${initrd_addr}:${initrd_size} ${fdt_addr}
snappy_cmdline=init=/lib/systemd/systemd ro panic=-1 fixrtc
snappy_mode=regular
snappy_trial_boot=0
