Showing posts with label Kernel. Show all posts
Showing posts with label Kernel. Show all posts

Saturday, June 29, 2013

Mount eMMC partition on BeagleBone Black

Create a mount point

    mkdir -p /mnt/emmcfat

Mount FAT partition

    mount -t vfat /dev/mmcblk0p1 /mnt/emmcfat





Tuesday, June 25, 2013

BeagleBone Black build environment

I have decided to learn to build the BBB from scratch as a learning exercise.  Here are my steps to that end:

  1. Install VMWare for virtual machine (I daily use Mac OSX and Windows 7 -- not Linux). 
  2. Download Ubuntu (choose Ubuntu 13.04, 64 bit).


Monday, June 24, 2013

Kernel messages overflowing on the BBB

The USB gadget support build into the latest Angstrom kernel (as of the 6-6-2013 version), had debugging enabled in it's configuration.  This causes the following 7 messages to repeat in the logs:

[ 8732.441147] gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER
[ 8732.444806]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.445090]  gadget: rndis req21.00 v0000 i0000 l36
[ 8732.448797]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.449226]  gadget: rndis req21.00 v0000 i0000 l36
[ 8732.452790]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.453162]  gadget: rndis req21.00 v0000 i0000 l36

This "SPAM" makes the log nearly unusable if you are watching for something else important.

The particular configuration item is:  CONFIG_USB_GADGET_DEBUG=y

Robert Nelson confirms my suspicion here (eewiki.net) and indicates that the next build will have this configuration changed.

I am not aware of any way to correct this short of rebuilding the kernel.  I think I can wait for Robert...  :-)

Wednesday, June 12, 2013

Updating BeagleBone Black System


These commands update the BeagleBone Black system files. 

Remember to replace the kernel version number show with an 'x', with the one shown during the upgrade.  This forces the kernel upgrade to occur.  If not done, you can lock up the BBB causing a rewrite of the eMMC to be required.

opkg update
opkg upgrade
opkg --force-overwrite install kernel-image-3.8.x