← Alle Beiträge
Linux 2014-12-09 21:29 Author: Stefan 3 Min. read

Debian Jessie with Kernel-3.18 final for Banana PiDebian Jessie with Kernel-3.18 final for Banana Pi

Today i build an new image with final kernel and cec and fbtft enabled i updated git also https://github.com/a1d3s/linuxlinux this one changed to kernel-3.19-rc2 ( no changes from original tree for now)

https://github.com/a1d3s/linux-3.18 is the old one

Download Image [sdm_download id="435" fancy="0"] Username:bpi password:bpi for root root:root

root is diabled over ssh for security , use sudo insteed Sorry forgot in image to add an udev rules

  1. add a file automount.rules in /etc/udev/rules.d
  1. add the following lines to automount.rules

automount.rules `

automounting usb flash drives

umask is used to allow every user to write on the stick

we use --sync in order to enable physical removing of mounted memory sticks -- this is OK for fat-based sticks

I don't automount sda since in my system this is the internal hard drive

depending on your hardware config, usb sticks might be other devices than sdb*

ACTION"add",KERNEL"sdb", RUN+="/usr/bin/pmount --sync --umask 000 %k" ACTION"remove", KERNEL"sdb", RUN+="/usr/bin/pumount %k" ACTION"add",KERNEL"sdc", RUN+="/usr/bin/pmount --sync --umask 000 %k" ACTION"remove", KERNEL"sdc", RUN+="/usr/bin/pumount %k"`

  1. reload the udev rules:

udevadm control --reload-rulesToday i build an new image with final kernel and cec and fbtft enabled i updated git also https://github.com/a1d3s/linuxlinux this one changed to kernel-3.19-rc2 ( no changes from original tree for now)

https://github.com/a1d3s/linux-3.18 is the old one

Download Image [sdm_download id="435" fancy="0"] Username:bpi password:bpi for root root:root

root is diabled over ssh for security , use sudo insteed Sorry forgot in image to add an udev rules

  1. add a file automount.rules in /etc/udev/rules.d
  1. add the following lines to automount.rules

automount.rules `

automounting usb flash drives

umask is used to allow every user to write on the stick

we use --sync in order to enable physical removing of mounted memory sticks -- this is OK for fat-based sticks

I don't automount sda since in my system this is the internal hard drive

depending on your hardware config, usb sticks might be other devices than sdb*

ACTION"add",KERNEL"sdb", RUN+="/usr/bin/pmount --sync --umask 000 %k" ACTION"remove", KERNEL"sdb", RUN+="/usr/bin/pumount %k" ACTION"add",KERNEL"sdc", RUN+="/usr/bin/pmount --sync --umask 000 %k" ACTION"remove", KERNEL"sdc", RUN+="/usr/bin/pumount %k"`

  1. reload the udev rules:

udevadm control --reload-rules

Comments (0)

Moderated & spam-checked

No approved comments yet. Feel free to write the first comment!

Write a comment

Note: Your comment will be checked for authenticity before publication and approved by a moderator.