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

2006-03-08 Thread Andrew Lunn
On Wed, Mar 08, 2006 at 10:04:51PM +, Alex Schuilenburg wrote: Grant Mills wrote: [...] Excellent. Now if I could only convince the Corporate IT people to open up the firewall enough for me to access the cvs server. You can always access weekly snapshots of anonCVS from

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

2006-03-08 Thread Andrew Lunn
For a more general solution you'll want the V2 branch in anoncvs. In particular the V2 version of the AMD flash driver has an option for CFI support, i.e. the device parameters will be determined at run-time and you can bounce around between devices within a family all you like. If you want

Re: [ECOS] JFFS2 on ARM target

2006-03-09 Thread Andrew Lunn
On Thu, Mar 09, 2006 at 03:19:08PM -0500, Doyle, Patrick wrote: Hello again Andrew, OK, I've poked around a bit... What I've seen is that the jffs2 tree has migrated a bit since it was imported into the eCos tree. The other thing I've seen is an ecos directory which has your fingerprints

Re: [ECOS] Disable serial device

2006-03-09 Thread Andrew Lunn
On Wed, Mar 08, 2006 at 11:48:53PM +, Adrian K wrote: Hi A serial device connected to my redboot board interferes with redboot's startup. How would I go about disabling the serial io on this port and only use the tcp-ip channel so that redboot can continue its work uninterupted? I

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

2006-03-09 Thread Andrew Lunn
Andrew, So is sounds like I should be able to enter the packages directory and execute this: cvs -q -z3 up -j flash_v2 io/flash devs/flash redboot Then I'll clean up the conflicts and I should be off and running. Right? Humm, looks O.K. I've never done this myself, i've never

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

2006-03-09 Thread Andrew Lunn
Andrew, Basically the -j switch merges the specified revision (flash_v2, but it's a branch tag so cvs takes the tips of the branch) into the current sandbox, which for me is HEAD/tip/trunk. So I've effectively brought the flash_v2 changes to the tip. There were some conflicts, most

Re: [ECOS] Newbie in truble, Hello World don't exit

2006-03-10 Thread Andrew Lunn
On Fri, Mar 10, 2006 at 09:52:24AM +0100, paolo.destro-demo wrote: Hi List. I'm tryng to execute a simple program hello world, I can compile it and then I can run it, but it doesn't stop. The program print on screen the string Hello eCos world, and than stop without finish. Embedded systems

Re: [ECOS] cvs fails when -d is used on checkout

2006-03-11 Thread Andrew Lunn
On Fri, Mar 10, 2006 at 06:33:12PM -0800, Grant Mills wrote: Anybody, Quick question, but can anybody think of a reason that cvs -z3 -d appro' cvs root co -d other_than_standard_ecos_directory -P ecos would fail? I used the following command with out the -d option and it worked

Re: [ECOS] How to display assertions by diag_printf ?

2006-03-14 Thread Andrew Lunn
On Mon, Mar 13, 2006 at 07:36:29PM +0100, Riadh Elloumi wrote: Hi all, Looking at the assert.h, I see that there are many ways to display the assertion fails in eCos, the compiled one for me is: #if defined(CYGINT_ISO_STDIO_FORMATTED_IO) defined(CYGINT_ISO_EXIT) # include stdio.h #

Re: [ECOS] How to display assertions by diag_printf ?

2006-03-14 Thread Andrew Lunn
On Tue, Mar 14, 2006 at 11:51:46AM +0100, Riadh Elloumi wrote: Andrew Lunn wrote: Enable: CYGDBG_INFRA_DEBUG_TRACE_ASSERT_SIMPLE and disable CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER Andrew Still unchanged. Both CYGINT_ISO_STDIO_FORMATTED_IO and CYGINT_ISO_EXIT

Re: [ECOS] FreeBSD TcpIP stack

2006-03-14 Thread Andrew Lunn
On Tue, Mar 14, 2006 at 11:45:46PM +1100, sam wrote: Hi, Does eCos has FreeBSD Tcp/IP stack built in? Yes Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Re: [ECOS] Reg: Redboot porting For AT91SAM7A3

2006-03-16 Thread Andrew Lunn
On Thu, Mar 16, 2006 at 02:37:44PM +0530, jagannath wrote: Hi, I am using ecos for AT91SAM7A3. This is somewhat similar to AT91SAM7S. So i am using ecos ported for AT91SAM7S, with a slight modifications for my hardware. I compiled ecos for AT91SAM7A3. Now i want to port redboot for

Re: [ECOS] Request for hints

2006-03-16 Thread Andrew Lunn
On Wed, Mar 15, 2006 at 09:19:23PM -0500, John R. Dunning wrote: Hi ecos wizards. I'm a newbie, and am looking for hints and howtos etc. My goal is to produce extrememly minimal images, initially for use in exercising hardware blocks in a simulator. Later they will run on real hardware.

Re: [ECOS] audio driver help

2006-03-21 Thread Andrew Lunn
On Wed, Mar 22, 2006 at 06:21:31AM +, jagan m wrote: Hi all, I am new eCos and i have given work to port SIP stack onto eCos. Before that I have to make sure that audio works fine. I am working on i386 platform and my audio card is Intel AC97 Audio controller. I found that there is no

Re: [ECOS] Build Problems.

2006-03-21 Thread Andrew Lunn
On Tue, Mar 21, 2006 at 08:14:43PM -0500, Teli, Chris wrote: I am trying to build ecos-2.0 on a Windows 2000/XP. eCos 2.0 is very old. Use anonyomous cvs. Configure, options: ../configure --target=i386-elf These are the host tools. You can use the prebuild binaries for these. Look at

Re: [ECOS] In-order exection of I/O on PowerPC 60x

2006-03-23 Thread Andrew Lunn
When I placed a sync instruction between the critical read accesses, instead of eieio, our problems disappeared. (The sync instruction covers reads even if memory is not marked as guarded.) What is the overhead of a sync compaired to an eieio? Should we just change the barrier macro?

Re: [ECOS] Ecos application porting For AT91SAM7A3

2006-03-23 Thread Andrew Lunn
Can i download the srec image through JTAG. That will depend on your JTAG tools. The tools i use accept elf, srec and binary. I tend to use a script which downloads the elf and then starts gdb with the same elf. I once spent a long time debugging a phantom bug becasue the srec was out of date

Re: [ECOS] In-order exection of I/O on PowerPC 60x

2006-03-23 Thread Andrew Lunn
On Thu, Mar 23, 2006 at 01:52:19PM +0100, Peter Graf wrote: Andrew Lunn wrote: When I placed a sync instruction between the critical read accesses, instead of eieio, our problems disappeared. (The sync instruction covers reads even if memory is not marked as guarded.) What

[ECOS] Re: Can't start redboot in RAM mode

2006-03-24 Thread Andrew Lunn
On Fri, Mar 24, 2006 at 04:45:36PM +0800, EE89 student wrote: On Fri, 24 Mar 2006 08:52:17 +0100, Andrew Lunn wrote Try connecting gdb and see what it says about the crash. Are you sure Redboot RAM has been linked to run at 0x0300. It is rather high in memory. Normally it goes much

Re: [ECOS] eCos and GCC 4.1.0

2006-03-25 Thread Andrew Lunn
On Fri, Mar 24, 2006 at 03:33:37PM -0300, Marco Aur?lio da Cruz wrote: Hi. I've downloaded the ecos-trunk-20060319 snapshot from eCoscentric and tried to compile it on arm-elf-gcc 4.1.0. I got the errors below: .../include/cyg/kernel/sched.hxx:181: error: extra qualification

Re: [ECOS] JFFS2, can?t open a file

2006-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2006 at 09:40:24AM +0200, (infor) miren illarramendi wrote: Hello, I'm trying to write a file in a flash using the jffs2 but when I try to open the file it fails. I'm using an ARMermelator board. First, I call a function named access to know if I can access to the file or

Re: [ECOS] How to add a second flash device software management on an ixdpg425 board (montejade)

2006-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2006 at 02:58:39PM +0200, thierry langlais wrote: I get a string like this +$T0a0f:00147900;0d:00149b80;#56 as you can see And what does gdb say? It can decode this string for you. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and

Re: [ECOS] How to add a second flash device software management on an ixdpg425 board (montejade)

2006-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2006 at 03:12:29PM +0200, thierry langlais wrote: Could you tell me where to find the documentation about it ? A kind of GDB user guide. I'm just starting on this platform and i never used gdb on it ;-( Using gdb is about the same for all target. Take a look at

Re: [ECOS] How to add a second flash device software management on an ixdpg425 board (montejade)

2006-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2006 at 04:24:09PM +0200, thierry langlais wrote: I'm not sure about my procedure: I loaded redboot_RAM.elf, then launch a go, then disconnect, then launched gdb and entered following commands: (gdb) set remotebaud 115200 (gdb) target remote /dev/ttyS0 Remote debugging

Re: [ECOS] How to add a second flash device software management on an ixdpg425 board (montejade)

2006-03-28 Thread Andrew Lunn
On Tue, Mar 28, 2006 at 05:15:18PM +0200, thierry langlais wrote: Yeeesss ! It is more explicit now. Here is the capture: 0x00147900 in flash_query (data=0x149b98 ) at /home/tls/repository/redboot/redboot-intel-ixp4xx-050425/packages/devs/flash/intel/strata/current/src/flash_query.c:87

[ECOS] Re: Fail booting from P30

2006-03-28 Thread Andrew Lunn
BTW, the following location for downloading redboot user guide pdf file has been broken. Where can I download redboot user guild pdf file from? http://sources.redhat.com/ecos/docs-latest/pdf/redboot.pdf The pdf was moved from there quite a while ago: [EMAIL

Re: [ECOS] ISP1181 driver for At91M42800A

2006-03-29 Thread Andrew Lunn
On Wed, Mar 29, 2006 at 02:56:09PM +0200, Alluitz wrote: Hi, I have been finding the ISP1181 driver for AT91M42800A in my repository and in internet, but I can?t find anything. Could somebody help me? Should I refresh Generic USB Slave support packet? I don't think there is a driver for the

Re: [ECOS] ISP1181 driver for At91M42800A

2006-03-29 Thread Andrew Lunn
On Wed, Mar 29, 2006 at 04:07:21PM +0200, Alluitz wrote: I supose that there is a driver for ISP1181 because I have read some information in the discuss about it from you. (http://sourceware.org/ml/ecos-maintainers/2004-09/msg00017.html). From the webpage: We have developed (work done by

Re: [ECOS] ISP1181 driver for At91M42800A

2006-03-29 Thread Andrew Lunn
On Wed, Mar 29, 2006 at 04:23:45PM +0200, Alluitz wrote: Thank you very much for your help. Do you know where can we find it? If you want, I will send you the information, when I get it. You need to talk to Andrea Michelotti, the person who wrote that email. Andrew -- Before

Re: [ECOS] CDL Constraints Question

2006-03-29 Thread Andrew Lunn
On Wed, Mar 29, 2006 at 12:03:05PM -0800, Jay Foster wrote: I have a CDL package that contains a cdl_interface (call it CYGINT_X) and a boolean cdl_option (call it CYGOPT_X). The cdl_option is only active when the cdl_interface is implemented (active_if CYGINT_X). It is valid to have 0, 1,

Re: [ECOS] Does someone know how to deactivate MMU to check a memory access ?

2006-03-30 Thread Andrew Lunn
On Thu, Mar 30, 2006 at 08:46:44PM +0200, Shmuel Vagner wrote: Thierry (and list) I had a similar problem with our custom IXP425 based board. To test the second flash I did the following: I compiled different ROM and RAM images: In the ROM image: 1 - I enabled CS1 with the same defaults as

Re: [ECOS] Newbie question: eCOS and Redboot for AT91SAM7S-EK

2006-03-30 Thread Andrew Lunn
On Thu, Mar 30, 2006 at 04:34:40PM -0700, Wayne Liu wrote: I am new to eCos and ran into some problems while trying to get started with eCos and RedBoot ( I've searched through the mail archive, but wasn't able to much specific information): 1. I've found the eCos page which says that

Re: [ECOS] ecosconfig new target template version doesn't work?

2006-03-30 Thread Andrew Lunn
On Thu, Mar 30, 2006 at 04:11:28PM -0800, john bogus wrote: I am am trying to configure ecos with the current rather the the default v2_0 of redboot. I know that I can do this in configtool, but I am trying to do with ecosconfig. When I do: ecosconfig new mytarget redboot current I

Re: [ECOS] any existing code about a prompt password for entering redboot ?

2006-03-31 Thread Andrew Lunn
On Fri, Mar 31, 2006 at 12:18:04PM +0200, thierry langlais wrote: Hi all, 1)Does someone already wrote code about a kind of prompt password before entering RedBoot, in the case the user press CTRL+C at the + prompt ? 2)Does someone could advices me about where to start or give me some

