File tree Expand file tree Collapse file tree 10 files changed +61
-12
lines changed
.github/workflows/yocto-builder
overlays/minimal/all/usr/local/bin Expand file tree Collapse file tree 10 files changed +61
-12
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ cat "$BUILD_DIR/conf/local.conf"
3939
4040env
4141
42- bitbake gemstone-boot-files
42+ bitbake gemstone-image-rd
4343IMG_DEPLOY_DIR=$( bitbake-getvar --value -r " $IMAGE " DEPLOY_DIR_IMAGE)
4444DEB_DEPLOY_DIR=$( bitbake-getvar --value -r " $IMAGE " DEPLOY_DIR_DEB)
4545
Original file line number Diff line number Diff line change @@ -260,6 +260,13 @@ actions:
260260 script : scripts/all/install-astral-uv.sh
261261
262262{{ if eq $machine "beagley-ai" }}
263+
264+ {{ if eq $ci "false" }}
265+ - action : run
266+ chroot : true
267+ script : scripts/beagley-ai/install-bootfiles.sh {{ $workdir }} $ROOTDIR
268+ {{ end }}
269+
263270 - action : run
264271 chroot : true
265272 script : scripts/beagley-ai/setup-bootfiles.sh
@@ -270,6 +277,13 @@ actions:
270277{{ end }}
271278
272279{{ if eq $machine "t3-gem-o1" }}
280+
281+ {{ if eq $ci "false" }}
282+ - action : run
283+ chroot : true
284+ script : scripts/t3-gem-o1/install-bootfiles.sh {{ $workdir }} $ROOTDIR
285+ {{ end }}
286+
273287 - action : run
274288 chroot : true
275289 script : scripts/t3-gem-o1/setup-bootfiles.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -euo pipefail
4+
5+ WORKDIR=" $1 "
6+ ROOTDIR=" $2 "
7+
8+ DIR_IMGS=" $WORKDIR /build/beagley-ai/deploy-ti/images/beagley-ai"
9+
10+ mkdir -p " $ROOTDIR /boot/overlays"
11+ cp " $DIR_IMGS /tiboot3.bin" " $ROOTDIR /boot"
12+ cp " $DIR_IMGS /k3-am67a-beagley-ai.dtb" " $ROOTDIR /boot/"
13+ cp " $DIR_IMGS /gemstone-image-rd-beagley-ai.cpio.gz" " $ROOTDIR /boot/"
14+ find " $DIR_IMGS " -name ' *.dtbo' -type f -exec cp {} " $ROOTDIR /boot/overlays" \;
Original file line number Diff line number Diff line change 1818
1919apt-get update -y
2020apt-get install -y \
21- gemstone-boot-files \
22- kernel-image-image \
2321 kernel-module-at24 \
2422 kernel-module-bluetooth \
2523 kernel-module-br-netfilter \
@@ -100,5 +98,11 @@ apt-get install -y \
10098 kernel-module-xt-conntrack \
10199 kernel-module-xt-masquerade \
102100 kernel-module-xt-nat \
103- ti-img-rogue-driver \
104- u-boot
101+ ti-img-rogue-driver
102+
103+ if [ " $CI " = " true" ]; then
104+ apt-get install -y \
105+ gem-beagley-ai-bsp \
106+ kernel-image-image \
107+ u-boot
108+ fi
Original file line number Diff line number Diff line change 2525 " ms-python.vscode-pylance"
2626 " ms-vscode.hexeditor"
2727 " spywhere.guides"
28- " task.vscode-task"
2928)
3029
3130chown -R gemstone:gemstone /home/gemstone
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -euo pipefail
4+
5+ WORKDIR=" $1 "
6+ ROOTDIR=" $2 "
7+
8+ DIR_IMGS=" $WORKDIR /build/t3-gem-o1/deploy-ti/images/t3-gem-o1"
9+
10+ mkdir -p " $ROOTDIR /boot/overlays"
11+ cp " $DIR_IMGS /tiboot3.bin" " $ROOTDIR /boot"
12+ cp " $DIR_IMGS /k3-am67a-t3-gem-o1.dtb" " $ROOTDIR /boot/"
13+ cp " $DIR_IMGS /gemstone-image-rd-t3-gem-o1.cpio.gz" " $ROOTDIR /boot/"
14+ find " $DIR_IMGS " -name ' *.dtbo' -type f -exec cp {} " $ROOTDIR /boot/overlays" \;
Original file line number Diff line number Diff line change 1818
1919apt-get update -y
2020apt-get install -y \
21- gemstone-boot-files \
22- kernel-image-image \
2321 kernel-module-at24 \
2422 kernel-module-bluetooth \
2523 kernel-module-br-netfilter \
@@ -108,5 +106,11 @@ apt-get install -y \
108106 kernel-module-xt-conntrack \
109107 kernel-module-xt-masquerade \
110108 kernel-module-xt-nat \
111- ti-img-rogue-driver \
112- u-boot
109+ ti-img-rogue-driver
110+
111+ if [ " $CI " = " true" ]; then
112+ apt-get install -y \
113+ gem-t3-gem-o1-bsp \
114+ kernel-image-image \
115+ u-boot
116+ fi
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ repositories:
3333 yocto/meta-gemstone :
3434 type : git
3535 url : https://github.com/t3gemstone/meta-gemstone.git
36- version : 001b4e1c914e2bf8ef6ccdb18ba1acb7e8e531eb
36+ version : 93976e7f8b7cafd50f2354895f1723bb6896bdd8
3737
3838 src/ti-img-rogue-umlibs :
3939 type : git
Original file line number Diff line number Diff line change 44version : ' 3'
55
66vars :
7- TARGET : gemstone-boot-files
7+ TARGET : gemstone-image-rd
88 TEMPLATECONF : " {{ .WORKDIR }}/yocto/meta-gemstone/conf/templates/{{ .MACHINE }}/"
99 OE_INIT_CMD : TEMPLATECONF={{ .TEMPLATECONF }} source {{ .WORKDIR }}/yocto/poky/oe-init-build-env {{ .YOCTO_BUILD_DIR }} && cd {{ .WORKDIR }}
1010 DEPLOY_DIR : " {{ .WORKDIR }}/build/tmp-musl/deploy/images/{{ .MACHINE }}"
You can’t perform that action at this time.
0 commit comments