Re: [ECOS] Port eCos Redboot Olimex LPC2294 to Embest LPCEB2000 (lpc2292)

2006-09-19 Thread Andrew Lunn
On Tue, Sep 19, 2006 at 12:30:56PM +0100, [EMAIL PROTECTED] wrote: Thanks Andrew I think I have FIS support now, thanks for your advice. I still have a problems executing code loaded using GDB when interrupts are enabled. GDB hangs and so does my code.when it hits the line of code which

Re: [ECOS] Execution time

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 08:34:21AM +0200, Michele Portolan wrote: I would need to check the execution time of different implementations of the same function: is there a simple way to do it? I lloked up tm_basic.cxx, but I think my case is far simpler because I have no scheduler (for the

Re: [ECOS] NFS Port

2006-09-20 Thread Andrew Lunn
On Tue, Sep 19, 2006 at 11:24:08PM +, Mike Arthur wrote: Does anyone know if there has been any effort to add NFS capability to eCos? None that i know off. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] How to integrate two different 16x5x DUART hardware into a application?

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 09:47:42AM +, wang cui wrote: On my target board, I use LPC2220 as processor, there is another Phlips 16C2550B DUART chip. In my application, I should make use of 4 UART channels. As I looked over the serial infrastructure of eCos, I think it is hard to use the

Re: [ECOS] jffs2 garbage collect

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 04:16:43PM +0200, J?rgen Lambrecht wrote: Hello, this is the comment explaining jffs2 garbage collect: # Enable background garbage collection thread, for making # free space ahead of time. Leave this off till it's been # implemented. And don't implement it till

Re: [ECOS] jffs2 garbage collect

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 05:07:58PM +0200, J?rgen Lambrecht wrote: Thanks for your fast reply Andrew. The problem I have is that the user will first delete files from flash to make place, and then tftp files to flash. But the place only really becomes available after a garbage collect (or

Re: [ECOS] Compile error, including udp_var.h

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 05:11:02PM -0400, Andre-John Mas wrote: Hi, We are in the process of adapting the SNMP implementation to C++ for our needs, but we have hit a few problems. We are using the FreeBSD networking stack. The error is as follows: In file included from

Re: Re: [ECOS] Compile error, including udp_var.h

2006-09-20 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 06:05:50PM -0400, Andre-John Mas wrote: Andrew Lunn wrote: On Wed, Sep 20, 2006 at 05:11:02PM -0400, Andre-John Mas wrote: Hi, We are in the process of adapting the SNMP implementation to C++ for our needs, but we have hit a few problems. We are using

Re: Re: [ECOS] Compile error, including udp_var.h

2006-09-21 Thread Andrew Lunn
On Wed, Sep 20, 2006 at 07:51:16PM -0400, Andre-John Mas wrote: Andrew Lunn wrote: What do you get at that line when you look at the output of cpp? ie use -E to gcc. Has SYSCTL_DECL(_net_inet_udp); been expanded? It doesn't look like it. So thats your problem

Re: [ECOS] jffs2 garbage collect

2006-09-21 Thread Andrew Lunn
What is wrong with having garbage in your filesystem anyway? Because the garbage represents free space that is not available. Our customer wants to update the files in flash twice a year. This is potentialy all files. In worst case, all data must first be deleted and then new data

Re: [ECOS] IP stacks for eCos

2006-09-21 Thread Andrew Lunn
On Thu, Sep 21, 2006 at 04:11:06PM -0400, Tom Malcolmson wrote: I'd like to switch from Nucleus to eCos, but I have some questions about IP stacks. Somewhere it says that the eCos IP stack supports: IPv6, DHCP, SNMP agent, HTTPD, TFTP. Well, that sounds great, but there appear to be 2

Re: [ECOS] AT91RM9200 eCos - eCos port available or not?

2006-09-22 Thread Andrew Lunn
On Fri, Sep 22, 2006 at 12:29:36PM +0400, Dmitriy I.Cherkashin wrote: I am interesting eCos port for AT91RM9200. It is available now or not? Best Regards, Dmitriy I.Cherkashin. email: [EMAIL PROTECTED] , [EMAIL PROTECTED] phone: +7-910-422-2917; ICQ (202-375-343) I think there is such a

Re: [ECOS] fseek on JFFS2

2006-09-22 Thread Andrew Lunn
On Fri, Sep 22, 2006 at 12:50:09PM +0200, Paluch Sebastian wrote: hi, i have strange problem when i'm using fwrite after fseek. eg. Could you please make a realy test case which demonstrates the problem out of your code. Maybe you can base it on the code in

Re: [ECOS] AT91RM9200 eCos - eCos port available or not?

2006-09-22 Thread Andrew Lunn
On Fri, Sep 22, 2006 at 12:42:26PM +0200, Hoehenleitner, Thomas wrote: http://www.kwikbyte.com/ECosCentric.html Sorry for the attached confidential note - I can not avoid it right now. Thanks. I was thinking of an OpenSource port. Obviosuly it won't have the same quality of testing,

Re: [ECOS] fseek on JFFS2

2006-09-22 Thread Andrew Lunn
On Fri, Sep 22, 2006 at 02:26:30PM +0200, Paluch Sebastian wrote: hi, here you have some test file 'fseek_test.c', and my output. I tried running the code on the ramfs. It also fails there as well. Attached is the code. Please can you check it really does what you want it to do. It could be

Re: [ECOS] how to add flash devices not contigously mapped to memory

2006-09-30 Thread Andrew Lunn
The CVS trunk does not support non-contiguous flash devices. However the flash_v2 branch does. Andrew where to get flash_v2 branch from? http://ecos.sourceware.org/anoncvs.html and read the manual for CVS if necessary. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] problem: setitimer()

2006-10-09 Thread Andrew Lunn
On Mon, Oct 09, 2006 at 12:00:26AM -0500, Rohit Pandita wrote: Hi all, Can someone point me in the right direction as to what package(s) should be included to enable support for 'setitimer(ITIMER_REAL,..)' function in the eCos configtool. Target: Phy555. I've tried including 'POSIX

Re: [ECOS] eCos port for Olimex LPC-E2294 development board

2006-10-09 Thread Andrew Lunn
On Mon, Oct 09, 2006 at 02:14:22AM -0700, Sridhar k wrote: Hi, Am trying to port ecos for the Olimex LPCE2214 using your post. I think the only difference between 2294 2214 is externel flash. So i have added AMD(AM29F800) flash driver before building Redboot. But obviously iam missing some

Re: [ECOS] packages for lwip stack

2006-10-10 Thread Andrew Lunn
On Tue, Oct 10, 2006 at 01:05:41PM +0100, Srinivas rao wrote: Hi All, I enabled the freebsd stack for my n/w driver for that stack I added FILE IO, common ethernet,networking packages. my n/w driver is successfully run on my board. Now I want to use lwip stack, So pls give me the

Re: [ECOS] RE: openssl port status

2006-10-12 Thread Andrew Lunn
On Thu, Oct 12, 2006 at 05:10:42AM -0700, Tim Hatton wrote: Hi Chris, Thanks for the quick reply. Just to put it in context I am building this as part of eCos via the (windows GUI) eCos config tool. In there it forces me to define IDEA if I enable SSL API. I've tried rebuilidng with IDEA

Re: [ECOS] Re: CYGMEM_REGION_lcd undeclared

2006-10-12 Thread Andrew Lunn
On Thu, Oct 12, 2006 at 12:04:27PM -0500, Mike Arthur wrote: I believe Behave as a ROM Monitor forces ROM setup. ROMRAM should also work i think. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] eCos port to MC9328MXL and MicroMonitor

2006-10-13 Thread Andrew Lunn
On Fri, Oct 13, 2006 at 07:06:10AM -0700, David Luca wrote: Hello, How can I use Micromonitor with eCos? I don't want to build a Redboot and burn it on flash, because I don't have a JTAG emulator and if the Redboot is not working, the Micromonitor will be lost. You could build RedBoot to

Re: [ECOS] Some questions on JFFS2 interface to ECOS

2006-10-15 Thread Andrew Lunn
On Fri, Oct 13, 2006 at 04:07:16PM -0700, Tom Coates wrote: Hello- I need some information about how JFFS2 is interfaced to ECOS so that I can port JFFS2 into our system. We have an embedded system product that was recently upgraded from a home-brew OS to ECOS. That's working great. The

Re: [ECOS] jffs2 creat file error

2006-10-16 Thread Andrew Lunn
On Mon, Oct 16, 2006 at 02:23:15PM +0530, Srinivas rao wrote: Hi, I enabled jffs2 package on eCos and testing on my board. My jffs2 is on 11th sector of flash. 'ls working fine. After ls, Iam getting error like below pls provide the information regarding below error Eep. Child ram3

Re: [ECOS] jffs2 creat file error

2006-10-16 Thread Andrew Lunn
On Mon, Oct 16, 2006 at 03:20:25PM +0530, Srinivas rao wrote: I allocated from 11th sector to 64th sector. each sector 128kb my jffs2 file size is 0x5038b0 bytes Thanks Regards Srinivas Rao.Ch - Original Message From: Andrew Lunn [EMAIL PROTECTED] To: Srinivas rao [EMAIL

Re: [ECOS] jffs2 creat file error

2006-10-16 Thread Andrew Lunn
On Mon, Oct 16, 2006 at 03:17:02PM +0530, Srinivas rao wrote: Nearly 7mb Thanks Regards Srinivas Rao.Ch - Original Message From: Andrew Lunn [EMAIL PROTECTED] To: Srinivas rao [EMAIL PROTECTED] Cc: ecos [EMAIL PROTECTED] Sent: Monday, 16 October, 2006 3:04:39 PM Subject: Re

Re: [ECOS] Redboot image size and CYGMEM_REGION_rom_SIZE

2006-10-16 Thread Andrew Lunn
On Mon, Oct 16, 2006 at 02:47:02PM +0200, Claudio Di Vittorio wrote: Hi everyone! I have a question about the parameter CYGMEM_REGION_rom_SIZE. I'm building a quite large image of redboot (it includes a custom firmware for an fpga, and the image size exceeds the address 0x8 .. i will

Re: [ECOS] testcases error

2006-10-17 Thread Andrew Lunn
On Tue, Oct 17, 2006 at 09:53:03AM +0530, Srinivas rao wrote: I added jffs2 package to eCos. I compiled eCos library using new arm-elf tools. But testcases not compiling with new arm tools. pls give me the information about testcases compliling. pls give us error message. Andrew.

Re: [ECOS] how to add flash devices not contigously mapped to memory

2006-10-17 Thread Andrew Lunn
On Tue, Oct 17, 2006 at 01:57:39PM +0530, saurabh prakash wrote: hello, Also the documentation for flashv2 is in sgml format. can anyone help me in converting it to HTML format. Add it to the doc/sgml/doclist ./makemakefile make html Andrew -- Before posting, please read the FAQ:

Re: [ECOS] building eCos on WinXP with different toolset?

2006-10-17 Thread Andrew Lunn
On Mon, Oct 16, 2006 at 08:01:08PM -0400, tmm wrote: I need to build eCos on WinXP with the CodeSorcery ARM tools (so that my eCos library can be linked by the CS linker). Does CodeSorcery use gcc? eCos is pretty much tied to gcc. Making it compile with anything else is going to be difficult.

Re: [ECOS] building eCos on WinXP with different toolset?

2006-10-17 Thread Andrew Lunn
On Tue, Oct 17, 2006 at 02:42:20PM -0400, tmm wrote: Yes, CodeSorcery is a build of GCC for Windows (like MingW). http://www.codesourcery.com/ O.K. And i assume it also uses the GNU binutils for its linker? So why do you need to use CS linker? What does it do which the normal linker does not?

Re: [ECOS] jffs2_1 test case error

2006-10-26 Thread Andrew Lunn
On Thu, Oct 26, 2006 at 11:33:41AM +0100, Srinivas rao wrote: Hi All, Iam running jffs2 test cases on my board. After reading the directories getting error like below. Pls give me the solution. Sorry, but we don't give solutions. We try to help you find the solution to your problem.

Re: [ECOS] Two things about cyg_types

2006-10-26 Thread Andrew Lunn
On Thu, Oct 26, 2006 at 02:01:59PM +0200, Stefan Sommerfeld wrote: Hello, I found two strange things in cyg_types. The first one is in line 316 where __GNUC_VERSION__ is defined. To define the whole gcc version it tries to find out if PATCHLEVEL is defined. My gcc (3.4.6) has

Re: [ECOS] ARM Linking Problem

2006-10-26 Thread Andrew Lunn
On Thu, Oct 26, 2006 at 09:14:02AM -0700, Jay Foster wrote: I am building eCos for an ARM9 target and am getting the following error message from the linker: Not enough room for program headers I have successfully built other applications (tests) and RedBoot for this same target

Re: [ECOS] Problem with pthread_self for the eCos main thread

2006-10-27 Thread Andrew Lunn
On Fri, Oct 27, 2006 at 11:37:54AM +0200, LOGIE Hans wrote: Hi, I have a problem with the pthread_self() function in eCos. When creating POSIX threads and retrieving their thread ID's with pthread_self() there are no problems. However when retrieving the thread ID of the main thread, there

Re: [ECOS] Strange warnings with boost

2006-10-27 Thread Andrew Lunn
Whatever 'Boost' is, ask whomever/wherever you got it from. Boost is a set of C++ libraries. It should be noted that anoncvs eCos does not support exceptions. So you need to make sure your boost code does not try to use exceptions. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Multiple Flash support implementation

2006-10-27 Thread Andrew Lunn
On Fri, Oct 27, 2006 at 04:53:06PM -0500, Rycerz Roman-G11565 wrote: Hi I have been poking thru the CVS archive... with no luck I am looking for a platform that has implemented the FLASH_V2 support and that using 2 or more different Flash Devices any pointers

Re: [ECOS] RAM vs. ROMRAM question

2006-10-29 Thread Andrew Lunn
On Sun, Oct 29, 2006 at 11:01:30PM +, Grant Edwards wrote: I just build RedBoot for both RAM and ROMRAM startup for the Altera NIOS2 platform. I looked at the section headers for the resulting redboot.elf files, and they're basically the same. The VMA and LMA for text/data sections are

Re: [ECOS] Redboot LAN9118 support

2006-10-30 Thread Andrew Lunn
On Mon, Oct 30, 2006 at 04:15:57PM +0900, Hiroki Kaminaga wrote: Hi, I have a board that equips smsc9118 for ethernet. I'm using redboot, and I want to load kernel via ethernet. I saw smsc91cxx driver was in the redboot source but not 9118. On the other hand, there was a web page

Re: [ECOS] Re: RAM vs. ROMRAM question

2006-10-31 Thread Andrew Lunn
It's been stated that it doesn't make sense for CYGSEM_HAL_ROM_MONITOR to be set for RAM startup because RedBoot would be loading apps into the RAM where RedBoot itself is running. ROMRAM RedBoot runs in the exact same memory locations as RAM RedBoot, so why doesn't that reasoning apply

Re: [ECOS] Limitations with the SNTP client?

2006-11-02 Thread Andrew Lunn
On Thu, Nov 02, 2006 at 11:48:43AM -0500, Andre-John Mas wrote: Hi, We have found the SNTP client can get the time from some servers but not others. For example we have a Linux based SNTP server from which we can get the time, but not from the SNTP server running on our Solaris machines.

Re: [ECOS] eCos on phyCORE?-ARM7/LPC229x ?

2006-11-02 Thread Andrew Lunn
On Thu, Nov 02, 2006 at 10:11:11AM -0200, Ramiro C. Carvalho wrote: Dear all, I was searching the repository for a port targeting the phyCORE?-ARM7/LPC229x board. In their site, they claim both eCos and eCosPro are available for this board but i could only find a port for AT91M55800A but

Re: Re: [ECOS] Limitations with the SNTP client?

2006-11-02 Thread Andrew Lunn
Only the last one seems to work with the SNTP implementation in eCos. Is there anything in there that raises any flags? You best bet is to single step through the processing of the reply and see why it drops it. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] How to check the input of STDIN channel?

