[U-Boot] Entry point for uncompressed kernel image

Gigin Jose gigin_jose at yahoo.co.in
Fri Jan 7 09:56:07 CET 2011


Hi , 
The kernel source is working fine with zImage. The kernel boots up comfortable when given boot_zImage command from uboot.  I think there are less chances for MMU configuration trouble.
 Is there any extra configuration required for loading the uncompressed image.?
thanks & regardsGIGIN

--- On Fri, 7/1/11, Pankaj Pandey <pankaj.embedded at gmail.com> wrote:

From: Pankaj Pandey <pankaj.embedded at gmail.com>
Subject: Re: [U-Boot] Entry point for uncompressed kernel image
To: "Gigin Jose" <gigin_jose at yahoo.co.in>
Date: Friday, 7 January, 2011, 12:56 PM

hi...ur booting argument seem to be ok....this seem to be that ur  RAM address is not virtually map correctly.....0x30008010 address 
is the beginning  of kernel start...where i guess MMU is not getting initialized...I mean your crashing happening in assembly  file 

only ./arch/arm/kernel/head.S....I am not aware about any  software package tool....but still u can try to debug through KGDB....
but make sure kgdb support is  available in ur kernel and u need  two serial port or 1 serial and 1 network port....And if you 

to read you raw elf file for debugging..u can try this to convert ur vmlinux to readable format

#arm-eabi-objdump -D vmlinux  > junk

through this u can check where ur pc is gng in assembly code.

Regards,

Pankaj Pandey  

On Fri, Jan 7, 2011 at 3:58 PM, Gigin Jose <gigin_jose at yahoo.co.in> wrote:



Hi , 

Here goes my bootargs ..bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0. 

From the exception, I was able to understand that a data abort has occurred and my <pc> is stopping at 30008010 address. But I was not able to locate this address in System.map. My System.map starts from 33d80000 and ends in 33de3918. 


Is there any software package tool for JTAG debugging. 

thanks & regardsGIGIN



--- On Fri, 7/1/11, Pankaj Pandey <pankaj.embedded at gmail.com> wrote:



From: Pankaj Pandey <pankaj.embedded at gmail.com>

Subject: Re: [U-Boot] Entry point for uncompressed kernel image

To: "Gigin Jose" <gigin_jose at yahoo.co.in>

Date: Friday, 7 January, 2011, 11:58 AM



hi...can you please share me ur bootargs plz...for debugging  this issue u need to connect ur board with hardware debugger through

JTAG and start debugging from kernel entry point which at ./arch/arm/kernel/head.S





Regards,

Pankaj Pandey



On Fri, Jan 7, 2011 at 3:15 PM, Gigin Jose <gigin_jose at yahoo.co.in> wrote:



Hi , 



I am getting an exception once I try to boot the image with bootm command.  



Boardcon> bootm 30008000



## Booting image at 30008000 ...



   Image Name:



   



   Created:      2011-01-07   6:04:55 UTC



   Image Type:   ARM Linux Kernel Image (uncompressed)



   Data Size:    3035360 Bytes =  2.9 MB



   Load Address: 30008000



   Entry Point:  30008000



   Verifying Checksum ... OK



   XIP Kernel Image ... OK







 initrd_start:0 ,initrd_end : 0 ## Transferring control to Linux (at address 30008000) ...







Starting kernel ...30008000











 bd->bi_arch_number:168 , bd->bi_boot_params:805306624data abort



pc : [<30008010>]    lr : [<33d9f098>]



sp : 33d3da98  ip : ffffffff  fp : 00000000



r10:



 00000001  r9 : 00000000  r8 : 33d3ffdc



r7 : 00000000  r6 : 33de2f84  r5 : 33d409e2  r4 : 00000000



r3 : 30008000  r2 : 30000100  r1 : 000000a8  r0 : ea000016



Flags: nZCv  IRQs off  FIQs off  Mode SVC_32



Resetting CPU ...











The above is an uncompressed kernel image with load and entry point as 30008000. Can you suggest with how I can debug the issue. 



thanks & regardsGIGIN



--- On Fri, 7/1/11, Pankaj Pandey <pankaj.embedded at gmail.com> wrote:







From: Pankaj Pandey <pankaj.embedded at gmail.com>



Subject: Re: [U-Boot] Entry point for uncompressed kernel image



To: "Gigin Jose"



 <gigin_jose at yahoo.co.in>



Date: Friday, 7 January, 2011, 10:52 AM







hi ....u can define same 0x30008000 as entry and load address.







Regards,



Pankaj Pandey







On Fri, Jan 7, 2011 at 2:07 PM, Gigin Jose <gigin_jose at yahoo.co.in> wrote:







Hi , 







I am trying to put uncompressed kernel image to SDRAM for my s3c2440 development board. The uncompressed kernel image is made from 'Image' inside arch/arm/boot folder using the mkimage tool.







 What should be the entry point and load address for the uncompressed kernel image ? 







The physical address of my RAM is 0x30000000 and the zImage is loaded to the address 0x30008000. 







thanks & regardsGIGIN



















_______________________________________________







U-Boot mailing list







U-Boot at lists.denx.de







http://lists.denx.de/mailman/listinfo/u-boot





























_______________________________________________



U-Boot mailing list



U-Boot at lists.denx.de



http://lists.denx.de/mailman/listinfo/u-boot














_______________________________________________

U-Boot mailing list

U-Boot at lists.denx.de

http://lists.denx.de/mailman/listinfo/u-boot








More information about the U-Boot mailing list