Skip to contentSkip to conversation

U-Boot and S3c2410

U-Boot-Users Matt Matoushek 1 participant 1 message Feb 20, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Howdy Dave,

See if the attached file helps. This is the script I use to create my uImage for U-Boot with a Mizi kernel on the SMDK2410.

Matt

Quoted 9 lines

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users- admin at lists.sourceforge.net] On Behalf Of asnua at eircom.net
Sent: Friday, February 20, 2004 9:10 AM
To: Gerrit Van de Velde; asnua at eircom.net
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] U-Boot and S3c2410

(1) I looked back at my errors and I've begun to realise that an

Error: a

Quoted 1 line

is the correct answer whenever you issue a 'go' to the kernel address

as

Quoted 1 line

r0/r1 have no chance of being setup correctly i.e. I'm using 'go' as

my

Quoted 3 lines

bootloader.So with that in mind the bootm is the correct approach.

I tried the suggestion from Gerrit and it didn't work fully. However,

I

Quoted 2 lines

don't get the register dump anymore so the load and entry addresses of 0x00000000 certainly has an effect on something. But in the end it

just

Quoted 7 lines

resets to U-boot. See below:

SMDK2410 # tftpboot 30008000 myUbootzimage_comp15.img TFTP from server 192.xxx.xx.xx; our IP address is 192.xxx.xx.xx Filename 'myUbootzimage_comp15.img'.
Load address: 0x30008000
Loading:

#################################################################

Quoted 1 line

#################################################################

Quoted 38 lines
         ##

done
Bytes transferred = 670764 (a3c2c hex)
SMDK2410 # imi

## Checking Image at 30008000 ...

   Image Name:   2.4.18 15th attempt
   Created:      2004-02-19  16:59:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    670700 Bytes = 655 kB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
SMDK2410 # bootm
## Booting image at 30008000 ...

   Image Name:   2.4.18 15th attempt
   Created:      2004-02-19  16:59:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    670700 Bytes = 655 kB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
OK

Starting kernel ...

U-Boot 1.0.0 (Feb 13 2004 - 15:17:52)

U-Boot code: 33F80000 -> 33F96740 BSS: -> 33F99FA0 DRAM Configuration:
Bank #0: 30000000 64 MB

Flash:  1 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Quoted 3 lines

(2) Gerrit....Are you also using the S3C2410?

(3) So why isn't it booting. Or more correctly why is it resetting

after

Quoted 5 lines

it issues the 'Starting kernel ...' message!!
Am I missing some bootarguments?

(4) I've looked at the VIVI bootloader (from SAMSUNG) and I can see a 'mach-type' parameter which can be edited from the monitor interface.

I

Quoted 1 line

forced it to 100 (from 193) to get MIZI to fail in the same way with

an

Quoted 18 lines

'Error :a'. Does U-Boot have a similar parameter ?

Thanks again,
Dave

Gerrit Van de Velde <[email protected]> wrote:

<
<

<  > ## 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
<  >
Quoted 2 lines

<
< I'm not able to answer all your questions but I had this problem

too.

Quoted 15 lines

< When making image of the kernel, use start address and entry points < 0x00000000 instead of the address where the image is stored. That solved
< the problem for me.
<
< Kind regards,
< Gerrit Van de Velde
<
<
<
<

Quoted 9 lines

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkuImage.sh
Type: application/octet-stream
Size: 245 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040220/44aa0c09/attachment.obj