Total Pageviews

Thursday, February 9, 2012

BeagleBone opkg update upgrade

Took it out of the box, plugged in an eithernet cable and USB to the computer, where I can
This weekend after coming back from interviewing in the Bay Area I finally have time to play with the BeagleBone I won at SCALE10x, it is an awesome device.  I am turning it into a NAS, web server and who knows what else.  First the basics, I finally found a way to upgrade the Ångström Linux.

root@beaglebone:~# opkg update
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz.
...
root@beaglebone:~# opkg upgrade
Upgrading kernel-module-rt2x00usb on root from 3.1-r2a+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d to 3.1-r2l+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/kernel-module-rt2x00usb_3.1-r2l+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d_beaglebone.ipk.
Upgrading perl-module-cgi-pretty on root from 5.14.2-r0 to 5.14.2-r2...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/perl-module-cgi-pretty_5.14.2-r2_armv7a.ipk.
Upgrading perl-module-mime on root from 5.14.2-r0 to 5.14.2-r2...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/perl-module-mime_5.14.2-r2_armv7a.ipk.
Upgrading kernel-module-bcm3510 on root from 3.1-r2a+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d to 3.1-r2l+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/kernel-module-bcm3510_3.1-r2l+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d_beaglebone.ipk.
...

Upgrade took 4 hours, made the mistake of not setting up a screen session so I could disconnect for a while. Missed seeing

Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/gateone_0.9-r15_all.ipk.
wget: short write
...

Configuring kernel-module-zl10353.
/usr/share/opkg/intercept/depmod: line 4: echo: write error: No space left on de

write error: No space left on device


Got to spend some more time hacking at this BeagleBoard for Saturday, presenting at LiLAX.net


2 comments:

wwinter86 said...

Did you get around the ‘No Space Left’ error?

Brian Wiegand said...

I just wanted to say that the upgrade took so because of overheating, it locks up to cool down. I did the same thing while upgrading so I took a cpu heat sink I had lying around and popped (with great force) the copper core out of it and out a tiny dab of thermal compound on it after it had locked up on one of the installs and placed it on the ARM CPU. It made the rest of the install go fine. As for the space once you run the upgrade delete the install ipks and rerun rinse repeat. I know it's a hacky workaround but it works.