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
webOS boot log |
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
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Linux version 4.9.79-v8 (koba@instance-3) (gcc version 6.4.0 (Buildroot 2018.02) ) #1 SMP PREEMPT Sat Mar 10 08:50:08 UTC 2018 | |
[ 0.000000] Boot CPU: AArch64 Processor [410fd034] | |
[ 0.000000] efi: Getting EFI parameters from FDT: | |
[ 0.000000] efi: UEFI not found. | |
[ 0.000000] cma: Reserved 8 MiB at 0x0000000039400000 | |
[ 0.000000] On node 0 totalpages: 236544 | |
[ 0.000000] DMA zone: 3696 pages used for memmap | |
[ 0.000000] DMA zone: 0 pages reserved | |
[ 0.000000] DMA zone: 236544 pages, LIFO batch:31 |
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
#!/bin/sh | |
do_shutdown () { | |
wall "Auto shutdown!" | |
sync | |
# Replace next line to your shut down command | |
gcloud compute instances stop instance-N --zone\=us-central1-a && shutdown -h now | |
} | |
warning () { |
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
$ v4l2-ctl --list-formats-ext | |
ioctl: VIDIOC_ENUM_FMT | |
Index : 0 | |
Type : Video Capture | |
Pixel Format: 'YUYV' | |
Name : YUYV 4:2:2 | |
Size: Discrete 640x480 | |
Interval: Discrete 0.033s (30.000 fps) | |
Interval: Discrete 0.040s (25.000 fps) | |
Interval: Discrete 0.050s (20.000 fps) |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"strconv" | |
"strings" | |
"time" |
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
Buildroot configs for nano pi neo vendor tree uboot and kernel | |
Modified files: | |
configs/nanopi_neo_defconfig | |
board/friendlyarm/nanopi-neo/genimage.cfg | |
board/friendlyarm/nanopi-neo/boot.cmd | |
board/friendlyarm/nanopi-neo/post-image.sh |
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.01 (Feb 10 2018 - 07:39:37) | |
DRAM: 512 MiB | |
Trying to boot from MMC1 | |
U-Boot 2017.01 (Feb 10 2018 - 07:39:37 +0000) Allwinner Technology | |
CPU: Allwinner H3 (SUN8I 1680) | |
Model: FriendlyARM NanoPi NEO | |
DRAM: 512 MiB | |
MMC: SUNXI SD/MMC: 0 |
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
00 |
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
Golang ioctl sample |
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
Using UIO from golang |