Skip to content

Instantly share code, notes, and snippets.

@agrajag9
agrajag9 / new acpidump -b
Created July 1, 2020 21:24
LX2160aCex7 ACPI comparisons --- old: SolidRun/edk2-platforms/tree/master-lx2160a --- new: jnettlet@2020-06-27
begin 644 acpidump.tgz
M'XL(`,A2;3@``^U=:W0;QW6>73RY!"@0ABS:EF7X$=EN"&IW\:#DJA;!!1^0
M`!(!(,L)'8,4`8NP^(`!,++L^)AB:I]$==RD]G&:UC]`AV[:GO[(29R'G;1Q
M'DV;UDV=-FW<I`^W<=(V2=OT]!$GS3%[[\X`V`46E`C)E)V#.=SY9N[.W+WW
M[MQY[2XX4\C/#F1GRN1U#*(HA@(!+R*$1A3E8%#TBH.BWR\')3$8](J2'`P%
MB5=\/86JAN52>:8(HA27EC8UPJFY7&Y^D_.-RKU)0C@15>8LA)B+$[<GO%YO
M['99"HE>+YZ+3J1C-_3N]%;+=B?J]3B&NW3<'`Z*/0R=*E[1XMK(CR/UHQU^
MG":-_'A"C[;ETS!$?B9"C[;E:^!G)O1H6SY>SP]NG7JT+5\#/RNA1]ORF?3\
M;(0>;<O7P,].Z-&V?&8]ORY"C[;E:^`G$'JT+9]%SZ^;T*-M^1KX80''A<AG
MU?-S$GJT+5\#OQY"C[;EL^GY[2#T:%L^#3]'7RU9DQJ;9X\+4UY&\Y(=GNI9
@agrajag9
agrajag9 / console.out
Created June 19, 2020 15:32
firmware 52d054982d99c38cccb0b3ac264f18267dafbd090426c6a57dfa4295c714e74f
NOTICE: BL2: v1.5(release):LSDK-20.04-2-gbfc9139cb-dirty
NOTICE: BL2: Built : 18:49:59, May 6 2020
NOTICE: UDIMM F4-2400C16-16GRS
NOTICE: DDR4 UDIMM with 2-rank 64-bit bus (x8)
NOTICE: 32 GB DDR4, 64-bit, CL=16, ECC off, 256B, CS0+CS1
NOTICE: BL2: Booting BL31
NOTICE: BL31: v1.5(release):LSDK-20.04-2-gbfc9139cb-dirty
NOTICE: BL31: Built : 16:25:25, Apr 30 2020
NOTICE: Welcome to LX2160 BL31 Phase
@agrajag9
agrajag9 / +NVME +HBA dmesg.boot
Created June 19, 2020 14:36
firmware 52d0 + pub/NetBSD/NetBSD-9.0/evbarm-aarch64/binary/gzimg/
boot hd2a:/netbsd -v
|/-\|/-\|/-\|5395864/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+2481752-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+2742772|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1526676\| [517055/-\|/-\|+703080/-\|/-\|/-+492767\|/-\|/-]=0xfb5298
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020 The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.0 (GENERIC64) #0: Fri Feb 14 00:06:28 UTC 2020
[ 1.0000000] mkrepro@mkrepro.NetBSD.org:
set hw.pci.enable_msi=0
set hw.pci.enable_msix=0
boot -v
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000080000000 0 00061e5d WC WT WB
LoaderData 0000e1e5d000 0 00008000 WC WT WB
LoaderCode 0000e9e5d000 0 000000a9 WC WT WB
@agrajag9
agrajag9 / acpi.asl
Last active June 18, 2020 12:30
Using lx2160acex7_2000_700_2400_8_5_2.img (SHA256: 52d054982d99c38cccb0b3ac264f18267dafbd090426c6a57dfa4295c714e74f)
/*
RSD PTR: OEM=NXP, ACPI_Rev=2.0x (2)
XSDT=0x00000000edf30000, length=36, cksum=252
*/
/*
XSDT: Length=100, Revision=1, Checksum=114,
OEMID=NXP, OEM Table ID=LX2160, OEM Revision=0x0,
Creator ID=, Creator Revision=0x1000013
Entries={ 0x00000000edb90000, 0x00000000edba0000, 0x00000000edb80000, 0x00000000edb70000, 0x00000000edb60000, 0x00000000edb50000, 0x00000000edb40000, 0x00000000eae90000 }
*/
@agrajag9
agrajag9 / -HDD -NVMe +HBA dmesg.boot
Last active June 6, 2020 12:33
Using old firmware (except `acpidump -b`)
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000080000000 0 00064eb2 WC WT WB
LoaderData 0000e4eb2000 0 00008000 WC WT WB
Reserved 0000eceb2000 0 000001a1 WC WT WB
ConventionalMemory 0000ed053000 0 000001bb WC WT WB
LoaderCode 0000ed20e000 0 000000a9 WC WT WB
ConventionalMemory 0000ed2b7000 0 000000a9 WC WT WB
> boot hd2a:/netbsd -v
8178256+3541800+3616864+1509312 [558263+925152+674300]=0x12f2ec0
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020 The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.99.63 (GENERIC64) #0: Sat May 23 19:56:00 UTC 2020
[ 1.0000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000080000000 0 00060db8 WC WT WB
LoaderData 0000e0db8000 0 00008000 WC WT WB
Reserved 0000e8db8000 0 0000057e WC WT WB
ConventionalMemory 0000e9336000 0 00000ab2 WC WT WB
BootServicesData 0000e9de8000 0 00000481 WC WT WB
ConventionalMemory 0000ea269000 0 00000075 WC WT WB
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000080000000 0 0006015d WC WT WB
LoaderData 0000e015d000 0 00008000 WC WT WB
LoaderCode 0000e815d000 0 00000095 WC WT WB
LoaderData 0000e81f2000 0 00002198 WC WT WB
BootServicesData 0000ea38a000 0 00000068 WC WT WB
LoaderCode 0000ea3f2000 0 000000ed WC WT WB
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000080000000 0 00060170 WC WT WB
LoaderData 0000e0170000 0 00008000 WC WT WB
LoaderCode 0000e8170000 0 00000095 WC WT WB
LoaderData 0000e8205000 0 00002198 WC WT WB
Reserved 0000ea39d000 0 000001fc WC WT WB
ConventionalMemory 0000ea599000 0 00000028 WC WT WB