public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel not working
@ 2005-11-21 10:48 Richard Copeman
  2005-11-21 10:55 ` Komal Shah
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Copeman @ 2005-11-21 10:48 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

 

I'm a newbie, so please forgive me if this has been answered elsewhere.

I have the 2.6.8rc3 kernel source downloaded from linux.omap.com and have
built with GCC 3.3.2. I have not done any tweaking in make xconfig, so it
should be the standard OMAP 5912 OSK kernel. I get the vmlinux output which
I put through objcopy and the appropriate mkimage for my version of Uboot
(1.1.1) to provide me with an image which I tftpboot onto the board.

 

The system gets as far as uncompressing the kernel and then I get the
message:

 

Starting kernel .

 

And nothing else happens.

 

Can anybody tell me it went wrong and what I can do to try and get it
working please?

 

I'm sorry if I haven't provided all of the right information for you to help
but I'm not sure what I should be providing at this point. If you can let me
know.?

 

Thanks,

 

Richard.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel not working
  2005-11-21 10:48 Kernel not working Richard Copeman
@ 2005-11-21 10:55 ` Komal Shah
  2005-11-21 14:25   ` Richard Copeman
  0 siblings, 1 reply; 6+ messages in thread
From: Komal Shah @ 2005-11-21 10:55 UTC (permalink / raw)
  To: Richard Copeman, linux-omap-open-source

--- Richard Copeman <richard.copeman@lauterbach.co.uk> wrote:

> Hello,
> 
>  
> 
> I'm a newbie, so please forgive me if this has been answered
> elsewhere.
> 
> I have the 2.6.8rc3 kernel source downloaded from linux.omap.com and
> have
> built with GCC 3.3.2. I have not done any tweaking in make xconfig,
> so it
> should be the standard OMAP 5912 OSK kernel. I get the vmlinux output
> which
> I put through objcopy and the appropriate mkimage for my version > of

I don't know if you need to update u-boot or not, but you can update
the kernel from 

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=log;t=7

A README for fetching the kernel tree is provided on 
http://www.muru.com/linux/omap/

You then please enable low-level debugging CONFIG_DEBUG_LL in the
kernel configuration and post the serial-output messages if any.

---Komal Shah
http://komalshah.blogspot.com/


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Kernel not working
  2005-11-21 10:55 ` Komal Shah
@ 2005-11-21 14:25   ` Richard Copeman
  2005-11-21 14:31     ` Komal Shah
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Copeman @ 2005-11-21 14:25 UTC (permalink / raw)
  To: linux-omap-open-source, 'Vineet Tuli'

Hi,

Many thanks for the pointers. I have taken a look at the newbie guide. I
have got a 2.6.13.4 kernel built with gcc 3.4.1 as per the instructions in
the guide. I have the kernel image tftpboot loaded onto my OSK board and
things progress a little further (but not much).

I get:

Starting kernel ...

Uncompressing Linux......................................................

And then it all stops. In the newbie guide there was a section about this
and I have added the extra head-omap.o to my Makefile in
arch/arm/boot/compressed and rebuilt but still no improvement. Grepping
through the build logs the object has been included so I'm guessing my mods
worked ;-)

On another point, my board does not allow me to save my Uboot environment.
Typing save gives me:

Saving E"@ironment to Flash...
Un-Protected 1 sectors
Erasing Flash...Can't erase unknown flash type 00000000 - aborted
Erased 1 sectors
Error: start and/or end address not on sector boundary
OMAP5912OSK#

This board is set at factory configuration and has not had Uboot updated
since I unpacked it. Is it likely that my board is not functioning
correctly?

Thanks,

Richard.

-----Original Message-----
From: Komal Shah [mailto:komal_shah802003@yahoo.com] 
Sent: 21 November 2005 10:56
To: Richard Copeman; linux-omap-open-source@linux.omap.com
Subject: Re: Kernel not working

--- Richard Copeman <richard.copeman@lauterbach.co.uk> wrote:

> Hello,
> 
>  
> 
> I'm a newbie, so please forgive me if this has been answered
> elsewhere.
> 
> I have the 2.6.8rc3 kernel source downloaded from linux.omap.com and
> have
> built with GCC 3.3.2. I have not done any tweaking in make xconfig,
> so it
> should be the standard OMAP 5912 OSK kernel. I get the vmlinux output
> which
> I put through objcopy and the appropriate mkimage for my version > of

I don't know if you need to update u-boot or not, but you can update
the kernel from 

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=log;t=7

A README for fetching the kernel tree is provided on 
http://www.muru.com/linux/omap/

You then please enable low-level debugging CONFIG_DEBUG_LL in the
kernel configuration and post the serial-output messages if any.

