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
/dts-v1/; | |
/plugin/; | |
/ { | |
compatible = "allwinner,sun8i-h3"; | |
}; | |
&{/soc/i2c@1c2ac00} { | |
status = "okay"; | |
pinctrl-names = "default"; |
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
#include <stdio.h> | |
#include <sys/types.h> | |
#include <stdint.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <dev/iicbus/iic.h> | |
int | |
main() | |
{ |
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
U-Boot SPL 2019.04 (Jul 11 2019 - 14:13:51 +0000) | |
DRAM: 256 MiB | |
Trying to boot from MMC1 | |
U-Boot 2019.04 (Jul 11 2019 - 14:13:51 +0000) Allwinner Technology | |
CPU: Allwinner H3 (SUN8I 1680) | |
Model: FriendlyARM NanoPi NEO | |
DRAM: 256 MiB |
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
create bridge to physical interface | |
ip link add name bridge0 type bridge | |
ip link set bridge0 up | |
ip link show | |
ip link set enp0s2 master bridge0 | |
create epair | |
ip link add outside type veth peer name inside | |
ip link set outside up | |
ip link set outside master bridge0 |
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
$ gst-launch-1.0 \ | |
udpsrc port=5000 \ | |
! 'video/mpegts, systemstream=(boolean)true, packetsize=(int)1318' \ | |
! tsdemux \ | |
! queue \ | |
! h264parse \ | |
! avdec_h264 \ | |
! autovideosink | |
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
U-Boot SPL 2017.11-00002-g7b415acfc1 (Nov 20 2017 - 13:57:33) | |
Trying to boot from MMC1 | |
U-Boot 2017.11-00002-g7b415acfc1 (Nov 20 2017 - 13:57:33 -0600), Build: jenkins-github_Bootloader-Builder-11 | |
CPU : AM335X-GP rev 2.1 | |
I2C: ready | |
DRAM: 512 MiB | |
No match for driver 'omap_hsmmc' |
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
Title: FreeBSD on the GPD Pocket | |
Tags: hardware freebsd drivers kernel gpdpocket | |
Date: 2017-08-22 | |
Preview: FreeBSD on the GPD Pocket | |
Permalink: 0288 | |
In the distant past before smart phones became identical black rectangles there | |
was a category of devices called [palmtops][0]. Palmtops were a class of PDA PC | |
thing that fit in the palm of your hand. Today the Psion 5 series of devices | |
most often capture peoples attention. Not only are they small and awesome, but |
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
run0: writing usb dma cfg: | |
Kernel page fault with the following non-sleepable locks held: | |
exclusive sleep mutex USB device mutex (USB device mutex) r = 0 (0xc2c80064) locked @ /usr/src/sys/d | |
ev/usb/usb_request.c:537 | |
stack backtrace: | |
Fatal kernel mode data abort: 'Translation Fault (L1)' on read | |
trapframe: 0xdcfe8aa8 | |
FSR=00000005, FAR=00000000, spsr=80000013 | |
r0 =dd158008, r1 =00000000, r2 =00000002, r3 =dd158008 | |
r4 =00000002, r5 =00000000, r6 =00000000, r7 =00000002 |
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
#!/usr/bin/env python | |
from scapy.all import IP | |
from scapy.all import UDP | |
from scapy.all import * | |
if __name__ == "__main__": | |
ip = IP(src="139.133.204.4", dst="139.133.204.55") | |
udp = UDP(sport=2600, dport=2500) |
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
[ thread pid 13 tid 100037 ] [382/1828] | |
Stopped at $d.6: ldrb r15, [r15, r15, ror r15]! | |
db> reboot | |
U-Boot SPL 2016.05 (Dec 21 2016 - 18:05:07) | |
Trying to boot from MMC1 | |
Card doesn't support part_switch | |
MMC partition switch failed | |
*** Warning - MMC partition switch failed, using default environment |