diff --git a/petalinux/config b/petalinux/config index 930349b13b20b957b10f04326f7acfbc2d7387a1..fb939dc6222f5925376b7b69f6028a736aa38421 100644 --- a/petalinux/config +++ b/petalinux/config @@ -146,7 +146,7 @@ CONFIG_SUBSYSTEM_EXTRA_DT_FILES="" # CONFIG_SUBSYSTEM_BOOTARGS_AUTO=y CONFIG_SUBSYSTEM_BOOTARGS_EARLYPRINTK=y -CONFIG_SUBSYSTEM_BOOTARGS_GENERATED=" earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/ram0 rw" +CONFIG_SUBSYSTEM_BOOTARGS_GENERATED=" earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait" CONFIG_SUBSYSTEM_DEVICETREE_COMPILER_FLAGS="-@" # CONFIG_SUBSYSTEM_DTB_OVERLAY is not set # CONFIG_SUBSYSTEM_REMOVE_PL_DTB is not set @@ -278,18 +278,13 @@ CONFIG_YOCTO_PARALLEL_MAKE="" # # Add pre-mirror url # -CONFIG_PRE_MIRROR_URL="http://petalinux.xilinx.com/sswreleases/rel-v${PETALINUX_MAJOR_VER}/downloads" +CONFIG_PRE_MIRROR_URL="file:///tools/Xilinx/PetaLinux/downloads" # # Local sstate feeds settings # -CONFIG_YOCTO_LOCAL_SSTATE_FEEDS_URL="" -CONFIG_YOCTO_NETWORK_SSTATE_FEEDS=y - -# -# Network sstate feeds URL -# -CONFIG_YOCTO_NETWORK_SSTATE_FEEDS_URL="http://petalinux.xilinx.com/sswreleases/rel-v${PETALINUX_MAJOR_VER}/aarch64/sstate-cache" +CONFIG_YOCTO_LOCAL_SSTATE_FEEDS_URL="/tools/Xilinx/PetaLinux/sstate_aarch64_2021.2/aarch64" +# CONFIG_YOCTO_NETWORK_SSTATE_FEEDS is not set # CONFIG_YOCTO_BB_NO_NETWORK is not set # CONFIG_YOCTO_BUILDTOOLS_EXTENDED is not set diff --git a/scripts/create_petalinux_project.sh b/scripts/create_petalinux_project.sh index f90ce41f4c40f280ce5d76965cfdadf60519e0fc..e9311e487e3129fc9de3492ae95feffa9fdc5e86 100755 --- a/scripts/create_petalinux_project.sh +++ b/scripts/create_petalinux_project.sh @@ -32,7 +32,7 @@ echo "H128B717: device tree copied" # Add aarch64 sstate-cache and Setting download mirror # 1) run petalinux-config -> Yocto Settings -> Local sstate feeds settings -> local sstate feeds url # Ex: //aarch64 for ZynqMP projects -# (Ex: /tools/Xilinx/PetaLinux/sstate_aarch64_2020.2/aarch64) +# (Ex: /tools/Xilinx/PetaLinux/sstate_aarch64_2021.2/aarch64) # # 2) run petalinux-config -> Yocto Settings -> Add pre-mirror url # file:///downloads for all projects