Skip to content

Instantly share code, notes, and snippets.

View superna9999's full-sized avatar
🤡

Neil Armstrong superna9999

🤡
View GitHub Profile
https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git/log/?h=pci/dwc "PCI: dwc: Use DBI accessors"
With NVMe:
[ 3.677241] meson-pcie fc000000.pcie: Link up
[ 3.677319] meson-pcie fc000000.pcie: PCI host bridge to bus 0000:00
[ 3.682264] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.687691] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
[ 3.693900] pci_bus 0000:00: root bus resource [mem 0xfc700000-0xfdffffff]
[ 3.700728] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 3.706675] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
ff100000.gpu Status:
identity
model: 0x8000
revision: 0x7131
product_id: 0x8000001
customer_id: 0x99
eco_id: 0x2000000
features
major_features: 0xe0287cad
minor_features0: 0xc9799eff
10-20 14:40:36.082 413 2019 V V4L2Decoder: V4L2Decoder()
10-20 14:40:36.082 413 2019 V V4L2Decoder: start(codec=H264, inputBufferSize=12582912, minNumOutputBuffers=25)
10-20 14:40:36.174 413 2019 V V4L2Decoder: setupInputFormat(inputPixelFormat=875967048, inputBufferSize=12582912)
10-20 14:40:36.795 413 2019 V V4L2Decoder: setState(Idle)
10-20 14:40:36.799 413 2019 V V4L2Decoder: serviceDeviceTask(event=0) state=Idle InputQueue(streamon):16+0/16, OutputQueue(streamoff):0+0/0
10-20 14:40:36.946 413 2019 V V4L2Decoder: decode(id=0)
10-20 14:40:36.946 413 2019 V V4L2Decoder: setState(Decoding)
10-20 14:40:36.946 413 2019 I V4L2Decoder: Set state Idle => Decoding
10-20 14:40:36.946 413 2019 V V4L2Decoder: pumpDecodeRequest()
10-20 14:40:36.947 413 2019 V V4L2Decoder: QBUF to input queue, bitstreadId=0
@superna9999
superna9999 / uart.c
Created August 31, 2022 15:52
no comments
#include <piccolo_config.h>
#include "termios.h"
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "fcntl.h"
#include "unistd.h"
#include "sys/signal.h"
#include "sys/socket.h"
#include "sys/types.h"