Instantly share code, notes, and snippets.

@ajvpot /bootopts.h Secret
Last active Jun 17, 2016

Embed
What would you like to do?
/* Environment information */
#define CONFIG_BOOTDELAY 0
#define CONFIG_BOOTFILE uImage
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
"kernaddr=0x280000\0" \
"usbtty=cdc_acm\0" \
"mmcdev=0:1\0" \
"console=ttyO0,115200n8\0" \
"bootdevice=nand\0" \
"config_extra=mem=200M@0x80000000 " \
"mpurate=1000 quiet " \
"--default-console none\0" \
"kernel_file=/boot/uImage\0" \
"mmc_part=1:6\0" \
"mount_type=ro\0" \
"root=/dev/mmcblk0p6\0" \
"boottype=mmcboot\0" \
"mmcargs=setenv bootargs console=${console} " \
"root=${root} ${mount_type} " \
"rootfstype=ext3 rootwait " \
"${config_extra}\0" \
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"ext4load mmc ${mmc_part} ${loadaddr} ${kernel_file};" \
"bootm ${loadaddr}\0" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment