Re: [ECOS] nor flash issue

2007-11-27 Thread Andrew Lunn
On Mon, Nov 26, 2007 at 06:01:46PM -, Syed Ismail wrote: Hi I have an arm based processor and amd nor flash. I built redboot for mx31 ADS board and everything works fine. We have a custom board and are building redboot for it. Here is my problem. i do fis write and when i read the

Re: [ECOS] How to add extra serial ports

2007-11-30 Thread Andrew Lunn
On Fri, Nov 30, 2007 at 12:50:26PM -0300, Eduardo Sabaj wrote: I'm working on an i386 architecture that has more than 2 serial ports available, and what I would like to know is how I can make use of them. The configtool program shows only the information about serial port 0 and 1 but

Re: [ECOS] How to add extra serial ports

2007-11-30 Thread Andrew Lunn
On Fri, Nov 30, 2007 at 04:35:01PM -0300, Eduardo Sabaj wrote: Andrew, thank you for your answer.. I made the changes that you suggested, I added two more serial ports, but what happens with the CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro? Is it enough to change its limit to 5 or should

Re: [ECOS] Questions about dual flash

2007-11-30 Thread Andrew Lunn
On Fri, Nov 30, 2007 at 12:48:28PM +0100, Per-Erik Johansson wrote: Hello I'm working on a redboot port for a PhyCore MPC5554 board. Our eval board has flash on it and the MPC5554 also has flash, but on startup the redboot prompt only displays one flash segment. Could it be made to show

Re: [ECOS] Does any one have Arm-cc compiled Ecos for Arm 922 excalibur processor

2007-12-03 Thread Andrew Lunn
On Mon, Dec 03, 2007 at 02:30:23AM -0800, sumanth wrote: HI, I am working on Arm 920 T Excalibur processor on custom designed board for which I have Ecos compiled on arm-elf-gcc. But now I have requirement to port this to arm-cc. Does any one have ported this already.

Re: [ECOS] RedBoot on x86 using Compact Flash]

2007-12-05 Thread Andrew Lunn
On Wed, Dec 05, 2007 at 05:10:05PM +0100, Antoine Zen-Ruffinen wrote: Hello Folks ! I tries to install RedBoot on a Embed PC, The soekris net4801 (see www.soekris.com), that has no floppy. For that I tried to build a ROM image using the package/hal/i386/pc/v2_0/misc /redboot_ROM.ecm

[ECOS] Re: Check for illegal address range in io/flash

2007-12-11 Thread Andrew Lunn
On Tue, Dec 11, 2007 at 11:09:40AM +0100, ?yvind Harboe wrote: On Dec 11, 2007 11:03 AM, Andrew Lunn [EMAIL PROTECTED] wrote: I mainly want the busted check in flash_erase() to be removed. ASSERT's are probably fine. What is actually wrong with this check? I think it is trying

Re: [ECOS] Using flash memory on AT91eb55

2007-12-13 Thread Andrew Lunn
On Thu, Dec 13, 2007 at 04:24:09PM +0100, Champion J?r?me wrote: Hi, I'm make a software with the Linux Synthetic Target for some month. Now, I want to port it the the evaluation board AT91EB55. But when I compile it, I've got an error like : the address 0x2040024 from a.out of the section

Re: [ECOS] eCos and GCC 4.1.1

2007-12-14 Thread Andrew Lunn
On Thu, Dec 13, 2007 at 10:38:34PM -0800, venumadhav wrote: Hi, I trying to build the ecos with arm-elf-gcc 4.1.1, I am getting following errors : == cc1: warning: command line option -Woverloaded-virtual is valid for

Re: [ECOS] Re: Is eCos project still alive?

2007-12-14 Thread Andrew Lunn
On Fri, Dec 14, 2007 at 05:38:02AM -0500, Chris Zimman wrote: Frank, I think you raise a valid point here. Perhaps it would be time to consider creating a more up to date release. Rather frequently on the list, someone will say something to the effect of 'I've downloaded/am using eCos 2.0

[ECOS] Re: RE : [ECOS] Using flash memory on AT91eb55

2007-12-14 Thread Andrew Lunn
On Fri, Dec 14, 2007 at 11:38:31AM +0100, Champion J?r?me wrote: The evaluation board has 3 memory : * 256K byte of 16-bit SRAM (upgradeable to 1 MB) * 2M bytes of 16-bit Flash (of which 1 MB is available for user software) * 4M bytes of Serial Data Flash (upgradeable to 16 MB) As I

Re: [ECOS] Re: RE : [ECOS] Using flash memory on AT91eb55

2007-12-14 Thread Andrew Lunn
On Fri, Dec 14, 2007 at 08:21:06AM -0800, hong zhang wrote: Andrew, How to identify my linux kernel image and ramdisk Linux? Who said anything about Linux? Im talking about eCos here. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the

Re: [ECOS] Re: RE : [ECOS] Using flash memory on AT91eb55

2007-12-14 Thread Andrew Lunn
On Fri, Dec 14, 2007 at 10:10:04AM -0800, hong zhang wrote: Andrew, Sorry. I should say how to identify an image is ROM or RAM image. Check the value of CYG_HAL_STARTUP. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] Ecos and GCC 4.1.1

2007-12-17 Thread Andrew Lunn
From: Venumadhav Josyula (WT01 - Wipro NewLogic) Sent: Monday, December 17, 2007 4:20 PM To: 'Andrew Lunn' Cc: 'ecos-discuss@ecos.sourceware.org' Subject: RE: [ECOS] Ecos and GCC 4.1.1 Hi Andrew, I got over the problem by downloading the latest Ecos sources

Re: [ECOS] Ecos and GCC 4.1.1

2007-12-17 Thread Andrew Lunn
Now we built our stack code and application using the library generated from the latest sources (these sources were compiled using arm-elf-gcc 4.1.1). We are able to generate the .axf image. But we are not able to load the .axf image using axd debugger. And what exactly does the debugger

Re: [ECOS] Using a different network driver

2007-12-17 Thread Andrew Lunn
On Mon, Dec 17, 2007 at 08:55:20AM +0100, Antoine Zen-Ruffinen wrote: Hi ! I am new to eCos. I want to use it on a soekris board (www.soekris.com), a single board PC, that have 3 NS DP83816 NIC. I have seen that a compatible driver for that NIC already exist in eCos tree. My question is

Re: [ECOS] Re: Improving TFTP performance

2007-12-19 Thread Andrew Lunn
On Wed, Dec 19, 2007 at 11:38:22AM +0100, ?yvind Harboe wrote: Take #2. Wrote up negotiation of segsize, passes first smoketest. Anyone interesting helping to test/comment on the patch? Tested w/this server: http://tftpd32.jounin.net -- ?yvind Harboe http://www.zylin.com - eCos ARM

Re: [ECOS] Re: Improving TFTP performance

