public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] lowlevel_init.s for ARM920t/S3C2410
@ 2009-09-16 11:30 J.Hwan.Kim
  2009-09-17  9:26 ` kevin.morfitt at fearnside-systems.co.uk
  0 siblings, 1 reply; 3+ messages in thread
From: J.Hwan.Kim @ 2009-09-16 11:30 UTC (permalink / raw)
  To: u-boot

Hi, everyone

I'm running u-boot (2009.03) in S3C2410 board now.
But I have a problem.

It seems that "bl lowlevel_init" routine in ARM920t/start.s is not working.
The label, lowlevel_init, is  defined as global label in 
/board/samsung/s3c2410/lowlevel_init.s
and is seen system.map file.

I think the code does not jump to lowlevel_init in 
/board/samsung/s3c2410/lowlevel_init.S from start.S
When I copy lowlevel_init subroutine into ARM920t/start.S instead of "bl 
lowlevel_init",
it does work.

Why does the "bl lowlevel_init" not work?

How can  I solve this problem ?

Thanks in advance.

Regards,
J.Hwan Kim

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [U-Boot] lowlevel_init.s for ARM920t/S3C2410
@ 2009-10-24 11:53 Gaye Abdoulaye Walsimou
  0 siblings, 0 replies; 3+ messages in thread
From: Gaye Abdoulaye Walsimou @ 2009-10-24 11:53 UTC (permalink / raw)
  To: u-boot

>
> Alternatively, I have seen some unofficial u-boot ports for s3c24x0 cpu's that
> do support u-boot booting from NAND flash but I don't have the source code for them.
>   
Kevin,
I think this[1] is the code you are talking about. I just give it a try
and it works like a charm when booting from NAND flash.
They have a nand_read.c under cpu/arm920t/s3c24xx, which its object file
is included just under start.o in the linker script.
They also have a slightly different start.S in which they determinate if
we're booting from NAND or NOR flash.

cheers,

[1] http://repo.or.cz/w/u-boot-openmoko/mini2440.git

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-24 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 11:30 [U-Boot] lowlevel_init.s for ARM920t/S3C2410 J.Hwan.Kim
2009-09-17  9:26 ` kevin.morfitt at fearnside-systems.co.uk
  -- strict thread matches above, loose matches on Subject: below --
2009-10-24 11:53 Gaye Abdoulaye Walsimou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox