Patching in the YP
-
Basics Git commands
-
Table of YP’s Repositories
-
Patch’s creation
-
Patch’s submission
-
Post-patch submission
~/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’ |
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 | |
+ |
- job: | |
name: tf-a-builder | |
project-type: freestyle | |
defaults: global | |
properties: | |
- build-discarder: | |
days-to-keep: 180 | |
num-to-keep: 180 | |
- authorization: | |
anonymous: |
;; 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 |
$ 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 |
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 |
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 |
== 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>> |
Basics Git commands
Table of YP’s Repositories
Patch’s creation
Patch’s submission
Post-patch submission
== 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>> |