Raspberry CM3 Bootloader

FLASHING THE COMPUTE MODULE EMMC https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md    

Advertisements

GPIO in Rpi

    > pigs mg (gpio number) GPIO:22-27: ┬ámode 0 - INPUT (means no one uses them) GPIO48-53: ┬ámode 4 - ALT0 (not documented, probably means SD0, ALT3 is SD1) GPIO34-39: mode 7 - ALT3 (SD1 function, probably means Wifi BCM chip) INPUT 0 OUTPUT 1 ALT0 4 ALT1 5 ALT2 6 ALT3 7 ALT4 … Continue reading GPIO in Rpi

Installing Kelnel Object (v4l2loopback)

To mount .ko file using modprobe, one must have linux kernel headers: /usr/src/linux-headers-x.x.xx+ ready. Wrong Way to Install Do not try to install, linux-headers-generic. It will gives the wrong kernel version. Right Way to Install > sudo apt install raspberrypi-kernel-headers Do use > uname -a and > sudo apt-cache policy [] to check the version … Continue reading Installing Kelnel Object (v4l2loopback)

Gstreamer UDP H264 Streaming

Version Gstreamer 1.10.3 Transmister (Rpi 3) sudo ionice -c 1 -n 0 nice -20 \ /opt/gst-installed/bin/gst-launch-1.0 -e v4l2src num-buffers=8000 io-mode=1 blocksize=512 \ ! video/x-raw, format=GRAY16_LE, width=640, height=512 , framerate=7/1 ! tee name=t ! queue \ ! videorate ! videoconvert! video/x-raw, format=GRAY16_BE, framerate=1/1 ! pngenc \ ! multifilesink async=1 location=${RECORD_DIR}/tau2pipe_${TIMESUBFIX}/tau_%05d.png t. ! queue \ ! videoconvert … Continue reading Gstreamer UDP H264 Streaming

PNM, PNG, TIFF in Gstreamer

1. Gstreamer to PNM to Tiff Gstreamer PNM Script /opt/gst-installed/bin/gst-launch-1.0 -e v4l2src num-buffers=8000 io-mode=1 blocksize=512 \ ! video/x-raw, format=GRAY16_LE, width=640, height=512 , framerate=7/1 ! queue \ ! videorate ! video/x-raw, framerate=1/1 ! pnmenc \ ! multifilesink async=1 location=${RECORD_DIR}/tau2pipe_${TIMESUBFIX}/tau_%05d.pnm Netpbm - Pnm to tiff To manimulate pnm, install netpbm package > sudo apt-get install netpbm Then … Continue reading PNM, PNG, TIFF in Gstreamer

[Debian Bug] FAT32 Timestamp Offset Issue

FAT32 should be saved using localtime instead of UTC, designed by microsoft. However, FAT32 in Raspbian Version of Linux is saving timestamp with UTC time even without tz=UTC option in the /etc/fstab file. In particular case, the Raspberry Pi records time that shows a 2 hour lags on Windows, which is the time difference between … Continue reading [Debian Bug] FAT32 Timestamp Offset Issue