Re: [ECOS] Socket UDP

2005-12-01 Thread Andrew Lunn
On Thu, Dec 01, 2005 at 11:02:47AM +0100, Michele Da Meda wrote: Hi all, my application uses UDP socket, i have a problem with SOCK_DGRAM and SOCK_STREAM. I make a BIND with these paramethers : sin_family = AF_INET sin_addr = inet_addr(192.168.0.253) sin_port = (unsigned

Re: [ECOS] Socket UDP

2005-12-01 Thread Andrew Lunn
On Thu, Dec 01, 2005 at 12:52:10PM +0100, Michele Da Meda wrote: - Original Message - From: Andrew Lunn [EMAIL PROTECTED] To: Michele Da Meda [EMAIL PROTECTED] Cc: ecos-discuss ecos-discuss@ecos.sourceware.org Sent: Thursday, December 01, 2005 12:28 PM Subject: Re: [ECOS] Socket

Re: [ECOS] JFFS2 possible error on sign of ENOSPC error

2005-12-02 Thread Andrew Lunn
On Fri, Dec 02, 2005 at 04:05:30PM +0100, Stephane Royo wrote: Hello, By using the JFFS2 support, i encountered a small problem about the sign of error ENOSPC, in all code we can find return -ENOSPC excepted in one case - around the line 1450 of fs-ecos.c- where we find return ENOSPC:

Re: [ECOS] blocking for n events

2005-12-08 Thread Andrew Lunn
On Thu, Dec 08, 2005 at 10:32:51AM -0800, Heiko Panther wrote: Hi- I have the following interesting synchronization problem. I am triggering a random number of transaction. Only after the last one I will know how many I actually triggered. Then I need to wait for all of them to complete.

Re: [ECOS] ecos-install.tcl for Darwin

2005-12-15 Thread Andrew Lunn
On Wed, Dec 14, 2005 at 09:47:46PM +0100, Olivier Kaloudoff wrote: Hi, I'm using eCos and RedBoot on Darwin, and have downloaded the gnuarm toolchain binaries available from gnuarm.com. Is it long to patch actual installer to include Darwin ? (maybe is it already planned)

Re: [ECOS] AM Rattler and TCP performance

2005-12-15 Thread Andrew Lunn
On Thu, Dec 15, 2005 at 01:21:26PM +, John Doe wrote: Hi, all. I'm developing an embedded application using eCos on a PowerPC target, and I'm experiencing very poor ethernet (TCP) performance with my target, wondering if it is an eCos/HAL bug, poor configuration (user error, user

Re: [ECOS] Re: Dual Ethernet Cards of Intel i82559 for Intel IXDP465 platform

2005-12-26 Thread Andrew Lunn
On Mon, Dec 26, 2005 at 06:37:34PM +0100, clemens fischer wrote: Robin.Lin in [EMAIL PROTECTED]: When I enable two Ethernet cards support of Intel i82559 for Intel IXDP465 platform, I get some problems. If I set the both IP address in the same domain, such as 192.168.0.1 and

Re: [ECOS] Re: Dual Ethernet Cards of Intel i82559 for Intel IXDP465 platform

2005-12-27 Thread Andrew Lunn
On Tue, Dec 27, 2005 at 07:02:39AM -0800, Matt Jerdonek wrote: What is likely happening is that the route for the subnet is associated with eth0. When eth0 goes down, the subnet needs to be reassigned to eth1. This doesn't happen automatically. You can view the current list of network

Re: [ECOS] eCos on x86

2005-12-28 Thread Andrew Lunn
On Wed, Sep 28, 2005 at 05:39:10PM +0530, Venky wrote: Hi, I am not using Intel PCI 82559 Card. I am using 915GV Motherboard build in Ethernet Port. For supporting this Ethernet card what should I do? First you need to find out what exactly this ethernet device is. Maybe you should read

Re: [ECOS] ixp42x NPE networking build issue.

2005-12-28 Thread Andrew Lunn
On Wed, Dec 28, 2005 at 05:56:05PM +0100, Karel Gardas wrote: Hello, I'm experimenting with CVS eCos and trying to get it working for ixp42x board including NPE ethernet support. I've downloaded: Redboot-v2_01-epk.zip Redboot-v2_01-npe-microcode.zip files from intel.com and

Re: [ECOS] Building eCos 2.0b1 from Source for i386

2005-12-29 Thread Andrew Lunn
On Thu, Dec 29, 2005 at 09:38:44AM -0800, jess_lyn (sent by Nabble.com) wrote: now i have the proper source. can u tell me how to set it all up for my requirement. i should be able to compile a version of ecos for i386. i have a ebook from anthony j massa about ecos. but its windows

Re: [ECOS] Building eCos 2.0b1 from Source for i386

2005-12-29 Thread Andrew Lunn
i have everything you mentioned except for eCos.hhc, host/ eCos.hhp images/ . and i do have acsupport folder. host is critical. That contains the actual host tools like ecosconfig. You need the check this directory out of CVS. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Building eCos 2.0b1 from Source for i386

2005-12-29 Thread Andrew Lunn
On Thu, Dec 29, 2005 at 07:33:23PM -0800, jess_lyn (sent by Nabble.com) wrote: now i have all the folders and files as shown in http://ecos.sourceware.org/cgi-bin/cvsweb.cgi/ecos/?cvsroot=ecos . is it possible to build it as i did earlier? or is there any other procedure to be done before

Re: [ECOS] NETDEVTAB_ENTRY()????

2005-12-30 Thread Andrew Lunn
On Fri, Dec 30, 2005 at 04:41:38PM +0530, vasantha.rajan wrote: On Thursday 29 December 2005 21:37, you wrote: Hi Andrew, Thanks for your reply... Actually for our project we use the Templates- Altera DDR ARM9/excalibur board( as Hardware) and default package..and we use lwip stack

Re: [ECOS] hal_platform_extras

2005-12-30 Thread Andrew Lunn
On Thu, Dec 29, 2005 at 07:36:01PM -0800, Augusto Salazar wrote: Greetings, Why did file hal_platform_extras.h is present in some versions od redboot and in others is not?? For example in redboot-intel-xscale-040330 is present but in redboot-intel-ixp4xx-050425 is not What is the

Re: [ECOS] TCP Stack Testing problem

2005-12-30 Thread Andrew Lunn
On Fri, Dec 30, 2005 at 07:36:02PM +0530, Madhava Reddy S wrote: Hi All, I am new to eCos and currently learning to work on x86 PC platform. I want to test the working of TCP/IP stack. I was able to compile and run a sample application using boot floppy through serial port. How can

Re: [ECOS] TCP Stack Testing problem

2005-12-30 Thread Andrew Lunn
there any other way apart form redboot package selection. As i said in my reply, normal TCP/IP will work without Redboot. Andrew Regards, Madhava S - Original Message - From: Andrew Lunn [EMAIL PROTECTED] To: Madhava Reddy S [EMAIL PROTECTED] Cc: ecos-discuss

Re: [ECOS] stdout not printing into monitor

2005-12-30 Thread Andrew Lunn
On Fri, Dec 30, 2005 at 07:14:31PM +, Filipe David Manana wrote: Hi, I am new to eCos. I created a configuration (with template i386 PC Target default as a starting point) without ROM monitor support and with GRUB as startup type. Next I compiled sucessfully the Hello World example

Re: [ECOS] TCP Stack Testing problem

2005-12-31 Thread Andrew Lunn
On Sat, Dec 31, 2005 at 09:00:27PM +0530, Madhava Reddy S wrote: Hi Lunn, Thanks for your valuble reply. It might help if you actually read my reply fully. You seems to of not understood big parts of it. As you said i created a new project with i386 PC target and selected the net option

Re: [ECOS] Lower Processor's speed.

2006-01-09 Thread Andrew Lunn
On Sun, Jan 08, 2006 at 09:38:53PM -0800, Augusto Salazar wrote: Hello all, I am porting to a board that has a IXP425 processor running at 266mhz, how do I setup the redboot that I have for the grg board to go to that speed? GRG goes at 533Mhz What happens when you run Redboot? Maybe you

Re: [ECOS] Boot Redboot from Flash

2006-01-10 Thread Andrew Lunn
On Tue, Jan 10, 2006 at 07:19:26PM +0530, sughosh ganu wrote: hello, i am trying to port the redboot image on to a intel network proccessor,IXP2800.after burning the redboot.bin image into the flash,i am unable to get redboot to boot.is there any modificaton required in the source code to

Re: [ECOS] Interrupt unmask before complete cs8900a interrupt configuration.

2006-01-10 Thread Andrew Lunn
On Tue, Jan 10, 2006 at 05:11:07PM +0100, Jaws wrote: Hi all, I found a problem when I generated a net template image for my system. The problem is related to the interrupt management beetwen the At91R40008 and the CS8900a. In the if_cs8900a.c static bool cs8900a_init(struct

Re: [ECOS] Q: Support for ST NAND512W3A / bad block relocations

2006-01-10 Thread Andrew Lunn
On Tue, Jan 10, 2006 at 04:45:33PM +0100, Manfred Petz wrote: Hello, I'm trying to include support for the above NAND device (for RedBoot), and I got a question, which I could not get answered by browsing the mail archive and the sources. As I understood, there's no support for bad

Re: [ECOS] Q: Support for ST NAND512W3A / bad block relocations

2006-01-10 Thread Andrew Lunn
On Tue, Jan 10, 2006 at 10:45:49AM -0700, Gary Thomas wrote: On Tue, 2006-01-10 at 18:36 +0100, Andrew Lunn wrote: snip You might also find the Toshiba TC58xxx driver interesting. It is a NAND device. There is code for calculating ecc values. There is some licensing issues with that code

Re: [ECOS] Interrupt unmask before complete cs8900a interrupt configuration.

2006-01-11 Thread Andrew Lunn
On Wed, Jan 11, 2006 at 11:48:36AM +0100, Jaws wrote: If redboot stops the ethernet chip when lauch the application, I don't understand why before the cs8900a_start, when unmask the interrupt, it is active! The redboot is the current CVS version. The current code to stop the driver is: static

Re: [ECOS] Interrupt unmask before complete cs8900a interrupt configuration.

2006-01-11 Thread Andrew Lunn
On Wed, Jan 11, 2006 at 05:15:28AM -0700, Gary Thomas wrote: On Wed, 2006-01-11 at 13:05 +0100, Andrew Lunn wrote: On Wed, Jan 11, 2006 at 11:48:36AM +0100, Jaws wrote: If redboot stops the ethernet chip when lauch the application, I don't understand why before the cs8900a_start, when

Re: [ECOS] Re: eCos for AT91RM9200 available now or not?

2006-01-12 Thread Andrew Lunn
I spent some time on the port for AT91RM9200 with the help of Jiun-Shian Ho. The port (including Redboot) actually works on the Atmel EV now. Our combined efforts are available on my CVS server in the form of a patch and some code. On this server there is also a port for the AT91SAM7S256.

Re: [ECOS] J3 flash lockbits across reset

2006-01-12 Thread Andrew Lunn
On Thu, Jan 12, 2006 at 03:33:03AM -0500, alfred hitch wrote: Hi, I am confused on what is the correct behavior across power resets (of hardware) for J3 flash'es. 1) Will all sectors which were locked before power reset, remain so ? I am confused by some posts on net, saying they get

Re: [ECOS] ISR not causing an DSR in some rare conditions

2006-01-12 Thread Andrew Lunn
On Thu, Jan 12, 2006 at 01:47:43PM +0100, Stefan Sommerfeld wrote: Hi, i'm using XScale PXA270 processor with latest eCos and I think I found a problem with DSR's. I'm 100% sure that there must be a condition where eCos not calls the DSR of an interrupt. I have a IRQ which comes 45 times a

Re: [ECOS] Network Address Translation in eCos

2006-01-16 Thread Andrew Lunn
On Mon, Jan 16, 2006 at 11:34:13AM +0100, Birahim Larou Fall wrote: Hello, Has anyone implemented Network Address Translation in eCos? Or is it already implemented in eCos? There is no support for NAT in eCos. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Re: DSR Scheduling Problem

2006-01-17 Thread Andrew Lunn
That's insane. Nobody with a clue would write software like that. Actually, the generic 16x5x serial driver in eCos works exactly like that. When you get a TX interrupt you write data to the tx FIFO until it's full. Yep. I've made a somewhat quick-and-dirty fix that is attached

Re: [ECOS] eth0 usage

2006-01-20 Thread Andrew Lunn
On Fri, Jan 20, 2006 at 09:53:27AM +, ram kumar wrote: hi all, can i use eth0/eth1 with cyg_io_read/write/lookup. No. There are no block or char devices for ethernet devices. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list

Re: [ECOS] Help with on-line ftp data transfer.

2006-01-23 Thread Andrew Lunn
On Mon, Jan 23, 2006 at 08:21:57AM -0500, Solis-Najera, Sergio wrote: I urgently need a C-code example of how to send data to a host computer during acquisition. I am developping an e-Cos acquisition application and I need to send data on-line to the host computer during acquisition (the

Re: [ECOS] New flash device

2006-01-24 Thread Andrew Lunn
On Tue, Jan 24, 2006 at 04:45:25PM +1100, Andy Atkinson wrote: Hi All, We currently run a PXA26X processor which has built-in Intel Strata flash. We are about to migrate to the PXA255 which requires off-chip flash. The devices we are looking at are: 1) AMD S29PL-J (full part no.

Re: [ECOS] Accessing flash memory

2006-01-24 Thread Andrew Lunn
On Tue, Jan 24, 2006 at 02:15:45AM -0600, Peter Seebach wrote: Hi! I am doing some work on the TAMS MOAB board. It has 128M of flash memory. I am an embedded systems newbie, but pretty good at C. I created a reserved chunk using fis create I now want to access this storage from my

Re: [ECOS] Accessing flash memory

2006-01-24 Thread Andrew Lunn
On Tue, Jan 24, 2006 at 03:16:19AM -0600, Peter Seebach wrote: In message [EMAIL PROTECTED], Andrew Lunn writes: Reading the documentation is a good place to start: A followup on this. I'm finding that there are things I can't even figure out where to find in the documentation, because I

Re: [ECOS] Accessing flash memory

2006-01-24 Thread Andrew Lunn
On Tue, Jan 24, 2006 at 06:54:31AM -0600, Peter Seebach wrote: In message [EMAIL PROTECTED], Andrew Lunn writes: The filesystem layout is generally the same as the package layout. Unformtunetely, it does not work for this example: for example in packages/net/bsd_tcpip/current/include/machine

Re: [ECOS] DHCP problems

2006-01-25 Thread Andrew Lunn
On Wed, Jan 25, 2006 at 01:33:09PM -0500, Steve West wrote: I have upgraded from eCos 1.0 to the latest eCos version. Everything is running fine except for DHCP. TCP DNS work fine. The DHCP sends the request to the server and a response comes back from the server, but the DHCP client never

Re: [ECOS] Will ECOS run on an ATMEL AT91SAM7A3 controller ?

2006-01-27 Thread Andrew Lunn
On Fri, Jan 27, 2006 at 10:31:14AM +0100, Martijn Hazenberg [GOVA] wrote: Hi, A simple question : Will ECOS run on an ATMEL AT91SAM7A3 controller ? It has 256 kbyte flash, and 32 kbyte sram. It's capable of running at 60 mhz. It will be used for a motor controller with dual can bus. No

Re: [ECOS] Will ECOS run on an ATMEL AT91SAM7A3 controller ?

2006-01-27 Thread Andrew Lunn
On Fri, Jan 27, 2006 at 11:04:54AM +0100, Martijn Hazenberg [GOVA] wrote: Hi, Thanks for the speedy response... What serial debug system do you use ? I currently have the pcb designed but no serial port is implemented. Do you think it makes sense to add a serial port for debugging ? Yes. I

Re: [ECOS] Porting ecos to a custom board.

2006-01-30 Thread Andrew Lunn
On Mon, Jan 30, 2006 at 03:58:52PM +0500, Asim Jamshed wrote: Hi, I have a custom MIPS324kc board on which I am porting eCos. Right now, I am stuck in the serial device driver(16550) porting process. I followed the way in which the source code for Atlas MIPS324kc board is placed in the

Re: [ECOS] Configuration Tool

2006-01-30 Thread Andrew Lunn
On Mon, Jan 30, 2006 at 03:54:20PM +0100, [EMAIL PROTECTED] wrote: I want to modify the configtool! How I must make? For example if I must add an algorithm of scheduling in the path eCos Kernel/Kernel Schedulers. Do you want to change the confgurtion tool itself, or the information it shows?

Re: [ECOS] ping problem

2006-01-30 Thread Andrew Lunn
On Tue, Jan 31, 2006 at 09:23:06AM +0530, Madhava Reddy S wrote: Hi All, I am working on i386 target. I have a problem. I have compiled eCos with Redboot and booted the target. I was able to do telnet also. I have created a new project with net option enabled and wrote a sample

Re: [ECOS] ping problem

2006-01-31 Thread Andrew Lunn
On Tue, Jan 31, 2006 at 06:23:20PM +0530, Madhava Reddy S wrote: Hi Andrew, Sorry for the second mail. Our mail server blocks mails for groups, so I have sent one more and asked sysadmin to forward it. In the Basic network framework of configuration tool INET Support TFTP(RFC - 1350)

Re: [ECOS] memory footprint info for ecos configurations

2006-02-01 Thread Andrew Lunn
On Wed, Feb 01, 2006 at 12:12:26PM -0600, Sundius, Michael wrote: Hi I was looking for some information regarding the (code and data) size of various components of ecos for a Mips configuration.. I'm sure that someone out there has compiled a list of such stuff I just didn't see it in

Re: [ECOS] Support for Arcom's Vulcan board

2006-02-02 Thread Andrew Lunn
On Thu, Feb 02, 2006 at 03:32:35PM +0530, R Vamshi Krishna wrote: Our project requires a board with atleast 4 serial ports. While googling I found out about Arcom's IXP425 based PC/104 compatible board. Does eCos support this board. I don't need to use all the features of the board. All I

Re: [ECOS] hmm, it works now

2006-02-10 Thread Andrew Lunn
On Thu, Feb 09, 2006 at 09:50:30PM -0800, Chuck McManis wrote: So, I went back and recreated a new directory from scratch, got a new redboot.elf and it booted. Very strange. I wonder if there were some bit hanging around from other things I had tried. Yes, there are known problems with the

Re: [ECOS] success

2006-02-13 Thread Andrew Lunn
On Sun, Feb 12, 2006 at 09:53:43PM -0800, Chuck McManis wrote: Ok, so I've worked through the various compile issues, (seems the original creator of the Rhine code used the WANT_CONFIG/WANT_DEVS model, probably copied the Lance driver) and I can now build a Redboot that uses the Rhine

Re: [ECOS] VIA Rhine (was Re: [ECOS] Redboot and ethernet)

2006-02-13 Thread Andrew Lunn
On Mon, Feb 13, 2006 at 12:41:24AM -0800, Chuck McManis wrote: At 12:00 AM 2/13/2006, Andrew wrote: Have you looked at packages/devs/eth/sh/hs7729pci/current This is a hardware specific package to make the VIA Rhine run on an SH HS 7729. The Intel version should be very similar. This

Re: [ECOS] No joy on the network so far

2006-02-15 Thread Andrew Lunn
On Wed, Feb 15, 2006 at 04:17:13AM -0800, Chuck McManis wrote: Well, its curiouser and curiouser ;-) Ok, so I've got my new driver written. Started with the rhine driver but pretty much replaced everything except the buffer handling code. I added some instrumentation to see packets being

Re: [ECOS] A clue....

2006-02-15 Thread Andrew Lunn
On Wed, Feb 15, 2006 at 05:08:30AM -0800, Chuck McManis wrote: At 04:37 AM 2/15/2006, Andrew Lunn wrote: Does it known its own MAC address? Where does it get it from? When it sends out the ARP request what does it use for its own address? Yes, it does. This is the bit of the log that shows

Re: [ECOS] trying tx49 ref4955 design

2006-02-15 Thread Andrew Lunn
On Wed, Feb 15, 2006 at 10:32:41AM -0700, e.stiebler wrote: Hi all, tried my first steps with ecos on a Toshiba TX49 (MIPS). According to building a toolchain I built: binutils-1.16.1, gcc-3.4.4, and got the ecos version from the AnonCVS. When I try to compile it with make I get during

Re: [ECOS] A clue....

2006-02-15 Thread Andrew Lunn
This just shows that eCos knows the MAC address. Does the card know the MAC address? Sometimes you need to write the MAC address into a register before it will receive any packets addressed to it. Well TCP dump sees the source address there as well so it went out on the wire with the

Re: [ECOS] How to debug synchronisation in the usbs.c in a new usb-driver for the ARM at91sam7s...

2006-02-16 Thread Andrew Lunn
On Thu, Feb 16, 2006 at 03:57:54AM +0100, oliver munz @ s p e a g wrote: I need a hint, what can go wrong in the usbs.c, or how to debug condition-variables... My problem is, that my code works reliable, if i use it whitout kernel-objects, and that it works only a while in the usbs.c

Re: [ECOS] Redboot CAN bootloader ?

2006-02-16 Thread Andrew Lunn
On Thu, Feb 16, 2006 at 09:22:06AM +0100, Martijn Hazenberg wrote: Hi all, Has anyone ever tried to extend the functionality of Redboot with the option to load the programm by CAN bus ? I know nearly nothing about CAN bus. So i have some basic questions. What sort of protocol usually

Re: [ECOS] Gcc and the volatile keyword

2006-02-16 Thread Andrew Lunn
Would that insure that values would not be left in the registers? And on a more global note, I've already told the HAL to allocate this memory out of uncached memory space so if I'm not spin looping on these values do I even need volatile? volatile means more than just do not use a

Re: [ECOS] Using SNMP in ecos

2006-02-16 Thread Andrew Lunn
On Thu, Feb 16, 2006 at 01:01:10PM -0600, Hou, Chien-Long wrote: I am using atlas_mips32_4kc platform (sorry I am new to eCos). For some reason menuconfig does not work on my cygwin, so I am using ecosconfig directly. The steps I used: - ecosconfig new atlas_mips32_4kc - ecosconfig add

Re: [ECOS] Ever learning, setting individual bits

2006-02-19 Thread Andrew Lunn
BIT set/clear macros for I/O registers /* * A bit of syntactic sugar around setting and resetting bits in * 8 and 16 bit IO registers. A number of registers have reserved * bits that are marked do not program which means don't ever * change them if you expect your driver to

Re: [ECOS] Redboot size limit?

2006-02-20 Thread Andrew Lunn
On Sun, Feb 19, 2006 at 09:34:53PM -0800, Chuck McManis wrote: Does anyone know where or if there is a size limit on Redboot? It is very much platform dependent. In general there is no size limit since it is just an eCos application. But on i386 based machines there could be limitations due

Re: [ECOS] RBL

2006-02-21 Thread Andrew Lunn
On Tue, Feb 21, 2006 at 08:18:16AM +0100, (infor) miren illarramendi wrote: Hello! I have found documentation about the Robust Boot Loader. I have read the document and I have seen that y need CYGPKG_RBL package to use it. I have been looking for this package but I haven't found. I'm

Re: [ECOS] RedBoot ROM resource management after loading RAM eCos application.

2006-02-21 Thread Andrew Lunn
On Tue, Feb 21, 2006 at 12:43:11AM +0100, Reginald Deschrijver wrote: Hello all, I am having a question regarding the RedBoot ROM package. I have an ARM7TDMI board and I want to use RedBoot ROM to load my eCos .elf applications into RAM, execute, and debug using GDB. I know that RedBoot

Re: [ECOS] RedBoot ROM resource management after loading RAM eCos application.

2006-02-21 Thread Andrew Lunn
On Tue, Feb 21, 2006 at 11:32:44AM -0800, Chuck McManis wrote: At 05:12 AM 2/21/2006, Andrew Lunn wrote: Yes, it needs some RAM. Normally redboot provides the hal diag tty communication channel, gdb talks to redboot, etc. It needs RAM to do this. The linker script is setup so that Redboot gets

Re: [ECOS] help- redboot build and startup

2006-02-21 Thread Andrew Lunn
On Tue, Feb 21, 2006 at 02:01:33PM -0600, Rohit Pandita wrote: Hi, I had posted a couple of queries on the list in last few weeks, but it seems they were too trivial/ silly to elicit any response. In which case, apologies from a newbie. I've given up now on getting gdb stubs to work,

Re: [ECOS] CYGNUM_HAL_RTC_PERIOD

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 02:33:26PM +0530, vasantha.rajan wrote: On Tuesday 21 February 2006 15:09, you wrote: Hi Dirk , Thanks for your reply.. In my previous mail I asked one more question.but did'nt get reply. I will give a test code int count =1; void

Re: [ECOS] __attribute__ ((packed)) doesn't work

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 04:04:56PM +0100, Siegmund, Thomas wrote: Thanks for your answer about the court ;-))... Hopefully this attachment won't appear now. Well, and what about the usb_endpoint_descriptor which doesn't own this attribute? My assumption is it is missing, isn't it? It is

Re: [ECOS] Polled ethernet driver

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 03:51:44PM +0500, Asim Jamshed wrote: Hi, I intend to make a polled ethernet driver. For my readings, I came to the conclusion that in the case of polled driver, the deliver function need not be implemented. I was facing a bit of a difficulty following the traces for

Re: [ECOS] Problems building ecos sources

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 04:49:42PM +, David Fernandez wrote: Hi there, I'm trying to configure and make the gcc-2.0 tarball, but gives several warnings about compiler options not supported for C++, and finally it stops complaining about undefined dinamic linker symbols.

Re: [ECOS] problem with missing headers in ramfs for redboot

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 05:16:37PM +, Warwick Brown wrote: Andrew Lunn wrote: On Wed, Feb 22, 2006 at 04:34:33PM +, Warwick Brown wrote: Hi, I am currently trying to build redboot for the Altera EPXA1, but have hit upon a snag. It appears I am missing some header files. I

Re: [ECOS] Setting the start address (Was Re: problem with missing headers in ramfs for redboot )

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 09:09:27PM +, Warwick Brown wrote: Andrew Lunn wrote: ramfs is not in the default template. it appears to be in the default template for the Altera EPXA1, note I am using the patch as supplied by Quiang Huang in http://sources.redhat.com/ml/ecos-patches/2003

Re: [ECOS] Problems building ecos sources

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 04:56:09PM +, David Fernandez wrote: On Wed, 2006-02-22 at 17:53 +0100, Andrew Lunn wrote: On Wed, Feb 22, 2006 at 04:49:42PM +, David Fernandez wrote: Hi there, I'm trying to configure and make the gcc-2.0 tarball, but gives several warnings

Re: [ECOS] limited broadcast IP

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 04:33:41PM -0600, [EMAIL PROTECTED] wrote: Hello, I am wondering if there is a simple way to get the eCos BSD stack (ver 2.1) to send a limited broadcast IP. Could you explain what you mean by limited broadcast IP? Thanks Andrew -- Before

Re: [ECOS] Porting on LPC2214

2006-02-22 Thread Andrew Lunn
On Wed, Feb 22, 2006 at 04:39:55PM -0800, Sridhar Sridhar wrote: Hi, I would like to port eCos on LPCE2214 olimex proto type board.It has Ehternet and USB port and 256k Flash and 16k RAM. I have couple of questions. 1] I think eCos is available for LPC2XXX series in CVS. How much memory[ROM

Re: [ECOS] eliminating redboot by including 'platform_setup' in default image?

2006-02-23 Thread Andrew Lunn
On Thu, Feb 23, 2006 at 10:54:35AM +0530, [EMAIL PROTECTED] wrote: Friends, Am trying to eliminate redboot in my BSP for ixp425. Plan to include the minimal boot code(PLATFORM_SETUP) into my vector.S for this purpose. The correct way to do this is simply build you application with ROM

Re: [ECOS] PCI Issue

2006-02-23 Thread Andrew Lunn
On Thu, Feb 23, 2006 at 05:28:41AM +, anupam sakargayan wrote: HI Nick. :-) I searched with chip number and I found card manuals. Manual just shows the specification and features of the card. I found base address and IRQ of each port is allotted by system BIOS. I didn?t find driver code

Re: [ECOS] eliminating redboot by including 'platform_setup' in default image?

2006-02-23 Thread Andrew Lunn
On Thu, Feb 23, 2006 at 02:19:34PM +0530, [EMAIL PROTECTED] wrote: Andrew, Tried that. But then it had used flash addresses to run platform_setup And executing this code by downloading failed. Yes, this is what you would expect. It is a ROM image after all! Also, I do not have any tool to

Re: [ECOS] Problems building ecos sources

2006-02-23 Thread Andrew Lunn
[EMAIL PROTECTED] ecos-build]# make ... c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -L/usr/local/ecos/lib -ltcl8.4

Re: [ECOS] Problems building ecos sources

2006-02-23 Thread Andrew Lunn
Andrew Installed a new brand Tcl, all goes OK. But, when trying to make the graphical configuration utility (wxwin in linux), I've got: make -f /opt/ecos/host/tools/configtool/standalone/wxwin/Makefile ECOSDIR=/opt/ecos WXDIR=/usr/src/redhat/BUILD/wxGTK-2.4.2

Re: [ECOS] Problems building ecos sources

2006-02-23 Thread Andrew Lunn
make -f /opt/ecos/host/tools/configtool/standalone/wxwin/Makefile ECOSDIR=/opt/ecos WXDIR=/usr/src/redhat/BUILD/wxGTK-2.4.2 LEVEL=release full 21 | tee make.out ... mkdir -p /root/ecfg-build/ct-build-release c++ -O2 -c -I/usr/src/redhat/BUILD/wxGTK-2.4.2/include -I/opt/ecos/host/libcdl

Re: [ECOS] limited broadcast IP

2006-02-23 Thread Andrew Lunn
On Thu, Feb 23, 2006 at 11:17:32AM -0600, [EMAIL PROTECTED] wrote: Andrew, You've found about a quarter of a page more than me. TCP/IP Illustrated, Volume 1: The protocols. W. Richard Stevens. Section 12.2, page 171. I have a foot in both the UNIX and Windows camps (and I'm not very

[ECOS] Re: Problems building ecos sources

2006-02-24 Thread Andrew Lunn
Hi David A shot in the dark. Try this: Index: eCosSocket.h === RCS file: /cvs/ecos/ecos/host/tools/Utils/common/eCosSocket.h,v retrieving revision 1.2 diff -u -r1.2 eCosSocket.h --- eCosSocket.h19 Sep

Re: [ECOS] Help: RedBoot_RAM working, RedBoot_ROM not

2006-02-26 Thread Andrew Lunn
On Sun, Feb 26, 2006 at 05:12:24PM -0600, Rohit Pandita wrote: Hi all, I've been able to execute RedBoot_RAM on my board (Phycore555) finally, now I'm trying to get the ROM version to work, that's where I have hit another roadblock. I was able to build binary (.elf, came out to be

Re: [ECOS] Problems building ecos sources

2006-02-27 Thread Andrew Lunn
The problem seems to be in the last line: (_sparg_) = (CYG_ADDRESS) _regs_; \ My gcc version is 4.0.2: That makes sense. Thew macro is being called with: HAL_THREAD_INIT_CONTEXT((CYG_ADDRWORD)workspace_end,

Re: [ECOS] strucking up in infinite loop for IXP 425

2006-02-28 Thread Andrew Lunn
On Tue, Feb 28, 2006 at 02:15:38AM -0800, sumanth wrote: Hi, we are porting ecos for ixp425 we have flashed the image as per the sugessition in the forum but we are running in the infinite loop at this point icache_boundary: // Here is where we switch from

Re: [ECOS] configtool bug

2006-02-28 Thread Andrew Lunn
On Tue, Feb 28, 2006 at 04:45:37PM +0100, J?rgen Lambrecht wrote: Hello, I cannot find this bug back on http://bugs.ecos.sourceware.org/query.cgi?product=eCos, and actually, if this problem is documented, it would be no real bug, but I could not find any documentation about it. If this

[ECOS] ser_filter

2006-02-28 Thread Andrew Lunn
Hi Folks Does anybody know how to build ser_filter on Linux? The host/tools/ecostest/unix/Makefile does not get very far before exploding in errors. Thanks Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] ser_filter

2006-02-28 Thread Andrew Lunn
On Tue, Feb 28, 2006 at 06:03:41PM +, David Vrabel wrote: Andrew Lunn wrote: Hi Folks Does anybody know how to build ser_filter on Linux? The host/tools/ecostest/unix/Makefile does not get very far before exploding in errors. If the error is something like: ../../Utils/common

Re: [ECOS] Floating point representation with Ecos

2006-03-01 Thread Andrew Lunn
On Tue, Feb 28, 2006 at 03:42:53PM -0300, Ramiro C. Carvalho wrote: Hi, everybody. I am experiencing problems exchanging floating point data between my Ecos target (ARM7 processor and gcc 4.0.1) and Matlab under Windows XP (which uses IEEE 754 standard). By studying the file ieeefp.h under

Re: [ECOS] Debugging pc platform

2006-03-01 Thread Andrew Lunn
On Wed, Mar 01, 2006 at 04:06:11PM +, David Fernandez wrote: On Tue, 2006-02-28 at 18:14 +0100, Andrew Lunn wrote: On Tue, Feb 28, 2006 at 05:08:32PM +, David Fernandez wrote: Hi there, I'm trying to run eCos in a couple of pc platforms... At the moment, I've

Re: [ECOS] Debugging pc platform

2006-03-02 Thread Andrew Lunn
Is it SMP which is causing the problem? Maybe try running SMP but hack Cyg_Scheduler::start() so that it does not start the other CPUs. That might tell you moreIt might also be interesting to find out which CPU has the problem. I've been locking for that and it only appears in

Re: [ECOS] Debugging pc platform

2006-03-02 Thread Andrew Lunn
On Thu, Mar 02, 2006 at 01:38:36PM +, David Fernandez wrote: Andrew, Looking further into pcmb_smp.c, seems that there is a real mess with the ordinal cpu count numbers and the cpu ids. According to Intel SMP specification, what is regarded in pcmb_smp.c as cpu id,

Re: [ECOS] Q: static IP address, how to use flash_get_config() from the application

2006-03-02 Thread Andrew Lunn
On Thu, Mar 02, 2006 at 03:06:41PM +0100, Franz Hollerer wrote: Hi, I have assigned a static IP address to my board by means of fconfig -i at the Redboot prompt. How can I get Redboot to configure the network based on the settings given with fconfig and let my application take over

Re: [ECOS] should i unload CYGPKG_NET_FREEBSD_SYSCTL?

2006-03-02 Thread Andrew Lunn
On Thu, Mar 02, 2006 at 03:40:12PM +0100, Birahim Larou Fall wrote: is it a good idea to unload CYGPKG_NET_FREEBSD_SYSCTL when using freebsd. It is disabled by default. I have ported an ethernet driver in ecos. During my test, i see that my IP packets are discared because ipflow_active is

Re: [ECOS] MPC565 Platform Port

2006-03-02 Thread Andrew Lunn
On Thu, Mar 02, 2006 at 08:56:12PM +0100, Tucker Berckmann wrote: Hi Everyone, I am working on a platform port to the phyCORE-MPC565 board from Phytec, along with numerous drivers. As far as I can tell from the mailing lists, no one else is working on anything like this right now. In my

Re: [ECOS] strucking up in infinite loop for IXP 425

2006-03-03 Thread Andrew Lunn
On Fri, Mar 03, 2006 at 10:22:21AM +0530, [EMAIL PROTECTED] wrote: Hi Andrew thanks for your help Andrew I have changed the address from 2 to 0 location as given in manual as per your sugessition in .mlt and .ldi files with this I am

Re: [ECOS] Building eCos tests fails... vterminate.cc:94: undefined reference to `_impure_ptr' ?

2006-03-05 Thread Andrew Lunn
On Fri, Mar 03, 2006 at 05:15:31PM +0100, oliver munz @ s p e a g wrote: ... make -r -C infra/current tests make[1]: Entering directory `/ecos-e/ecos_builds/andrew1_build/infra/current' arm-elf-gcc -c -I/ecos-e/ecos_builds/andrew1_install/include

Re: [ECOS] Seperate RedBoot and eCos application RAM blocks?

2006-03-06 Thread Andrew Lunn
On Sun, Mar 05, 2006 at 10:30:36PM +0100, Reginald Deschrijver wrote: Hi all, I have an ARM7 processor with 2 blocks of RAM, and one block of ROM. The first RAM block is 4MB and starts at 0x0200. The second RAM block is 64KB and starts at 0x0300. The ROM block is 2MB and starts

Re: [ECOS] motorola PQ2FADS-ZU ADS 8260 ecos BSP???

2006-03-08 Thread Andrew Lunn
On Wed, Mar 08, 2006 at 12:14:51PM +0100, Ram Sudhir Tadavarthi wrote: Hello all, I am monica from germany, We want to bring up ecos RTOS on motorola PQ2FADS-ZU ADS 8260 evaluation board. Heard that there are several people who did the same earlier. Can anybody share BSP sources and their

Re: [ECOS] motorola PQ2FADS-ZU ADS 8260 ecos BSP???

2006-03-08 Thread Andrew Lunn
On Wed, Mar 08, 2006 at 01:26:30PM +0100, Ram Sudhir Tadavarthi wrote: Hello all, I am monica from germany, We want to bring up ecos RTOS on motorola PQ2FADS-ZU ADS 8260 evaluation board. Heard that there are several people who did the same earlier. Can anybody share BSP sources

Re: [ECOS] Modifying RedBoot to support multiple flash devices

2006-03-08 Thread Andrew Lunn
On Wed, Mar 08, 2006 at 11:21:11AM -0800, Grant Mills wrote: All, I am potentially going to be adding support to eCos/RedBoot to support multiple flash types in the same executable. The reason for this is the desire to use the cheapest flash available at any given time. That potentially

Re: [ECOS] JFFS2 on ARM target

2006-03-08 Thread Andrew Lunn
is known to be broken. Please see: #error http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg6.html #endif 2003-09-23 Andrew Lunn [EMAIL PROTECTED] * src/fs-ecos.c: Added test to detect known broken ARM compiler Andrew -- Before posting, please read the FAQ: http

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