Skip to content

Instantly share code, notes, and snippets.

$ cat bad_defconfig
# CONFIG_WATCHDOG_AUTOSTART is not set
$ gcc -E -nostdinc -undef -x assembler-with-cpp bad_defconfig -o generated_defconfig
$ cat generated_defconfig
# 0 "bad_defconfig"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "bad_defconfig"
# CONFIG_WATCHDOG_AUTOSTART is not set
$ clang-16 -E -nostdinc -undef -x assembler-with-cpp bad_defconfig -o generated_defconfig
@trini
trini / 2023-11-08-1901.txt
Created November 9, 2023 02:42
HUSH v11 patch set
This file has been truncated, but you can view the full file.
Starting LLVM-16 test
Done with LLVM-16 test
All commits appear OK
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#7:
For the moment, this command does nothing, future commits will add tests which
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#27:
new file mode 100644
@trini
trini / buildman.txt
Created August 2, 2023 20:10
v5 spl: Use common function for loading/parsing images size check-
Starting LLVM-16 test
Done with LLVM-16 test
All commits appear OK
Dry run, so not doing much. But I would do this:
Building 2 commits for 1289 boards (40 threads, 1 job per thread)
Build directory: ../origin_WIP_02Aug2023..HEAD
15a7d10d spl: Make SHOW_ERRORS depend on LIBCOMMON
5be7d0e3 spl: spi: Consolidate spi_load_image_os into spl_spi_load_image

Developers with the most changesets

  • Tom Rini with 162 (9.6%)
  • Simon Glass with 141 (8.4%)
  • Pali Rohár with 114 (6.8%)
  • Marek Vasut with 94 (5.6%)
  • Peng Fan with 61 (3.6%)
  • Sean Anderson with 59 (3.5%)
  • Heinrich Schuchardt with 57 (3.4%)
@trini
trini / uboot-test.sh
Created April 29, 2022 15:19
Wrapper arouund U-Boot pytest with some further sanity checking
#!/bin/bash
if [ $# -lt 1 -o $# -gt 3 ]; then
echo "Usage: $0 buildman-spec [test.py-id] [tests]"
exit 1
fi
if [ $# -gt 1 ]; then
ARGS="$1 --id $2"
else
Starting LLVM- test
/bin/sh: 1: clang-: not found
/bin/sh: 1: clang-: not found
/bin/sh: 1: clang-: not found
make[3]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 127
make[2]: *** [/home/trini/u-boot/u-boot/Makefile:492: scripts_basic] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/trini/u-boot/u-boot/Makefile:557: __build_one_by_one] Error 2
make: *** [Makefile:177: sub-make] Error 2
Done with LLVM- test
@trini
trini / nokia_rx51.txt
Created March 3, 2021 21:33
nokia_rx51 platform with LTO enabled
Building 14 commits for 1 boards (1 thread, 16 jobs per thread)
Checking out worktree for thread 0
Starting build...
0 0 0 /14 -14 (starting)
01: Merge tag 'u-boot-imx-20210125' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
aarch64: w+ vexpress_aemv8a_semi thunderx_88xx xenguest_arm64 rpi_3 rpi_3_b_plus bcm_ns3 espresso7420 ls1012aqds_tfa_SECURE_BOOT ls1012ardb_qspi_SECURE_BOOT ls1043aqds ls1043aqds_lpuart ls1043aqds_nand ls1043aqds_nor_ddr3 ls1043aqds_qspi ls1043aqds_sdcard_ifc ls1043aqds_sdcard_qspi ls1043aqds_tfa ls1043aqds_tfa_SECURE_BOOT ls1043ardb_sdcard_SECURE_BOOT ls1046afrwy_tfa ls1046afrwy_tfa_SECURE_BOOT ls1046aqds ls1046aqds_lpuart ls1046aqds_nand ls1046aqds_qspi ls1046aqds_sdcard_ifc ls1046aqds_sdcard_qspi ls1046aqds_SECURE_BOOT ls1046aqds_tfa ls1046aqds_tfa_SECURE_BOOT ls1046ardb_sdcard_SECURE_BOOT ls1088aqds ls1088aqds_qspi ls1088aqds_qspi_SECURE_BOOT ls1088aqds_sdcard_ifc ls1088aqds_sdcard_qspi ls1088ardb_sdcard_qspi_SECURE_BOOT ls2080a_emu ls2080a_simu ls2080aqds ls2080aqds_nand ls2080aqds_qspi ls2080aqds_sdcard ls2080ardb ls2080ardb_nand ls2081ardb hikey960 hikey imx8qm_rom7720_a1_4G imx8qm_mek imx8qxp_mek deneb gie
01: Merge branch '2021-01-16-assorted-improvements'
aarch64: w+ vexpress_aemv8a_semi thunderx_88xx xenguest_arm64 rpi_3 rpi_3_b_plus bcm_ns3 espresso7420 ls1012aqds_tfa_SECURE_BOOT ls1012ardb_qspi_SECURE_BOOT ls1043aqds ls1043aqds_lpuart ls1043aqds_nand ls1043aqds_nor_ddr3 ls1043aqds_qspi ls1043aqds_sdcard_ifc ls1043aqds_sdcard_qspi ls1043aqds_tfa ls1043aqds_tfa_SECURE_BOOT ls1043ardb_sdcard_SECURE_BOOT ls1046afrwy_tfa ls1046afrwy_tfa_SECURE_BOOT ls1046aqds ls1046aqds_lpuart ls1046aqds_nand ls1046aqds_qspi ls1046aqds_sdcard_ifc ls1046aqds_sdcard_qspi ls1046aqds_SECURE_BOOT ls1046aqds_tfa ls1046aqds_tfa_SECURE_BOOT ls1046ardb_sdcard_SECURE_BOOT ls1088aqds ls1088aqds_qspi ls1088aqds_qspi_SECURE_BOOT ls1088aqds_sdcard_ifc ls1088aqds_sdcard_qspi ls1088ardb_sdcard_qspi_SECURE_BOOT ls2080a_emu ls2080a_simu ls2080aqds ls2080aqds_nand ls2080aqds_qspi ls2080aqds_sdcard ls2080ardb ls2080ardb_nand ls2081ardb hikey960 hikey imx8qm_rom7720_a1_4G imx8qm_mek imx8qxp_mek deneb giedi apalis-imx8 apalis-imx8x colibri-imx
@trini
trini / full-dtc-resync.txt
Created October 21, 2020 21:59
U-Boot v2020.10-811-gadc0c39633c3 + dtc cbca977ea121 per-commit resync size changes
Summary of 240 commits for 1 boards (1 thread, 16 jobs per thread)
01: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh
aarch64: w+ leez-rk3399
+(leez-rk3399) ===================== WARNING ======================
+(leez-rk3399) This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate
+(leez-rk3399) to binman instead, to avoid the proliferation of
+(leez-rk3399) arch-specific scripts with no tests.
+(leez-rk3399) ====================================================
+(leez-rk3399) WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
+(leez-rk3399) WARNING: Please read Building section in doc/README.rockchip