Skip to content

Instantly share code, notes, and snippets.

View lsandov1's full-sized avatar

Leonardo Sandoval lsandov1

  • Red Hat
  • Guadalajara, Mexico
  • 06:05 (UTC -12:00)
View GitHub Profile
@lsandov1
lsandov1 / gist:d908a65a779d22a7da6f43a6dfa168e5
Created December 20, 2023 02:02
grub2: local 'make test' output under upstream 2.12-rc1 release
=====================================
GRUB 2.12~rc1: ./test-suite.log
=====================================
# TOTAL: 85
# PASS: 62
# SKIP: 2
# XFAIL: 0
# FAIL: 1
# XPASS: 0
@lsandov1
lsandov1 / gist:2621a8c02b51cdc2f3702a5056a03750
Created November 3, 2021 21:12
Datos miccion 25 Oct a 2 Nov
date total(ml) total(count) day(ml) day(count) night(ml) night(count) percentage(night/total)
10-25.txt 2695 15 1180 8 1515 7 56.215
10-28.txt 1385 10 1025 7 360 3 25.992
10-29.txt 2575 12 2205 8 370 4 14.368
10-30.txt 965 6 465 3 500 3 51.813
10-31.txt 2375 11 2255 8 120 3 5.052
11-01.txt 1235 8 855 5 380 3 30.769
11-02.txt 1500 10 785 6 715 4 47.666
@lsandov1
lsandov1 / gist:dc09aa67315039f8aa45fc75ab894877
Created November 19, 2020 16:22
wget to downloads.tf.org
~/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
@lsandov1
lsandov1 / gist:2f72c841cc0e1aa739c311c06fda2bdc
Created November 15, 2016 16:20
Create buildstats data plots
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>>