EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

[U-boot + S3C2410] Starting Kernel

Started by Fabian Rami November 4, 2006
Hello every one.

I try to boot a linux on an AKT30 devices. The AKT30 is already working 
on linux but i need an upgrade.

With the original kernel , here is what i have :

Loading from device 0: <NULL> at 0x4e000000 (offset 0x40000)
    Image Name:   Linux-2.6.14-akt30
    Created:      2006-02-07   9:37:13 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1107824 Bytes -=  1.1 MB
    Load Address: 30008000
    Entry Point:  30008000
## Booting image at 30600000 ...
    Image Name:   Linux-2.6.14-akt30
    Created:      2006-02-07   9:37:13 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1107824 Bytes =  1.1 MB
    Load Address: 30008000
    Entry Point:  30008000
    Verifying Checksum ... OK
OK
And then the kernel start to boot

With my kernel i have the folowing

akt30-> setenv bootargs mem=8M noinitrd console=ttySX0,115200 
root=/dev/sda1 roo
tfstype=fat;usb reset; usb scan; fatload usb 0:1 0x30008000 WowKernel; 
bootm 0x3
0008000;
(Re)start USB...
USB:   scanning bus for devices... 2 USB Devices found
Scan for storage device:
        scanning bus for storage devices...
   Device 0: Vendor: Kingston Prod.: DataTraveler 2.0 Rev: 6.16
             Type: Removable Hard Disk
             Capacity: 119.4 MB = 0.1 GB (244735 x 512)
reading WowKernel
................................................................................
................................................................................
.....................................

2017888 bytes read
## Booting image at 30008000 ...
    Image Name:   Debug_kernel
    Created:      2006-11-04  14:53:33 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    2017824 Bytes =  1.9 MB
    Load Address: 30008000
    Entry Point:  30008000
    Verifying Checksum ... OK
    XIP Kernel Image ... OK

Starting kernel ...

undefined instruction
pc : [<30008008>]    lr : [<307b0ac8>]
sp : 30767dac  ip : 00000001  fp : 00000002
r10: 307be324  r9 : 30778730  r8 : 30767fdc
r7 : 30008040  r6 : 30008000  r5 : 00000000  r4 : 30008040
r3 : 30008000  r2 : 30000100  r1 : 000000c1  r0 : 00000000
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...


You can see that he try to :## Booting image at 30008000 ... and not 
3060000!

I don t know where i must start looking for solve this problem.

- How can i debug this ?
- How can i found the right memory adress to boot from my kernel?

Thanks for help all !





The 2024 Embedded Online Conference