Commit 78e792c9 authored by Angus Ainslie's avatar Angus Ainslie
Browse files

librem5: Add some u-boot env to make kernel debugging easier

Add some commands to the mfgtool env to make it easier to run
a different kernel from the u-boot prompt.
parent 62ef060d
......@@ -152,6 +152,14 @@
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffff\0" \
"bootcmd_mfg=run mfgtool_args;booti ${loadaddr} ${initrd_addr} ${fdt_addr};\0" \
"image=Image\0" \
"fdt_file=dtb\0" \
"debug_args=setenv bootargs console=${console},${baudrate} " \
"earlycon=ec_imx6q,0x30860000,115200 " \
"root=/dev/mmcblk0p2 rootwait verbose\0" \
"bootcmd_debug=run debug_args; ext2load mmc 0 ${loadaddr} ${image};" \
"ext2load mmc 0 ${fdt_addr_r} ${fdt_file}; " \
"booti ${loadaddr} - ${fdt_addr_r};\0"
/* Initial environment variables */
#if defined(CONFIG_NAND_BOOT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment