Commit e7d5dd49 authored by David Mondou's avatar David Mondou
Browse files

Fixed failed boot from rootfs

parent b096e513
......@@ -309,8 +309,8 @@
"boot_count_good=mmc read $loadaddr 0x7ff 1; run boot_chk_kernel; run boot_chk_fs\0" \
"boot_chk_fs=if itest.b *$loadaddr_1 -eq 31; then setenv rootfs ${alt_rootfs}; fi\0" \
"boot_chk_kernel=if itest.b *$loadaddr -eq 31; then setenv mmcpart ${alt_kernel_location}; fi;\0" \
"boot_chk_fs_prev=if itest.b *$loadaddr_2 -eq 31; then setenv rootfs ${alt_rootfs}; fi\0" \
"boot_chk_kernel_prev=if itest.b *loadaddr_3 -eq 31; then setenv mmcpart ${alt_kernel_location}; fi;"
"boot_chk_fs_prev=if itest.b *$loadaddr_3 -eq 31; then setenv rootfs ${alt_rootfs}; fi\0" \
"boot_chk_kernel_prev=if itest.b *loadaddr_2 -eq 31; then setenv mmcpart ${alt_kernel_location}; fi;"
#else
#define CONFIG_BOOTCOMMAND \
"run boot_counter; run spiboot;\0" \
......
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