Starting kernel ...
undefined instruction
pc : [<80008008>] lr : [<8841e2c4>]
sp : 883bf4f8 ip : 00000000 fp : 883c040b
r10: 8848978c r9 : 7fde7101 r8 : 883bffe0
r7 : 883bffc4 r6 : 00001f40 r5 : 884917cc r4 : 00000000
r3 : 00000064 r2 : 80000100 r1 : 00001f40 r0 : 56190527
Flags: nzCv IRQs off FIQs off Mode SVC_32
This file contains hidden or 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
| #!/bin/sh | |
| DIFF=`cmp -l "$1" "$2" | wc -l` | |
| SIZE=`ls -l "$1" | awk '{print $5}'` | |
| STAT=`echo | awk "{print 100*$DIFF/$SIZE}"` | |
| echo "$DIFF / $SIZE bytes differ (${STAT}%)" |
Golang on Linux was not yet using the new year 2038 proof syscalls on 32-bit systems, leading to crashes on >=5.0 kernels without 32-bit compat. I filed an issue and went on to implement that.
Reference commits where Linux added the new 64-bit syscalls:
This file contains hidden or 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
| futexwakeup addr=0x547a08 returned -38 | |
| SIGSEGV: segmentation violation | |
| PC=0x55e04 m=2 sigcode=1 addr=0x1006 | |
| goroutine 0 gp=0x14025a8 m=2 mp=0x142c808 [idle]: | |
| runtime.futexwakeup(0x547a08, 0x1) | |
| runtime/os_linux.go:100 +0x6c fp=0x1445f94 sp=0x1445f68 pc=0x55e04 | |
| runtime.notewakeup(0x547a08) | |
| runtime/lock_futex.go:32 +0x60 fp=0x1445fa8 sp=0x1445f94 pc=0x2846c | |
| runtime.startlockedm(0x1402128) |
This file contains hidden or 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
| diff '--color=auto' -x Makefile -rush OS/linux/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts firmware/u-boot/arch/arm/dts/bcm2711-rpi-4-b.dts | |
| --- OS/linux/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts 2025-05-03 13:33:57.953289410 +0200 | |
| +++ firmware/u-boot/arch/arm/dts/bcm2711-rpi-4-b.dts 2023-02-21 20:44:21.319965771 +0100 | |
| @@ -1,2 +1,262 @@ | |
| // SPDX-License-Identifier: GPL-2.0 | |
| -#include "arm/broadcom/bcm2711-rpi-4-b.dts" | |
| +/dts-v1/; | |
| +#include "bcm2711.dtsi" | |
| +#include "bcm2711-rpi.dtsi" | |
| +#include "bcm283x-rpi-usb-peripheral.dtsi" |
This file contains hidden or 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
| #!/bin/sh | |
| # have rkbin and xrock in the same directory | |
| # https://github.com/rockchip-linux/rkbin | |
| # https://github.com/xboot/xrock | |
| # Run this in the xboot directory. | |
| # Have rkbin in the same parent directory. | |
| _BDIR=../rkbin/bin/rk35 | |
| # DRAM init binary |
- Allwinner
- Amlogic
- Broadcom
- Rockchip
- TI
- HiSilicon
- MediaTek
- Qualcomm
- Samsung
- NXP
This file contains hidden or 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
| #!/bin/env python3 | |
| # convert time in microseconds to a human readable timestamp, e.g. 0:13:37.000123 | |
| from datetime import timedelta | |
| import sys | |
| ts=int(sys.argv[1]) | |
| td=timedelta(microseconds=ts) | |
| print(str(td)) |
Diffing G733PYV323.rom vs GX650PY319.rom
Second gen (after Picasso/Raven Ridge) vs Second gen (after Picasso/Raven Ridge)
IMC Firmware both empty
Gigabit ethernet firmware both empty
XHCI firmware both empty
Fam 17 Model 00-0f BIOS both empty
This file contains hidden or 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
| /home: | |
| | | |
| | 0008 . 636d d | 0000 .. 41ed d | 0009 RTFD 63c0 d | | |
| | 0011 bup 63f9 d | 0023 cls 63c0 d | 0025 dal_ivm 63c0 d | | |
| | 0035 dal_sdm 63c0 d | 0040 fpf 63ff d | 0043 fwupdate 63e8 d | | |
| | 0055 gpio 63f8 d | 0060 hotham 63fe d | 0064 icc 63e8 d | | |
| | 0092 ish_srv 63e0 d | 0096 loadmgr 63c0 d | 0099 manuf 63f8 d | | |
| | 0101 mca 63ed d | 0108 mca_temp 63c0 d | 0110 mctp 63e8 d | | |
| | 0117 nfc 63e8 d | 0120 nvinf 63ff d | 0122 pavp 63f8 d | | |
| | 0145 pmt 63e8 d | 0148 policy 63f9 d | 0174 ptt 63c0 d | |
NewerOlder