Re: [ECOS] any existing code about a prompt password for entering redboot ?

2006-03-31 Thread Andrew Lunn
// //== //ECOSGPLCOPYRIGHTBEGIN // --- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 2002 Andrew Lunn // // eCos is free software; you can redistribute it and/or modify it under

Re: [ECOS] Bug in redboot/flash.c (fis_update_directory) with CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG

2006-04-04 Thread Andrew Lunn
On Tue, Apr 04, 2006 at 09:56:13AM +0200, Lars Povlsen wrote: I hit upon this bug when having CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG enabled, which caused the config never to be written to flash - just the directory parts. I'm kinda jinxed by the fact that nobody else have seen this

Re: [ECOS] cyg_alarm_initilize

2006-04-04 Thread Andrew Lunn
On Mon, Apr 03, 2006 at 07:40:48PM +0530, vasantha.rajan wrote: I have some problem in cyg_alarn_initialize() API. Our code contains nearly 20 threads sheduled to run. In one particular thread we have cyg_alarm_initilize() api as give below,

Re: [ECOS] problem with select()

2006-04-04 Thread Andrew Lunn
On Sun, Apr 02, 2006 at 07:01:15PM +0400, ?? wrote: Hi ?? I use the old version of ecos (ecos 2.0 downloaded at December 2003). But I searched the problem I have in the ecos bug tracking database and didn't find it. Very few bugs get entered into the database. There has been

Re: [ECOS] problem with REG32() in ixp425

