This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#************************************************************************** | |
# Copyright (C) 2015-2020 by Microchip Technology Inc. * | |
# http://www.microchip.com/support * | |
# * | |
# This program is free software; you can redistribute it and/or modify * | |
# it under the terms of the GNU General Public License as published by * | |
# the Free Software Foundation; either version 2 of the License, or * | |
# (at your option) any later version. * | |
# * | |
# This program is distributed in the hope that it will be useful, * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device-tree in memory | |
$47 = 0xff72efc9 "clock-f\001" | |
(gdb) x/16w 0xff72efa0 | |
0xff72efa0: 0x69006b73 0x7265746e 0x74707572 0x70616d2d | |
0xff72efb0: 0x72777000 0x672d6e65 0x736f6970 0x73657200 | |
0xff72efc0: 0x672d7465 0x736f6970 0x6f6c6300 0x662d6b63 | |
0xff72efd0: >>0x00000001<< 0x79636e65 0x66697300 0x2c657669 | |
0xff72efe0: 0x2d726464 0x61726170 0x6300736d 0x6b636f6c | |
0xff72eff0: 0x74756f2d 0x2d747570 0x656d616e 0x756d0073 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adapter speed 10000 | |
adapter driver ftdi | |
ftdi device_desc "Dual RS232-HS" | |
ftdi vid_pid 0x0403 0x6010 | |
ftdi layout_init 0x0008 0x001b | |
ftdi layout_signal nSRST -oe 0x0020 -data 0x0020 | |
set _CHIPNAME riscv | |
transport select jtag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: 0BSD | |
#include <stdio.h> | |
int test_sh1add(void) { | |
long x = -1L; | |
__asm__ volatile ( | |
"mv a0, zero\n" | |
"li t1, 0x30\n" |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Self Certification Test Report" | |
"Service\Protocol Name","Total","Failed","Passed" | |
"BootServicesTest\EventTimerandPriorityServicesTest","34","3","31" | |
"BootServicesTest\MemoryAllocationServicesTest","138","0","138" | |
"BootServicesTest\ProtocolHandlerServicesTest","1216","0","1216" | |
"BootServicesTest\ImageServicesTest","125","0","125" | |
"BootServicesTest\MiscBootServicesTest","118","0","118" | |
"RuntimeServicesTest\VariableServicesTest","57","5","52" | |
"RuntimeServicesTest\TimeServicesTest","31","0","31" | |
"RuntimeServicesTest\MiscRuntimeServicesTest","12","0","12" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sandbox_defconfig | |
=> host bind 0 ../sandbox.img | |
efi_disk_probe: probed device: host0:1 | |
efi_disk_probe: probed device: host0 | |
=> host bind 0 ../sandbox.img | |
efi_disk_remove: removed device: host0 | |
efi_disk_remove: removed device: host0:1 | |
efi_disk_probe: probed device: host0:1 | |
efi_disk_probe: probed device: host0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> fdt print | |
/ { | |
#address-cells = <0x00000002>; | |
#size-cells = <0x00000002>; | |
compatible = "riscv-virtio"; | |
model = "riscv-virtio,qemu"; | |
fw-cfg@10100000 { | |
dma-coherent; | |
reg = <0x00000000 0x10100000 0x00000000 0x00000018>; | |
compatible = "qemu,fw-cfg-mmio"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0+ | |
/* | |
* Copyright 2022, Heinrich Schuchardt <xypron.glpk@gmx.de> | |
* | |
* Read blocks | |
*/ | |
#include <common.h> | |
#include <efi_api.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: GPL-2.0+ | |
# This Dockerfile is used to build an image containing basic stuff to be used | |
# to build U-Boot and run our test suites. | |
FROM alpine:3.15.0 | |
MAINTAINER Heinrich Schuchardt <xypron.glpk@gmx.de> | |
LABEL Description=" This image is for building U-Boot inside a container" | |
# Install packages | |
RUN apk update |
NewerOlder