Skip to contentSkip to conversation

Linux kernel startup

U-Boot-Users Tiju 1 participant 1 message Apr 6, 2008

lore
Share & tools
lore

Tiju

author
#0 lore raw

Hi all,

After uboot comes up, I get stuck with the booting of linux kernel. The RAM range is from 0x30000000-0x38000000. Following are the steps I do to get the uImage.bin.

$ arm-linux-objcopy -O binary -R .note -R ..comment -S vmlinux linux.bin
$ gzip -9 linux.bin
$ ../u-boot-1.3.2/tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000 -e 0x30008000 -n "Linux kernel" -d linux.bin.gz uImage.bin
Image Name:   Linux kernel
Created:      Sun Apr  6 12:19:12 2008
Image Type:   ARM Linux Kernel Image (gzip compressed)
Data Size:    4271627 Bytes = 4171.51 kB = 4.07 MB
Load Address: 0x30008000
Entry Point:  0x30008000

After this I put the uImage.bin at 0x33000000, restart uboot and I get:

U-Boot 1.3.2 (Apr 6 2008 - 12:03:10)

DRAM:  128 MB
Flash: 32 MB

Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 33000000 ...
   Image Name:   Linux kernel
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    4271627 Bytes =  4.1 MB

Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

undefined instruction

pc : [<30808004>]          lr : [<3101175c>]

sp : 30fcfaf8 ip : 30fcffb8 fp : 00000000
r10: 00000001 r9 : 30fcfe98 r8 : 30fcffdc
r7 : cf032d24 r6 : 33000040 r5 : 31019544 r4 : 31019541
r3 : 30fcfe55 r2 : 30000100 r1 : 0000016a r0 : 00000000
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

data abort

pc : [<31010ca8>]          lr : [<31010d40>]

sp : 30fcfa88 ip : 3101b06c fp : 00000000
r10: 00000001 r9 : 30fcfe98 r8 : 30fcffdc
r7 : cf032d24 r6 : 33000040 r5 : 00658d7f r4 : 00036042
r3 : 3101b070 r2 : 0000566d r1 : 00003307 r0 : 000032ff
Flags: nzCv IRQs on FIQs on Mode SVC_32
Resetting CPU ...

data abort

pc : [<31010ca8>]          lr : [<31010cf4>]

sp : 30fcfa10 ip : ffffffff fp : 00000000
r10: 00000001 r9 : 30fcfe98 r8 : 30fcffdc
r7 : cf032d24 r6 : 33000040 r5 : 30fcfa74 r4 : 00000000
r3 : 3101b070 r2 : 30fcfa30 r1 : 00003307 r0 : 00003200
Flags: nzCv IRQs on FIQs on Mode SVC_32
Resetting CPU ...

And it keeps on resetting the CPU.

Is it the problem with the settings of uboot or the kernel and what should I do to bring the linux kernel up? Where could I find more information regarding this?

Kindly help me out.

Thanks in advance.
Tiju

Share files, take polls, and make new friends - all under one roof. Go to http://in.promos.yahoo.com/groups/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080406/0367c8fa/attachment.htm