2006-11-02 Thread Andrew Lunn
On Fri, Nov 03, 2006 at 02:46:39PM +0800, Wang Cui wrote: I use the console channel to configure the product at runtime. When I try to get input from STDIN, the standard getchar() call will BLOCK until get input, which also block other threads. You are using the hal diag TTY driver. This is

Re: [ECOS] How to check the input of STDIN channel?

2006-11-03 Thread Andrew Lunn
On Fri, Nov 03, 2006 at 08:09:46AM +, wang cui wrote: Thanks for your reply. If I use the full interrupt driven serial driver for console, I think the driver will be intialised until the cyg_io_init(), then the ealier output will be missing? And I also want to printf messages in

Re: [ECOS] Time questions

2006-11-03 Thread Andrew Lunn
On Fri, Nov 03, 2006 at 09:21:22AM +0100, FALL wrote: -- Original Message -- From: Andre-John Mas [EMAIL PROTECTED] Date: Thu, 2 Nov 2006 19:16:45 -0500 Hi, I have been asked to correct an issue in our code. The time returned by the function:

Re: [ECOS] Time questions

2006-11-03 Thread Andrew Lunn
On Thu, Nov 02, 2006 at 07:16:45PM -0500, Andre-John Mas wrote: Hi, I have been asked to correct an issue in our code. The time returned by the function: time( time_t* ) returns the right value, when the system has been set using SNTP. The issue is that a call to cyg_current_time()

