Skip to contentSkip to conversation

Kernel not working

DISCUSSION Richard Copeman 3 participants 6 messages Nov 21, 2005

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 7 lines · --- Richard Copeman

Hello,

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

Quoted 7 lines

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

#2 lore raw

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:[email protected]]
Sent: 21 November 2005 10:56
To: Richard Copeman; [email protected]
Subject: Re: Kernel not working

Quoted 7 lines · --- Richard Copeman

Hello,

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

Quoted 7 lines

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

#3 lore raw
Quoted 30 lines · --- Richard Copeman

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:

Quoted 6 lines

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

#4 lore raw

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:[email protected]]
Sent: 21 November 2005 14:32
To: Richard Copeman; [email protected]; 'Vineet Tuli'
Subject: RE: Kernel not working

Quoted 30 lines · --- Richard Copeman

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:

Quoted 6 lines

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

#5 lore raw

G'Day,

Quoted 2 lines

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