I have beagleboard xM. I have tried many different kernels, but my
board couldn't boot any of them. It can load uImage from mmc, but
cannot start booting. But I have a uImage that came with my board on
mcc demo card. My board can boot only this uImage. Kernel name is:
Angstrom/2.6.32/beagleboard. Is there any body can help me about this?
Could you please provide us with some additional information? What
kernel are you trying to boot and how it was compiled (kernel version,
repository, defconfig, exact commands for cross-compilation, name and
version of your cross-toolchain etc.)? Thanks!
I get the kernel from linux-omap git repository. The kernel version
2.6. Then I checked out 2.6.31 kernel profile. Then I compiled with
arm toolchain that I downloaded from code sourcery. The toolchain full
name is "arm-2007q3-51-arm-none-linux-gnueabi.bin". I followed the
compiling process that is below.
make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig # only needed
if you want to change the default configuration
make CROSS_COMPILE=arm-none-linux-gnueabi- uImage
There was no error, But my board cannot boot the uImage.
I'm also using 5V-1A power supply.
FYI, it booted "uImage-2.6.32-
r90+gitra6bad4464f985fdd3bed72e1b82dcbfc004d7869-beagleboard.bin" just
before.
1863872 bytes read
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.31-omap1-05958-g8e82df
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1863808 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing
Linux.....................................................................................................................
done, booting the kernel.
then nothing.
I have got the kernel from linux omap git repository. Then I switch to
2.6.31 branch. I'm using code sourcery toolchain, version is
"arm-2007q3-51-arm-none-linux-gnueabi.bin".
built commands:
make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- uImage
Your commands for building kernel are OK for me. But please note that
there is a lot of stuff which is not in the tmlind branch yet. Please
try kernel ver. 2.6.32 from Beagleboard validation repo (this is the
most stable kernel for BB-xM today):
I get the kernel from linux-omap git repository. The kernel version
2.6. Then I checked out 2.6.31 kernel profile. Then I compiled with
arm toolchain that I downloaded from code sourcery. The toolchain full
name is “arm-2007q3-51-arm-none-linux-gnueabi.bin”. I followed the
compiling process that is below.
Maybe you can try to update your codesourcery toolchain.
And, we need more info about your xload and uboot.
If you can provide full bootlog (from 40W …), that’ll be a lot better.
First of all, I compiled my x-loader and u-boot with toolchain that I
said above.
I clearly followed these instructions to get x-loader and u-boot
binaries.
I couldnt find any branch or tag named beagleboard-validation-2.6.32,
so I couldn't checkout. Actually, Im new with git. If there is
anything that I miss, please warn me.
I tried this first. git clone git clone git://gitorious.org/beagleboard-validation/linux.git
is ok.
But, when I try to git checkout beagleboard-validation-2.6.32, it
gives an error. When I check the pack-refs. I found available tags :
I checked beagleboard validation kernel out that I suggested from git.
It works now, I have couple of questions near this, I would be
thankful if you answer them.
-> I should apply xenomai patch to kernel, so I need 2.6.30-31-33
kernels. Unfortunately xenomai has no arm patch for 2.6.32. Do you
have any advice for this kernel versions.
-> Second question is, how I can start beagleboard from Nand flash? I
tired examples to write x-loader and u-boot into flash, but it still
needs mmc card to start.
I checked beagleboard validation kernel out that I suggested from git.
It works now, I have couple of questions near this, I would be
thankful if you answer them.
-> I should apply xenomai patch to kernel, so I need 2.6.30-31-33
kernels. Unfortunately xenomai has no arm patch for 2.6.32. Do you
have any advice for this kernel versions.
-> Second question is, how I can start beagleboard from Nand flash? I
tired examples to write x-loader and u-boot into flash, but it still
needs mmc card to start.
BeagleBoard xM has no NAND FLASH - you _must_ use the MMC card.
Next time you should tell us your final goal (for example "kernel with
xenomai"). Yes, xenomai doesn't provide patch for 2.6.32 kernel so
you have a number of options:
1. Try to fix patch for 2.6.33 kernel ("ksrc/arch/arm/patches/adeos-
ipipe-2.6.33-arm-1.18-00.patch"). Apply this patch to the validation
kernel, analyze "patch" utility output and fix original patch (i.e.
find the difference between file in your sources and lines from patch
and understand why there is a difference). After that you should very
carefully check changes in all the files listed in patch (around 180
files) and analyze changes to these files. This should be done as you
have patch for another kernel. This is quite difficult way but you'll
have stable (???) kernel with all the power management stuff and with
1GHz clock.
2. You can try to compile 2.6.33 kernel from tmlind branch and apply
xenomai patch. It's a much more easier way but you'll have kernel
without PM and with 800MHz clock.
3. Next option is to ask xenomai guys why they didn't provide a patch
for 2.6.32 kernel and to ask them to do this.
4. And the easiest way is to forget about xenomai support. :)))