Re: [ECOS] How to check the input of STDIN channel?

2006-11-03 Thread Andrew Lunn
The STDIO defaultly use the /dev/ttydiag, how to shift it to another device, like /dev/tty0? I think you can change CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] Error in JFFS2 test program

2006-11-03 Thread Andrew Lunn
On Fri, Nov 03, 2006 at 03:54:43PM +0530, himanshup wrote: Is there any prerequisite for running JFFS2 tests? What could be the problem? Have you installed the test filesystem? packages/fs/jffs2/current/support/jffs2/jffs2.img Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Re: RedBoot set MAC address API?

2006-11-06 Thread Andrew Lunn
Better yet, is any of the documentation available in a searchible format (e.g a pdf file or a single html page)? Searching for info in documents formatted one-paragraph-per-web-page is hopeless. cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvs/ecos co -P htdocs/docs-latest grep -r fconfig

Re: [ECOS] Re: Limit region of flash used by RedBoot for FIS?

2006-11-06 Thread Andrew Lunn
On Mon, Nov 06, 2006 at 08:51:04AM -0600, Grant Edwards wrote: In gmane.os.ecos.general, you wrote: I found CYGNUM_REDBOOT_FLASH_RESERVED_BASE which specifies a reserved area that the bottom of flash, but I can't find a CDL option that reserves space at the top of flash. Care to give

Re: [ECOS] problem with layered drivers

