[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm
Subject:    problem while uncompressing Linux image
From:       "Project Trainees\(Embedded/Harita\)" <projecttrainees () harita ! com>
Date:       2005-12-29 12:51:43
Message-ID: 5507EEAB031AFF45A1AC6F3746D83AF50CFA13 () blrex01 ! tvse ! int
[Download RAW message or body]


I am using u-boot1.1.3 with Linux-2.6.13 for Accelent IDP DEVKIT with PXA255 \
processor (uses Xscale). The size of SDRAM is 32MB and flash is 16 MB.

I have used TEXTADDR=c0008000 and ZRELADDR=a0008000

The problem while porting under debug mode,
1. The kernel is getting compressed 
2. Displaying debug messages, but hanging after that.
3. If i use TEXTADDR=a0008000 and ZRELADDR=a0008000, it is entering in to \
start_kernel() function and makes LED to blink, but it is not executing printk() \
function. I got the following output under debug mode.

/***************************With debug (debug defined in \
head.S)*************************/

U-Boot 1.1.3 (Dec 29 2005 - 14:54:44)
                                      
U-Boot code: A1700000 -> A171D014  BSS: -> A1751954
RAM Configuration:
Bank #0: a0000000 32 MB
Bank #1: a2000000  0 kB
Bank #2: a8000000  0 kB
Bank #3: ac000000  0 kB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    743720 Bytes = 726.3 kB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
OK
   
Starting kernel ...
                    
jumping to kernel at a0008000 ...
Uncompressing Linux................................................... done, booting \
the kernel.  
69052D06:0000006E:00001078
A00D6D60-A0250160>A0008000
A0250160
A0008000: E321F0D3 EB000051 E1B0A005 0A00004D  EB000066 E1B08005 0A00004A EB00002D
A0008020: E59FD004 E28FE068 E28AF00C C0008050  C0150000 C0150000 C01813C0 C019209C
A0008040: C01831E8 C01831DC C0152F48 C0151FF8  E24F3028 E8B300F0 E1540005 11550006
A0008060: 1494B004 1485B004 1AFFFFFB E3A0B000  E1560007 3486B004 3AFFFFFC E8932070
A0008080: E5849000 E5851000 E3C04002 E8860011  EA000176 E3800002 E3A0501F EE035F10
A00080A0: EE024F10 EA000005 00000000 00000000  00000000 00000000 00000000 00000000
A00080C0: E1A00000 EE010F10 EE103F10 E1A03003  E1A03003 E1A0F00D E5985004 E24F40E4
A00080E0: E2444901 E1A00004 E3A03000 E2806901  E4803004 E4803004 E4803004 E4803004
?


The problem while porting without debug
1. The kernel is not getting compressed.

I got the following output


/********************* Without debug (debug is not defined in \
head.S)*****************/  
U-Boot 1.1.3 (Dec 29 2005 - 14:54:44)
                                      
U-Boot code: A1700000 -> A171D014  BSS: -> A1751954
RAM Configuration:
Bank #0: a0000000 32 MB
Bank #1: a2000000  0 kB
Bank #2: a8000000  0 kB
Bank #3: ac000000  0 kB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    743400 Bytes = 726 kB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
OK
   
Starting kernel ...
                    
jumping to kernel at a0008000 ...
Uncompressing Linux.......prefetch abort
pc : [<a000ab24>]    lr : [<a00c4264>]
sp : a00c65bc  ip : 00006a72  fp : a00c65e0
r10: a00bd71c  r9 : 00000002  r8 : 401c26ac
r7 : 000000a0  r6 : 21c31c05  r5 : 00000010  r4 : a00c57f8
r3 : 3e6e77db  r2 : a00c581c  r1 : 00008000  r0 : a00fd694
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
                  
resetting ...
?
  
U-Boot 1.1.3 (Dec 29 2005 - 14:54:44)
                                      
U-Boot code: A1700000 -> A171D014  BSS: -> A1751954
RAM Configuration:
Bank #0: a0000000 32 MB
Bank #1: a2000000  0 kB
Bank #2: a8000000  0 kB
Bank #3: ac000000  0 kB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    743400 Bytes = 726 kB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
OK
   
Starting kernel ...
                    
jumping to kernel at a0008000 ...
Uncompressing Linux.....data abort
pc : [<a0008ccc>]    lr : [<a000ab78>]
sp : a00c65e4  ip : 00000009  fp : a00c6630
r10: 0000946c  r9 : 00000000  r8 : 00003892
r7 : 0000000a  r6 : a00c7c20  r5 : 00000004  r4 : 00000010
r3 : e5940008  r2 : a00bd7f0  r1 : a00c57f4  r0 : 0000946b
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
                  
resetting ...
?
  
U-Boot 1.1.3 (Dec 29 2005 - 14:54:44)
                                      
U-Boot code: A1700000 -> A171D014  BSS: -> A1751954
RAM Configuration:
Bank #0: a0000000 32 MB
Bank #1: a2000000  0 kB
Bank #2: a8000000  0 kB
Bank #3: ac000000  0 kB
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    743400 Bytes = 726 kB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
OK
   
Starting kernel ...
                    
jumping to kernel at a0008000 ...
Uncompressing Linux...................................................
                                                                       
crc error
          
 -- System halted?


regards,
usha

 
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic