Skip to content

Instantly share code, notes, and snippets.

View wulfboy-95's full-sized avatar

Nicholas Lau wulfboy-95

View GitHub Profile
@asahilina
asahilina / agx_buffers.md
Last active November 16, 2022 07:01
AGX buffers

Legend:

  • (K)ernel or (U)ser
  • (S)hared or (P)rivate
  • (F)irmware or (G)PU or (X)Both

TVB Buffer heap:

Directly related to the buffer heap

  • (KSF): Buffer info struct (maybe should be KPF?)
  • (KSF): Block control pointers
  • (KSF): Use counter

AGX coherency, caching, and TLBs

These are just some notes on my current understanding of the subtleties of the AGX memory model and the TLB/caching issues I'm seeing.

Hypervisor shenanigans

TLBI instructions do not broadcast to the GPU from EL1 with stage 2 translation enabled. That's it. That's what the bug was.

GPU side

@wulfboy-95
wulfboy-95 / code.py
Last active June 13, 2023 16:03
CircuitPython (7.x.x and above) code for a TADA-68 style keyboard with a Raspberry Pi Pico controller.
# Copyright wulfboy_95 2022, All Rights Reserved.
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
import board
import keypad
import struct
@Anime4000
Anime4000 / advanced_conf-telnet.md
Last active February 17, 2024 06:09
XPON SFP ONU (V2801F), XPON STICK ONU (TWCGPON657), RTL8672, RTL9601C1