2006-11-07 Thread Andrew Lunn
On Tue, Nov 07, 2006 at 11:16:34AM +0100, Michele Paselli wrote: Hi Bernard, could you please be more precise? Where can I find the open function and how can I use that? Thanks He means the normal open(2) function. You can fd = open(/dev/ser0,O_RDWR); and then do normal read(2) and

Re: [ECOS] problem with layered drivers

2006-11-07 Thread Andrew Lunn
On Tue, Nov 07, 2006 at 12:46:22PM +0100, Michele Paselli wrote: Hi, one more question, where should I start the demux thread? Is it allowed to start a thread in the driver of the PSoC? In the the device driver API function (cyg_drv_xxx) there aren't functions like create_thread or

Re: [ECOS] Re: Limit region of flash used by RedBoot for FIS?

2006-11-07 Thread Andrew Lunn
IMO, there needs to be a CYGNUM_REDBOOT_FLASH_RESERVED_TOP value that is subtracted from flash_end they way CYGNUM_REDBOOT_FLASH_RESERVED_BASE is added to flash_start. This sounds like a good generic solution to me. Such a patch is likely to be accepted i think. Andrew -- Before posting,

Re: [ECOS] Re: Limit region of flash used by RedBoot for FIS?

2006-11-07 Thread Andrew Lunn
Is there any reason that somebody might want the FIS directory block somewhere other than at the top of usable flash? Yes. That bit of code came from me. I had a system where i needed to work around the existing flash usage. The top block of flash was not usable for FIS, it contains binary data

Re: [ECOS] Concate two flashes

2006-11-07 Thread Andrew Lunn
On Tue, Nov 07, 2006 at 06:19:17PM +0100, Manfred Gruber wrote: Hi ! I have 2 flash chips on redboot: RAM: 0x-0x0200, [0x000439c8-0x01fdd000] available FLASH: 0xf000 - 0xf1ff 256 x 0x2 blocks FLASH: 0xf200 - 0xf3ff 256 x 0x2 blocks Is there is now a

Re: [ECOS] Concate two flashes