2006-04-04 Thread Andrew Lunn
On Tue, Apr 04, 2006 at 04:15:37AM -0700, sumanth wrote: Hi, I am sumanth, i am porting ecos to ixp 425 evaluation board of mine, but i am getting problem in the hal_interrupt_configure, where we have address calculation routine *IXP425_GPIT1R = (*IXP425_GPIT1R ~(7

Re: [ECOS] Bug in redboot/flash.c (fis_update_directory) with CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG

2006-04-04 Thread Andrew Lunn
On Tue, Apr 04, 2006 at 09:56:13AM +0200, Lars Povlsen wrote: I hit upon this bug when having CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG enabled, which caused the config never to be written to flash - just the directory parts. I'm kinda jinxed by the fact that nobody else have seen this

[ECOS] Re: Strata flash driver status ?

2006-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2006 at 09:58:42AM +0200, thierry langlais wrote: Hi Andrew, I have to manage two strataflash on an ixpd425 board. The range i have to address is 0x5000 to 0x51FF. What could you advice me to start ? - on the flash_v2 branch - on the currrent code - another way

Re: [ECOS] RE: Trouble using lwIP (driver crash...)

2006-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2006 at 09:53:25AM -0400, Michael Grimard wrote: Already done that. This is what I got: InitRxRing 0 ResetRxRing 0 InitTxRing 0 ResetTxRing 0 Device 0 (eth0), rx descriptor 0: Rx 0 12e160 (status 8000a022): 1 sg's, 60 bytes Device 0 (eth0), rx descriptor 0: Rx 0

Re: [ECOS] cyg_alarm_initilize

2006-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2006 at 09:53:40AM +0530, vasantha.rajan wrote: On Tuesday 04 April 2006 15:40, you wrote: Hi Andrew, Thanks for ur reply.But I have simple code on alarm, I will give it below. Did you do as i asked? Enabled CYGPKG_INFRA_DEBUG? For me this code throws an assertion failed

Re: [ECOS] Using a different toolchain

2006-04-06 Thread Andrew Lunn
On Wed, Apr 05, 2006 at 11:11:17PM -0400, John R. Dunning wrote: From: John R. Dunning [EMAIL PROTECTED] Date: Tue, 4 Apr 2006 10:11:53 -0400 From: Andrew Lunn [EMAIL PROTECTED] Date: Tue, 4 Apr 2006 15:16:47 +0200

Re: [ECOS] DSR stops running after heavy interrupts.

2006-04-06 Thread Andrew Lunn
On Wed, Apr 05, 2006 at 05:09:41PM -0400, Joe Porthouse wrote: In a nutshell: The real time clock DSR stops getting called after several minutes of heavy UART ISR traffic. I have been running into this on and off for a while. Lowering the serial ISR priority seems to help some, but not

Re: [ECOS] HELP: lpc2xxx serial (software/hw) flow control

2006-04-06 Thread Andrew Lunn
On Thu, Apr 06, 2006 at 09:57:09AM +0300, Sergei Gavrikov wrote: Hello Anybody has a time and an experience to hint me about flow control settings for serial ports with `ecosconfig'? I do the steps ecosconfig new myplf redboot; ecosconfig import myredboot.ecm; ecosconfig add what

Re: [ECOS] R_ARM_PC24 cyg_tracemsg error

2006-04-06 Thread Andrew Lunn
On Thu, Apr 06, 2006 at 09:56:38AM +0200, thierry langlais wrote: Hi All, I first enabled CYGPKG_INFRA_DEBUG in infra.cdl and CYGDBG_USE_TRACING in debug.cdl, then I added TRACE0(1,msg) in flash_program_buf.c to get some traces. The compilation returns me:

Re: [ECOS] TI MSP470 eCos port?

2006-04-06 Thread Andrew Lunn
On Thu, Apr 06, 2006 at 10:40:34PM +0400, Evgeny Belyanco wrote: Hi! TI MSP470 is ARM7 MCU, higher models has 1M FLASH 64K SRAM on board. The main features are * excellent set of communication controllers * smart timers * DMA * external 16 bit bus (but very slow, 3 clock/16 bit word)

Re: [ECOS] Help getting started: PCI/USB

2006-04-06 Thread Andrew Lunn
On Thu, Apr 06, 2006 at 02:18:25PM -0700, [EMAIL PROTECTED] wrote: Dear group, I have been tasked with a project that involves a PCI-to-USB slave device on a PC platform. This is supposed to allow the PC to act as a USB slave. I'm trying to get my head around what all I need to do to get

Re: [ECOS] How to recover from TCP/IP No buffer space available

2006-04-07 Thread Andrew Lunn
On Fri, Apr 07, 2006 at 09:13:57AM -0400, Paul Randall wrote: Hi All, We have built a board which is based on the AM Rattler board. It has a Freescale 8270 processor. We are using the board to stream UDP packets containing video to another board. This works for several hours, but at

Re: [ECOS] RE ; IP over HDL

2006-04-09 Thread Andrew Lunn
On Sun, Apr 09, 2006 at 01:20:41AM -0700, saurabh prakash wrote: I haven't came accross any RF regarding this. Using the PPP stack for sync HDLc(and then byapssing it) seem to be a better approach as i want the hdlc interface to be recognised by the tcp/ip stack in a standard way. i have few

Re: [ECOS] S3C44B0X eCos port

2006-04-09 Thread Andrew Lunn
On Sun, Apr 09, 2006 at 01:19:40PM +0400, Evgeny Belyanco wrote: Hi! Is it any public eCos port for Samsung S3C44B0X? There is none as part of anonyous cvs. However google foun the following which suggests a few people have worked on it. Try contacting them:

Re: [ECOS] Amd flash + bootblock problem (Flash V1)

2006-04-09 Thread Andrew Lunn
On Tue, Apr 04, 2006 at 09:34:35AM +0200, Lars Povlsen wrote: As I've had no responses to this issue, I went on and fixed the issue... So here's the fixes... - I case anyone's interested. I've thrown in the MX29LV128M-T support as well where I hit the bug. Thanks

Re: [ECOS] Possible omission in Lwip?

2006-04-09 Thread Andrew Lunn
On Mon, Apr 03, 2006 at 02:12:43PM +0200, Birahim Larou Fall wrote: In file eCos\packages\net\lwip_tcpip\current\include\lwip, struct timeval is defined if LWIP_TIMEVAL_PRIVATE is defined, but function lwip_select() use struct timeval as an argument and it's declared in sockets.h with or

Re: [ECOS] DSR stops running after heavy interrupts. Bug found?

2006-04-09 Thread Andrew Lunn
On Sat, Apr 08, 2006 at 12:18:24AM -0400, Joe Porthouse wrote: Found it!!! It took two days to figure out what was happening but I think I have a handle on it. See if this sounds right. After an ISR executes, if there is an associated DSR to execute, the DSR is added to the DSR list

Re: [ECOS] Open SSL

2006-04-10 Thread Andrew Lunn
On Mon, Apr 10, 2006 at 08:08:20AM -0400, Steve West wrote: The open ssl that is available on the eCos website from Ecoscentric only seems to install into an older Linux configtool. Is there a newer package that will work with the latest eCos config tool on cygwin? Could you indicate what

Re: [ECOS] Possible omission in Lwip?

2006-04-10 Thread Andrew Lunn
On Mon, Apr 10, 2006 at 05:30:39PM +0200, Birahim Larou Fall wrote: The problem, Mr Andrew, is that I include eCos\packages\net\lwip_tcpip\current\include\lwip in my source file That is a directory, not a file, so you cannot #include it. It looks like you should be including lwip/network.h

Re: [ECOS] Timer tick dosen't work, when printf string 24

2006-04-11 Thread Andrew Lunn
On Tue, Apr 11, 2006 at 04:10:46PM +0800, ?? wrote: Hi ?? Hi, I used Sumsung s3c2410 development board(SMDK2410) to run simple-alarm example program. I add LED flash function in hal_clock_reset() and add one line printf function in cyg_user_start() in simple-alarm.c file. void

Re: [ECOS] Porting to custom board from evaluation kit.

2006-04-12 Thread Andrew Lunn
On Tue, Apr 11, 2006 at 10:00:18PM -0400, Steve Thomas wrote: Hello, I need some help in porting my software to a new board. I was given a reference board and the associated software with that. I have to port this software to another board that runs the same processor. The instructions

Re: [ECOS] Trying to Debug Ecos using GDB

2006-04-12 Thread Andrew Lunn
On Wed, Apr 12, 2006 at 04:46:21PM -0400, Fahd Abidi wrote: I'm trying to create a test case where I will use a BDI2000 JTAG emulator to debug the ecos kernel, for that I need an image that has all the symbols built in. I will then strip the executable to create an image that does not have any

Re: [ECOS] Trying to Debug Ecos using GDB

2006-04-12 Thread Andrew Lunn
On Wed, Apr 12, 2006 at 05:05:17PM -0400, Fahd Abidi wrote: So you're saying that I won't be able to build an executable that contains symbol information from the ecos kernel? Just the symbol information from the application that I created? The symbols for the parts of eCos you use will be

Re: [ECOS] How to use the ARM directive DCB in Vectors.S

2006-04-13 Thread Andrew Lunn
On Thu, Apr 13, 2006 at 09:53:30AM +0200, Birahim Larou Fall wrote: I have modified the source file vectors.s for arm achitecture, and I can't compile theis file because DCB is seen as a bad instrucetion. packages/hal/arm/arch/current/src/vectors.S:517: Error: bad instruction `c_string DCB

Re: [ECOS] problem of connecting serial with GDB

2006-04-13 Thread Andrew Lunn
On Thu, Apr 13, 2006 at 10:20:12PM +0800, hui liu wrote: Hi I am testing the porting of at91rm9200 that I got from John.The redboot seems works nbsp;and application hello can be build, but when I try to connect with GDB by typing set remotebuad

Re: [ECOS] debugging gcc compiled code with AxD

2006-04-13 Thread Andrew Lunn
On Thu, Apr 13, 2006 at 11:12:18AM -0700, James Zipperer wrote: I'm trying to use AxD/Multi-ICE to debug a redboot elf image. When I try to load the image in AxD, I get the following error: DBE Warning 00255: WIN32 exception code 0xc005 was caught in dbess_image\dbt_image.cpp:160

Re: [ECOS] what does Map and queue disagree really mean?

2006-04-14 Thread Andrew Lunn
On Fri, Apr 14, 2006 at 01:26:59PM -0700, Weili Yao wrote: Hello, there: I have Map and queue disagree assert problem. In my system, I have changed ECOS to support multi-PPP, and also added NAT (network address translation) functionality into ECOS. The multi-PPP has been working fine, but

Re: [ECOS] dynamic loading

2006-04-14 Thread Andrew Lunn
On Fri, Apr 14, 2006 at 01:12:00AM +0200, Martin Laabs wrote: Hi, I searched a bit but I'm still not sure whether ecos supports dynamic loading or not. In fact a rtos do not really need a dynamic loader. But imagine the following: Your CPU has some amount of internal SRAM and you expand

Re: [ECOS] Contribution

2006-04-21 Thread Andrew Lunn
On Fri, Apr 21, 2006 at 08:45:23AM +0200, Manfred W?lfel wrote: How can I make a contribution to the discussions? You just did. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Re: [ECOS] free BDS stack arp table size

2006-04-21 Thread Andrew Lunn
On Fri, Apr 21, 2006 at 09:57:07AM -0400, Steve West wrote: How many connections will the free BSD stack handle? Will the arp table be able to handle 1000 - 2000 connections? Or will the table need to increase? Is this adjustable? The FreeBSD stack should scale pritty well. It is FreeBSD

Re: [ECOS] AW: probably simple problem: ASSERT in Cyg_StdIostream

2006-04-25 Thread Andrew Lunn
On Tue, Apr 25, 2006 at 07:43:16AM +0200, Manfred W?lfel wrote: In the case of buffered IO, the constructor of Cyg_StdioStream constructs a Cyg_StdioStreamBuffer object io_buf. The constructor of Cyg_StdioStreamBuffer calls Cyg_StdioStreamBuffer::set_buffer that may fail for lack of

Re: [ECOS] eCos to NetSilicon Microprocessor

2006-04-26 Thread Andrew Lunn
* Ethernet driver in last snapshot \packages\devs\eth\arm\netarm\ * The HAL patch for the ARM NET+50 ftp.mind.be netarm.patch but I cant understand for wich version of eCos is this patch. The ethernet driver and the mind.be port go together. I've not tried the patch in a long time, but it

Re: [ECOS] eCos to Winbond W90N740

2006-04-26 Thread Andrew Lunn
On Wed, Apr 26, 2006 at 01:55:14PM +0400, Evgeny Belyanco wrote: Hi! Doc for chip http://www.winbond.com.tw/PDF/Sheet/W90N740f.pdf Is it any eCos port for this chip? Not that i know of. There is a list of devices that anoncvs supports at: http://ecos.sourceware.org/hardware.html

Re: [ECOS] Undefined Reference

2006-04-28 Thread Andrew Lunn
On Fri, Apr 28, 2006 at 03:24:50PM +0200, paolo.destro-demo wrote: Hi, I'm trying to compile this program //file name: librerie.cc #include iostream using namespace std; int main(){ cout Hello World endl; }; using g++ version 296, but it doesn't work! The compiler give me this

Re: [ECOS] invalid conversion from void* to void**

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 01:28:29PM +0200, robert sebestyen wrote: First, I would like to apologize myself for disturbing you with my problem. I implemented a lwIP into an existing project running on OS ecos, when i call the data i receive always invalid conversion from void* to void**! I

Re: [ECOS] invalid conversion from void* to void**

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 03:02:08PM +0200, robert sebestyen wrote: Hi Andrew, you are right it is netbuf_data , occuring that problem, I tried already the way netbuf_data(buf,(void**)data,len); I got doing that the linkermessages undefined references to ntohl, netconn_new, and sys_thread_new;

Re: [ECOS] invalid conversion from void* to void**

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 03:31:43PM +0200, robert sebestyen wrote: I got in my maintask following headerfiles included lwip/sys.h lwip/api.h and now lwip/ inet.h but my errors are still here! Try network.h Andrew -- Before posting, please read the FAQ:

Re: [ECOS] USB MSD stack

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 09:02:28AM -0400, Doyle, Patrick wrote: Hi troops! I'm about to write a very simple MSD (Mass Storage Device) stack for our eCos application. Stupid question. Which end are you interested in? Device or host? I assumed by meant device, so the eCos target is the MSD.

Re: [ECOS] invalid conversion from void* to void**

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 03:43:03PM +0200, robert sebestyen wrote: network.h ??? it is used in the BSD-Stack, isn?t it??? No, it is used in all network stacks. $ ls -l packages/net/lwip_tcpip/current/include/network.h -rw-r--r-- 1 lunn lunn 2877 Mar 29 12:22

Re: [ECOS] USB MSD stack

2006-05-04 Thread Andrew Lunn
So, at that level, I wouldn't have FATFS running locally on eCos (not when I'm allowing the host to access the local storage), I will interact directly at the block level with the storage device (RAM, flash, SD-Card, etc...). O.K. That is a simple solution to avoid concurency problems. As I

Re: [ECOS] USB MSD stack

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 10:06:30AM -0400, Doyle, Patrick wrote: From: Andrew Lunn [mailto:[EMAIL PROTECTED] You might also want to add to that list f) find out if USB allows a device to be both MSD and HID at the same time. g) Find out if eCos allows a device to be both MSD and HID

Re: [ECOS] invalid conversion from void* to void**

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 04:16:31PM +0200, robert sebestyen wrote: hi andrew, i included network.h into my maintask, result -0 errors are still here, is there another way to get data from lwIP-Stack ??? i know i sound a little bit desperated already O.K. so you need to do some proper

Re: [ECOS] USB MSD stack

2006-05-04 Thread Andrew Lunn
On Thu, May 04, 2006 at 10:25:10AM -0400, Doyle, Patrick wrote: From: Andrew Lunn [mailto:[EMAIL PROTECTED] My USB book is at home I thought you had to select an interface to be in use. So having a HID interface and a MSD interface is not a problem. However i think you can

Re: [ECOS] eCos port on SPEAR-07-NC03

2006-05-05 Thread Andrew Lunn
On Fri, May 05, 2006 at 12:42:30AM +0400, Evgeny Belyanco wrote: Hi! From firts page of new ST ARM 720 chip we can read: http://www.st.com/stonline/products/literature/ds/11637/spear-07-nc03.pdf SPEAR-07-NC03 is supported by several Operation Systems such as eCOS. Is this port avaliable

Re: [ECOS] redboot with console baudrate 115200

2006-05-05 Thread Andrew Lunn
On Fri, May 05, 2006 at 01:55:02PM +0200, Dirk Eibach wrote: Hello, I'm trying to get redboot running with a console baudrate of 115200 on an Atmel EB40A board. First everything looks fine: I can read the output from redboot after power-up, enter commands and these things. The

Re: [ECOS] libsupc++.a

2006-05-07 Thread Andrew Lunn
On Sun, May 07, 2006 at 01:54:34AM +0200, Marcin Chrusciel wrote: Hello again, Thank you for prev answer. Idd after downloding new ver of configtool everything looks better. I could build ecos for Olimex board but running tests just fails with:

Re: [ECOS] Cygwin and ecos

2006-05-09 Thread Andrew Lunn
On Tue, May 09, 2006 at 04:49:51PM +0200, Emmanuel Viollet wrote: Hi. I'm new to eCOS and have some trouble getting it to work... Here's my setup : Windows XP, Olimex LPC-P2106 ARM7 evaluation board I installed cygwin, and obtained the latest eCOS version from cvs You can get the

Re: [ECOS] Re:CYGNUM_HAL_RTC_PERIOD help

2006-05-10 Thread Andrew Lunn
On Wed, May 10, 2006 at 08:56:27AM +0200, Ram Sudhir Tadavarthi wrote: -Urspr?ngliche Nachricht- Von: Ram Sudhir Tadavarthi [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. Mai 2006 08:54 An: 'Gary Thomas' Betreff: AW: [ECOS] CYGNUM_HAL_RTC_PERIOD help Hallo, Target

Re: [ECOS] Memory footprint

2006-05-10 Thread Andrew Lunn
On Wed, May 10, 2006 at 11:08:49AM +0200, Emmanuel Viollet wrote: Hi. I can't find any information on this on the internet, so perhaps you can help me out... I need to compile a kernel with PPP. Do you have any idea of the footprint of eCOS with lwIP and PPP? I compiled a minimal

Re: [ECOS] Ecosconfig and configtool

2006-05-10 Thread Andrew Lunn
On Wed, May 10, 2006 at 10:25:26AM +0200, Emmanuel Viollet wrote: Hi. Under Windows, which tool am I supposed to use? ecosconfig or configtool? Free choice. You can use either. You should also be able to use both on the same tree. Andrew -- Before posting, please read the FAQ:

Re: [ECOS] Memory footprint

2006-05-10 Thread Andrew Lunn
On Wed, May 10, 2006 at 02:54:55PM +0200, Emmanuel Viollet wrote: Andrew Lunn a ?crit : On Wed, May 10, 2006 at 11:08:49AM +0200, Emmanuel Viollet wrote: Hi. I can't find any information on this on the internet, so perhaps you can help me out... I need to compile a kernel with PPP. Do

Re: [ECOS] Re: Memory footprint

2006-05-10 Thread Andrew Lunn
On Wed, May 10, 2006 at 09:53:42AM -0500, Grant Edwards wrote: what does arm-elf-size say? $ arm-elf-size.exe a.out textdata bss dec hex filename 4192015128028 51460c904 a.out I suppose that this means the binary will be 51460Kb in size? That

Re: [ECOS] Memory footprint

2006-05-11 Thread Andrew Lunn
zlib will be a problem. In its default configuration it will allocate 64Kbytes from the heap. You can make is use less memory, but it will then no longer decompress data compressed with the default zlib configuration. So i don't recommend zlib. lwip + PPP does seems reasonable with 128Kb

Re: [ECOS] Compiling eCOS with IAR

2006-05-11 Thread Andrew Lunn
On Thu, May 11, 2006 at 01:32:53PM +0200, Emmanuel Viollet wrote: Hi. This may seem a stupid question, but is it possible to compile eCOS using the IAR compiler? From what I gather, IAR is much more efficient in terms of code space that GCC... It is unlikely IAR will work. eCos uses quite

Re: [ECOS] Two minor memory allocation issues

2006-05-16 Thread Andrew Lunn
On Tue, May 16, 2006 at 11:15:02AM +0100, Andy Jackson wrote: I've just been experimenting with memory allocation (malloc and friends) on eCos and have spotted two minor issues: 1. A malloc request for 0x7FFF bytes succeeds and allocates a small amount of memory. Reducing the request

Re: [ECOS] malloc1 test and posix stdio fails

2006-05-16 Thread Andrew Lunn
On Tue, May 16, 2006 at 11:33:35AM -0400, Brett Delmage wrote: Posix stdio is not working on my May 9 CVS ARM lpcxxx target. I traced this to malloc returning 0. I started running through the memalloc tests. I am loading them into Flash and running them using my JTAG debugger, as I would

Re: [ECOS] Specific location for kernel_mutex.o : linker file issue. Need help !

2006-05-17 Thread Andrew Lunn
On Wed, May 17, 2006 at 10:14:09AM +0200, Guillaume Aymard wrote: Hi, My problem is simple. I want to locate the.text section of the kernel_mutex.o object (archived in libtarget.a)ina special ram location which I call iram. This is a 16kbytes fast ram region, which I want to use as much as

Re: [ECOS] Specific location for kernel_mutex.o : linker file issue. Need help !

2006-05-17 Thread Andrew Lunn
On Wed, May 17, 2006 at 11:00:53AM +0200, Guillaume Aymard wrote: This is not really the same issue, as I want to locate eCos's code globally whithout knowing individally which functions to locate in my iram region. And I don't want to edit kernel's code with __attributes__ directives before

Re: [ECOS] Error when changing 'fconfig' redboot values from a linux program

2006-05-17 Thread Andrew Lunn
On Wed, May 17, 2006 at 10:51:23AM -0400, Calin Onofrei wrote: Thierry, In my case RedBoot config is on mtd5 partition (do cat /proc/mtd to see) and I open the device: Open(/dev/mtd5, O_RDWR | O_SYNC). With the handle returned by the open function I do read and write operations as for any

Re: [ECOS] redefinition of `cyg_uint32'

2006-05-17 Thread Andrew Lunn
On Wed, May 17, 2006 at 05:03:53PM +0200, Juergen Lambrecht wrote: Hello, I get compiler errors for all `cyg_uintxxx' types, e.g. redefinition of `cyg_uint32' This is because the build directory ecos_ims/install/include/linux/types.h contains the following wrong code: #include

Re: [ECOS] malloc1 test and posix stdio fails

2006-05-17 Thread Andrew Lunn
16 .bss 4d4c 81200bf8 81200bf8 00028bf8 2**4 ALLOC - and a dump showing __heap1 81205948 A __heap1 81200ac0 D cygmem_memalloc_heaps 812033b4 B cygmem_pool_heap1

Re: [ECOS] gdb problem

2006-05-18 Thread Andrew Lunn
On Thu, May 18, 2006 at 11:45:32AM +0200, Ram Sudhir Tadavarthi wrote: Hello, Aim: To get the gdb debugger working Target environment: Platform : Motorola PQ2FADS-ZU Board Processor: MPC 8280 (predecessor of MPC 8260) Clock frequency : 100MHz I have built a hello world eCos RAM

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