# With u-boot v2014.07 and the corresponding patches from Robert Nelson, each partition # of the SD card will be searched for an environment file under /boot/uEnv.txt. If an # uEnv.txt file is found, its contents are imported. # The name of a dtb file may be set with the variable 'dtb' within the uEnv.txt file. # # Furthermore, if 'uname_r' is specified, a compressed kernel binary (zImage) is # assumed to be in /boot/vmlinuz-{uname_r}, and 'run uname_boot' is executed, at the # end of which 'run mmcargs' is executed. # # Therefore, if you want to completely override the boot process, you would need # to override 'uname_boot' within this file. # our zImage is named /boot/vmlinuz-3.16 on the SD card. uname_r=3.16 # the following dtb file will be searched for in # /boot/dtbs/3.16/imx6q-wandboard.dtb and # /boot/imx6q-wandboard.dtb amongst other locations dtb=imx6q-wandboard.dtb # the following variables may be changed for later use in mmcargs (defined below) optargs=androidboot.console=ttymxc0 androidboot.hardware=wandboard-quad cmdline=init=/init # the default mmcargs uses root={mmcroot}, and mmcroot is overridden after importing from # uEnv.txt. Since we need the parameter 'rw' for the root argument, we will override mmcargs mmcargs=setenv bootargs console=${console} ${optargs} root=/dev/mmcblk0p1 rw rootfstype=ext4 ${cmdline}