BeagleBone Black
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
edit /etc/issue.net
to get rid of unwanted login text message.
Can also check /etc/ssh/sshd_config for more settings
to get rid of unwanted login text message.
Can also check /etc/ssh/sshd_config for more settings
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
cd /opt/scripts/tools/
nano kernel_update.sh
copy the content from https://github.com/RobertCNelson/boot-s ... _kernel.sh
or download from https://github.com/RobertCNelson/boot-s ... ster/tools
chmod +x update_kernel.sh
apt-get install lsb-release
./update_kernel.sh
nano kernel_update.sh
copy the content from https://github.com/RobertCNelson/boot-s ... _kernel.sh
or download from https://github.com/RobertCNelson/boot-s ... ster/tools
chmod +x update_kernel.sh
apt-get install lsb-release
./update_kernel.sh
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
Setting up OpenCV
apt-get install libopencv-dev python-opencv build-essential
Also see url for other ideas:-
https://solarianprogrammer.com/2014/04/ ... ck-ubuntu/
Also see:-
http://elementztechblog.wordpress.com/2 ... -machines/
but compile with:-
g++ -Wall -g -o DisplayCamera main.cpp -I /usr/include/opencv2 -L /usr/bin -lopencv_core -lopencv_highgui -lopencv_imgproc
To update and/or build OpenCV, follow:-
http://elementztechblog.wordpress.com/2 ... -in-linux/
latest version from:-
http://sourceforge.net/projects/opencvlibrary/
you may have to:-
apt-get install unzip
apt-get install python2.7 (probably not needed as the exact version 2.7.3 cannot be selected)
More getting started videos:-
http://www.adafruit.com/blog/2014/03/18 ... eboardorg/
apt-get install libopencv-dev python-opencv build-essential
Also see url for other ideas:-
https://solarianprogrammer.com/2014/04/ ... ck-ubuntu/
Also see:-
http://elementztechblog.wordpress.com/2 ... -machines/
but compile with:-
g++ -Wall -g -o DisplayCamera main.cpp -I /usr/include/opencv2 -L /usr/bin -lopencv_core -lopencv_highgui -lopencv_imgproc
To update and/or build OpenCV, follow:-
http://elementztechblog.wordpress.com/2 ... -in-linux/
latest version from:-
http://sourceforge.net/projects/opencvlibrary/
you may have to:-
apt-get install unzip
apt-get install python2.7 (probably not needed as the exact version 2.7.3 cannot be selected)
More getting started videos:-
http://www.adafruit.com/blog/2014/03/18 ... eboardorg/
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
To configure HDMI console fonts etc. use:-
dpkg-reconfigure console-setup
To change base HDMI resolution at boot:-
nano /boot/uEnv.txt
add the following line:-
optargs="consoleblank=0" video=HDMI-A-1:1280x1024@60
after cmdline= ....
consoleblank=0 is to prevent screensaver timeout on HDMI
Leaving out the video=.... part will default to the highest detected resolution
Valid video modes can be found here:-
http://elinux.org/Beagleboard:BeagleBon ... ed_working
You will also need to uncomment the following line under the Audio Cape section:-
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
dpkg-reconfigure console-setup
To change base HDMI resolution at boot:-
nano /boot/uEnv.txt
add the following line:-
optargs="consoleblank=0" video=HDMI-A-1:1280x1024@60
after cmdline= ....
consoleblank=0 is to prevent screensaver timeout on HDMI
Leaving out the video=.... part will default to the highest detected resolution
Valid video modes can be found here:-
http://elinux.org/Beagleboard:BeagleBon ... ed_working
You will also need to uncomment the following line under the Audio Cape section:-
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
edit /lib/init/vars.sh
change FSCK=yes
Include automatic FSCK upon boot in case of corruption.
change FSCK=yes
Include automatic FSCK upon boot in case of corruption.
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
If LXDE is installed, you should do the following:-
http://hongouru.blogspot.com.ar/2012/07 ... uldnt.html
add "LXDE;" (without the double quotes and plus the semicolon, didn't try without it)
to this file "/etc/xdg/autostart/gnome-keyring-pkcs11.desktop" by editing it with whatever text editor you preffer, I'll use "nano"
1 - in a terminal type (as root or with sudo): nano /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
[Desktop Entry]
Type=Application
Name=Certificate and Key Storage
Comment=GNOME Keyring: PKCS#11 Component
Exec=/usr/bin/gnome-keyring-daemon --start --components=pkcs11
OnlyShowIn=GNOME;Unity;LXDE;
X-GNOME-Autostart-Phase=Initialization
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-keyring
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.2.2
NoDisplay=true
X-Ubuntu-Gettext-Domain=gnome-keyring
2 - after editing, make sure you save the changes
3 - RESTART YOUR PC
http://hongouru.blogspot.com.ar/2012/07 ... uldnt.html
add "LXDE;" (without the double quotes and plus the semicolon, didn't try without it)
to this file "/etc/xdg/autostart/gnome-keyring-pkcs11.desktop" by editing it with whatever text editor you preffer, I'll use "nano"
1 - in a terminal type (as root or with sudo): nano /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
[Desktop Entry]
Type=Application
Name=Certificate and Key Storage
Comment=GNOME Keyring: PKCS#11 Component
Exec=/usr/bin/gnome-keyring-daemon --start --components=pkcs11
OnlyShowIn=GNOME;Unity;LXDE;
X-GNOME-Autostart-Phase=Initialization
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-keyring
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.2.2
NoDisplay=true
X-Ubuntu-Gettext-Domain=gnome-keyring
2 - after editing, make sure you save the changes
3 - RESTART YOUR PC
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
Check CPU utilization:-
top
or get more info and methods here:-
http://www.cyberciti.biz/tips/how-do-i- ... ation.html
top
or get more info and methods here:-
http://www.cyberciti.biz/tips/how-do-i- ... ation.html
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
Setting up for IO
sudo apt-get install am335x-pru-package
cd /home/pi/code
git clone https://github.com/VegetableAvenger/BBBIOlib.git
cd BBBIOlib
make
make ADC
./ADC
sudo apt-get install am335x-pru-package
cd /home/pi/code
git clone https://github.com/VegetableAvenger/BBBIOlib.git
cd BBBIOlib
make
make ADC
./ADC
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: BeagleBone Black
Installing Xenomai (real time)
Log in as root to perform the following.
echo 'deb http://deb.dovetail-automata.com wheezy main' > /etc/apt/sources.list.d/machinekit.list
apt-get update
apt-get install dovetail-automata-keyring
sudo apt-get install linux-image-xenomai.beaglebone-omap
apt-get install machinekit-xenomai
adduser machinekit
usermod -aG sudo,xenomai,kmem machinekit
echo -e "# No sudo password for machinekit user\nmachinekit ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-machinekit
cd ~
git clone https://github.com/cdsteinkuehler/linux-dev
cd linux-dev
sudo apt-get install device-tree-compiler lzma lzop libncurses5-dev
git config --global user.name "Daniel Wee"
git config --global user.email "daniel@tsebi.com"
./build_kernel.sh
http://sagar.se/xenomai-debian-on-bbb.html
edit system.sh and set MMC=/dev/mmcblk0 before running ./tools/install_kernel ....
Older method:-
http://www.machinekit.io/docs/packages-debian/
https://github.com/strahlex/asciidoc-sa ... bian-Image
Log in as root to perform the following.
echo 'deb http://deb.dovetail-automata.com wheezy main' > /etc/apt/sources.list.d/machinekit.list
apt-get update
apt-get install dovetail-automata-keyring
sudo apt-get install linux-image-xenomai.beaglebone-omap
apt-get install machinekit-xenomai
adduser machinekit
usermod -aG sudo,xenomai,kmem machinekit
echo -e "# No sudo password for machinekit user\nmachinekit ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-machinekit
cd ~
git clone https://github.com/cdsteinkuehler/linux-dev
cd linux-dev
sudo apt-get install device-tree-compiler lzma lzop libncurses5-dev
git config --global user.name "Daniel Wee"
git config --global user.email "daniel@tsebi.com"
./build_kernel.sh
http://sagar.se/xenomai-debian-on-bbb.html
edit system.sh and set MMC=/dev/mmcblk0 before running ./tools/install_kernel ....
Older method:-
http://www.machinekit.io/docs/packages-debian/
https://github.com/strahlex/asciidoc-sa ... bian-Image