2006-11-07 Thread Andrew Lunn
On Tue, Nov 07, 2006 at 06:47:11PM +0100, Manfred Gruber wrote: Am Dienstag, 7. November 2006 18:29 schrieb Andrew Lunn: On Tue, Nov 07, 2006 at 06:19:17PM +0100, Manfred Gruber wrote: Hi ! I have 2 flash chips on redboot: RAM: 0x-0x0200, [0x000439c8-0x01fdd000

Re: [ECOS] Re: Limit region of flash used by RedBoot for FIS?

2006-11-07 Thread Andrew Lunn
That's the exact same situation I'm in: the top 1MB contains that's loaded into an FPGA by hardware on startup (before the CPU starts). Our setup was different. The CPU downloaded the bitstream in the FPGA. So erasing the flash did not brick the system. It just mean the FPGA did not boot.

Re: [ECOS] Re: Problems with Scheduler lock not zero

2006-11-07 Thread Andrew Lunn
Hi Folks I think it is unlikley this is your problem, but i will mention it anyway. I once had an assertion failure in the same place. It was caused by a thread exiting with the scheduler locked. Another thing to check is do you have an spurious interrupts. There has been problems on the ARM

Re: [ECOS] Limitations with the SNTP client?

2006-11-08 Thread Andrew Lunn
On Tue, Nov 07, 2006 at 06:09:42PM -0500, Andre-John Mas wrote: Hi, After analysing the packets I noticed that the data being sent from my reference client were shorter than the one sent from the eCos SNTP client. Looking at RFC 2030 it turns out that difference in length is to do with the

Re: [ECOS] Error : Stack size too small

2006-11-08 Thread Andrew Lunn
On Wed, Nov 08, 2006 at 07:35:30PM +0530, Siva Kumar wrote: Hi, I'm working with a July 2006 CVS snapshot of ecos. My Free BSD configuration is working fine. But when I enabled, SMP [4 processors], this is the output that I get for any test or even for a simple hello sample : ASSERT FAIL:

Re: [ECOS] Limitations with the SNTP client? - patch

2006-11-08 Thread Andrew Lunn
On Wed, Nov 08, 2006 at 09:57:34AM -0500, Andre-John Mas wrote: Do I post this here? I have never posted a patch before, so I am kinda new to this. The ecos-patches mailling list please. Removed optional KeyIdentifer and MesageDigest fields, which weren't being used, and caused certain

Re: [ECOS] moving RedBoot config from one device to another - is dd enough?

2006-11-15 Thread Andrew Lunn
Tomasz Chmielewski wrote: I have a device, that has these partitions: Creating 5 MTD partitions on IXP4XX-Flash.0: 0x-0x0004 : RedBoot 0x0008-0x0020 : kern1 0x0020-0x0038 : kern2 0x003c-0x003e : RedBoot config 0x003e-0x0040 : FIS directory and by

Re: [ECOS] moving RedBoot config from one device to another - is dd enough?

2006-11-15 Thread Andrew Lunn
Or maybe, there are some tools to manipulate the RedBoot config, without actually starting RedBoot / using fconfig? I don't know of a Linux tool to edit the fconfig data. dd is probably your best bet. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos

Re: [ECOS] Re: FreeBSD still lacking bridge support?

2006-11-17 Thread Andrew Lunn
That's good to hear. I'll take a look at the code over the weekend, but knowing the answers to a few preliminary questions would help: I can tell you how the OpenBSD system works. * Is the actual bridging done at the DSR level or in the network task? Network task, but im not sure

Re: [ECOS] Re: FreeBSD still lacking bridge support?

2006-11-17 Thread Andrew Lunn
Did you ever run into any performance problems on busy networks? I guess these days when everything is 10[0]baseT plugged into switches the concept of a busy network is rather moot from a device's point of view. Well, my second interface was not an Ethernet interface. It was a powerline

Re: [ECOS] Redboot startup problem

2006-11-18 Thread Andrew Lunn
On Fri, Nov 17, 2006 at 10:21:28AM +0100, Manfred Huber wrote: Hi all, I'm pretty new to eCos and this is my first posting on this list. At the moment I try to get Redboot running on custom NET+ARM Hardware. I use a fairly recent (06/10/29) snapshot and the netarm HAL from ftp.mind.be

Re: [ECOS] order of calling for static initializers

2006-11-27 Thread Andrew Lunn
On Mon, Nov 27, 2006 at 04:21:49PM -0500, Tom Malcolmson wrote: The '#define' statements that control the order in which statics get called at startup (as defined in cyg_type.h) looks reasonable to me: #define CYG_INIT_HAL1 #define CYG_INIT_SCHEDULER

Re: [ECOS] Change compilation option in ECOS

2006-11-28 Thread Andrew Lunn
On Tue, Nov 28, 2006 at 02:07:46PM +0100, Picque S?bastien wrote: By puting the switch compile to -o2 to -o0 or -o1, it solves my problem of compilation Is it a real bug due to the combiantion of gcc and Ecos Is it planed to be fixed ?? You should see if you can reproduce it with the

Re: [ECOS] order of calling for static initializers

2006-11-28 Thread Andrew Lunn
On Tue, Nov 28, 2006 at 06:42:51PM -0500, Tom Malcolmson wrote: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta content=text/html;charset=ISO-8859-1 http-equiv=Content-Type /head body bgcolor=#ff text=#00 Thanks Andrew.br br It seems to be working now,

Re: [ECOS] adding user defined flash variables as cdl_option to inl file problems

2006-11-30 Thread Andrew Lunn
On Wed, Nov 29, 2006 at 03:42:01PM -0600, Brian Austin wrote: Sounds good. i was wondering about what the V2 stuff for the flash devices was, but my snapshot has no code files in those directories. Any ideas? eCosCentric host a snapshot of the flash_v2 branch. Wonder around there website.

Re: [ECOS] SSL_R_LIBRARY_HAS_NO_CIPHERS error with openssl in eCos

2006-11-30 Thread Andrew Lunn
On Thu, Nov 30, 2006 at 10:45:19AM -, Chris Zimman wrote: Did you call OpenSSL_add_all_ciphers() beforehand? Another thing to check is that you actually have the ciphers you need compiled in. Because some are protected with patents and you need a licences etc, by default some are not

Re: [ECOS] Substituting some LinuxOS functions by ECOS API

2006-11-30 Thread Andrew Lunn
On Thu, Nov 30, 2006 at 03:33:29PM +0100, Picque S?bastien wrote: Hi all, I have some questions regarding a porting from Linux to Ecos environment. I add the posix package in my ecos for building COuld you give me some help ? My question is : It seems to the ecos documentation, that

Re: [ECOS] How to prevent flash tests from being built?

2006-12-02 Thread Andrew Lunn
On Sat, Dec 02, 2006 at 05:55:11PM +, Grant Edwards wrote: I'm trying to build network test programs, but make tests keeps failing while trying to build flash tests. make -r -C io/flash/current tests make[1]: Entering directory /nios/work/ecos-build/io/flash/current' make[1]: *** No

Re: [ECOS] Re: How to prevent flash tests from being built?

2006-12-02 Thread Andrew Lunn
On Sun, Dec 03, 2006 at 01:58:50AM +, Grant Edwards wrote: On 2006-12-03, Andrew Lunn [EMAIL PROTECTED] wrote: make -r -C io/flash/current tests make[1]: Entering directory /nios/work/ecos-build/io/flash/current' make[1]: *** No rule to make target tests/flash1.d', needed

Re: [ECOS] Re: How to prevent flash tests from being built?

2006-12-03 Thread Andrew Lunn
On Sun, Dec 03, 2006 at 02:34:49PM +, Grant Edwards wrote: On 2006-12-03, Andrew Lunn [EMAIL PROTECTED] wrote: make -r -C io/flash/current tests make[1]: Entering directory /nios/work/ecos-build/io/flash/current' make[1]: *** No rule to make target tests/flash1.d', needed

Re: [ECOS] Re: How to prevent flash tests from being built?

2006-12-03 Thread Andrew Lunn
On Sun, Dec 03, 2006 at 04:57:49PM +, Grant Edwards wrote: On 2006-12-03, Sergei Gavrikov [EMAIL PROTECTED] wrote: make -r -C io/flash/current tests make[1]: Entering directory /nios/work/ecos-build/io/flash/current' make[1]: *** No rule to make target tests/flash1.d', needed by

[ECOS] Re: MicroWindows parse error before fd_set

2006-12-05 Thread Andrew Lunn
On Tue, Dec 05, 2006 at 07:10:35AM -0800, David Luca wrote: Hello, I try to cimpile eCos with MicroWindows, I included the Networking package (Basic networking framework), but I receive some compile errors: It is better to use the net template [EMAIL PROTECTED]:~/eCos/work$ ecosconfig new

Re: [ECOS] Redboot _do_flash_init() too late for initialization of /dev/flash1?

2006-12-15 Thread Andrew Lunn
On Fri, Dec 15, 2006 at 05:02:41AM +, wang cui wrote: I added JFFS2 package into my platform. For the default configuration, it works well. Since I don't want to locate the JFFS2 image at a static location(set by CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1), I switch to

Re: [ECOS] Porting REDBoot on LEON2 processor (AT697E)

2006-12-15 Thread Andrew Lunn
On Thu, Dec 14, 2006 at 08:56:40AM +0100, Guillaume Menant wrote: Hello, I'm currently working on porting REDBoot on AT697E (Leon2 processor). I'm wondering if there is already some patches for eCos which allow to run REDBoot on LEON2 ? Have you looked at the leon3 patches in bugzilla?

Re: [ECOS] device driver enquirey - c label

2006-12-16 Thread Andrew Lunn
On Sat, Dec 16, 2006 at 06:37:57PM +1000, Yi Tang wrote: Hello, It's the first time for me to write a device driver. I have got a simple, silly question, hope someone in this group can instruct me. In the eCos reference, I found that there is one item in nearly all io functions, the C

Re: [ECOS] sam7s64 support and general eCos questions

2006-12-16 Thread Andrew Lunn
On Sat, Dec 16, 2006 at 05:50:25PM -0800, Brent Picasso wrote: Hello all, After quite a bit of research I started flailing my arms so I decided to post my questions here. I'm working with an Olimex development board provisioned with a sam7s64 processor (

Re: [ECOS] device driver enquirey

2006-12-17 Thread Andrew Lunn
On Mon, Dec 18, 2006 at 12:38:33AM +1000, Yi Tang wrote: Hi, I still don't understand the routine for ecos to find the specific I/O functions simply using handlers and cyg_io_xxx functions. Some examples use the cyg_io_lookup fuctions to pass the device info to handle, like this:

Re: [ECOS] enable 8/16 bit flash in eCos

2006-12-20 Thread Andrew Lunn
On Wed, Dec 20, 2006 at 02:39:01PM +, ayoub zaki wrote: Hello all, Is it possible to enable simultanously 8/16 bit flash width in eCos ? Does this mean you have two different flash devices in the system? If so you probably need to use the flash_v2 branch in the eCos CVS repository.

[ECOS] Re: Re : [ECOS] enable 8/16 bit flash in eCos

2006-12-21 Thread Andrew Lunn
On Thu, Dec 21, 2006 at 08:18:47AM +, ayoub zaki wrote: hello, No I have only one flash, but I have 2 different board one with Intel J3 (8bit) and other board with intel P30 (16bit), but my purpose is to use only one version of redboot (one binary) for both. That boils down to the

Re: [ECOS] eCos installer v2.0 problem

2006-12-21 Thread Andrew Lunn
On Thu, Dec 21, 2006 at 09:10:23PM +0100, Kamil Jo?ca wrote: I tried to install eCos under Debian GNU/Linux 4.0. I followed instruction from http://ecos.sourceware.org/getstart.html but after I issue: $sh ecos-install.tcl I got: === : command not found eCos installer v2.0

Re: [ECOS] [Question] How to porting eCos to msp430

2006-12-24 Thread Andrew Lunn
On Sun, Dec 24, 2006 at 03:41:10PM +0800, Yuan Chia Fu wrote: hi We are Chang Gung University Computer Science and Information Engineering OS LAB. The most of research results of ours are in eCos. Now, we plan to porting eCos to Telos Rev.B, let our research results applied to Telos

Re: [ECOS] dhcp_mgt_stack isn't configurable

2007-01-07 Thread Andrew Lunn
diff -u -r1.78 ChangeLog --- net/common/current/ChangeLog 19 Dec 2006 01:45:30 - 1.78 +++ net/common/current/ChangeLog 7 Jan 2007 14:46:30 - @@ -1,3 +1,10 @@ +2007-01-07 Andrew Lunn [EMAIL PROTECTED] + + * src/dhcp_support.c: + * cdl/net.cdl: + Added CDL to control the size of the stack used

Re: [ECOS] Select() issues

2007-01-10 Thread Andrew Lunn
struct termios ts, ots; /* termios setting, old termios setting */ intfd = STDIN_FILENO; Im not an eCos termios expert, but shouldn't this be a file handle returned by opening /dev/termios0 and not standard in? Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Serial link problems

2007-01-11 Thread Andrew Lunn
On Thu, Jan 11, 2007 at 10:33:08AM +0100, Guillaume Menant wrote: Hello, While using RedBoot on AT697 (LEON Sparc V8), I've encountered problems using the serial link. It appears that the _rb_gets_preloaded function miss few characters arriving on the serial link. For example, I send help

Re: Re: [ECOS] Select() issues

2007-01-11 Thread Andrew Lunn
Up until this particular issue I have had no problems using standard in. I will look to see what effect opening /dev/termios0, but most examples I have seen use STDIN_FILENO directly. Please could you point me at the eCos examples that do this? Changing my code slightly, I now find that I

Re: [ECOS] Using RedBoot_cmd

2007-01-16 Thread Andrew Lunn
Why my do_pcitest function is undefined? Use nm to see if the symbol really is in the object file and in the library. Also check it has not been C++ name mangled. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] redboot GDB remote debugging over serial problem.

