Skip to content

Instantly share code, notes, and snippets.

@xypron
xypron / dtb_get_top_level_property.c
Last active January 21, 2018 12:43
Show how a flattend file tree is traversed.
/*
* Find value of top level property in device tree.
*
* Copyright (c) 2017 Heinrich Schuchardt <xypron.glpk@gmx.de>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <malloc.h>
#include <stdio.h>
@xypron
xypron / sub.png
Last active February 2, 2018 15:47
Draw U-Boot icon
sub.png
@xypron
xypron / U-Boot_Blt_Selftest.mp4
Last active February 7, 2018 20:55
U-Boot Block Image Transfer Selftest

EFI on U-Boot

The Unified Extensible Firmware Interface Specification (UEFI) [1] has become the default for booting on AArch64 and x86 systems. It provides a stable API for

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
DDR Version 1.08 20170320
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
@xypron
xypron / EDK2_Booting.mp4
Last active April 3, 2020 11:04
EDK2: boot manager
This file has been truncated, but you can view the full file.
@xypron
xypron / READMEmd
Created April 3, 2020 18:49
Links for EDK2 variable storage
# Links
* http://countchu.blogspot.com/2014/08/how-uefi-fault-tolerant-write-protocol.html
* https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Security-White-Papers
* https://github.com/tianocore-docs/Docs/raw/master/White_Papers/A_Tour_Beyond_BIOS_Implementing_UEFI_Authenticated_Variables_in_SMM_with_EDKII_V2.pdf
This file has been truncated, but you can view the full file.
This file has been truncated, but you can view the full file.