diff --git a/.gitmodules b/.gitmodules index a8484c62..88c20074 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,7 +8,7 @@ branch = master [submodule "buildroot"] path = buildroot - url = git://git.buildroot.net/buildroot + url = https://github.com/buildroot/buildroot.git [submodule "vitetris"] path = vitetris url = https://github.com/pulp-platform/vitetris.git diff --git a/mmc_prioritize.patch b/mmc_prioritize.patch new file mode 100644 index 00000000..3f37d072 --- /dev/null +++ b/mmc_prioritize.patch @@ -0,0 +1,15 @@ +diff --git a/configs/pulp-platform_cheshire_defconfig b/configs/pulp-platform_cheshire_defconfig +index 313937b2ea..1ccced06c3 100644 +--- a/configs/pulp-platform_cheshire_defconfig ++++ b/configs/pulp-platform_cheshire_defconfig +@@ -10,8 +10,8 @@ CONFIG_BOOTDELAY=5 + CONFIG_HUSH_PARSER=y + CONFIG_USE_BOOTCOMMAND=y + # Boot with mmc if mmc probes normally, else boot with spi (get CS from "boot-with" in device tree) +-# CONFIG_BOOTCOMMAND="fdt addr ${fdtcontroladdr}; if mmc info; then mmc read 90000000 2000 5000; else fdt get value boot-with /soc/spi boot-with; if sf probe 0:${boot-with}; then sf read 90000000 400000 800000; fi; fi; bootm 90000000 - ${fdtcontroladdr};" +-CONFIG_BOOTCOMMAND="sf probe 0:1; sf read 90000000 400000 2000000; bootm 90000000 - ${fdtcontroladdr};" ++CONFIG_BOOTCOMMAND="fdt addr ${fdtcontroladdr}; if mmc info; then mmc read 90000000 2000 5000; else fdt get value boot-with /soc/spi boot-with; if sf probe 0:${boot-with}; then sf read 90000000 400000 800000; fi; fi; bootm 90000000 - ${fdtcontroladdr};" ++#CONFIG_BOOTCOMMAND="sf probe 0:1; sf read 90000000 400000 2000000; bootm 90000000 - ${fdtcontroladdr};" + CONFIG_DISPLAY_CPUINFO=y + CONFIG_SPL_SPI_FLASH_MTD=y + CONFIG_CMD_GPT=y