User Tools

Site Tools


linux:pandaboard_and_zoneminder

PandaBoard and ZoneMinder

  1. get a PandaBoard
  2. install Ubuntu Server on it according to https://wiki.ubuntu.com/ARM/Server/Install/OMAP4
    1. prepare the card with gunzip -c ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz | sudo dd bs=1M of=/dev/mmcblk0 or similar (take care to use the correct device, or you may delete your own data)
    2. connect the board to Internet according to your configuration
  3. update/upgrade Ubuntu (do-release-upgrade - twice or until you get to current LTS version, apt-get update, apt-get upgrade, apt-get dist-upgrade)
  4. rename on card/1st partition preEnv.txt and uEnv.txt files as all needed args are in boot.scr file (probably just updating the files also works)
  5. remove openssh and install dropbear
  6. BACKUP CARD
  7. add USB HDD
    1. install jfsutils package apt install jfsutils
    2. format and mount external USB HDD as JFS/noatime (/dev/sda1 /mnt/usbhdd jfs rw,noatime 0 1)
    3. change I/O scheduler to
    4. be careful to have enough power on USB, otherwise you may get random freeze
  8. forward a well know open port (8888) or other one from your Internet router to pandaboard ssh port (22)
  9. enable a simple free dynamic dns account (for example https://freedns.afraid.org/, adding wget script in pandaboard's cron scripts to execute each 5 minutes)
  10. BACKUP YOUR CARD
  11. install ZoneMinder
    1. Enable Isaac Connor's PPA: sudo add-apt-repository ppa:iconnor/zoneminder; sudo apt-get update
    2. Use MariaDB as is faster
    3. Add the 3 cameras in mondetect mode
    4. Move DB files and ZoneMinder to HDD
  12. Recompile packages hoping optimization
    1. ffmpeg
    2. libjpeg-turbo
    3. recompile VFPv3, NEON, Cortex-A9,

- Tunen zoneminder (to be checked)

  1. change ffmpeg with remote/libjpeg?
  2. Tune /dev/shm either to increase or move to HDD
  3. Add 1G SWAP on HDD
linux/pandaboard_and_zoneminder.txt · Last modified: 2017/08/23 08:10 by cipibad