Difference between revisions of "Beagleboard:BeagleBoneBlack Debian"

From eLinux.org
Jump to: navigation, search
m (Debian Releases: 2014-04-23)
m (FAQ)
Line 24: Line 24:
  
 
On the next reboot, [df -h] should show the full microSD card size.
 
On the next reboot, [df -h] should show the full microSD card size.
 +
 +
== Privileged echo ==
 +
As a normal user, you can not "sudo echo 'something >> /etc/privilegedfile"
 +
 +
sudo sh -c "echo 'something' >> /etc/privilegedfile"
  
 
== Timezone ==
 
== Timezone ==

Revision as of 06:39, 28 April 2014

This page is about running the armhf port of Debian distribution at BeagleBoard. The latest beagleboard.org image can be found at: http://beagleboard.org/latest-images

Checking The Debian Image Version

You should check the version of the image on the microSD/eMMC by opening the ID.txt file in the FAT partition.

root@beaglebone:~# cat /boot/uboot/ID.txt
BeagleBoard.org BeagleBone Debian Image 2014-03-19

This file can also be accessed via a PC (Windows/Mac/Linux) via either mounting the FAT partition directly off the microSD card or via the usb interface (flash drive).

FAQ

Expanding File System Partition On A microSD

By default the microSD image is only about 2GB in size, to fully expand the partition to the full size of your microSD card simple run.

cd /opt/scripts/tools/
sudo ./grow_partition.sh
<reboot>

On the next reboot, [df -h] should show the full microSD card size.

Privileged echo

As a normal user, you can not "sudo echo 'something >> /etc/privilegedfile"

sudo sh -c "echo 'something' >> /etc/privilegedfile"

Timezone

By default this image is setup to display time in utc mode. If you would like to change this to your local region.

dpkg-reconfigure tzdata

or:

echo "Europe/Zurich" > /etc/timezone 
dpkg-reconfigure -f noninteractive tzdata

Debian Build Instructions

You'll want a fairly beefy ARM system to run this script.

git clone git://github.com/beagleboard/image-builder.git
cd image-builder
./beagleboard.org_image.sh

Debian Releases

http://beagleboard.org/latest-images

2014-04-23

Flasher:

wget http://debian.beagleboard.org/images/bone-debian-7.4-2014-04-23-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-04-23/BBB-eMMC-flasher-debian-7.4-2014-04-23-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-04-23-2gb.img.xz
29c1e9c3e745a3966f9e749b6a89ea50  BBB-eMMC-flasher-debian-7.4-2014-04-23-2gb.img.xz

microSD/Standalone:

wget http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.4-2014-04-23-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-04-23/bone-debian-7.4-2014-04-23-2gb.img.xz
md5sum bone-debian-7.4-2014-04-23-2gb.img.xz
b38f107faea671fc9074de5012ef82cb  bone-debian-7.4-2014-04-23-2gb.img.xz

2014-04-23 Changes

Fix: gtk2 lockups, switch to fbdev
https://github.com/beagleboard/image-builder/commit/2d54c0095a964a931c41b63102abe569c18bdcd7

Add: ruby/gem install beaglebone
https://github.com/beagleboard/image-builder/commit/fd1b03b82a95cd8d36c3218ce62abd326d1b5ad8

2014-04-14

Flasher:

wget http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.4-2014-04-14-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-04-14/BBB-eMMC-flasher-debian-7.4-2014-04-14-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-04-14-2gb.img.xz
e5e53b249392102104a6a3c619b922bf  BBB-eMMC-flasher-debian-7.4-2014-04-14-2gb.img.xz

microSD/Standalone:

wget http://debian.beagleboard.org/images/bone-debian-7.4-2014-04-14-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-04-14/bone-debian-7.4-2014-04-14-2gb.img.xz
md5sum bone-debian-7.4-2014-04-14-2gb.img.xz
683868efa8fc7ec48ec31690d3e68c0a  bone-debian-7.4-2014-04-14-2gb.img.xz

2014-04-14 Changes

Update: u-boot v2014.04
https://github.com/beagleboard/image-builder/commit/3ee55e6d4748d9de7e1a45a9bb0e1993da2dd750

Add: prufh
https://github.com/beagleboard/image-builder/commit/d8a749bc6b88fd1cc506c5b2f73cbae2c2b62386

Update: new cloud9 release
https://github.com/beagleboard/image-builder/commit/d9bd6fa41d6c1888193f29eabf42517caf4a33cd

Add: fb-test-app
https://github.com/beagleboard/image-builder/commit/ba371e750b91f55f4adae2376f04fee9f596585e

Fix: switch to debian.beagleboard.org repo
https://github.com/beagleboard/image-builder/commit/8c529b1f58975ff8f57da4c214837805076bda24

2014-03-31

Flasher:

wget https://rcn-ee.net/deb/testing/2014-03-31/BBB-eMMC-flasher-debian-7.4-2014-03-31-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-31/BBB-eMMC-flasher-debian-7.4-2014-03-31-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-03-31-2gb.img.xz
c0fec269d008b4a5be4f26fa57780a7d  BBB-eMMC-flasher-debian-7.4-2014-03-31-2gb.img.xz

