Kernel unpacked, booting, but data disappears from the console

Hi,

I can start up my new beagle board, connect over the serial port and then see that the kernel gets unpacked and starts to boot. But then it just hangs or rather disappears. I suspect information is going to another console but I tried to pass kernel arguments to capture that but it doesn’t work.

Is there something I’m doing wrong?

Jeremiah

well it might help to print out your bootlog and pastebin it..

Otherwise add "earlyprintk" to your bootargs to see what's happening..

Regards,


where is a description or link of the booting process I dont even get this far



U-Boot 2009.11-rc1-00601-g3aa4b51 (Jan 05 2010 - 20:56:38)







OMAP3530-GP ES3.1, CPU-OPP2 L3-165MHz



OMAP3 Beagle board + LPDDR/NAND



I2C: ready



DRAM: 256 MB



NAND: 256 MiB



*** Warning - bad CRC or NAND, using default environment







In: serial



Out: serial



Err: serial



Board revision C4



Die ID #6faa00040000000004037d070b019018



Hit any key to stop autoboot: 0



No MMC card found



Booting from nand …







NAND read: device 0 offset 0x280000, size 0x400000



4194304 bytes read: OK



Wrong Image Format for bootm command



ERROR: can’t get kernel image!



OMAP3 beagleboard.org #





— On Thu, 9/23/10, Robert Nelson robertcnelson@gmail.com wrote:




> From: Robert Nelson robertcnelson@gmail.com
> Subject: Re: [beagleboard] Kernel unpacked, booting, but data disappears from the console
> To: beagleboard@googlegroups.com
> Date: Thursday, September 23, 2010, 10:49 AM
>
> On Thu, Sep 23, 2010 at 9:10 AM, Jeremiah Foster
> <jeremiah@jeremiahfoster.com> wrote:
> > Hi,
> > I can start up my new beagle board, connect over the serial port and then
> > see that the kernel gets unpacked and starts to boot. But then it just hangs
> > or rather disappears. I suspect information is going to another console but
> > I tried to pass kernel arguments to capture that but it doesn’t work.
> > Is there something I’m doing wrong?
>
> well it might help to print out your bootlog and pastebin it…
>
> Otherwise add “earlyprintk” to your bootargs to see what’s happening…
>
> Regards,
>
> –
> Robert Nelson
> http://www.rcn-ee.com/
>
> –
> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> To post to this group, send email to beagleboard@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

|

Mark Lazarewicz <lazarman@yahoo.com> [2010-09-23 09:47:42]:

where is a description or link �of the booting process I dont even get this far

http://code.google.com/p/beagleboard/wiki/BeagleboardRevC3Validation

-- ynezz


Thanks guys

I wanted to make it clear I have no MMC Card

I cant find anyone who sells MMC locally so I will bring board along to Best Buy to grab an SD that fits

As I understood it a linux kernel was supposed to be flashed in NAND when shipped and ready to boot into Linux(Maybe I was hoping for too much?)

I am presently walking through the Free Electrons labs I assumed the part that deals with
building a kernel in these labs would cover booting/getting the image to the baord also.

Sounds like I should check the boot args used by UBOOT also

I guess I also better verify you can actually boot loading linux from NAND and the image is really there


— On Thu, 9/23/10, Petr Štetiar ynezz@true.cz wrote:



> From: Petr Štetiar ynezz@true.cz
> Subject: Re: [beagleboard] Kernel unpacked, booting, but data disappears from the console
> To: beagleboard@googlegroups.com
> Cc: robertcnelson@gmail.com
> Date: Thursday, September 23, 2010, 12:14 PM
>
> Mark Lazarewicz <lazarman@yahoo.com> [2010-09-23 09:47:42]:
>
> > where is a description or link of the booting process I dont even get this far
>
> http://code.google.com/p/beagleboard/wiki/BeagleboardRevC3Validation
>
> – ynezz
>
> –
> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> To post to this group, send email to beagleboard@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

|

Thanks guys

I wanted to make it clear I have no MMC Card

I cant find anyone who sells MMC locally so I will bring board along to
Best Buy to grab an SD that fits

As I understood it a linux kernel was supposed to be flashed in NAND when
shipped and ready to boot into Linux(Maybe I was hoping for too much?)

Oh sorry, that explains it.

Yeah, no linux kernel installed in NAND by default. The original
Beagles (Bx/Cx) where only shipped with u-boot in NAND, whereas the xM
is atleast shipped with an uSD card with angstrom installed.

I know it takes a few days, but i've found cheaper sd cards on amazon...

I am presently walking through the Free Electrons labs I assumed the part
that deals with
building a kernel in these labs would cover booting/getting the image to
the baord also.

Sounds like I should check the boot args used by UBOOT also

I guess I also better verify you can actually boot loading linux from NAND
and the image is really there

Yeah, those are good lectures, some material is a little dated, but still good..

Regards

I recently acquired a BB-xm and I am quite impressed with its potential. Since it has been a few years since I last did any driver code, my first step was to try to get a build tree up and working. Things have change a bit since I was last doing this.

Which distro is the current or most up to date? oe, angstrom, is there a difference? After spending over a week reading, building, and puzzling I decided to bare my ignorance and ask for a bit of guidance.

Is there a tree with the current code available? I see references to private trees a lot.

Which tool chain should I be using? I have one linux box which can do the OE build, and another that fails in mpfr compilation? How do you figure out why bitbake is failing?

Thank you in advance for any pointers.

I have read most of free electron lectures and several other sites. Other directions would be accepted.

In my day job I am a computer scientist, and I use to ship Unix systems long time ago. I can program in all known languages, but I realized I had gotten rusty on the current embedded linux world so I am working to fix that.

Rich


I just bought this Beagle so I can be up to speed at my latest gig supporting OMAP4 at TI

I am looking at the Free Electrons lab and it says you can boot the kernel from NAND

Anyway I have the SD card now my question is about the quickest way to formay and copy some image to it. The FE lecture is walking through using FDISK in linux to set up the card

Can I just use the HP utility. My linux box is at home and the SD card is at work mounted in my laptop.

In the meantime I will read the reference pointed out about testing the Beagle

Thanks for your patience

— On Thu, 9/23/10, Robert Nelson robertcnelson@gmail.com wrote:



> From: Robert Nelson robertcnelson@gmail.com
> Subject: Re: [beagleboard] Kernel unpacked, booting, but data disappears from the console
> To: “Mark Lazarewicz” lazarman@yahoo.com
> Cc: beagleboard@googlegroups.com
> Date: Thursday, September 23, 2010, 1:41 PM
>
> On Thu, Sep 23, 2010 at 12:57 PM, Mark Lazarewicz <lazarman@yahoo.com> wrote:
> > Thanks guys
> >
> > I wanted to make it clear I have no MMC Card
> >
> > I cant find anyone who sells MMC locally so I will bring board along to
> > Best Buy to grab an SD that fits
> >
> > As I understood it a linux kernel was supposed to be flashed in NAND when
> > shipped and ready to boot into Linux(Maybe I was hoping for too much?)
>
> Oh sorry, that explains it.
>
> Yeah, no linux kernel installed in NAND by default. The original
> Beagles (Bx/Cx) where only shipped with u-boot in NAND, whereas the xM
> is atleast shipped with an uSD card with angstrom installed.
>
> I know it takes a few days, but i’ve found cheaper sd cards on amazon…
>
> >
> > I am presently walking through the Free Electrons labs I assumed the part
> > that deals with
> > building a kernel in these labs would cover booting/getting the image to
> > the baord also.
> >
> > Sounds like I should check the boot args used by UBOOT also
> >
> > I guess I also better verify you can actually boot loading linux from NAND
> > and the image is really there
> >
>
> Yeah, those are good lectures, some material is a little dated, but still good…
>
> Regards
>
> –
> Robert Nelson
> http://www.rcn-ee.com/

|

Richard Hyde <rich.hyde@gmail.com> [2010-09-23 11:55:11]:

Hi,

Which distro is the current or most up to date? oe, angstrom, is there a
difference? After spending over a week reading, building, and puzzling I
decided to bare my ignorance and ask for a bit of guidance.

Angstrom is distribution using/based on OE. I don't know what's most up to
date, but I preffer using Angstrom. It's the place where the fixes at various
places pops first.

Is there a tree with the current code available? I see references to
private trees a lot.

I don't know about which tree are you talking about here, but for Angstrom/OE
just look what is used in recipes(SRC_URI value).

Which tool chain should I be using? I have one linux box which can do the
OE build, and another that fails in mpfr compilation? How do you figure out
why bitbake is failing?

It's not about the toolchain. Read OE's getting started[1] and [2] carefully,
than [3]. For the bitbake failing, read [4] and more...

1. Openembedded-Hotels, Villen, Unterkünfte in Leipzig
2. Openembedded-Hotels, Villen, Unterkünfte in Leipzig
3. http://www.angstrom-distribution.org/building-angstrom
4. http://www.pokylinux.org/doc/poky-handbook.html#usingpoky-debugging

-- ynezz