Hi beagleboard community,
First off, Id just like to say that the information I have found here
has been a great help to me in the past 2 months. Thank you all for
your time and knowledge.
My Problem is that I cannot get past a particular step in the boot
process regardless of how many time I have compiled OE or just a
kernel image.
My situation:
I am using the xM rev-A to build an oscilloscope model which will be
used by my University in it's open circuits lab. This involves
interfacing the beagle to a custom FPGA PC board. My ultimate goal is
to enable McSPI3 and McSPI4 so that I can talk to the FPGA and this,
as I understand it, involves rolling my own kernel with SPI enabled.
I have booted the demo Images just fine and build custom packages with
narcissus. All them have booted.
My problem:
So far, after generating many many uImages in many different ways
including compiling the kernel natively on the beagle 3 time, I have
not been able to boot a custom kernel on the beagleboard. I always get
to either of these points:
Uncompressing
Linux........................................................
or
Uncompressing Linux... done, booting the kernel.
and then nothing (over minicom).
I can then remove my uImage and replace it with the one taken from
angstrom generates packages and it boots up just fine.
What I have tried:
-Building the kernel manual using openembedded source files and quilt
to apply patches. (from wiki page), did this with 6.2.28, 6.2.32, and
6.2.37
-Building the kernel natively on the beagleboard using modified steps
above. Did this with 6.2.32 and 6.2.37.
-Downloading bitbake and openembedded manually and executing bitbake
commands such bitbake console-image bitbake beagleboard-demo-image
bitbake base-image bitbake -xxxxxx/linus-omap_2.6.xx.bb
-Downloading oebb.sh script and executed that (my computer is still
working on this. It is having issues with QA and RPATH or something.)
My Steps, (please check me here, I am on my own with this and I might
just not know about some obvious step)
Compile kernel (Either with make, make CROSS_COMP....., or bitbake)
Delete uImage from DOS partition of SD card.
Copy generate uImage to DOS partition
Boot on beagle
...no dice.
Every kernel I have built has given me the same two errors above. So
far, I have pretty much spent a week non-stop on this to no avail. I
even set up a computer with a new install of ubuntu just to handle
bitbakes. I only have MLO u-boot.bin and uImage on the DOS partition.
Please help me. If you have an idea about what I am doing wrong here
let me know. Even if you just have a feeling about something, point me
to it. Also, if you happen to have a copy of a uImage with SPI patched
and muxed, please send it to me. I would be very grateful. I really
need to focus on other aspects of this project and this is taking all
of my time.
I am starting to suspect that it is something other that the uImage I
have generated. I am including the output of printenv. Do u-boot.bin
and uImage have to match or something?
OMAP3 beagleboard.org # printenv
bootcmd=if mmc init ${mmcdev}; then if userbutton; then setenv bootscr
user.scr;if run loadbootscript; theni
bootdelay=3
baudrate=115200
loadaddr=0x80200000
rdaddr=0x81600000
usbtty=cdc_acm
console=ttyS2,115200n8
optargs=
bootscr=boot.scr
camera=lbcm3m1
vram=12M
dvimode=640x480MR-16@60
defaultdisplay=dvi
mmcdev=1
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=$
{mpurate} buddy=${buddy} camera=${camera} vr}
nandargs=setenv bootargs console=${console} ${optargs} mpurate=$
{mpurate} buddy=${buddy} camera=${camera} v}
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} ${bootscr}
ramargs=setenv bootargs console=${console} ${optargs} mpurate=$
{mpurate} buddy=${buddy} camera=${camera} vr}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read $
{loadaddr} 280000 400000; bootm ${loadaddr}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
buddy=none
beaglerev=xMA
mpurate=1000
dieid#=56be00011ff00000015739eb0a020006
Thank you so much for reading.