]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: adding SD boot mode
authorJohn Linn <john.linn@xilinx.com>
Tue, 13 Dec 2011 20:58:04 +0000 (12:58 -0800)
committerJohn Linn <john.linn@xilinx.com>
Tue, 13 Dec 2011 20:58:04 +0000 (12:58 -0800)
SD boot was not supported in the automatic boot mode, now
it is. Even though this loads a ramdisk you can just ignore
the ramdisk if the root file system is on SD in an EXT2
file system.

include/configs/xpele.h

index 837b949f5e90f74c54ecc86485e1fc1d24193e4d..d372925262afa9ef94dc22cd5d890c97a96bbc26 100644 (file)
                            cp 0xFC800000 0x800000 ${ramdisk_size};\
                        ping 10.10.70.101;\
                            go 0x8000\0" \
+       "sdboot=echo Copying Linux from SD to RAM...; \
+                       mmcinfo; \
+                       fatload mmc 0 0x8000 zImage; \
+                       fatload mmc 0 0x1000000 devicetree.dtb; \
+                       fatload mmc 0 0x800000 ramdisk8M.image.gz; \
+                       ping 10.10.70.101;\
+                           go 0x8000\0" \
        "nandboot=echo Copying Linux from NAND flash to RAM...; \
                            nand read 0x8000 0x200000 ${nand_kernel_size}; \
                            nand read 0x1000000 0x700000 0x20000; \