RES: RES: RTEMS for ezKit533

Antonio G Giovanini Jr antonio at atos.com.br
Fri Aug 3 06:19:13 CDT 2007


Hi Frank,

I have never use u-boot, I have a ICE (ICEBear - http://www.section5.ch/),
it works so well.

Hello test should work on SKYEYE, but I think that skyeye do not have
support to ezkit LEDs, it can be a problem.

It is needed to enable SDRAM registers before load the software, so you need
a boot to prepare your system.

Sincerely,

  _____

Antonio Garibaldi Giovanini Junior

Atos Automa??o Industrial LTDA.
Website: http://www.atos.com.br
E-mail: antonio at atos.com.br <mailto:antonio at atos.com.br>



-----Mensagem original-----
De: 汪庆 [mailto:wang816qing at 163.com]
Enviada em: sexta-feira, 3 de agosto de 2007 00:02
Para: Antonio G Giovanini Jr
Assunto: Re:RES: RTEMS for ezKit533
Prioridade: Alta



HI Giovanini:
    I do some hello.exe test like:
    First:I install the rpm (tool-chains) and the
automake1.10,autoconf2.61,then configure rtems like
"../rtems-4.7.99.1/configure --target=bfin-rtems4.8 --quiet --enable-posix -
-disable-networking --enable-itron --enable-rtemsbsp="eZKit533" --prefix=/op
t/rtems-4.8",at last make rtems,but the run result  like this"ezkit> tftp
1000 hello.exe
Using MAC Address 00:E0:22:FE:B4:50
TFTP from server 192.168.0.101; our IP address is 192.168.0.254
Filename 'hello.exe'.
Load address: 0x1000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
done
Bytes transferred = 2411704 (24ccb8 hex)
ezkit> bootelf 1000
Loading .text @ 0x00001000 (79104 bytes)
## Starting application at 0xe1489348 ..." or "ezkit> tftp 1000000 hello.exe
Using MAC Address 00:E0:22:FE:B4:50
TFTP from server 192.168.0.101; our IP address is 192.168.0.254
Filename 'hello.exe'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
done
Bytes transferred = 2411704 (24ccb8 hex)
ezkit> bootm
## Booting image at 01000000 ...
Bad Magic Number
ezkit> bootelf 1000000
Loading .text @ 0x00001000 (79104 bytes)
Loading .data @ 0x00014500 (3516 bytes)
Clearing .bss @ 0x000152bc (598276 bytes)
## Starting application at 0x00001000 ..."
which both not display "hello world" and the mcu dead.

      Second: from above I think the code may go wrong,so I want to add some
LED test ,the asm code is from the bfin example for ezkit533(Flink LED),and
the compile result hello.exe,I debug it with Skyeye ,when run to some asm
instruction in last letter,and it detach from gdb. Then I download to SDRAM
with tftp.the result is the same with The Fisrt one.

      So now I don't how to do.I use the u-boot of bfin-uclinux,I am afraid
my problem is caused by it?

     Others I wat to ask you what the bootrom and kernal for RTEMS,do we
need to compile them alone and then flash them into Flash?

     Thank you for your reply.
                                                                            
                                                          Frank



在2007-08-02,"Antonio G Giovanini Jr" <antonio at atos.com.br> 写道:

Hello Frank,

I am not a RTEMS guru, but I participated in the blackfin port development.

I had success running Hello, ticker and others tests on ezkit533. Could you
tell about your problems to run hello on ezkit?

I did not have any problems with ASM instructions yet. I did not find follow
assembler lines on hello test code.

Sincerely,

 _____

Antonio Garibaldi Giovanini Junior

Atos Automa??o Industrial LTDA.
Website: http://www.atos.com.br
E-mail: antonio at atos.com.br <mailto:antonio at atos.com.br>



-----Mensagem original-----
De: rtems-users-bounces+antonio=atos.com.br at rtems.org
[mailto:rtems-users-bounces+antonio=atos.com.br at rtems.org]Em nome de 汪庆
Enviada em: quinta-feira, 2 de agosto de 2007 00:14
Para: rtems-users at rtems.org
Assunto: RTEMS for ezKit533
Prioridade: Alta





Hello RTEMS gurus,

         I am new to this list to start with RTEMS for my new project.
   The CPU on proejct has been determined to use BF533(which is a uion in
BLACKFIN). But not yet
   determined for RTOS.
        After I reviewed several RTOS, RTEMS is good enough for the
   project. But I am wondering if RTEMS supports enough for the CPU, I also
konw RTEMS support
   the Blackfin CPU only in Nov.12th in 2006.  I think it was too new to
support enough for Blackfin CPU.
   Because I have cross compile the Hello example two week ago,But still can
run succsesfully on the ezkitBF533.
  I am afraid that it can't suppurt enough for the ASM instruction(which run
ok in the VDSP4.5++,
  but run not OK with the RTEMS(I debug the hello example with the
SKYEYE,only found:when excute
"p1.h = hi(flashA_csio);
 p1.l = lo(flashA_csio) + portA_data_out;
 r0 = 0x0;
 w[p1] = r0;
 ssync;"
),
especially " w[p1] = r0;",it said "Watchdog expired. target detached",from
this I think the RTEMS is support not enough good
for Blackfin CPU.
     And our finally product(with RTEMS) should has the function:
LCD,WIFI,USB,Do you think RTEMS now can meet this function?
    The above is only my idea.Everyone who has another idea may tell me,also
who has test successefully with the "hello,ticker example on the ezkit533"
aslo can tell me how to correctly set or do.
    Thanks for your attention.

                                                                         Fra
nk




人 山 人 海 盛 景,尽 在 梦 幻 西 游






劲 爆 150 万 同 时 在 线,众 人 追 捧 梦 幻 西 游




More information about the rtems-users mailing list