Hi all,

I’m having difficulties booting my kernel. I’ve checked the followings:

1.           CONFIG_CMDLINE_TAG, CONFIG_SETUP_MEMORY_TAGS and CONFIG_INITRD_TAG all enabled. (#define as 1 in my include/configs/myboard.h file)

2.           the machines descriptor in my board specific file under linux/arch/arm/myboard.c as follows:

MACHINE_START(LP2A, "SOCLE-LP2A")

        MAINTAINER("Socle Ltd/DE1")

        BOOT_MEM(0x40000000, 0x1e800000,0x9e800000)

        BOOT_PARAMS(0x40000100)

        FIXUP(fixup_lp2a)

        MAPIO(lp2a_map_io)

        INITIRQ(lp2a_init_irq)

MACHINE_END

 

Few notes:

l            Kernel version is 2.4.21.rmk2 and was obtained from www.kernel.org, cross compiler tool was from www.gnuarm.com – version 3.4.3.

l            It seems that misc.c does the decompression of the kernel again, when kernel is already decompressed by u-boot to the load address 0x40008000.

l            Do I have to modify head.S at all?

 

I am pretty sure that I’ve done pretty much everything u-boot needs to boot my kernel but it just won’t do it (attached below is the log of the output from the board). Can anyone help please? Thanks in advance!

 

Andy

 

uP-Boot 1.3 (May 31 2005 - 10:24:23)

 

U-Boot code: 40400000 -> 40445A54  BSS: -> 40462508

IRQ Stack: 403def7c

FIQ Stack: 403ddf7c

RAM Configuration:

Bank #0: 40000000 64 MB

Board: SOCLE LeopardII.A

erase_region_count = 64 erase_region_size = 131072

erase_region_count = 64 erase_region_size = 131072

Flash: 16 MB

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Hit any key to stop autoboot:  3  2  1  0

 enter cmd_bootm1

## Booting image at 1f100000 ...

   Image Name:   Linux Kernel Image

   Image Type:   ARM Linux Kernel Image (gzip compressed)

   Data Size:    621593 Bytes = 607 kB

   Load Address: 40008000

   Entry Point:  40008000

checksum enter

   Verifying Checksum ... OK

checksum out

   Uncompressing Kernel Image ... OK

## Loading Ramdisk Image at 1f300000 ...

   Image Name:  

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    1026439 Bytes = 1002.4 kB

   Load Address: 40800000

   Entry Point:  40800000

   Verifying Checksum ... OK

OK

 

Starting kernel ... (ß----------------------- just hangs here!)