Skip to content

Instantly share code, notes, and snippets.

@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 / $ 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 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 / stdin
Created August 19, 2019 18:13
stdin
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_AUDIT=y
CONFIG_GENERIC_IRQ_DEBUGFS=y
CONFIG_NO_HZ_IDLE=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_BSD_PROCESS_ACCT=y
@hanetzer
hanetzer / $ cat config ;
Created September 8, 2019 21:36
$ cat config ;
$ cat config
#
# 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
@hanetzer
hanetzer / $ 7z b;
Created October 6, 2019 00:48
$ 7z b;
$ 7z b
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,16 CPUs AMD Ryzen 7 1700 Eight-Core Processor (800F11),ASM,AES-NI)
AMD Ryzen 7 1700 Eight-Core Processor (800F11)
CPU Freq: - - 64000000 - - - 512000000 - -
RAM size: 64252 MB, # CPU hardware threads: 16
RAM usage: 3530 MB, # Benchmark threads: 16
@hanetzer
hanetzer / stdin
Created October 8, 2019 08:42
stdin
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe -march=znver1"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
@hanetzer
hanetzer / stdin
Created October 16, 2019 01:44
stdin
-- Logs begin at Wed 2019-10-16 00:58:32 UTC, end at Wed 2019-10-16 01:13:30 UTC. --
Oct 16 00:58:32 talos kernel: Booting Linux on physical CPU 0x0
Oct 16 00:58:32 talos kernel: random: get_random_bytes called from start_kernel+0x3c/0x3ec with crng_init=0
Oct 16 00:58:32 talos kernel: Linux version 4.13.16-efdfeab01ad28ff1330134170153cee0b730671b (yocto-build@apollo) (gcc version 6.2.0 (GCC)) #1 Sun Jun 17 19:44:14 CDT 2018
Oct 16 00:58:32 talos kernel: CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
Oct 16 00:58:32 talos kernel: CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Oct 16 00:58:32 talos kernel: OF: fdt: Machine model: Talos™ II BMC
Oct 16 00:58:32 talos kernel: Memory policy: Data cache writeback
Oct 16 00:58:32 talos kernel: cma: Reserved 16 MiB at 0x9d800000
Oct 16 00:58:32 talos kernel: On node 0 totalpages: 110592
@hanetzer
hanetzer / $ docker-compose logs dashboard;
Created December 20, 2019 17:14
$ docker-compose logs dashboard;
$ docker-compose logs dashboard
Some services (celery, celerybeat, controller, daphne, dashboard, freeradius, nginx, postfix, postgres, radius, redis, topology, websocket) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Attaching to docker-openwisp_dashboard_1
dashboard_1 | Waiting for database to become available...
dashboard_1 | Connection with database established.
dashboard_1 | Waiting for redis to become available...
dashboard_1 | Connection with redis established.
dashboard_1 | Operations to perform:
dashboard_1 | Apply all migrations: account, admin, auth, authtoken, config, connection, contenttypes, geo, openwisp_radius, openwisp_users, pki, reversion, sessions, sites, socialaccount, topology
dashboard_1 | Running migrations:
@hanetzer
hanetzer / $ docker ps -a;
Created December 20, 2019 17:16
$ docker ps -a;
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
17dc7ae516a2 openwisp/openwisp-nginx:latest "sh init_command.sh" 3 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp docker-openwisp_nginx_1
c95f8def295a openwisp/openwisp-freeradius:latest "/docker-entrypoint.…" 3 minutes ago Up 3 minutes 0.0.0.0:1812-1813->1812-1813/udp docker-openwisp_freeradius_1
71fc41f1f8fc openwisp/openwisp-websocket:latest "supervisord --nodae…" 3 minutes ago Up 3 minutes 8004/tcp docker-openwisp_websocket_1
01a7c852a3d6 openwisp/openwisp-radius:latest "bash init_command.sh" 3 minutes ago Up 3 minutes 8002/tcp docker-openwisp_radius_1
9f38a14