public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ROMRAM mode for Samsung SNDS redboot?
@ 2003-11-18  1:24 RandyLin
  2003-11-18  9:31 ` Roland Caßebohm
  0 siblings, 1 reply; 3+ messages in thread
From: RandyLin @ 2003-11-18  1:24 UTC (permalink / raw)
  To: ecos-discuss

I have redboot rom mode on SNDS, but I can't find the
mlt_arm_snds_romram.ldi or .h
No one done this before?
Can anyone give me suggestion, or lead me to some document?



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: [ECOS] ROMRAM mode for Samsung SNDS redboot?
@ 2003-11-19  6:55 RandyLin
  0 siblings, 0 replies; 3+ messages in thread
From: RandyLin @ 2003-11-19  6:55 UTC (permalink / raw)
  To: ecos-discuss


Thanks for the "hal_platform_setup.h", it works!




On Mittwoch, 19. November 2003 02:22, RandyLin@mxic.com.tw wrote:
> I have redboot rom mode on SNDS, but I can't find the
> mlt_arm_snds_romram.ldi or .h
> No one done this before?
> Can anyone give me suggestion, or lead me to some document?

I have made ROMRAM version for our new platform "ARM Industrial Module"
which is based on the snds hal and which we will contribute back soon.

Maybe you could make the same for the snds platform, but the problem is
the RAM version of snds is starting at 0x20000 and there is not enough
place for RedBoot (at least with network) executed from RAM. That
means the RAM ldi file has to be changed too.

This is the difference of the ramrom ldi file to the ram ldi file:

 diff -u5 -p -N mlt_arm_aim711_romram.ldi
../../../../snds/current/include/pkgconf/mlt_arm_snds_ram.ldi
--- mlt_arm_aim711_romram.ldi   Fri Oct 17 13:20:13 2003
+++ ../../../../snds/current/include/pkgconf/mlt_arm_snds_ram.ldi       Mon

Sep 29 17:16:19 2003
@@ -4,18 +4,18 @@

 #include <cyg/infra/cyg_type.inc>

 MEMORY
 {
-    ram : ORIGIN = 0x000000, LENGTH = 0x00800000
+    ram : ORIGIN = 0x000000, LENGTH = 0x01000000
 }

 SECTIONS
 {
     SECTIONS_BEGIN
-    SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
-    SECTION_rom_vectors (ram, 0x1000, LMA_EQ_VMA)
+    SECTION_fixed_vectors (ram, 0x200, LMA_EQ_VMA)
+    SECTION_rom_vectors (ram, 0x00020000, LMA_EQ_VMA)
     SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)

Additionally I have attached the hal_platform_setup.h file of the AIM
hal, which includes the relocating of the text segment. I haven't made
a diff, because it would be confusing to read because I have changed
a big part of it from being a "#define" macro to an assembler macro,
so it is the same code but would be shown as difference because of the
";\" at the end of the line.







-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-11-19  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18  1:24 [ECOS] ROMRAM mode for Samsung SNDS redboot? RandyLin
2003-11-18  9:31 ` Roland Caßebohm
2003-11-19  6:55 RandyLin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).