public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] port to a custom board based on the ARM E7T
@ 2003-05-06 16:01 Michael Checky
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Checky @ 2003-05-06 16:01 UTC (permalink / raw)
  To: ecos-discuss; +Cc: mattkober

> i'm trying to port Redboot to a custom board based on the Samsung
S3C4510x01
> microcontroller. i use the ARM E7T  template as a baseline.

Instead of using the E7T template, use the SNDS template.  The port for the
Samsung S3C4510x is already done.  The old name for the S3C4510x is
KS32C5100.

Michael Checky




-- 
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] 4+ messages in thread

* RE: [ECOS] port to a custom board based on the  ARM E7T
  2003-05-03 23:13 Matt Kober
  2003-05-04  0:46 ` Gary D. Thomas
@ 2003-05-04 22:06 ` Qiang Huang
  1 sibling, 0 replies; 4+ messages in thread
From: Qiang Huang @ 2003-05-04 22:06 UTC (permalink / raw)
  To: Matt Kober; +Cc: Ecos-Discuss


>in  hal_platform_ints.h i modyfied: HAL_PLATFORM_RESET_ENTRY
>in  hal_platform_setup.h   i modyfied basically all of the  .long
definition but i don't understand
>    that part           ldr     lr,=33f
>                              ldr     r0,=12f  . are 33f and 12f labels ?
if yes, where are these defined?
>these labels are not the '12'    '33' are they? i'm confused.

33f -> label "33", f stands for forward (to my understanding)
12f -> label "12",



-- 
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] 4+ messages in thread

* Re: [ECOS] port to a custom board based on the  ARM E7T
  2003-05-03 23:13 Matt Kober
@ 2003-05-04  0:46 ` Gary D. Thomas
  2003-05-04 22:06 ` Qiang Huang
  1 sibling, 0 replies; 4+ messages in thread
From: Gary D. Thomas @ 2003-05-04  0:46 UTC (permalink / raw)
  To: Matt Kober; +Cc: eCos Discussion

On Sat, 2003-05-03 at 17:13, Matt Kober wrote:
> Hi.
> i'm trying to port Redboot to a custom board based on the Samsung S3C4510x01 
> microcontroller. i use the ARM E7T  template as a baseline.
> i got a new template recognized by the config tool and the resulting image works on 
> the E7T board.
> 
> i modified the following files to reflect my new hardware :
> 
> in  hal_platform_ints.h i modyfied: HAL_PLATFORM_RESET_ENTRY
> in  hal_platform_setup.h   i modyfied basically all of the  .long definition but i don't understand 
>      that part           ldr     lr,=33f                                                
>                               ldr     r0,=12f  . are 33f and 12f labels ? if yes, where are these defined?  
> these labels are not the '12'    '33' are they? i'm confused.
> 

Yes.  Label '12f' refers to a local label "12:" which follows
the instruction that uses it.  A reference like '99b' would 
be to a local label '99:' on a previous instruction.  Local
labels are nice because they can be reused and don't pollute
the namespace.

> in   plf_io.h   i defined some new data values.
> in  e7t_misc  i commented out the cache enable macros
> 
> i made some changes to the   mlt_arm_e7t_rom.ldi  / mlt_arm_e7t_ram.ldi   and 
>                                                 mlt_arm_e7t_rom.h   / mlt_arm_e7t_ram.h  .
> 
> do i need to make changes to any other files ? 
> 

Possibly.  You need to make sure that all references (like the
address of your FLASH or RAM or whatever) match your actual
hardware.

Looking at the porting guide would be a good idea. See:
  http://sources.redhat.com/ecos/docs-latest/ref/hal-porting-guide.html
Also, it's much better to create a new platform HAL by cloning
rather than trying to just change things around.  That way, you
can contribute your work back and also still be able to keep
up with any public changes.

> i did not modify the SECTION commands in the linker script files.
> when i build the image i get 2 warnings concerning the .bss segment :
> 
> BFD: src/redboot_ncs.img: warning: allocated section `.bss' not in segment
> BFD: /ecos-d/workdir/redboot/test2_install/bin/redboot.img: warning: allocated 
>         section `.bss' not in segment
> 
> is that why my redboot image doesn't run ?
> 

Quite possibly.  This error indicates that there isn't enough
RAM in your configuration to run (or build) the program.

-- 
Gary D. Thomas <gary.thomas@mind.be>


-- 
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] 4+ messages in thread

* [ECOS] port to a custom board based on the  ARM E7T
@ 2003-05-03 23:13 Matt Kober
  2003-05-04  0:46 ` Gary D. Thomas
  2003-05-04 22:06 ` Qiang Huang
  0 siblings, 2 replies; 4+ messages in thread
From: Matt Kober @ 2003-05-03 23:13 UTC (permalink / raw)
  To: ecos-discuss

Hi.
i'm trying to port Redboot to a custom board based on the Samsung S3C4510x01 
microcontroller. i use the ARM E7T  template as a baseline.
i got a new template recognized by the config tool and the resulting image works on 
the E7T board.

i modified the following files to reflect my new hardware :

in  hal_platform_ints.h i modyfied: HAL_PLATFORM_RESET_ENTRY
in  hal_platform_setup.h   i modyfied basically all of the  .long definition but i don't understand 
     that part           ldr     lr,=33f                                                
                              ldr     r0,=12f  . are 33f and 12f labels ? if yes, where are these defined?  
these labels are not the '12'    '33' are they? i'm confused.

in   plf_io.h   i defined some new data values.
in  e7t_misc  i commented out the cache enable macros

i made some changes to the   mlt_arm_e7t_rom.ldi  / mlt_arm_e7t_ram.ldi   and 
                                                mlt_arm_e7t_rom.h   / mlt_arm_e7t_ram.h  .

do i need to make changes to any other files ? 

i did not modify the SECTION commands in the linker script files.
when i build the image i get 2 warnings concerning the .bss segment :

BFD: src/redboot_ncs.img: warning: allocated section `.bss' not in segment
BFD: /ecos-d/workdir/redboot/test2_install/bin/redboot.img: warning: allocated 
        section `.bss' not in segment

is that why my redboot image doesn't run ?

thanks,
Matt

______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101


-- 
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] 4+ messages in thread

end of thread, other threads:[~2003-05-06 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 16:01 [ECOS] port to a custom board based on the ARM E7T Michael Checky
  -- strict thread matches above, loose matches on Subject: below --
2003-05-03 23:13 Matt Kober
2003-05-04  0:46 ` Gary D. Thomas
2003-05-04 22:06 ` Qiang Huang

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).