debian: test images (2014-01-22)

Thanks for everyone who tested 2014-01-16... So here we go, round 3...

First, for tracking please report all bugs to:
http://bugs.elinux.org/projects/debian-image-releases

Fixes:
3.8.13-bone36 -> 3.8.13-bone37
* audio fix from Cody: ASoc-McASP-Lift-Reset-on-CLK-Dividers-when-RX-TX.patch
* touchscreen fix from Micka: ti_am335x_tsc-touchscreen-jitter-fix.patch

Images Fixes:
Default user groups: added i2c, plugdev, spi
* [TESTING] make sure you can access the i2c/spi devices as a non-root user
/sbin/ /usr/sbin/ has been added to the default path.

The node/npm install has been moved from /usr/local/ to /usr/ (better
compabitlity with bonescript)
bonescript installed as [npm install -g bonescript] (it was actually
fun getting this to work in a chroot)
default web server now being run by systemd/bonescript under /usr/share/bone101
* [TESTING] make sure all the bone101 (http://192.168.7.2 or
http://beaglebone.local) demos work, i quickly tested a few..

LCD3/LCD4/LCD7 users, xinput_calibrator is installed by default..
Can you please compare 3.8.13-bone36 with 3.8.13-bone37 to test
Micka's touchcreen fix?

I've tried to make it very easy to test via:

cd /opt/scripts/tools
sudo ./update_kernel.sh --kernel v3.8.13-bone36
sudo rm /etc/pointercal.xinput
sudo reboot

cd /opt/scripts/tools
sudo ./update_kernel.sh --kernel v3.8.13-bone37
sudo rm /etc/pointercal.xinput
sudo reboot

So please compare and contrast bone36/bone37, as we really need
testing from users..

Camera people (3.1MP and RadiumBoards):
What userspace programs are we missing? gstreamer? OpenCV plugins?

I really want to include a default shell script that'll take a picture
and allow end users to validate the 3.1/Radium capes work.. (it'll be
installed under /opt/scripts/capes/) Or even some html5 bone101
voodoo and show the image in the browser window?

Questions? Should we switch to connman? (i'm still testing this too..)

To test:
apt-get remove wicd-* --purge
apt-get install connman
(no good gui with connman)

Does your "cape" work?

Does your wifi adapter work? Are we missing it's firmware?

So go forward and test the first "beta" release. There are 3 files on
the web server, depending on what you want to do. Using the same
standard procedure found here:
http://elinux.org/Beagleboard:Updating_The_Software

http://rcn-ee.net/deb/testing/2014-01-22/

1127a3548ffc8b618757fd7abd4ce627
BBB-eMMC-flasher-debian-7.3-2014-01-22-2gb.img.xz
77c83d0f60172c68fbc187a4c2bfd5c9 bone-debian-7.3-2014-01-22-4gb.img.xz
0eaf3d7f43aa90fbb1b22b994dc1acb2 debian-7.3-lxde-armhf-2014-01-22.tar.xz

An eMMC "flasher" which can be installed to any 2GB or greater microSD
card. [BBB-eMMC-flasher-debian-7.3-2014-01-22-2gb.img.xz]

http://rcn-ee.net/deb/testing/2014-01-22/BBB-eMMC-flasher-debian-7.3-2014-01-22-2gb.img.xz

It takes about 10-15 Minutes to dd microSD (2GB), 15 minutes to flash
eMMC (look for full 4 LED's)

4GB standalone image that can be flashed to any 4GB or greater.
[bone-debian-7.3-2014-01-22-4gb.img.xz]

http://rcn-ee.net/deb/testing/2014-01-22/bone-debian-7.3-2014-01-22-4gb.img.xz

It takes about 20-30 Minutes to dd microSD (4GB)

Finally one of my classic "setup_sdcard.sh".
[debian-7.3-lxde-armhf-2014-01-22.tar.xz]

http://rcn-ee.net/deb/testing/2014-01-22/debian-7.3-lxde-armhf-2014-01-22.tar.xz

Note for users who use my classic "setup_sdcard.sh" script, here is
the magic options to get the beaglebone project files + systemd.

sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone
--beagleboard.org-production --enable-systemd

To "rebuild"
git clone git://github.com/beagleboard/image-builder.git
cd image-builder
git checkout bb.org-v2014.01.22 -b tmp
touch release
./beagleboard.org_image.sh

Thanks for everyone who tested 2014-01-16... So here we go, round 3...

First, for tracking please report all bugs to:
http://bugs.elinux.org/projects/debian-image-releases

Fixes:
3.8.13-bone36 -> 3.8.13-bone37
* audio fix from Cody:
ASoc-McASP-Lift-Reset-on-CLK-Dividers-when-RX-TX.patch
* touchscreen fix from Micka: ti_am335x_tsc-touchscreen-jitter-fix.patch

Images Fixes:
Default user groups: added i2c, plugdev, spi
* [TESTING] make sure you can access the i2c/spi devices as a non-root user
/sbin/ /usr/sbin/ has been added to the default path.

I made a new SD card using setup_card.sh and it boots fine.

Verified new groups in both default debian and new user accounts. Ran
Python script to drive i2c LED matrix as non-root user.

There are no /dev/spidev entries with this release:

mark@markbbb:~% uname -a
Linux markbbb 3.8.13-bone37 #1 SMP Thu Jan 23 00:56:41 UTC 2014 armv7l
GNU/Linux
mark@markbbb:~% cat /proc/cmdline
console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
fixrtc ip= quiet init=/lib/systemd/systemd
mark@markbbb:~% cat /etc/dogtag
BeagleBoard.org BeagleBone Debian Image 2014-01-22

Thanks,

Mark

I made a new SD card using setup_card.sh and it boots fine.

Verified new groups in both default debian and new user accounts. Ran Python
script to drive i2c LED matrix as non-root user.

Sweet! That's what we wanted..

There are no /dev/spidev entries with this release:

yeah you need to load the spidev cape.. I'm pretty sure the below
will take care of the user permissions (spi group) for any /dev/spidev

debian@beaglebone:~$ cat /etc/udev/rules.d/50-spi.rules
KERNEL=="spidev*", GROUP="spi", MODE="0660"

mark@markbbb:~% uname -a
Linux markbbb 3.8.13-bone37 #1 SMP Thu Jan 23 00:56:41 UTC 2014 armv7l
GNU/Linux
mark@markbbb:~% cat /proc/cmdline
console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
fixrtc ip= quiet init=/lib/systemd/systemd
mark@markbbb:~% cat /etc/dogtag
BeagleBoard.org BeagleBone Debian Image 2014-01-22

Thanks!

Regards,

> I made a new SD card using setup_card.sh and it boots fine.
>
> Verified new groups in both default debian and new user accounts. Ran
Python
> script to drive i2c LED matrix as non-root user.

Sweet! That's what we wanted..

Forgot to mention that the PATH additions were correct, too. Thanks.

> There are no /dev/spidev entries with this release:

yeah you need to load the spidev cape.. I'm pretty sure the below
will take care of the user permissions (spi group) for any /dev/spidev

I "upgraded" to 3.13 kernel and things are good there, too. I do get 2
spidev
devices with group "spi" and 660 permissions with this kernel and dtbs.

Mark

Hi Robert,
Thank you very much. ’ Radium Boards’ are really happy for your feedback on our cape.
We have gstreamer support for Angstrom release.We will provide you for debian also in shell script if necessary.
Thanks and Regards,
Anitha

A shell script would be awesome for end users, that way they can have
an easy to way to quickly test there new hardware. With the newer
debian images, i've setup a dir/git repo that allows us to easily to
push fixes into existing debian images.

You can currently find it under /opt/scripts/ (git pull to resync it)
the repo is located here:
https://github.com/RobertCNelson/boot-scripts

I'd like to get all the cape testing scripts under:
https://github.com/RobertCNelson/boot-scripts/tree/master/device/bone/capes

Regards,