git gud.
The image from google drive doesn't work correctly - no SSH, busybox is ancient, videostream is borked too
docker run -it -v $(pwd):/app ubuntu
TODO: push docker image with preinstalled stuff
Use flasher from:
luckfox-pico-sdk/tools/linux/Linux_Upgrade_Tool
NEVER run this crap with sudo - just apply the udev rules, it will work sudoless.
adb shell works
to connect through usb networking, set static IP on host PC
sudo ip address add 172.32.0.90/24 dev enp0s20f0u2
now you can ssh via ssh root@172.32.0.93
# passwd: luckfox
VLC doesn't work reliably.
mpv rtsp://192.168.0.146/live/1
or
mpv rtsp://172.32.0.93/live/0
The camera lags as hell.
luckfox-pico-sdk/sysdrv/source/buildroot/buildroot-2023.02.6
make ARCH=arm menuconfig
v4l2-ctl --device=/dev/video11 --set-fmt-video=width=320,height=240,pixelformat=NV12 --stream-mmap --stream-to=video50.yuv --stream-count=60
scp root@192.168.0.68:/root/video50.yuv .
** fajne kolorki!!! ** vlc --demux rawvideo --rawvid-fps 25 --rawvid-width 320 --rawvid-height 240 --rawvid-chroma I420 video50.yuv
sad kolorki: vlc --demux rawvideo --rawvid-fps 25 --rawvid-width 320 --rawvid-height 240 --rawvid-chroma NV12 video50.yuv
https://github.com/rockchip-linux/rknn-toolkit2
Need soldering iron. Saving progress here.
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-USB https://forums.luckfox.com/viewforum.php?f=13&start=25 https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK https://github.com/rockchip-linux/rknn-toolkit2