microSD/Standalone:

wget https://rcn-ee.net/deb/testing/2014-03-31/bone-debian-7.4-2014-03-31-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-31/bone-debian-7.4-2014-03-31-2gb.img.xz
md5sum bone-debian-7.4-2014-03-31-2gb.img.xz
b8cf5558b0ad60e05bd6724a60d771a6  bone-debian-7.4-2014-03-31-2gb.img.xz

2014-03-31 Changes

Feature: no password required for the default sudo user (root was already no password)
https://github.com/beagleboard/image-builder/commit/93952245774e6986c2a54b4993533e2e37601c8a

Feature: console boot to tty0
https://github.com/beagleboard/image-builder/commit/bf4f9050e0a82f6d18f77ca2e9b329d811a3b149

Fix: halt/reboot lockup (usb serial gadget/systemd)
https://github.com/beagleboard/image-builder/commit/15f944399c2ec3b88c9269411480bc0887468928

2014-03-27

Flasher:

wget http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-27/BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img.xz
abf6f014c0dd49c59da2edecd9d74c8e  BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img.xz

microSD/Standalone:

wget http://debian.beagleboard.org/images/bone-debian-7.4-2014-03-27-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-27/bone-debian-7.4-2014-03-27-2gb.img.xz
md5sum bone-debian-7.4-2014-03-27-2gb.img.xz
0ceb0be8fe8655a6475b31a5a10f9961  bone-debian-7.4-2014-03-27-2gb.img.xz

2014-03-27 Changes

Added: xrdp
https://github.com/beagleboard/image-builder/commit/5cefdbb727c7b68c87dcafeeb74ca8f8ff7c9a76

Enable: systemd start getty over ttyGS0
https://github.com/beagleboard/image-builder/commit/e644b65932ad23a6446dcaf889813310d0f22d6a

Added: wicd-curses
https://github.com/beagleboard/image-builder/commit/c1e5c3dc1d2df5606f2c623b2b8f011ba08deae1

Added: wicd-cli
https://github.com/beagleboard/image-builder/commit/ba070615432e5b0aced36b60c76cec5766b95320

2014-03-19

Flasher:

wget https://rcn-ee.net/deb/testing/2014-03-19/BBB-eMMC-flasher-debian-7.4-2014-03-19-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-19/BBB-eMMC-flasher-debian-7.4-2014-03-19-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-03-19-2gb.img.xz
912775fc52af6d43a4104fd1a8dee880  BBB-eMMC-flasher-debian-7.4-2014-03-19-2gb.img.xz

microSD/Standalone:

wget https://rcn-ee.net/deb/testing/2014-03-19/bone-debian-7.4-2014-03-19-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-19/bone-debian-7.4-2014-03-19-2gb.img.xz
md5sum bone-debian-7.4-2014-03-19-2gb.img.xz
a24ff9701a39ba23486b9e3ddc20fca8  bone-debian-7.4-2014-03-19-2gb.img.xz

2014-03-19 Changes

Add: ID.txt like Angstrom for version info.
https://github.com/beagleboard/image-builder/commit/b5bd2dd6d46d413da0e84543073c92177a05652c

Add: serial/dvi & ssh banner to: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
https://github.com/beagleboard/image-builder/commit/3548f4516be3cce253d8529584894b43cbbd895f

Remove: Desktop root terminal (password is blank, this application requires one.)
https://github.com/beagleboard/image-builder/commit/92910a3709f0480ea9dc727eb90610cccab5b371

Upgrade: u-boot v2014.04-rc2
https://github.com/beagleboard/image-builder/commit/a505a395f184eaa655676833255fdfc3f31872f5

LCD: disable DPMS/blanking mode
Cursor: set cursor via [xsetroot -cursor_name left_ptr] instead of xorg SWCursor true, fixes random lockups (Thanks Cody Lacey)
https://github.com/beagleboard/image-builder/commit/3faedf9308b4adcdac6a747aadff44ede33cb59b

Added: beaglebone meta package
https://github.com/beagleboard/image-builder/commit/1b4caa3de385414674b734157f6bf1d487e0cd9d

Added: libopencv-dev package
Fixes: http://bugs.elinux.org/issues/61
https://github.com/beagleboard/image-builder/commit/1c0e5f8f272c6e3a3b659ea7e3854abe5c81df40

Added: libopencv-core-dev package
https://github.com/beagleboard/image-builder/commit/6af879606f2638dda363c54264e8e72ddb032b98

2014-03-04

wget https://s3.amazonaws.com/beagle-debian/BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-04/BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img.xz
md5sum BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img.xz
fd15e685b328eca7ec31e6edd72ac6f6  BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img.xz
wget https://s3.amazonaws.com/beagle-debian/bone-debian-7.4-2014-03-04-2gb.img.xz
(mirror) https://rcn-ee.net/deb/testing/2014-03-04/bone-debian-7.4-2014-03-04-2gb.img.xz
md5sum bone-debian-7.4-2014-03-04-2gb.img.xz
49c1dd902841560a80fba89bfd940a74  bone-debian-7.4-2014-03-04-2gb.img.xz