---Komal Shah
http://komalshah.blogspot.com/


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Kernel not working
  2005-11-21 14:25   ` Richard Copeman
@ 2005-11-21 14:31     ` Komal Shah
  2005-11-21 15:51       ` Richard Copeman
  0 siblings, 1 reply; 6+ messages in thread
From: Komal Shah @ 2005-11-21 14:31 UTC (permalink / raw)
  To: Richard Copeman, linux-omap-open-source, 'Vineet Tuli'

--- Richard Copeman <richard.copeman@lauterbach.co.uk> wrote:

> Hi,
> 
> Many thanks for the pointers. I have taken a look at the newbie
> guide. I
> have got a 2.6.13.4 kernel built with gcc 3.4.1 as per the
> instructions in
> the guide. I have the kernel image tftpboot loaded onto my OSK board
> and
> things progress a little further (but not much).
> 
> I get:
> 
> Starting kernel ...
> 
> Uncompressing
> Linux......................................................
> 
> And then it all stops. In the newbie guide there was a section about
> this
> and I have added the extra head-omap.o to my Makefile in
> arch/arm/boot/compressed and rebuilt but still no improvement.
> Grepping
> through the build logs the object has been included so I'm guessing
> my mods
> worked ;-)
> 
> On another point, my board does not allow me to save my Uboot
> environment.
> Typing save gives me:
> 
> Saving E"@ironment to Flash...
> Un-Protected 1 sectors
> Erasing Flash...Can't erase unknown flash type 00000000 - aborted
> Erased 1 sectors
> Error: start and/or end address not on sector boundary
> OMAP5912OSK#

As I am not a OSK user, but I remember someone saying that updating the
u-boot helps on OSK. Please try the latest version of u-boot then.

---Komal Shah
http://komalshah.blogspot.com/


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Kernel not working
  2005-11-21 14:31     ` Komal Shah
@ 2005-11-21 15:51       ` Richard Copeman
  2005-11-21 22:05         ` Matthew Percival
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Copeman @ 2005-11-21 15:51 UTC (permalink / raw)
  To: 'Komal Shah', linux-omap-open-source,
	'Vineet Tuli'

Hello again,

Please accept my apologies if I seem a little slow. I downloaded the
pre-built 3.4.2 toolchain and it has the bug mentioned in the newbie guide
so that Uboot 1.1.3 does not build. Since, I do not have the source to the
3.4.2 toolchain it is impossible for me to apply the patch recommended by
the documentation to elf32-arm.h ;-(

Can somebody point me at a pre built arm-linux tool chain so I can build
Uboot 1.1.3 please? Or a pre-built Uboot.bin 1.1.3 for OMAP 5912OSK?

Many thanks,

Richard.



-----Original Message-----
From: Komal Shah [mailto:komal_shah802003@yahoo.com] 
Sent: 21 November 2005 14:32
To: Richard Copeman; linux-omap-open-source@linux.omap.com; 'Vineet Tuli'
Subject: RE: Kernel not working

--- Richard Copeman <richard.copeman@lauterbach.co.uk> wrote:

> Hi,
> 
> Many thanks for the pointers. I have taken a look at the newbie
> guide. I
> have got a 2.6.13.4 kernel built with gcc 3.4.1 as per the
> instructions in
> the guide. I have the kernel image tftpboot loaded onto my OSK board
> and
> things progress a little further (but not much).
> 
> I get:
> 
> Starting kernel ...
> 
> Uncompressing
> Linux......................................................
> 
> And then it all stops. In the newbie guide there was a section about
> this
> and I have added the extra head-omap.o to my Makefile in
> arch/arm/boot/compressed and rebuilt but still no improvement.
> Grepping
> through the build logs the object has been included so I'm guessing
> my mods
> worked ;-)
> 
> On another point, my board does not allow me to save my Uboot
> environment.
> Typing save gives me:
> 
> Saving E"@ironment to Flash...
> Un-Protected 1 sectors
> Erasing Flash...Can't erase unknown flash type 00000000 - aborted
> Erased 1 sectors
> Error: start and/or end address not on sector boundary
> OMAP5912OSK#

As I am not a OSK user, but I remember someone saying that updating the
u-boot helps on OSK. Please try the latest version of u-boot then.

---Komal Shah
http://komalshah.blogspot.com/


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Kernel not working
  2005-11-21 15:51       ` Richard Copeman
@ 2005-11-21 22:05         ` Matthew Percival
  0 siblings, 0 replies; 6+ messages in thread
From: Matthew Percival @ 2005-11-21 22:05 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> Can somebody point me at a pre built arm-linux tool chain so I can build
> Uboot 1.1.3 please? Or a pre-built Uboot.bin 1.1.3 for OMAP 5912OSK?

	Your problem sounds like the one caused by the bug in the old version
of u-boot.  I believe the u-boot binary at the CE Linux wiki is good, so
you may like to try it out from here:
		http://tree.celinuxforum.org/CelfPubWiki/OSK

	-- Matthew

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-21 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 10:48 Kernel not working Richard Copeman
2005-11-21 10:55 ` Komal Shah
2005-11-21 14:25   ` Richard Copeman
2005-11-21 14:31     ` Komal Shah
2005-11-21 15:51       ` Richard Copeman
2005-11-21 22:05         ` Matthew Percival

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox