On Wed, Feb 17, 2010 at 09:38:19PM +0900, Shu Higashiyama wrote: > Thank you Mr.Sergei and All. > > LPC2468 OEM Board /embeddedartists is used. > > >> There is install/tests directory. > >> Please teach the procedure afterwards. > >> > > >In two words: use RedBoot's command `load' to upload a test into > >RAM and then use command `go' to run it. > > RedBoot(tm) bootstrap and debug environment [ROM] > Non-certified release, version v3_0 - built 21:14:28, Feb 15 2010 > > Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 > Free Software Foundation, Inc. > RedBoot is free software, covered by the eCos license, derived from the > GNU General Public License. You are welcome to change it and/or distribute > copies of it under certain conditions. Under the license terms, RedBoot's > source code and full license terms must have been made available to you. > Redboot comes with ABSOLUTELY NO WARRANTY. > > Platform: Embedded Artists LPC2468 OEM Board (ARM7TDMI-S) > RAM: 0xa0000000-0xa2000000 [0xa0005448-0xa2000000 available] > RedBoot> load -m xmodem a.out -b 0xa0100000 > RedBoot> C > RedBoot> go > Hello, eCos world! > > Thank you! > $ arm-eabi-gcc -g -Itmp/kernel/install/include/ -L/tmp/kernel/install/lib/ > -Tta > rget.ld -nostdlib hello.c > > "load","go" and > http://www.wikihouse.com/oikawa1/index.php?eCos%20on%20CAT709 > in Japan web site.
Look nice, but I do not know Japanese :-) > Thank you! > Gdb is necessary for Ecos porting. > > (gdb) target remote /dev/ttyS2 > Remote debugging using /dev/ttyS2 > 0x00002e8c in ?? () > (gdb) load > Loading section .rom_vectors, size 0x40 lma 0xa0100000 > Loading section .text, size 0xd084 lma 0xa0100040 > Loading section .rodata, size 0x344 lma 0xa010d0c4 > Loading section .data, size 0x320 lma 0xa010d408 > Start address 0xa0100040, load size 55080 > Transfer rate: 2 KB/sec, 300 bytes/write. > (gdb) continue > Continuing. > Hello, eCos world! > > Thank you!! Hello.c move with GDB and Redboot. Congratulation! You have great progress. > However, the porting of ecos doesn't end. In the most this (eCos HAL for your target) is done! Uwe Kindler worked on that. % find $ECOS_REPOSITORY -type d -name ea2468 Many eCos guys worked on the LPC variant HAL(s) and drivers % find $ECOS_REPOSITORY -type d -name lpc2?xx A lot of people were/are working on eCos in the years and just now. > Where is Ecos Kernel file? > [ie] Zimage There is not loadable kernel image. eCos != Linux. What you (will) get that is (will be) install/lib/*.a install/include/* Like you've get that hello (a.out) executable, you can build something more suitable for you. Just write in C. The eCos stands for (embedded *Configurable* operating system). Any eCos executable is built with default template already contains the eCos kernel itself. > >But, Shu, it is not possible to copy the quotes from the eCos docs and > >paste those parts here. Please, start to read eCos documentation: > > >http://ecos.sourceware.org/docs.html > >http://ecos.sourceware.org/docs-latest/ > > >What do you need that is to read first 1) eCos user guide; 2) RedBoot > >user guide and 3) eCos reference. And I expect that you find the most of > >the answers from there. [drop some points on GDB] > >Your Internet search engine is your friend too. > > >I hope that helps... > Please continue your favors toward continuation. > > I am sorry my best regards in a rudimentary question because it is a > beginner. Try to build and run eCos examples ($ECOS_REPOSITORY/../examples), the eCos tests then and may be before. Learn eCos. Sergei -- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss