File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 2121 - cpu : hs4x
2222 toolchain : arc
2323 defconfig : haps_hs_defconfig
24+ - cpu : hs4x-pae40
25+ toolchain : arc
26+ defconfig : haps_hs_defconfig
2427 - cpu : hs5x
2528 toolchain : arc32
2629 defconfig : haps_hs5x_defconfig
6972 export CROSS_COMPILE=${{ github.workspace }}/toolchain/bin/${{ matrix.targets.toolchain }}-linux-gnu-
7073
7174 make ${{ matrix.targets.defconfig }}
72- ./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ${{ github.workspace }}/arc-kernel-ci/cpio/rootfs.cpio.${{ matrix.targets.cpu }}
75+
76+ case "${{ matrix.targets.cpu }}" in
77+ hs4x*)
78+ rootfs_path="${{ github.workspace }}/arc-kernel-ci/cpio/rootfs.cpio.hs4x"
79+ ;;
80+ hs5x*)
81+ rootfs_path="${{ github.workspace }}/arc-kernel-ci/cpio/rootfs.cpio.hs5x"
82+ ;;
83+ hs6x*)
84+ rootfs_path="${{ github.workspace }}/arc-kernel-ci/cpio/rootfs.cpio.hs6x"
85+ ;;
86+ *)
87+ echo "Unable to find rootfs for '${{ matrix.targets.cpu }}'" >&2
88+ exit 1
89+ ;;
90+ esac
91+
92+ ./scripts/config --set-str CONFIG_INITRAMFS_SOURCE "$rootfs_path"
93+
94+ if [[ "${{ matrix.targets.cpu }}" == "hs4x-pae40" ]]; then
95+ ./scripts/config --enable CONFIG_ARC_HAS_PAE40
96+ fi
7397
7498 if [[ "${{ matrix.targets.cpu }}" =~ ^(hs5x|hs6x)$ ]]; then
7599 image_name="loader"
95119 runs-on : nsim
96120 strategy :
97121 matrix :
98- targets : [hs4x, hs5x, hs6x]
122+ targets : [hs4x, hs4x-pae40, hs5x, hs6x]
99123 fail-fast : false
100124
101125 steps :
You can’t perform that action at this time.
0 commit comments