Skip to content

Instantly share code, notes, and snippets.

coreboot-4.11-994-gd250063c09-dirty Fri Jan 24 09:53:14 UTC 2020 bootblock starting (log level: 5)...
FMAP: Found "FLASH" version 1.1 at 0xa50000.
FMAP: base = 0xff400000 size = 0xc00000 #areas = 5
FMAP: area COREBOOT found @ a50200 (1768960 bytes)
CBFS: Locating 'fallback/romstage'
CBFS: Found @ offset 80 size 5c24
BS: bootblock times (exec / console): total (unknown) / 0 ms
coreboot-4.11-994-gd250063c09-dirty Fri Jan 24 09:53:14 UTC 2020 romstage starting (log level: 5)...
@macromorgan
macromorgan / config.txt
Created October 9, 2019 01:42
dmesg/config.txt of a working system
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
@macromorgan
macromorgan / gist:72bf137c169edef6dedb7e50c5b79849
Created August 20, 2019 17:52
ARM XML for Libvirt On Raspberry Pi 4
<domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>Debian</name>
<title>Debian 10.0</title>
<description>Debian Buster</description>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
<vcpu placement='static'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
@macromorgan
macromorgan / .config
Created April 13, 2019 02:34
T420 Coreboot Config Master with Tianocore
#
# Automatically generated file; DO NOT EDIT.
# coreboot configuration
#
#
# General setup
#
CONFIG_COREBOOT_BUILD=y
CONFIG_LOCALVERSION=""
@macromorgan
macromorgan / gist:323a5f7af7259034a22955a9658f8515
Created February 14, 2019 04:50
Intel Firmware Descriptor for Atomic Pi
File /srv/coreboot/api.rom is 8388608 bytes
ICH Revision: Baytrail
FLMAP0: 0x02040003
NR: 2
FRBA: 0x40
NC: 1
FCBA: 0x30
FLMAP1: 0x0e100206
ISL: 0x0e
FPSBA: 0x100
Type | Subtype | Offset | Size | CRC32 | Name
Image | Intel | 00000000 | 00800000 | 6D59AD0C | Intel image
Region | Descriptor | 00000000 | 00001000 | F11D2681 | - Descriptor region
Region | ME | 00001000 | 003FF000 | 57E82486 | - ME region
Region | BIOS | 00400000 | 00400000 | 42F22B86 | - BIOS region
Volume | FFSv2 | 00400000 | 00020000 | 3D4B8B2E | -- EfiFirmwareFileSystem2Guid
File | Raw | 00400048 | 0001FFB8 | B9247F6F | --- NVRAM | NVAR store
NVAR entry | Full | 00400060 | 000003F0 | E80B7B98 | ---- 4599D26F-1A11-49B8-B91F-858745CFF824 | StdDefaults
NVAR entry | Full | 00400077 | 0000026E | 97B85DC6 | ----- EfiSetupVariableGuid | Setup
NVAR entry | Full | 004002E5 | 0000001E | 94187FA9 | ----- EfiGlobalVariableGuid | PlatformLang
@macromorgan
macromorgan / gist:927fa855ec77dd21ba902253b6d7bd23
Created December 31, 2018 23:57
Crash When Loading XR819 Drivers on OpenWRT Master
root@OpenWrt:/# modprobe xradio_wlan
[ 28.855786] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 28.863902] pgd = dd9141c0
[ 28.866607] [00000000] *pgd=5df60003, *pmd=5df75003, *pte=00000000
[ 28.872793] Internal error: Oops: a07 [#1] PREEMPT SMP ARM
[ 28.878269] Modules linked in: xradio_wlan(+) ath9k_htc ath9k_common rtl8192cu rtl8192c_common rtl_usb rt2800usb rt2800lib rt2500usb pppoe
ppp_async mt76x0u mt76x0_common brcmfmac ath9k_hw ath6kl_usb ath6kl_core ath rtlwifi rtl8812au rtl8187 rt73usb rt2x00usb rt2x00lib pppox ppp_g
eneric nf_conntrack_ipv6 mt76x2u mt76x2_common mt76x02_usb mt76x02_lib mt7601u mt76_usb mt76 mac80211 lz4 iptable_nat ipt_REJECT ipt_MASQUERAD
E cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper x
t_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt