From 0dbc54aed1542ff6e067b452394f6e309638de52 Mon Sep 17 00:00:00 2001 From: mojtaba Date: Fri, 4 Oct 2024 12:37:47 +0200 Subject: [PATCH 1/3] Add support for VCU118 to cheshire-ara-os --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From c8a97ce20347fbc684c0248dcd04a382b95e5ccd Mon Sep 17 00:00:00 2001 From: mojtaba Date: Fri, 4 Oct 2024 15:14:49 +0200 Subject: [PATCH 2/3] Add patch for U-Boot configuration to support MMC --- mmc_prioterize.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mmc_prioterize.patch diff --git a/mmc_prioterize.patch b/mmc_prioterize.patch new file mode 100644 index 00000000..3f37d072 --- /dev/null +++ b/mmc_prioterize.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 From 76d6101e465bcc6a7ce75b0fded39ec0f133dc96 Mon Sep 17 00:00:00 2001 From: mojtaba Date: Fri, 4 Oct 2024 15:18:33 +0200 Subject: [PATCH 3/3] Fix typo in patch file name --- mmc_prioterize.patch => mmc_prioritize.patch | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename mmc_prioterize.patch => mmc_prioritize.patch (100%) diff --git a/mmc_prioterize.patch b/mmc_prioritize.patch similarity index 100% rename from mmc_prioterize.patch rename to mmc_prioritize.patch