BeagleBone boot fails - invalid kernel image

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

BeagleBone boot fails - invalid kernel image

Postby crazystick » Wed Jan 09, 2013 3:40 pm

Hi,

I'm having trouble getting Arch to boot up on the BeagleBone Rev. A6

U-Boot is complaining about the kernel image. I have md5summed uImage from the rootfs archive, on the ext3 partition and the FAT16 partition on the SD card, and they all match:
$this->bbcode_second_pass_code('', '
# md5sum /mnt/beaglebone-boot/uImage
9a30647ee1ab086f077ab833b2f92e68 /mnt/beaglebone-boot/uImage
')
It may be irrelevant, but I created the image as a VirtualBox disk, cloned it and used dd on a Mac to transfer it to the SD card.

Here's the U-Boot output:
$this->bbcode_second_pass_code('', '
U-Boot SPL 2011.09-00000-gf63b270-dirty (Nov 20 2011 - 19:58:24)
Texas Instruments Revision detection unimplemented
No AC power, disabling frequency switch
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.09-00009-g4d90fb5 (Jan 27 2012 - 12:14:28)

I2C: ready
DRAM: 256 MiB
No daughter card present
NAND: HW ECC Hamming Code selected
nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x10, Chip ID: 0x10
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

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

429 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading uImage

2753688 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-3.2.21-3-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2753624 Bytes = 2.6 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
')
crazystick
 
Posts: 23
Joined: Wed Jul 25, 2012 3:09 pm

Re: BeagleBone boot fails - invalid kernel image

Postby WarheadsSE » Wed Jan 09, 2013 4:30 pm

uImages have their own built-in checksum, but if yours didn't write correctly, that could be a problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: BeagleBone boot fails - invalid kernel image

Postby crazystick » Wed Jan 09, 2013 4:49 pm

I'm not sure what you mean by 'didn't write correctly' - the MD5SUMs all match (I just downloaded the tarball again to be sure)
crazystick
 
Posts: 23
Joined: Wed Jul 25, 2012 3:09 pm

Re: BeagleBone boot fails - invalid kernel image

Postby crazystick » Tue Jan 15, 2013 12:09 pm

I have eliminated the possibility that it might be the creation of the image from a VirtualBox disk by connecting the SD card directly via a USB card reader and using the mkcard.txt script to repartition and extract the tarballs. The problem though remains.

I hope someone can help, or at least tell me if anyone can boot a BeagleBone from the current tarballs.

Thanks.
crazystick
 
Posts: 23
Joined: Wed Jul 25, 2012 3:09 pm

Re: BeagleBone boot fails - invalid kernel image

Postby pepedog » Tue Jan 15, 2013 1:00 pm

Can you try another card?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: BeagleBone boot fails - invalid kernel image

Postby crazystick » Tue Jan 15, 2013 4:01 pm

Same thing on a different card, although one reset did pass and instead gave the error LZMA Data is corrupt

FYI, the original card was the one which shipped with the BeagleBone and it did boot Angstrom Linux before I wiped it to install arch
crazystick
 
Posts: 23
Joined: Wed Jul 25, 2012 3:09 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 3 guests