Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vesta
u-boot-2015.04
Commits
39086861
Commit
39086861
authored
Jan 17, 2017
by
Mick Michalski
Browse files
Changed environment variables for booting into different partitions
parent
84adc370
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/configs/mx6ul_vesta_v2.h
View file @
39086861
...
...
@@ -269,11 +269,16 @@
"fi;\0" \
"spiboot=run uboot_scr; run spi_load; run spi_args; bootz ${loadaddr} - ${fdt_addr};\0" \
"spi_args=setenv bootargs console=${console},${baudrate} root=${mmcroot};\0" \
"spi_load=sf read ${loadaddr}
0x210000
0x800000; sf read ${fdt_addr}
0x200000
0x10000;\0" \
"spi_load=sf read ${loadaddr}
${kernel_addr}
0x800000; sf read ${fdt_addr}
${kernel_fs}
0x10000;\0" \
"uboot_scr=sf probe; sf read ${loadaddr} 0x100000 0x801000; source;\0" \
"boot_chk=sf probe; sf read ${loadaddr} 0x100000 2; run boot_chk_kernel; run boot_chk_fs\0" \
"boot_chk_fs=if itest.b *(${loadaddr}+1) -eq 31; then setenv mmcroot /dev/mmcblk1p3 rootwait rw; fi\0" \
"boot_chk_kernel=if itest.b *${loadaddr} -eq 31; then setenv kernel_fs 0xa00000; setenv kernel_addr 0xa10000; fi\0" \
"kernel_addr=0x210000\0" \
"kernel_fs=0x200000\0" \
#define CONFIG_BOOTCOMMAND \
"run spiboot;"
"run
boot_chk; run
spiboot;"
#endif
/* Miscellaneous configurable options */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment