Skip to content

Instantly share code, notes, and snippets.

Avatar

Leonardo Sandoval lsandov1

View GitHub Profile
View gist:dc09aa67315039f8aa45fc75ab894877
~/tmp$ mkdir spm
~/tmp$ cd spm/
~/tmp/spm$ wget -c -m -A .fd -np -nd https://downloads.trustedfirmware.org/tf-a/spm/
--2020-11-19 10:15:44-- https://downloads.trustedfirmware.org/tf-a/spm/
Resolving downloads.trustedfirmware.org (downloads.trustedfirmware.org)... 65.9.144.102, 65.9.144.9, 65.9.144.80, ...
Connecting to downloads.trustedfirmware.org (downloads.trustedfirmware.org)|65.9.144.102|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2496 (2.4K) [text/html]
Saving to: ‘index.html.tmp’
View diff
diff -u /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-a-build/Dockerfile /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-m-build/Dockerfile
--- /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-a-build/Dockerfile 2020-10-30 11:27:16.014786401 -0600
+++ /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-m-build/Dockerfile 2020-10-30 11:11:52.069777265 -0600
@@ -93,10 +93,14 @@
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+## Latest toolchains, available in $PATH. There can be newer versions of toolchains at
+## upstream projects but these are latest for the docker image
+
View gist:f1f6ffec150e20f158ec81cee1b086b7
- job:
name: tf-a-builder
project-type: freestyle
defaults: global
properties:
- build-discarder:
days-to-keep: 180
num-to-keep: 180
- authorization:
anonymous:
View gist:38504252b5d3b5657aecff0c17b68352
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
-*- mode: compilation; default-directory: "/ext/repos/tf-a-m-static-check/" -*-
Compilation started at Thu Sep 3 11:36:47
make TF-M-CI-SCRIPTS-REPO=/home/lsandov1/repos/tf-m/tf-m-ci-scripts tf-m-coverity
rm -rf /ext/repos/tf-a-m-static-check/workspace
mkdir -p /ext/repos/tf-a-m-static-check/workspace
View gist:036f341a4da447e4a7a850cefbb6688e
$ sudo swupd bundle-list | grep dev-utils
dev-utils
dev-utils-dev
$ swupd bundle-list | grep dev-utils
Error: Failed to retrieve 30880 MoM manifest
Warning: Could not determine which installed bundles are experimental
dev-utils
dev-utils-dev
View gist:e2140d21569b3dd5a46a1d1fc99286a0
Patchtest
From Intelpedia
Patchtest
Patchtest is community project which aims to do basic checks for community patches that get into the Openembedded-Core mailing list. Patchtest gets patches from Patchwork and execute the suite defined on Patchtest-OE, the latter containing checks that apply to OpenEmbedded-Core project.
Current server running patchtest (patchtest.yocto.io) through a cronjob can be reached through this ssh config
Host yoctoiojump
View gist:2f72c841cc0e1aa739c311c06fda2bdc
PPLIMAGE='set terminal png fontscale 1 size 1280,720'
function bsplots() {
local STAT=$1
OUT="set output '$STAT.task-recipe.png'"
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -n 20 > input.gpl
gnuplot -e "$GPLIMAGE;$OUT" input.gpl
OUT="set output '$STAT.task.png'"
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -S > input.gpl
gnuplot -e "$GPLIMAGE;$OUT" input.gpl
View gist:5259c09b3b484482d26a
== Patching in the YP
. <<anchor-git-basics,Basics>> Git commands
. Table of YP's <<anchor-yp-repositories, Repositories>>
. Patch's <<anchor-patch-creation,creation>>
. Patch's <<anchor-patch-submission,submission>>
. <<anchor-post-patch, Post-patch>> submission
. <<anchor-good-os-practices,Good OpenSource practices>>
. <<anchor-scripts, Scritps>>
. <<anchor-links, Links>>
View gist:ecb1dd5d13c36847c83e
== Patching in the YP
. <<anchor-git-basics,Basics>> Git commands
. Table of YP's <<anchor-yp-repositories, Repositories>>
. Patch's <<anchor-patch-creation,creation>>
. Patch's <<anchor-patch-submission,submission>>
. <<anchor-post-patch, Post-patch>> submission
. <<anchor-good-os-practices,Good OpenSource practices>>
. <<anchor-scripts, Scritps>>
. <<anchor-links, Links>>
You can’t perform that action at this time.