[U-Boot-Users] U-Boot and S3c2410

asnua at eircom.net asnua at eircom.net
Thu Feb 19 12:16:19 CET 2004


Has anyone succeeded in booting MIZI Linux from U-boot on the S3C2410 dev kit?
Here's where I'm at:

(1) Built U-boot for S3C2410 (ARM 9) --- OK
(2) Put it on AMD 1Mbyte FLASH --- OK
(3) U-Boot runs fine. get monitor prompt. ---OK
(4) Have set up tftp server on another machine. ---OK
(5) Can tftpboot the linux kernel to RAM.--- OK
(6) Can Do Mkimage --- OK
(6) Try to execute linux kernel at RAM address --- NOT OK
See below: Get an Error a: which I believe having trawled through Kernel is an invalid architecture????

tftpboot 30008000 compressed_vmlinux
TFTP from server 192.xxx.xx.xx; our IP address is 192.xxx.xx.xx
Filename 'compressed_vmlinux'.
Load address: 0x30008000
Loading: #################################################################
         #################################################################
         ##
done
Bytes transferred = 673293 (a460d hex)
SMDK2410 # go 30008000
## Starting application at 0x30008000 ...
Uncompressing Linux................................................ done, bootin
g the kernel.

Error: a

(7) Try to issue bootm --- NOT OK
tftpboot 30008000 myvmlinux6.img
TFTP from server 192.xxx.xx.xx; our IP address is xxx.xxx.xx.xx
Filename 'myvmlinux6.img'.
Load address: 0x30008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
done
Bytes transferred = 1815019 (1bb1eb hex)
SMDK2410 # imi

## Checking Image at 30008000 ...
   Image Name:   2.4.18 6th attempt
   Created:      2004-02-12  13:25:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1814955 Bytes =  1.7 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK

SMDK2410 # bootm
## Booting image at 30008000 ...
   Image Name:   2.4.18 6th attempt
   Created:      2004-02-12  13:25:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1814955 Bytes =  1.7 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

Starting kernel ...

data abort
pc : [<30008008>]    lr : [<33f9135c>]
sp : 33fb9bb4  ip : 33fb9ba4  fp : 33fb9be8
r10: 33fb9c5c  r9 : 00000001  r8 : 33fb9f54
r7 : 33f98db4  r6 : 30008000  r5 : 00000000  r4 : 00000000
r3 : 30008000  r2 : 50000000  r1 : 000000c1  r0 : 00000000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

MY QUESTIONS:
(1)r2 does look odd as I don't have any RAM at that address!! I've read that it should contain the physical address of tagged list in RAM
(2) How do I ensure that r0, r1, r2 are correctly set up?
(3) Has anyone used U-boot with the S3C2410?
(4) ANy pointers to how I can move forward?
(5) How do I get the load and entry point addresses correct?

Thanks for any help received,
Dave





More information about the U-Boot mailing list