Skip to content

Instantly share code, notes, and snippets.

@hanetzer
hanetzer / stdin
Created August 19, 2019 18:04
stdin
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.0.10 Kernel Configuration
#
#
# Compiler: aarch64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.05-git-00928-g9152387703-dirty) 8.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80300
@hanetzer
hanetzer / $ git show;
Created August 18, 2019 01:52
$ git show;
$ git show
commit 75be152ea7b434fffaa2395dddbd5c1964843f36
Author: Marty E. Plummer <[email protected]>
Date: Sat Aug 17 02:26:58 2019 -0500
util/cbfstool: new utility pnortool
This utility converts plaintext fmd files into pnor headers suitable for
use with open-power systems. Existing systems have seeprom firmware
which looks for this header to locate the hostboot binary and load it
@hanetzer
hanetzer / stdin
Created August 17, 2019 06:32
stdin
# layout for firmware when flash address space matches used address layout
# +-------------+ <-- 0
# | unspecified |
# +-------------+ <-- BIOS_BASE
# | bootblock |
# +-------------+ <-- BIOS_BASE + 128K
# | FMAP |
# +-------------+ <-- BIOS_BASE + 128K + FMAP_SIZE
# | CBFS |
# +-------------+ <-- ROM_SIZE
@hanetzer
hanetzer / $ hexdump -C ~DocumentsTalosIITalos_ii_host_pnor_v1.05.bin |head -266;
Created August 16, 2019 01:51
$ hexdump -C ~/Documents/TalosII/Talos_ii_host_pnor_v1.05.bin |head -266;
$ hexdump -C ~/Documents/TalosII/Talos_ii_host_pnor_v1.05.bin |head -266
00000000 50 41 52 54 00 00 00 01 00 00 00 02 00 00 00 80 |PART............|
00000010 00 00 00 21 00 00 10 00 00 00 40 00 00 00 00 00 |...!......@.....|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 50 41 02 f6 |............PA..|
00000030 70 61 72 74 00 00 00 00 00 00 00 00 00 00 00 00 |part............|
00000040 00 00 00 00 00 00 00 02 ff ff ff ff 00 00 00 01 |................|
00000050 00 00 00 03 00 00 00 01 00 00 20 00 00 00 00 00 |.......... .....|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 8f 9e ad 8a |................|
@hanetzer
hanetzer / stdin
Created March 20, 2019 13:01
stdin
ninja: Entering directory `build'
[1/2] Generating MateDesktop-2.0.gir with a custom command.
FAILED: libmate-desktop/MateDesktop-2.0.gir
/usr/bin/g-ir-scanner -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/lib64/libffi-3.3_rc0/include --no-libtool --namespace=MateDesktop --nsversion=2.0 --warn-all --output libmate-desktop/MateDesktop-2.0.gir --warn-all --add-include-path=/home/hanetzer/Projects/mate-desktop/mate-desktop/libmate-desktop -DMATE_DESKTOP_USE_UNSTABLE_API -I/home/hanetzer/Projects/mate-desktop/mate-desktop/libmate-desktop -I/home/hanetzer/Projects/mate-desktop/mate-desktop/build/libmate-desktop -I./. -I../. --filelist=/home/hanetzer/Projects/mate-desktop/mate-desktop/build/libmate-desktop/82ddc2c@@mate-desktop-2@sha/MateDesktop_2.0_gir_filelist --include=GObject-2.0 --include=Gtk-3.0 --symbol-prefix=mate_ --identifier-prefix=Mate --pkg-export=mate-desktop-2.0 --cflags-begin -DMATE_DESKTOP_USE_UNSTABLE_API -DHAVE_CONFIG_H '-DPACKAGE_
@hanetzer
hanetzer / stdin
Created March 10, 2019 01:19
stdin
#!/bin/bash
rm -f spl.bin spl-out.bin flash.bin out.bin
./tools/mkimage -n rk3288 -T rkspi -d spl/u-boot-spl.bin spl.bin \
&& dd if=spl.bin bs=128K conv=sync of=spl-out.bin \
&& cat spl-out.bin u-boot-dtb.img > out.bin \
&& dd if=out.bin bs=4M of=flash.bin conv=sync
@hanetzer
hanetzer / uboot-veyron-2017.11-1-armv7h-prepare.log
Last active September 1, 2018 00:03
current alarm/uboot-veyron PKGBUILD
Skipped patch 'include/configs/rk3288_common.h'.
Skipped patch 'doc/chromium/chromebook_minnie.its'.
Skipped patch 'doc/chromium/chromebit_mickey.its'.
Skipped patch 'scripts/Makefile.spl'.
==> chromebook_minnie
make[1]: Entering directory '/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2018.07/b/chromebook_minnie'
GEN ./Makefile
HOSTCC scripts/basic/fixdep
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
/home/alarm/PKGBUILDs/alarm/uboot-veyron/src/u-boot-2018.07/scripts/kconfig/confdata.c: In function 'conf_write':
@hanetzer
hanetzer / $ .triangle_geometry --nodisplay --threads 16;
Created June 2, 2018 01:29
$ ./triangle_geometry --nodisplay --threads 16;
$ ./triangle_geometry --nodisplay --threads 16
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
frame [ 0 / 2048]: 381.5432 fps, min = 381.5432 fps, avg = 381.5432 fps, max = 381.5432 fps, sigma = 0.0000 (0.0000%)
@hanetzer
hanetzer / $ .triangle_geometry --nodisplay;
Created June 2, 2018 01:23
$ ./triangle_geometry --nodisplay;
$ ./triangle_geometry --nodisplay
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
Warning: pthread_setaffinity_np failed
frame [ 0 / 2048]: 388.2177 fps, min = 388.2177 fps, avg = 388.2177 fps, max = 388.2177 fps, sigma = 0.0882 (0.0227%)