[bone] Kernel updating blues - Trying to compile the 3.2.25 kernel for the A6A bone image

I’ve had good success running the A6A image [1] (kernel version 3.2.25) on a Rev A6 bone. Earlier I did a bitbake virtual/kernel and got a copy of the v 3.2.18 kernel sources. Now I would like to get the sources for the 3.2.25 kernel to match the one I’m running. I’ve tried updating my repositories to match the hashtags in /etc/ansgrom-build-info on the bone as documented here[2]. But now I’m stuck.

What do I do to get the v3.2.25 kernel sources so I can compile them?


[1] http://circuitco.com/support/index.php?title=BeagleBone#Revision_A6A_Image
[2] http://elinux.org/EBC_Exercise_22_Cross-Compiling_and_Finding_the_Right_Kernel#Finding_the_Kernel_and_Installing_It

Well… Maybe it’s time to move on to a new kernel, so… I cleared out my oe directory and redid the instructions here [1] to get a fresh kernel. I then did bitbake virtual/kernel and the sources for the 3.2.28 kernel appeared. A bit newer than what I wanted, but it should work. I also did bitbake u-boot. I then

  1. Reformatted the FAT partition on the SD card.
  2. Copied MLO for the u-boot sources to the FAT partition.
  3. Copied u-boot.img and uEnv.txt from the original FAT paritition.
  4. Copied …/arch/arm/boot/uImage to /boot on the EXT4 partition.
  5. Copied lib/modules and lib/firmware to /lib on the EXT4.
    I booted up the card and nothing appears on /dev/ttyUSB0. (It was working earlier.)

Maybe too many changes at once, so I restored the original MLO (after reformatting) and I get

U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas Instruments Revision detection unimplemented
No daughter card present
No AC power, disabling frequency switch
reading u-boot.img
reading u-boot.img

Hmmm… the new u-boot doesn’t seem to be starting.

Let’s go back the the original u-boot (the one from the A6A image). Now I get

reading u-boot.img
reading u-boot.img

U-Boot 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt

27 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
4388792 bytes read

Booting kernel from Legacy Image at 80007fc0 …

Image Name: Angstrom/3.2.28/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4388728 Bytes = 4.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
XIP Kernel Image … OK

Starting kernel …

Well, the original u-boot is working, but the 3.2.28 kernel never gets going. This boot is with quiet removed from uEnv.txt.

Where should I go from here?


[1] http://www.angstrom-distribution.org/building-angstrom

Hi -

I am having a similar issue - I can’t get anything to show up on /dev/ttyusb0 with 3.2 kernel. It works on other kernels.

Did you get any resolution on this?


I found a much easier and more reliable way to get the 3.2.25 kernel for my A6A image. I documented it here [1]


[1] http://elinux.org/EBC_Exercise_08_Installing_Development_Tools