2007-12-19 Thread Andrew Lunn
+cdl_option CYGPKG_NET_TFTPD_CLIENT_GET_PACKETSIZE { +display TFTP protocol allows negotiation of bigger packets. +Requires server which supports RFC 2348 blksize negotiation. +flavor data +default_value 512 +legal_values

Re: [ECOS] Re: Improving TFTP performance

2007-12-19 Thread Andrew Lunn
On Wed, Dec 19, 2007 at 03:47:32PM +0100, ?yvind Harboe wrote: On Dec 19, 2007 3:17 PM, Andrew Lunn [EMAIL PROTECTED] wrote: +cdl_option CYGPKG_NET_TFTPD_CLIENT_GET_PACKETSIZE { +display TFTP protocol allows negotiation of bigger packets. +Requires server

Re: [ECOS] Rooki needing help: upgrading Meraki Outdoor

2007-12-20 Thread Andrew Lunn
On Thu, Dec 20, 2007 at 08:29:49AM +0100, Xavier Martinez wrote: Thanks for your help but unfortunately we do not have the source code for this Redboot so I deduce that we should start from the beginning. Which source could we use from the list? [Puts on my hat for Ascom, my employers. Ascom

Re: [ECOS] Using a different Standard C library.

2007-12-20 Thread Andrew Lunn
On Wed, Dec 19, 2007 at 06:51:49PM -0500, tmm wrote: Some of the eCos packages that I'm using require the Standard C library so I've included the CYGPKG_ISOINFRA (ISO C POSIX Infrastructure) package and several of the CPYPKG_LIBC_* packages. But, I would rather use a different C library:

Re: [ECOS] eCos support for uPs w/built-in Ethernet?

2007-12-20 Thread Andrew Lunn
I know ColdFire (MCF5223x) has Ethernet support, as does IXP425 and NIOS-II. What about the others? Atmel AT91SAM's? NXP LPC's with Ethernet? Samsung? The Ethernet on the AT91SAM7 family should work. It has been tested on the AT91SAM7X, and Atmel re-uses its cores in compatible ways, so i

Re: [ECOS] Using a different network driver

2007-12-20 Thread Andrew Lunn
If I recompile redboot with my new target, will I have network support in it ? because downloading code trough the serial is very slow. It should have, when you enable networking in RedBoot. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the

Re: [ECOS] request_firmware()

2007-12-20 Thread Andrew Lunn
On Thu, Dec 20, 2007 at 04:22:05PM +0100, Antoine Zen-Ruffinen wrote: Hello list! Does a equivalent to the Linux function request_firmware() exist in eCos ? Does some one know how to do this manually ? Nope. You do it all manually. How you do this will depend on your hardware. eg where does

Re: [ECOS] Interesting problem surfaces after adding the basic IDE driver to a simple RedBoot configuration

2007-12-23 Thread Andrew Lunn
On Sun, Dec 23, 2007 at 12:05:20AM -0500, Gregg Levine wrote: Hello! Here's a new one. And unrelated to my earlier messages. I created an ECC file based on the regular PC w/ networking via an Intel device, and then added the IDE driver. Finally I found and attempted to add the ECM for floppy

Re: [ECOS] Application is blocked on the while loop within bsd_connect() function

2008-01-03 Thread Andrew Lunn
On Wed, Jan 02, 2008 at 11:57:34AM +0100, NGUYEN Thanh SILICOMP wrote: Hi all, Firstly, happy new year best wished to all. I'm working on an application connecting to FTP server using ecos ftpclient package. I constate that the application waits for ever on a blocking semaphore of

Re: [ECOS] AT91SAM and I2C

2008-01-06 Thread Andrew Lunn
On Sun, Jan 06, 2008 at 11:01:51PM +0200, Jan Jacobs wrote: Hi All, I need an I2C (TWI) driver for the AT91SAM7X. I have started doing something, but want to find out if somebody has done one or has any advice? I think somebody is working on such a driver. It was mentioned last month. Take a

Re: [ECOS] dsr_list not initialized as NULL

2008-01-08 Thread Andrew Lunn
Also I wonder whether that would cause some trouble if I modify the kernel file and initialize the dsr_list to NULL manually? You will run into other problems. A lot of code assumes the bss is zero'd. You need to find and fix this problem. Andrew -- Before posting, please read the

Re: [ECOS] pragma pack

2008-01-09 Thread Andrew Lunn
On Wed, Jan 09, 2008 at 03:19:28PM +0100, Alexandre wrote: Hi everybody (and happy new year would i add), I'd like to use the pragma pack(1) in one of my applications to align properly a 5 bytes structures array into flash. I know that packing reduces greatly the performances of the system

Re: [ECOS] Cannot sendto multicast using FreeBSD stack

2008-01-10 Thread Andrew Lunn
On Thu, Jan 10, 2008 at 09:29:05AM -0500, Chad Handrich wrote: Hello, I wrote about this problem previously, but still have not found a solution (see the subject Problem with multicast using FreeBSD stack from 11/29/07) I have eCos configured with the FreeBSD stack. Everything is working

Re: [ECOS] Problem with TCP/IP stack

2008-01-11 Thread Andrew Lunn
On Fri, Jan 11, 2008 at 05:46:46AM -0700, Gary Thomas wrote: Antoine Zen-Ruffinen wrote: Ok, I found the problem but I dont' know how to solve it: My two NIC are sharing the same interrupt. So when the second NIC do an interrupt, it is handel like it is the first NIC that interrupt. Does

Re: [ECOS] ZeroConf (Avahi, Bonjour) and the need for Multiple IPs

2008-01-12 Thread Andrew Lunn
On Sat, Jan 12, 2008 at 12:09:47PM -0800, Paul McHale wrote: Hi, We are considering implementing ZeroConf like functionality under eCos. To do this, we must support participating in the ZeroConf predertimined subnet. This alone is simple enough provided there is support for multicasting

Re: [ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), target remote doesn't work.

2008-01-12 Thread Andrew Lunn
On Sat, Jan 12, 2008 at 11:52:34PM +0100, Paul Chavent wrote: Hello. I try to use redboot on a Game Boy Advance (arm). I use the latest release of ecos found on cvs with my own hal. When i try to use gdb for running the twothreads example i have the following problem in gdb :

Re: [ECOS] Custom ioctl().

2008-01-14 Thread Andrew Lunn
On Mon, Jan 14, 2008 at 10:54:57AM +0100, Antoine Zen-Ruffinen wrote: Hello, For my project, I need Ethernet frame timestamps. Usually I do this under linux: ioctl(sock, SIOCGSTAMP, timeStamp). But SIOCGSTAMP is not implemented in eCos. The TCP/IP stack in eCos is from FreeBSD. I would

Re: [ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), target remote doesn't work.

2008-01-14 Thread Andrew Lunn
The $ here should of made RedBoot drop into GDB stub mode. But it looks like it did not happen. Does your redboot image actually contain the GDB stub? RAM images generally don't have a GDB stub, ROM images do. However you can configure this either way... What is the value of

Re: [ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), target remote doesn't work.

2008-01-14 Thread Andrew Lunn
On Mon, Jan 14, 2008 at 02:53:02PM +0100, Paul Chavent wrote: Andrew Lunn wrote: Lets try something simple. Connect to RedBoot over the serial port. Send it a $ character. Does it crash and reboot, or does it just go silent? $ is the magic character that tells RedBoot to send characters

Re: [ECOS] Is it posible to use Nano-X packet on Vmware template (i386)?

2008-01-16 Thread Andrew Lunn
On Wed, Jan 16, 2008 at 08:25:03AM +, Hakan ?akiroglu wrote: Is it posible to use nano-x server on Vmware template (i386)??? Never tried it, but should be. Look at the components: CYGPKG_MICROWINDOWS_PC, CYGIMP_MICROWINDOWS_PCSVGA16, and CYGIMP_MICROWINDOWS_PCVGA. Andrew --

Re: [ECOS] Problem reading broadcast IP

2008-01-18 Thread Andrew Lunn
On Fri, Jan 18, 2008 at 10:00:56AM +0100, Emmanuel Coullien wrote: Hi, I' am trying to get broadcast frame from Ethernet with the following code : void Test_system_UDP2(void) { int n_read; struct timeval tv; int srecept; struct sockaddr_in srv_recept; int

Re: [ECOS] Problem reading broadcast IP

2008-01-18 Thread Andrew Lunn
On Fri, Jan 18, 2008 at 10:49:59AM +0100, Emmanuel Coullien wrote: Ok for binding broadcast adress but how do you specify the interface (ex: eth0) ? Take for example: eth0 Link encap:Ethernet HWaddr 00:60:97:b0:86:6e inet addr:192.168.9.3 Bcast:192.168.9.255

Re: [ECOS] Problem reading broadcast IP

2008-01-18 Thread Andrew Lunn
On Fri, Jan 18, 2008 at 01:36:16PM +0100, Emmanuel Coullien wrote: I thank you for your answer. For your information, here are what I tested : srv_recept.sin_addr.s_addr=inet_addr(255.255.255.255); -- OK, Broadcast received srv_recept.sin_addr.s_addr=inet_addr(192.255.255.255); -- Doesn't

Re: [ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), target remote doesn't work.

2008-01-18 Thread Andrew Lunn
On Fri, Jan 18, 2008 at 07:39:28PM +0100, Paul Chavent wrote: Hello. I have found that it fails in hal/arm/arch/current/src/hal_misc.c at void breakpoint(void). When i execute void breakpoint(void) { diag_printf(breakpoint\n); HAL_BREAKPOINT(_breakinst);

Re: [ECOS] Ethernet socket

2008-01-21 Thread Andrew Lunn
Hi Antoine I don't suppose you did: -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss This has been asked many times Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Ethernet socket

2008-01-21 Thread Andrew Lunn
On Mon, Jan 21, 2008 at 12:07:01PM +0100, Antoine Zen-Ruffinen wrote: This is incredible that eCos doesn't implement functions for Ethernet communication !!! Why? Very few devices work at this level. Ethernet switches are about the only exception, and for such devices the older OpenBSD stack

Re: [ECOS] bug in ARP FSM with fragmented packets?

2008-01-21 Thread Andrew Lunn
On Mon, Jan 21, 2008 at 12:18:16PM +0100, J?rgen Lambrecht wrote: Hello, I'm investigating a problem where UDP packets get lost when there is an ARP table timeout. - It only happens with UDP, not with TCP; IPv4. - It only happens with fragmented IP packets, so with UDP packets bigger

Re: [ECOS] bug in ARP FSM with fragmented packets?

2008-01-21 Thread Andrew Lunn
We met this same problem and we solved it temporary by changing the arpt_keep to 24h in if_ether.c (just for the test). But we don't know if we can really do it. Why isn't it acceptable and do you know what are the consequences if we use a such long timeout ? I would not recommend it. If you

Re: [ECOS] DHCP over multiple interfaces

2008-01-23 Thread Andrew Lunn
On Wed, Jan 23, 2008 at 04:11:11PM +, Dave Lawrence wrote: I can't seem to get DHCP work over multiple interfaces. The eCos DHCP client used to work with multiple interfaces. This is why there is the half up states, so that it can force the packet out the correct interface and the clearing

Re: [ECOS] arm7 lpc2xxx abort data exception

2008-01-24 Thread Andrew Lunn
On Thu, Jan 24, 2008 at 03:38:14PM -0800, Jean-David Vuillemain wrote: hi, i have been working with ecos for a couple of months now. I had no problem at all with a 8 months old repository source files and my own port for my target board. After some problem with my working environment and

Re: [ECOS] Re: What should I concern when using eCos in commercial products?

2008-01-25 Thread Andrew Lunn
On Fri, Jan 25, 2008 at 04:10:28AM +, wangcui wrote: Thank you, Grant. Do I must register our product to eCos community, or something else? Nope. We are interested in what you are going with it, especially if it is unusual, but there is no legal reason to tell us if you don't want. My

Re: [ECOS] RAM Images on AT91SAM7s256

2008-01-28 Thread Andrew Lunn
How are you going to get this image into RAM? I thought of useing sam-ba for loading and starting images. O.K. But you need to find out what RAM sam-ba uses so you can avoid it. You also need to make sure that RAM is mapped to address 0x0 as well as 0x0020. I know ROM startup does

Re: [ECOS] RAM Images on AT91SAM7s256

2008-01-28 Thread Andrew Lunn
On Mon, Jan 28, 2008 at 05:07:38PM +0100, Alois Z. wrote: Hi, I currently working with a AT91SAM7s256 based board. For debugging and testing I like to devlop RAM only images. With only 64Kbytes of RAM, you will be very limited to what you can do. I strongly suggest you get a JTAG debugger

Re: [ECOS] Locale, TZSET

2008-01-30 Thread Andrew Lunn
On Wed, Jan 30, 2008 at 05:22:13PM -0600, Kramer, Mat wrote: Also, it doesn't look like there is any TZSET (time zone) support included, correct? Are the functions at the end of this page any use to you? http://ecos.sourceware.org/docs-latest/ref/c-and-math-library-overview.html

Re: [ECOS] question of __RedBoot_IDLE_TAB__?

2008-01-31 Thread Andrew Lunn
On Thu, Jan 31, 2008 at 12:16:50AM -0800, Billking wrote: hello everybody: I port redboot to a board based ARM7TDMI architecture,but I found pretty confused about this classs struct __RedBoot_IDLE_TAB__,because it have not been initialised.But when running redboot it pricesely pointer to

Re: [ECOS] eCos for MPC565 - new user

2008-01-31 Thread Andrew Lunn
On Thu, Jan 31, 2008 at 10:41:30AM +, ANILA SOOMRO wrote: Hello I am a new user of eCos and ultimately want to run eCos on a Phytec's MPC565 board. I have downloaded eCos and the the hal package does have a mpc5xx folder. I have read the instructions for rebuilding RedBoot which

Re: [ECOS] CVS related problem

2008-01-31 Thread Andrew Lunn
On Thu, Jan 31, 2008 at 11:18:43AM +, ANILA SOOMRO wrote: Hello I am using Cygwin bash shell (under Win XP). I am using the following command to login to the CVS server: cvs -d :pserver:[EMAIL PROTECTED]:/cvs/ecos login I get the following: Logging in to :pserver:[EMAIL

Re: [ECOS] How to disable c++ exceptions, -fno-exceptions has no effect?

2008-02-05 Thread Andrew Lunn
/opt/ecos/ecospro/ecos/gnutools/arm-elf/bin/../lib/gcc/arm-elf/3.4.4/../../../../arm-elf/lib/libsupc++.a(eh_alloc.o) Since this is an ecospro toolkit you might want to ask eCosCentric. The standard eCos toolkit does not support exceptions at all. This is something that eCosCentric added in there

Re: [ECOS] How to disable c++ exceptions, -fno-exceptions has no effect?

2008-02-05 Thread Andrew Lunn
On Tue, Feb 05, 2008 at 07:51:17PM +0100, Rasmus Stougaard wrote: Ok I will do that. I thought it was in the public ecos distribution as well since I found some public domain instructions about how to use ecos with libstdc++ (http://www.zylin.com/libstdc++.html) That requires some hacks

Re: [ECOS] Ipaq H3800 lcd and touch screen problem

2008-02-05 Thread Andrew Lunn
On Tue, Feb 05, 2008 at 10:16:43PM +, Hakan ?akiroglu wrote: Hi! I am new to ecos and I am trying different platforms that ported ecos before. Ipaq H3600 series has ported before and I have bought ipaq H3800. But I am having some problems. I am using cygwin to compile and debug

Re: [ECOS] Running sample apps using Cygwin and simulator

2008-02-06 Thread Andrew Lunn
On Wed, Feb 06, 2008 at 09:07:08AM +0100, J?r?my Alles wrote: Hi all, I?m a quite new user to ecos, and I?d like to know if it is possible to run sample applications provided with ecos within a simulator using Cygwin and WindowsXP. The powerpc emulator should work on Cygwin.

Re: [ECOS] Fwd: Re: [ECOS] RE: eCos configtool doesn't work on cygwin

2008-02-08 Thread Andrew Lunn
% ecosconfig new viper net //viper=target I have a freescale mpc5516 target. As far as i know, there is no port to a board using the mpc5516. You can take a look at the cme555 and ec555 which might be similar. You will also want to take a look at the porting guide:

Re: [ECOS] Fwd: Re: [ECOS] RE: eCos configtool doesn't work on cygwin

2008-02-08 Thread Andrew Lunn
On Fri, Feb 08, 2008 at 10:21:58AM +0100, [EMAIL PROTECTED] wrote: at least I know that ecos runns on a mpc5516 because I got a makefile with which I could create a specific application that runns on this controller. (I tested it) Interesting. Since the public eCos sources does not have

Re: [ECOS] Device Driver package link error

2008-02-08 Thread Andrew Lunn
On Fri, Feb 08, 2008 at 01:29:33PM -, Steven Clugston wrote: I've been trying to write a generic TPU (Time Processor Unit) driver for the MPC555 based on Bob Koninckxx's Encoder driver. To do this I've tried to separate stuff that's specific to a particular TPU function such as

Re: [ECOS] ZLIB : Compress and uncompress a file

2008-02-08 Thread Andrew Lunn
On Fri, Feb 08, 2008 at 03:54:06PM +0100, Emmanuel Coullien wrote: Hi, Is it possible to compress / uncompress a file on a File System (RAMFS or JFFS) with the ZIP format using the package /services/compress/zlib I've never tried it, but probably. You should be able to do gzopen(path, mode)

Re: [ECOS] BOOTP problem

2008-02-11 Thread Andrew Lunn
On Mon, Feb 11, 2008 at 12:44:37PM +0600, Alexey Shusharin wrote: ?? ??, 08/02/2008 ?? 08:39 -0800, Jay Foster ??: If you use the latest sources from CVS, you should enable the CYGOPT_NET_FREEBSD_STACK_ACCEPT_UNICAST option to define BOOTP_COMPAT. This will permit BOOTP to

Re: [ECOS] Can't read with cyg_io_read()

2008-02-13 Thread Andrew Lunn
On Wed, Feb 13, 2008 at 04:07:13PM +0100, [EMAIL PROTECTED] wrote: hi eCos fans, I don't know if it is the apropriate way to ask such things, but I haven't found a board for ecos-developers, so I'll make it short: I am testing the serial communication via eCos api. Writing is not the

Re: [ECOS] Pthread problem

2008-02-14 Thread Andrew Lunn
On Thu, Feb 14, 2008 at 09:07:05AM -0400, Davies, Greg wrote: Hi, I'm having problems when I try to run more than two pthreads at the same time. This is on a SAM7SE-EK board using the SAM7S-EK eCos configuration. The threads start up correctly and I hit the main loop of all of

Re: [ECOS] Updating ecos using CVS

2008-02-15 Thread Andrew Lunn
On Fri, Feb 15, 2008 at 12:15:38PM +0530, Dileep Kumar wrote: Hi, I have downloaded eCos source code -ecos-2.0b1, but it is not a updated one. Could you please tell me how to get latest code from CVS ? I tried to get updated source code by doing some steps specified in the Anonymous CVS page

Re: [ECOS] Public CVS ecos/images woe.

2008-02-15 Thread Andrew Lunn
On Fri, Feb 15, 2008 at 03:44:11PM +0300, Sergei Organov wrote: Hello, Is it possible to entirely get rid of those painful ecos/images subdirectory (by moving it into separate module or something)? The problem is that while it is indeed not checked out on initial checkout of the 'ecos'

Re: [ECOS] Configuration question

2008-02-19 Thread Andrew Lunn
On Tue, Feb 19, 2008 at 10:41:09AM +0100, Tom Deconinck wrote: Hi, I have some configuration questions. I'm defining an eCos configuration for our own board, which uses an Atmel at91sam7se cpu. So I based my package on the CYGPKG_HAL_ARM_AT91 and CYGPKG_HAL_ARM_AT91SAM7. I also defined my

Re: [ECOS] Re: eCos linking question

2008-02-20 Thread Andrew Lunn
So .data and .bss get addresses from the internal RAM.. but I don't get why, they should get addresses from ROM, following .gcc_except_table. According to the startup assembly code, these sections should then get copied into ram at startup. I know I need to use the internal ram too, since the

Re: [ECOS] How do I enable UART1 /dev/ser1 on SAM7X-EK?

2008-02-20 Thread Andrew Lunn
On Wed, Feb 20, 2008 at 06:43:30PM +0200, stephan wrote: Hi I use eCosPro 2.0.67. Since you have eCosPro you should really be asking eCosCentric. How do I enable UART1 (/dev/ser1) on the SAM7X-EK platform? From the eCos configuration tool, under Serial Device Drivers, I can't select Atmel

Re: [ECOS] Stack question

2008-02-25 Thread Andrew Lunn
On Mon, Feb 25, 2008 at 03:41:05PM +0100, Tom Deconinck wrote: Hi, Is there an easy way to know where in memory (exact address) the stack is located? Which stack? There is the interrupt stack and the idle stack, which could be the same. If you don't have your own main() function there is

Re: [ECOS] at91Arm7sek running without the pll

2008-02-25 Thread Andrew Lunn
On Mon, Feb 25, 2008 at 03:47:26PM +0100, Tobias Nielsen wrote: I have been sitting for some time to try to figure out a way to completely skip the PLL AND at the same time use the main oscillator bypass feature. I can see that the usage of the PLL is more or less directly coded in to a macro

Re: [ECOS] at91Arm7sek running without the pll

2008-02-25 Thread Andrew Lunn
On Mon, Feb 25, 2008 at 05:05:38PM +0100, Tobias Nielsen wrote: Nope, i have a situation where the the external components to drive the PLL is not connected - therefore i have to run without the PLL 2008/2/25, Andrew Lunn [EMAIL PROTECTED]: On Mon, Feb 25, 2008 at 03:47:26PM +0100, Tobias

Re: [ECOS] PPC Simulator target

2008-02-26 Thread Andrew Lunn
On Tue, Feb 26, 2008 at 11:27:44AM +, ANILA SOOMRO wrote: Hello I am trying to run the examples that come with eCos on a PowerPC Simulator. I have built the eCos kernel for a Power PC Simulator target and then compiled the examples. The examples are compiled successfully but when I

Re: [ECOS] Using S3CEB2410 evaluation board

2008-02-26 Thread Andrew Lunn
On Tue, Feb 26, 2008 at 12:19:03PM +0100, J?r?my Alles wrote: Hi, I?d like to use the S3CEB2410 evaluation board (http://www.armkits.com/product/s3ceb2410.asp) with eCos and Redboot. I saw that the SMDK2410 board is fully supported by eCos. Do you think it?ll be a hard work to make it

Re: [ECOS] A question about fileio, passing an empty string argument to chdir's problem

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 06:06:43PM +0800, [EMAIL PROTECTED] wrote: Dear all: We think there is a problem with eCos' chdir. When this fileio's function is passed an empty Hi Beijing Sunnorth eCos Maintainer Group I received this email 5 times! Please think about which addresses you send

Re: [ECOS] A question about fileio, passing an empty string argument to chdir's problem

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 06:06:43PM +0800, [EMAIL PROTECTED] wrote: Dear all: We think there is a problem with eCos' chdir. When this fileio's function is passed an empty string as its argument, eCos' chdir does nothing and will not fail. Calling chdir() seems to have the same

Re: [ECOS] blib node allocation problem

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 09:06:42AM -0500, Steve West wrote: Hi all, I am having some problems with blib node allocation. It seems that the number of unique file names is controlled by node pool size. If I set NODE_POOL_SIZE to 32k and then open and close 32k unique named files I get a

Re: [ECOS] blib node allocation problem with FAT FS

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 06:56:07PM +0100, Andrew Lunn wrote: I found the problem. The reference count was decrementing below 0. Here is a fix for fatfs_node_unref() in fatfs_ncache.c. if (node-refcnt) node-refcnt--; It could be that you have fixed the symptom

Re: [ECOS] blib node allocation problem with FAT FS

2008-02-27 Thread Andrew Lunn
I think the block change will work with any IDE driver. The IDE Block size is 512 but by changing the size to 32768 you read write multiple blocks at one time. This makes the throughput much faster especially with DMA mode. It would make sequential access faster. But you have reduced the

Re: [ECOS] blib node allocation problem with FAT FS

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 01:45:23PM -0500, Steve West wrote: I would suggest making this a CDL option so it can be configured for your specific needs. Yes that would be good. As to the other Blib issue. I see the ASSERT for refcnt = 0. But following the code this is what I get open node

Re: [ECOS] blib node allocation problem with FAT FS

2008-02-27 Thread Andrew Lunn
On Wed, Feb 27, 2008 at 03:25:49PM -0500, Steve West wrote: fatfs.c: 647 should of incremented the reference count. So it should be 1. What was the value before line 647? Seems that there is something basically wrong here. I set the hash table size to the same as the file count size and the

Re: [ECOS] MPC555 serial driver delay

2008-02-28 Thread Andrew Lunn
After stepping though the code with interrupts enabled it seems that there is a single byte hardware buffer that generates a transmit interrupt when it is empty. When cyg_io_write() is called the ISR/DSR are setup and the TX interrupt is enabled. The DSR is called straight away as the buffer

Re: [ECOS] MPC555 serial driver delay

2008-02-28 Thread Andrew Lunn
On Thu, Feb 28, 2008 at 04:04:37PM -, Steven Clugston wrote: mpc555_serial_putc() should return false when the buffer is full. This tells serial_xmt_char() to stop sending bytes, and so the DSR should exist. It does, but I didn't understand why it should ever need to, the very

Re: [ECOS] Software interrupt

2008-02-28 Thread Andrew Lunn
On Thu, Feb 28, 2008 at 09:01:44PM +0100, [EMAIL PROTECTED] wrote: Hi! I'm trying to write on the VGA buffer of a PC at the 0xa address on graphical mode (and not text). I wrote a C program using interruption in ASM, trying to switch into graphical mode : asm volatile ( movl

Re: [ECOS] USB on the AT91SAM7S

2008-02-29 Thread Andrew Lunn
On Fri, Feb 29, 2008 at 10:10:27AM -0500, Frank Pagliughi wrote: Hey All, I just got an AT91SAM7S-EK board and tried playing around with the USB features under eCos. I'm having some trouble and am wondering if anyone knows whether the USB device driver for the chip/board is in an

Re: [ECOS] A question about fileio opendir's problem

2008-03-02 Thread Andrew Lunn
On Fri, Feb 29, 2008 at 05:29:01PM +0800, [EMAIL PROTECTED] wrote: Dear all: Still We have another question about fileio's opendir We have checked eCos' source code DIR * opendir(const char *path) { ... fd =

Re: [ECOS] NXP/Phillips LH7A404 support?

2008-03-03 Thread Andrew Lunn
On Fri, Feb 29, 2008 at 02:45:18AM +0100, Michelle Konzack wrote: Hello, I am Electonic Engineer and Dr. in IT and currently I am searching for a Microcontroller to bild a new Solar-Charger. My current choice is the NXP/Phillips LH7A404 which is based on the ARM922T. Q: Is this CPU

Re: [ECOS] MPC555 serial driver delay

2008-03-03 Thread Andrew Lunn
I've tried to see how the interrupt gets cleared in the code and it doesn't seem to get explicitely cleared. Sometimes just reading the interrupt status register clears it. The data sheet should say somewhere. I've put separate counters in both sections that return either true or false. For

Re: [ECOS] USB on the AT91SAM7S

2008-03-03 Thread Andrew Lunn
Ah, so since they're binary compatible, the driver just overlays a 'usbs_tx_endpoint' over one of the defined 'usbs_rx_endpoint' structures? So, say, if you define EP2 as IN (tx) then you can just cast the struct like this: usbs_tx_endpoint* tx_ep = (usbs_tx_endpoint*)

Re: [ECOS] MMU, chip select on AT91

2008-03-07 Thread Andrew Lunn
On Fri, Mar 07, 2008 at 11:03:31AM +0100, J?r?my Alles wrote: Hi, I?m using a AT91 processor on a AT91RM9200DK board. I?m using a port that someone in my company did some years ago. Here is my problem: I would like to use the graphic possibilities of the board. In the development kit, I

Re: [ECOS] Type of alarm-function

2008-03-07 Thread Andrew Lunn
On Wed, Mar 05, 2008 at 01:52:16PM +0100, Thomas Kl??ber wrote: Hello all, I am porting eCos to the Infineon TriCore TC1796 as part of my studies. I am using the kernel testcases to verify it's working, most ones are running just fine. During stepping throug kclock0.c as it wouldn't work,

Re: [ECOS] Broken Link

2008-03-08 Thread Andrew Lunn
On Fri, Mar 07, 2008 at 06:25:29PM -0800, Les George Miklosy wrote: How To Ask Questions the Smart Way.. http://www.tuxedo.org/~esr/faqs/smart-questions.html Doesn't anybody read Raymonds work? I've read this document and find it good. However i'm typically the one answering the

Re: [ECOS] Remote access to ECOS web server from internet

2008-03-10 Thread Andrew Lunn
On Mon, Mar 10, 2008 at 11:28:29AM +0200, Alperen Coskun wrote: Hi all, I'm using athttp server on ECOS. I'm able to reach the main page of the server that I have written in HTML with the address 192.168.x.x (In other words from a local address given by my ADSL Modem). I have no

Re: [ECOS] Procedure to release GPL code for eCos

2008-03-10 Thread Andrew Lunn
On Mon, Mar 10, 2008 at 03:58:49PM +0530, Aditya Vaidya wrote: Hi all, We would like to know the correct procedure to release GPL code for eCos. Currently, there seems to be no consensus on this. You need a copyright assignment with the FSF. You need to send the information as requested

Re: [ECOS] Broken Link

2008-03-10 Thread Andrew Lunn
On Mon, Mar 10, 2008 at 07:37:21AM -0300, Davies, Greg wrote: Not sure if the subject refers to the fact that the link being given was already broken, or something more subtle. Either way, this working link looks to be the same article for anyone interested. I think it was both. Anyway, the

Re: [ECOS] Procedure to release GPL code for eCos

2008-03-10 Thread Andrew Lunn
On Mon, Mar 10, 2008 at 04:51:40PM +0530, Aditya Vaidya wrote: Well, unfortunately its only licensed under GPL; no dual license for sure. So is there any way that the community would accept such code? Even if it's not in the repository, say if we start a sourceforge project or something

Re: [ECOS] Procedure to release GPL code for eCos

2008-03-10 Thread Andrew Lunn
On Mon, Mar 10, 2008 at 06:16:34PM +0530, Aditya Vaidya wrote: So for this port from Linux to ecos, is the FSF copyright assignment necessary or optional? It is not even possible. You don't own the code so you cannot assign it to FSF. Right now, all we have is some hello world and basic

Re: [ECOS] AT91SAM7X256--flash can not Initialise?

2008-03-12 Thread Andrew Lunn
On Wed, Mar 12, 2008 at 06:09:37PM +0800, venice wrote: Hi, everyone, my board is something similar to the public board AT91SAM7X256. When I joined the packages FLASH memory support for Atmel AT91 EFC. and Generic FLASH memory support. the redboot get hints like that: +Sorry, FLASH

Re: [ECOS] AT91SAM7X256--flash can not Initialise?

2008-03-12 Thread Andrew Lunn
Are you using combined FIS and CFG in one flash block? The flash blocks are too small for this. yes,the default option is on and if I turn if off the redboot doesn't work! Define does not work. The block size of the flash is 256 Bytes, and I have assigned 8 blocks to hold the information.

<    4   5   6   7   8   9   10   11   12   >