2007-01-17 Thread Andrew Lunn
On Wed, Jan 17, 2007 at 11:32:21AM -0800, Christopher Potter wrote: Hello list, I am having a problem when I try to debug an executable on my host machine that is connecting to a target with GDB through serial. Here are the steps that I have been taking: 1) Compile the code for the

Re: [ECOS] Problem in running Hello world

2007-01-18 Thread Andrew Lunn
On Thu, Jan 18, 2007 at 05:29:01PM +0530, kanishk rastogi wrote: hi all, i configured and build ecos for an i386pc target(selected it from templates). And set the startup type as Grub. After this i got the required library. then i wrote a simple hello world program (with while(1); at the

Re: AW: [ECOS] cat zImage /dev/mtd1 does not work

2007-01-19 Thread Andrew Lunn
On Fri, Jan 19, 2007 at 08:50:31AM -0800, Weiguang Shi wrote: Thanks very much Alex. That makes things clear. Now for the CDL (please excuse me since I'm a newbie to RedBoot), could you explain more? Do I need to build Redboot with the correct options and store it in the flash? Yes. Look

Re: [ECOS] Static constructors List

2007-01-22 Thread Andrew Lunn
On Mon, Jan 22, 2007 at 06:05:17AM +, tejas pawaskar wrote: Hello I am building redboot for an intel's xscale pxa270 based board. I am using pxa270's FFUART for serial output configured at 115200-8-N-1. My problem is that the code gets stuck at the point where from vector.s calls

Re: [ECOS] Static constructors List

2007-01-22 Thread Andrew Lunn
On Mon, Jan 22, 2007 at 10:47:39AM +, tejas pawaskar wrote: Thanks Mr.Andrew for your prompt reply. I tried and got the following outpur [EMAIL PROTECTED]:~/devel/ecos/build/quantum/newrom/ecos_install/bin$ arm-linux-gdb I would not recommend using a Linux toolchain. I suggest you get

Re: [ECOS] Static constructors List

2007-01-22 Thread Andrew Lunn
On Mon, Jan 22, 2007 at 11:32:34AM +, tejas pawaskar wrote: Sir, How to cast it while printing? How would you cast it in C? Maybe you might even like to try reading the gdb manual? I am using the toolchain mentioned on the ecos.sourceware.org Then you have built is wrong. It should

Re: [ECOS] Openssl questions

2007-01-22 Thread Andrew Lunn
On Mon, Jan 22, 2007 at 01:48:11PM -0500, Steve West wrote: I am trying to use the open ssl that Andrew has provided for eCos. It seems very confusing to use to set up sockets. Is there any example code of using a https server with several threads available? Hi Steve There is nothing special

Re: [ECOS] AT91SAM7S256 Toolchain

2007-01-23 Thread Andrew Lunn
On Tue, Jan 23, 2007 at 02:26:53PM -0500, Moussa A. Ba wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good Day, I am starting a port to the AT91SAM7S256 ARM7 Any particular reason why you don't use the existing port? Can anyone suggest a toolchain for loading arm-elf-gcc images?

<    1   2   3   4   5   6   7   8   9   10   >