Re: [ECOS] interrupt/virtual vectors confusion

2005-08-16 Thread Andrew Lunn
On Tue, Aug 16, 2005 at 02:24:25PM +0100, Matt Sartori wrote: Hello, I am a bit confused as to how(or whether) to use virtual vectors for interrupt handling. My situation is as follows: I have ported Redboot to run on an ST STR710FZ2 eval board and it is running fine. I load a

Re: [ECOS] interrupt/virtual vectors confusion

2005-08-16 Thread Andrew Lunn
-Original Message- From: Gary Thomas [mailto:[EMAIL PROTECTED] Sent: 16 August 2005 15:18 To: Matt Sartori Cc: Andrew Lunn; eCos Discussion Subject: RE: [ECOS] interrupt/virtual vectors confusion On Tue, 2005-08-16 at 15:06 +0100, Matt Sartori wrote: Is Blinky an eCos RAM program? If so

Re: [ECOS] Strange strings on x86

2005-08-22 Thread Andrew Lunn
On Mon, Aug 22, 2005 at 10:33:22AM +0200, Christophe Buffenoir wrote: Hello, When I run the hello example of eCos on my Pentium with RedBoot, I have strange strings on my screen. The Hello eCos World\n become $T0208:;04:;#6c. The same string appears when I press any key.

Re: [ECOS] a question about anoncvs

2005-08-25 Thread Andrew Lunn
On Thu, Aug 25, 2005 at 02:06:28PM +0700, Indra Antonius Simalango wrote: I finally move the declaration cyg_uint8 lo,hi; as seen on this quote snippet : I would not recommend this. Since this code works for us and not for you, you really want to understand what is going on rather than make

Re: [ECOS] Objloader question

2005-08-27 Thread Andrew Lunn
On Fri, Aug 26, 2005 at 05:20:55PM +0100, Retallack, Mark (Siemens) wrote: I have started looking at using a branch island. I have attached the first version. Still lots of stuff that needs to be done to it. Hi Mark Please could you make this code conditionally compilable with a CDL option.

Re: [ECOS] vmWare compiling help!!

2005-08-29 Thread Andrew Lunn
On Mon, Aug 29, 2005 at 09:56:03AM +0200, [EMAIL PROTECTED] wrote: Hello everybody, I need some help with configuration tool for compiling a vmware based ecc configuration... It gives me this error: /opt/ecos/ecos-2.0/packages/hal/i386/arch/current/src/hal_syscall.c:113: eCos 2.0 is

Re: [ECOS] vmWare compiling help!!

2005-08-29 Thread Andrew Lunn
On Mon, Aug 29, 2005 at 10:27:26AM +0200, [EMAIL PROTECTED] wrote: but ecos releases stop at 2.0b1 (18-Mar-2003)... http://ecos.sourceware.org/anoncvs.html Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] How can I initial the flashs of sst29vfxxx and intel_strata at do_flash_init() ?

2005-08-29 Thread Andrew Lunn
On Mon, Aug 29, 2005 at 05:46:10PM +0800, Steven_cheng wrote: Hi Andrew, I have updated my redboot package, then it is compiled OK~ There are two different flash type in my platform, one is intel CYGPKG_DEVS_FLASH_STRATA, and the other is CYGPKG_DEVS_FLASH_SST_39VFXXX. But I find it

Re: [ECOS] ecos Redboot vmware porting

2005-08-29 Thread Andrew Lunn
On Mon, Aug 29, 2005 at 04:24:20PM +0200, [EMAIL PROTECTED] wrote: well ok, sorry, I found it but when I make ecosconfig new pc_vmWare redboot I receive CYGSEM_HAL_ROM_MONITOR, new inferred value 1 (instead of 0 as yours) and I receive also CYGHWR_HAL_I386_FPU_SWITCH_LAZY, new

Re: [ECOS] ecos Redboot vmware porting

2005-08-29 Thread Andrew Lunn
@ecos.sourceware.org Subject: Re: [ECOS] ecos Redboot vmware porting From: Andrew Lunn [EMAIL PROTECTED] On Mon, Aug 29, 2005 at 04:28:42PM +0200, [EMAIL PROTECTED] wrote: it returns me headers finished make[1]: i386-elf-gcc: Command not found how do you set environment variable?? I setup

Re: [ECOS] ecos Redboot vmware porting

2005-08-29 Thread Andrew Lunn
On Mon, Aug 29, 2005 at 05:36:48PM +0200, [EMAIL PROTECTED] wrote: OK, now I have the same problem I told you before... The error is showned in the jpeg attached.. Please don't send screen shots to emailling lists. Just cut and past the text and save us all 100Kbytes of network bandwidth.

Re: [ECOS] Flash - the saga continues

2005-08-30 Thread Andrew Lunn
On Tue, Aug 30, 2005 at 03:57:37PM +0100, Matt Sartori wrote: Hmm. The symbol appears in two object files: devs_flash_arm_str710fz2_flash.o whose first entry is l df *ABS* flash.c and further down that object file's table is ld

Re: [ECOS] Flash - the saga continues

2005-08-30 Thread Andrew Lunn
On Tue, Aug 30, 2005 at 04:13:01PM +0100, Matt Sartori wrote: Thanks again, Andrew, for prodding me in the right direction. This was indeed the problem; an old dependency mixed with a bit of false assumption (that clicking the clean button in the configtool would actually remove any such stale

Re: [ECOS] Questions on Multiple partitions on a FLASH device discussions

2005-08-31 Thread Andrew Lunn
On Wed, Aug 31, 2005 at 09:02:46AM +1000, Benny Chen wrote: Hi there, Wondering if anyone knows what is the current status of the following discussion on Multiple partition on a FLASH device. Has the FLASH driver been updated to include mutexs to prevent simultaneous access to the same

Re: [ECOS] mounting large JFFS2 partition.

2005-08-31 Thread Andrew Lunn
On Wed, Aug 31, 2005 at 09:22:20AM +1000, Benny Chen wrote: Hi there, It seems that when mounting a large jffs2 partition (5M) the system seems to take a long time about 30 seconds. This also happens when we do a directory listing of the mount point for the first time. Seems to be due to

Re: [ECOS] interrupts and scheduling

2005-09-02 Thread Andrew Lunn
On Fri, Sep 02, 2005 at 02:18:20PM +0100, Harish Kulkarni wrote: Hello, We are using cyg_interrupt_mask(), cyg_interrupt_ack() and cyg_interrupt_unmask(). And doing nothing but some debug variable increaments. That sounds OK. How did you make your timing measurements for the ISR?

Re: [ECOS] eCos Performance

2005-09-13 Thread Andrew Lunn
On Fri, Sep 09, 2005 at 06:08:34PM -0700, [EMAIL PROTECTED] wrote: Hi Gary, Can you help me to improve performance of eCos ethernet driver. I am getting these numbers with similar test setup Linux: max 26,000 packets (60 bytes) per second (single burst) with no drops eCos: max 8,500

[ECOS] Re: How can I use the flashs of sst29vfxxx and intel_strata at the same timeat redboot ???

2005-09-13 Thread Andrew Lunn
On Mon, Sep 12, 2005 at 10:17:30AM +0800, Steven_cheng wrote: Hi All, I have two kinds of flash type, intel strata and sst 39vfxxx in my platform, and I use the flashv2 branch of ecos. Now I have initiated them, but I find that the cyg_flash_get_info function alway returns the first

Re: [ECOS] Re: How can I use the flashs of sst29vfxxx and intel_strata at the same timeat redboot ???

2005-09-14 Thread Andrew Lunn
On Wed, Sep 14, 2005 at 10:05:13AM +0800, Steven_cheng wrote: Hi Andrew, It does not works in some commands. As following: RedBoot fis list ... Read from 0x70fe-0x70fffbff to 0x0efe: Name FLASH addr Mem addrLength Entry point RedBoot

Re: [ECOS] Mapping hardware registers to virtual address in RedBoot

2005-09-16 Thread Andrew Lunn
On Fri, Sep 16, 2005 at 09:31:07AM +1000, Benny Chen wrote: Hi there, Can anyone tell me where can I get information on how to map hardware registers to virtual address in RedBoot so that I can access the registers using utilities like 'dump', 'mcopy'..etc. I had a look at the

Re: [ECOS] shell application

2005-09-17 Thread Andrew Lunn
On Fri, Sep 16, 2005 at 11:56:05PM +0200, Jaws wrote: Hi all, in my application I need to implement a shell with some commands trough serial o ethernet interface. The principles purpose could be an easy and elementary user interface, but it can also be used for debugging and diagnostic.

Re: [ECOS] moving functions into RAM

2005-09-19 Thread Andrew Lunn
On Mon, Sep 19, 2005 at 01:54:43PM +0100, Matt Sartori wrote: Hi all, I've looked through all the archived posts that mention the Relocation truncated to fit: R_ARM_PC24 and any mention of __attribute__ (section( Take the intel Strata as an example: int

Re: [ECOS] Re: Urgent Help: ether_demux function

2005-09-20 Thread Andrew Lunn
On Mon, Sep 19, 2005 at 05:46:19PM -0700, [EMAIL PROTECTED] wrote: Hi Gary and Andew, I can see what the issue is, but I do not know how to solve. From my dsr I call: while ( !(pDevCtrl-rxBds[pDevCtrl-rxHeadIndex].status DMA_OWN) (sc-funs-eth_drv-recv)(sc, pDevCtrl .); this

Re: [ECOS] newbie questions

2005-09-20 Thread Andrew Lunn
On Mon, Sep 19, 2005 at 08:38:18PM -0700, Andrew Voelkel wrote: 1. In the configtool, what is the difference between save and export, and what is the difference between load and import? 2. What is the difference between a .ecc file and a .ecm file? The configuration of an eCos system is

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 05:38:49PM +0800, Steven_cheng wrote: Dear Andrws, I use the mkfs.jffs2 to create a filesystem on my host, the command is $ ./mkfs.jffs2 -o jffs2.img -r jffs2_test/ Then I put the image jffs2.img to my platform by load command. And save it as jffs2 as

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 07:41:17PM +0800, Steven_cheng wrote: Hi Andrew, Thank you for your help ~~ If I have mounted the jffs2.img, then what thing I can do with JFFS2 ?? Like display the files and directories of the img or ?? Does it have the command like ls or dir to

Re: [ECOS] Help: To create Redboot configuration partitions

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 01:41:32AM -0700, Cletus Pasanha wrote: Hi, Actually, I have very basic JTAG programmer. It does only flash programming, does not have functionality to read the flash. That makes it a bit harder. Does networking work? You could use the tftp client to upload the

Re: [ECOS] Transitioning from configtool to ecosconfig

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 09:39:16AM -0400, Jon Ringle wrote: Hi, I've done a port of ecos/redboot for my arm platform, and so far, I've mainly used configtool to select the components I need. Now, I'd like to transition to using ecosconfig so that I can automate the build process. What

Re: [ECOS] newbie questions

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 09:09:34AM -0700, Andrew Voelkel wrote: Does that mean that a configuration carries around information inside itself telling it what template it originated from, in order to calculate the differences between it and that template? It is an ascii file, you can read

Re: [ECOS] JFFS2 questions with eCos

2005-09-21 Thread Andrew Lunn
On Wed, Sep 21, 2005 at 01:47:39PM +0800, Steven_cheng wrote: Hi Andrew, Does it have the command like ls or dir to display the content of the jffs2 imge ?? There is an ls command. You can also load images into memory using the file method. I try to use the ls, load command,

Re: [ECOS] JFFS2 questions with eCos

2005-09-21 Thread Andrew Lunn
On Wed, Sep 21, 2005 at 11:33:55AM +0800, Steven_cheng wrote: Hi Andrew, When I compile my platform with JFFS2 for RedBoot, It takes a error message, it display as following : /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:144: parse error before int32_t

Re: [ECOS] Help: To create Redboot configuration partitions

2005-09-21 Thread Andrew Lunn
On Wed, Sep 21, 2005 at 12:33:03AM -0700, Cletus Pasanha wrote: Hi Andrew, I have the networking and TFTP client (using load command) running. Just wondering, how do I use the TFTP client to upload the data to tftp server. As I see, there is no TFTP server in this version of Redboot.

Re: [ECOS] Making fragmented applications

2005-09-27 Thread Andrew Lunn
On Tue, Sep 27, 2005 at 04:07:08PM +, Guilly A wrote: Hi, I used to work on a project, under pSos OS, ARM7 core, and isiarm (armcc armlink) compilation chain. Now we moved on eCos, ARM9 core, and GNU compilation chain (arm-elf-gcc for compiling and linking). My project was

Re: [ECOS] It will bootup appliaction to failure with RedBoot after I add CYGPKG_COMPRESS_ZLIB package.

2005-09-28 Thread Andrew Lunn
On Wed, Sep 28, 2005 at 11:13:45AM +0800, Steven_cheng wrote: Hi All, I use the RedBoot ROMRAM version as my bootloader, it can bootup ( load and go) the application image in flash correctly. But after I add the package CYGPKG_COMPRESS_ZLIB with the my RedBoot ROMRAM version, it

Re: [ECOS] Keil MCB2100 Error from configtool

2005-10-06 Thread Andrew Lunn
On Thu, Oct 06, 2005 at 01:18:05PM +0200, Ilija Koco wrote: Many thanks Andrew, but there aren't ecm files for any of LPC2xxx boards. I tried some grep-ing and i discovered that this fo r some boards this macro is defined in .../hal/processor/board/current/include/plf_io.h or

Re: [ECOS] ecos.sourceware.org connectivity issues

2005-10-07 Thread Andrew Lunn
On Thu, Oct 06, 2005 at 01:50:29PM -0700, David Brennan wrote: Is the current limited availability of ecos.sourceware.org due to the current L3/CogentCo spat? I cannot see the web-site from work. But it is fine from home. http://status.cogentco.com/ Run traceroute from both sites. Compare

Re: [ECOS] Problems with printf and long long int

2005-10-07 Thread Andrew Lunn
On Fri, Oct 07, 2005 at 02:42:05PM +0200, Yegor Yefremov wrote: Hi, I've define long long int variable and try to print its value. In uClinux I use %d or %ld and get the value without a problem. In eCos I see only zero. The value can contain one digit or more it doesn't matter. Your

Re: [ECOS] private header files unaccessible from package dirs

2005-10-07 Thread Andrew Lunn
On Fri, Oct 07, 2005 at 08:36:33AM -0700, Heiko Panther wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, my package sources are organized into several subdirectories, and I also want to put private headers into a subdir. However, the compiler is set up to only look in the

Re: [ECOS] eCos / Redboot network sharing questions

2005-10-08 Thread Andrew Lunn
On Fri, Oct 07, 2005 at 04:28:21PM +, Barry Wealand wrote: Hi - We're working with eCos and Redboot on a MIPS-like target. Redboot is set up to be able to use an ethernet port, and most of our applications are built against a kernel that's been configured for network use as well.

Re: [ECOS] cirrus ep93xx - ecos works, network problems

2005-10-11 Thread Andrew Lunn
On Tue, Oct 11, 2005 at 02:04:25PM +0200, Deak, Ferenc wrote: Dear sirs, We have a custom cirrus ep9307 based board. Cirrus has a software package for their ep93xx-based boards, which contains patches for linux and a redboot-only ecos. Redboot and linux works fine on our board. I have

Re: [ECOS] cirrus ep93xx - ecos works, network problems

2005-10-11 Thread Andrew Lunn
On Tue, Oct 11, 2005 at 03:17:46PM +0200, Deak, Ferenc wrote: We have a custom cirrus ep9307 based board. Cirrus has a software package for their ep93xx-based boards, which contains patches for linux and a redboot-only ecos. Redboot and linux works fine on our board. I have managed

Re: [ECOS] ISR to DSR delay?

2005-10-13 Thread Andrew Lunn
On Thu, Oct 13, 2005 at 03:23:57PM +0200, Stefan Sommerfeld wrote: Hi, On Thu, Oct 13, 2005 at 02:42:58PM +0200, Stefan Sommerfeld wrote: BTW: Why is c++ empty delete function a default option? I took me a day to find out why my system consumes a lot memory. Its a philisophical thing.

Re: [ECOS] ecos and gettimeofday()

2005-10-13 Thread Andrew Lunn
On Wed, Oct 12, 2005 at 08:12:01PM +0200, Alexander Neundorf wrote: Hi, attached you can find two patches which add gettimeofday(). This patch is not intended to be commited as is, it's just a first attempt, in order to get some comments how to do it right. It does the following: it

Re: [ECOS] cvs: has packages/net/ disappeared ?

2005-10-13 Thread Andrew Lunn
On Thu, Oct 13, 2005 at 10:03:41PM +0200, Alexander Neundorf wrote: Hi, neither an cvs update nor webcvs show the subdirectory packages/net/ anymore ? What's going on there ? Am I doing something wrong ? net and snmp are in a seperate repository, ecos-opt. If you checkout the module ecos

Re: [ECOS] cvs: has packages/net/ disappeared ?

2005-10-14 Thread Andrew Lunn
On Fri, Oct 14, 2005 at 10:00:14AM +0100, David Vrabel wrote: Andrew Lunn wrote: net and snmp are in a seperate repository, ecos-opt. Is there a reason for this wacky layout of the eCos repository? It prevents checking out ecos into a directory other than ecos/ and when you ecos update

Re: [ECOS] Freescale DSP 56858 and eCos

2005-10-15 Thread Andrew Lunn
On Fri, Oct 14, 2005 at 07:02:11PM -0400, Craig Windish wrote: Is is possible to run this OS on a Motorola DSP such as the 56858? I see a lot of people running it with the micro controllers, however I have not seen anyone using it to control DSP functions. I was wondering if this has been

Re: [ECOS] ecos and gettimeofday()

2005-10-16 Thread Andrew Lunn
On Sun, Oct 16, 2005 at 07:36:03AM -0500, Richard Pennington wrote: On Sunday 16 October 2005 04:55 am, Andrew Lunn wrote: [snip] I suggest you add gettimeofday() to the end of time.cxx. I agree with Andrew that gettimeofday belongs at the end of time.cxx. It is amost identical

Re: [ECOS] ecos and gettimeofday()

2005-10-16 Thread Andrew Lunn
Much better would be to just use HAL_CLOCK_READ() for what it's designed - it is supposed to return an indication of how much time has elapsed since the last clock tick. You can use this to compute the sub-tick (sub-second) portions of the time-of-day. For an example of how to use it this

Re: [ECOS] Porting eCos / Redboot / Memory map modifications / E7T

2005-10-16 Thread Andrew Lunn
On Sun, Oct 16, 2005 at 08:46:53PM +, Ali Sina wrote: Thanks Andrew, we finally got the memory recognized by properly modifying the 3 files. Indeed, modification of hal_platform_setup.h was necessary. Now the next two questions arise: 1. I would like to make Redboot the only

Re: [ECOS] Error building from CVS sources

2005-10-18 Thread Andrew Lunn
On Mon, Oct 17, 2005 at 10:11:46PM -0400, Randall Nortman wrote: Total eCos newbie here. I don't actually want eCos, just RedBoot, but it seems that they are packaged together. I am trying to build from CVS sources. I created a build directory alongside the ecos directory, and ran

Re: [ECOS] Common GNU apps (busybox) on ecos possible?

2005-10-18 Thread Andrew Lunn
On Mon, Oct 17, 2005 at 03:49:46PM -0700, Ghazan Haider wrote: Hi all. I'm awaiting my spiffy new Olimex lpc2138, and cant wait to get ecos running on it. Given the POSIX interface and eCos' whole niche market, I have some questions... Can you run small gnu-compliant apps on eCos?

Re: [ECOS] Error building from CVS sources

2005-10-18 Thread Andrew Lunn
Oh, I was planning to run from ROM (i.e., Flash) mostly (except for interrupt vectors and handlers, which should be fast, and Flash is a bit slower than RAM), but the gdb interface of RedBoot was very appealing. Of course, it didn't occur to me under just now that it presumably works by

Re: [ECOS] Re: [Fwd: FreeBSD network stack question]

2005-10-19 Thread Andrew Lunn
On Wed, Oct 19, 2005 at 01:21:49PM -0500, Grant Edwards wrote: In gmane.os.ecos.general, you wrote: If we collect a packet trace with tcpdump, we see an ARP request and ARP reply, then we see the 2nd segment of the first message - the first segment of the first message is never

Re: [ECOS] Mkfs.jffs2 in Jffs2

2005-10-20 Thread Andrew Lunn
On Thu, Oct 20, 2005 at 05:55:32PM +0530, Nagendra G wrote: Hello, I am not getting mkfs.jffs2 file for cygwin.Where can i get. It is in the mtd package of cygwin. and How can i copy jffs2 image to target and to install into flash. what is the roll of redboot here. You can use redboot if

Re: [ECOS] how to implement EDF scheduling in eCos

2005-10-20 Thread Andrew Lunn
On Thu, Oct 20, 2005 at 06:30:00PM +0530, Sasanka Sarkar wrote: hi My intention is to implement EDF scheduling in eCos.Currently eCos is having the scheduling like BitMap,Multilevel ,lottery.Exactly the same way I also want to add a new scheduling EDF.Now could anyone tell me how to do

Re: [ECOS] ecos and gettimeofday()

2005-10-20 Thread Andrew Lunn
On Thu, Oct 20, 2005 at 10:06:17AM +0100, Nick Garnett wrote: Andrew Lunn [EMAIL PROTECTED] writes: Additionally I'd like to move the rest of misc.c into its own CYGPKG_POSIX_MISC component, but I haven't figured out yet what cyg_posix_function_start() and cyg_posix_function_finish

Re: [ECOS] gcc 4.0.2 breaks synth again....

2005-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2005 at 01:07:04PM +0100, Bart Veer wrote: Andrew == Andrew Lunn [EMAIL PROTECTED] writes: Andrew gcc 4.0.2 has broken the synth cxxsupp test again. Other things seem Andrew OK. Andrew gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o Andrew /home

Re: [ECOS] ecos and gettimeofday()

2005-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2005 at 06:18:40PM +0200, Alexander Neundorf wrote: Hi, On Thursday 20 October 2005 19:48, Nick Garnett wrote: Andrew Lunn [EMAIL PROTECTED] writes: Hi Nick Thanks for the explanation. What i don't understand now is why only the fileio package uses

[ECOS] help with C++ needed....

2005-10-21 Thread Andrew Lunn
Hi Folks Could somebody who is better at C++ than me take a look at this warning gcc 4.0.2 is giving. Using the Monkey's typing Shakespeare approach did not get me very far... /home/lunn/eCos/work/install/include/cyg/kernel/thread.inl:630: warning: 'cyg_bool Cyg_ThreadQueue::empty()' was used

Re: [ECOS] help with C++ needed....

2005-10-22 Thread Andrew Lunn
On Fri, Oct 21, 2005 at 05:29:36PM -0400, Billy wrote: Andrew Lunn wrote: Hi Folks Could somebody who is better at C++ than me take a look at this warning gcc 4.0.2 is giving. Using the Monkey's typing Shakespeare approach did not get me very far... /home/lunn/eCos/work/install/include

Re: [ECOS] help with C++ needed....

2005-10-22 Thread Andrew Lunn
On Sat, Oct 22, 2005 at 03:24:55PM +0200, Alexander Neundorf wrote: On Saturday 22 October 2005 09:50, Andrew Lunn wrote: On Fri, Oct 21, 2005 at 05:29:36PM -0400, Billy wrote: ... The usage: inline foo(); (with a semicolon) smells fishy. Maybe you tried that already. Yep, tried

Re: [ECOS] Porting eCos / Redboot / Memory map modifications / E7T

2005-10-23 Thread Andrew Lunn
On Sun, Oct 23, 2005 at 10:10:45AM +, Ali Sina wrote: Andrew, thanks again- both problems solved, following your advice below: - took the redoobot repository code and worked from there - disabled the init of UART0 in hal_diag.c Now one small thing is left regarding the redboot start

Re: [ECOS] Porting eCos / Redboot / Memory map modifications / E7T

2005-10-24 Thread Andrew Lunn
On Sun, Oct 23, 2005 at 01:10:37PM +0200, Andrew Lunn wrote: On Sun, Oct 23, 2005 at 10:10:45AM +, Ali Sina wrote: Andrew, thanks again- both problems solved, following your advice below: - took the redoobot repository code and worked from there - disabled the init of UART0

Re: [ECOS] driver for 802.11 wireless device

2005-10-25 Thread Andrew Lunn
On Tue, Oct 25, 2005 at 03:19:45PM +0800, ?? wrote: Hi: Does eCos support any 802.11 wireless device now? Not that i know of. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive:

Re: [ECOS] DHCP problem....

2005-10-26 Thread Andrew Lunn
On Wed, Oct 26, 2005 at 12:07:00PM +0200, Stefan Sommerfeld wrote: Hi, I'm trying to use DHCP, but this brings an assertion after some time: ASSERT FAIL: 5mlqueue.cxx[306]void Cyg_Scheduler_Implementation::rem_thread() Queue map bit not set for pri DHCP lease mgt pri = -1609301034

Re: [ECOS] Serial support for arm board

2005-10-27 Thread Andrew Lunn
On Thu, Oct 27, 2005 at 02:57:13PM -0400, Dave B. Sharp wrote: The serial support is simply for output. Since there is not gdb debugging support (I am assuming) Why are you assuming this? I am resorting to printf() development and debugging. If there is a better way then I am all ears.

Re: [ECOS] Release cycle?

2005-10-27 Thread Andrew Lunn
On Fri, Oct 28, 2005 at 08:40:26AM +1300, John Carter wrote: On Thu, 27 Oct 2005, Andrew Lunn wrote: eCos 2.0 is very old, something like 3 years. The problem you are having was fixed a couple of years ago. Update to the latest code. Umm, this does bring to mind... What is the release

Re: [ECOS] I2C and SPI porting help

2005-10-28 Thread Andrew Lunn
Regarding the copyright assignment, the site refers to company, what if I'm a student and this is my hobby and all the work is mine? What should I put? As long as the work is truly yours, just put self You need to check your university rules. Sometimes anything you do at university

Re: [ECOS] networking on eCos

2005-10-31 Thread Andrew Lunn
On Mon, Oct 31, 2005 at 06:28:55PM +0100, [EMAIL PROTECTED] wrote: So anything you send to localhost in eCos will only be received by socket code listening in eCos. Now we have both applications that run on eCos-synth, the transmitter sends UDP packets correctly after a good connect()

Re: [ECOS] powerpc-eabi-g++: installation problem, cannot exec `cpp0': No such file or directory

2005-11-03 Thread Andrew Lunn
On Wed, Nov 02, 2005 at 03:47:31PM -0500, Morris Walton wrote: Thanks, It appears to be installed in the right place: /opt/ecos/gnutools/powerpc-eabi/lib/gcc-lib/powerpc-eabi/3.2.1/cpp0 here is my g++ -v output (is this right?): [EMAIL PROTECTED] powerpc-eabi-g++ -v Reading specs

Re: [ECOS] problem while executing RAM based Redboot with Go command

2005-11-03 Thread Andrew Lunn
On Thu, Nov 03, 2005 at 07:10:02PM +0530, Nagendra G wrote: Hello, I am facing problem with Go Command.Please help in solving this. I have created RAM and ROM based Redboot .Now i am loading RAM based redboot that is redboot .bin into target using serial console using Load -r -m

Re: [ECOS] Ethernet cl- DEBUG problem

2005-11-03 Thread Andrew Lunn
On Thu, Nov 03, 2005 at 11:42:05AM +0100, Giovanni Perbellini wrote: Hi all, I'm using the Cirrus Logic ethrnet driver (cs8900a) on MIPS processor. In the cs8900.h file is possible to set the DEBUG variable to get debugging details. If I set DEBUG=2 (for added data IO output: get_reg,

Re: [ECOS] how to test Redboot version/configuration from within ecos application

2005-11-03 Thread Andrew Lunn
On Thu, Nov 03, 2005 at 09:51:02AM +0100, Neundorf, Alexander wrote: Hi, in our device we did something not-really perfectly in redboot. Now we fixed this and have a slightly different version. We can work around this issue in the application, but we have to find out which of the two

Re: [ECOS] i386 FAT HDD support

2005-11-04 Thread Andrew Lunn
On Fri, Nov 04, 2005 at 03:04:29PM -0500, Scott Bailie wrote: I'm attempting to mount an IDE hard drive on an i386 target. As a basic test of file I/O I mounted a RAMFS first, which worked. Next I added the fat16.ecm in the \packages\fs\fat\current\doc directory. Now I'm using the same

Re: [ECOS] Serial device driver

2005-11-04 Thread Andrew Lunn
On Fri, Nov 04, 2005 at 04:02:15PM -0500, Wang, Liu (Liu) wrote: Would someone tell where I can find the serial port device drivers referenced in the file ser_arm_aim711.cdl as following:

Re: [ECOS] Configtool missing

2005-11-05 Thread Andrew Lunn
On Fri, Nov 04, 2005 at 04:55:57PM -0800, Sridhar Sridhar wrote: Hi am trying to install eCos latest version on my RedhatLinux9 with 2.4.20-8 laptop. I have downloaded the ecos-trunk-full.tar.bz2 from CVS weekly snapshot. And did configure ,make and make install. Am able to see ecosconfig but

Re: [ECOS] i386 FAT HDD support

2005-11-07 Thread Andrew Lunn
On Mon, Nov 07, 2005 at 08:37:50AM -0500, Scott Bailie wrote: Sorry, what I did not realize is that the build did not actually finish successfully and when I built my program it was using the previous build which included only the RAMFS. When I look through the build output I see only the

Re: [ECOS] i386 FAT HDD support

2005-11-07 Thread Andrew Lunn
On Mon, Nov 07, 2005 at 09:34:58AM -0500, Scott Bailie wrote: I decided to start from scratch... I'm using the net Template for i386 w/ 82559 ethernet. + CYGPKG_IO_DISK + CYGPKG_DEVS_DISK_IDE + CYGPKG_FS_FAT CYGPKG_FS_FAT causes an unresolved confilict -- CYGPKG_BLOCK_LIB. So out of

Re: [ECOS] i386 FAT HDD support

2005-11-07 Thread Andrew Lunn
On Mon, Nov 07, 2005 at 01:52:03PM -0500, Scott Bailie wrote: Using the command line configtool as you indicated works perfectly. I still can not mount the drive, however. I enabled debug statements in ide_disk.c and I get indication that a device was found - it displays the Serial,

Re: [ECOS] Constructor ordering for memory pools vs. stdio

2005-11-09 Thread Andrew Lunn
On Tue, Nov 08, 2005 at 02:15:22PM +, Barry Wealand wrote: Hello - We're using eCos 2.0 with a MIPS-like target. We're building eCos with GCC 4.0.0 (in case that matters). In an effort to locate a problem with memory getting trashed, I built a couple of applications against a

Re: [ECOS] Fwd: Changes to RedBoot

2005-11-09 Thread Andrew Lunn
On Wed, Nov 09, 2005 at 06:39:19PM -0800, Augusto Salazar wrote: Greetings, There has been not responses to my request, I dont know is maybe this is not the place to ask about RedBoot, but anyway, if anyone could help me with a place to find the info abut how to change the redboot,

Re: [ECOS] FreeBSD stack problems

2005-11-10 Thread Andrew Lunn
On Thu, Nov 10, 2005 at 12:32:57PM +0100, Bass8tt8 wrote: I now use the FreeBSD Stack, but on compilation of my application , i have a lot of errors :: Error syntax error before __P[d:/Ultimodule/ecos/work/posix-new_install/include/arpa/inet.h] IntelUPNP line 63 You need to find

Re: [ECOS] Loading Redboot

2005-11-14 Thread Andrew Lunn
On Thu, Nov 10, 2005 at 06:31:33PM -0800, Augusto Salazar wrote: Hi all. Firts, I have to thank Andrew for his answer regarding the cahnges to the redboot; but playing with it I manage to erase the redboot from my coyote board. Now, I am using the BDI2000 to try to restore it, I upload

Re: [ECOS] Merging 2 Version

2005-11-21 Thread Andrew Lunn
On Thu, Nov 17, 2005 at 07:10:53PM +1100, Abraham Celik wrote: Hi Guys, I am constantly switching between 2 working directories of the ecos systems. This became a pain in the side, so I decided to try and merge them. One little thing to add to Bart's replay. You don't actually need to

Re: [ECOS] Accessing IO Ports

2005-11-23 Thread Andrew Lunn
On Wed, Nov 23, 2005 at 08:27:28AM -0500, Scott Bailie wrote: I'm trying to read/write to an IO port on an x86 based PC-104 board. Should I be using the HAL_WRITE_XXX, HAL_READ_XXX macros or is there something else that handles these types of IO accesses? HAL_{WRITE|READ}_XXX is correct.

Re: [ECOS] flags question

2005-11-26 Thread Andrew Lunn
On Thu, Nov 24, 2005 at 03:35:45PM +, Will Wagner wrote: I have a question about the flags code in the kernel. I am using the bsd network stack and am running with asserts enabled. Very occasionally I hit the assert on line 180 of flag.cxx CYG_ASSERT( 0 == p-value_out, Thread already

Re: [ECOS] Where's per-thread data implementation?

2005-11-26 Thread Andrew Lunn
On Mon, Nov 14, 2005 at 10:58:24PM -0800, Paul D. DeRocco wrote: I've found a declaration for thread_data in thread.hxx, and the code to clear it out in thread.cxx, along with the code to allocate slots in it. But where is the code that actually accesses this array? I'm looking for the source

Re: [ECOS] ZLIB: using gzip decompression in combination with libpng

2005-11-26 Thread Andrew Lunn
On Fri, Nov 18, 2005 at 02:44:28PM +0100, [EMAIL PROTECTED] wrote: Hi, I experienced some problems when trying to read PNG files and decompress gzip compressed data in the same application In order to be able to read PNG files I have to set the cdl option

Re: [ECOS] blib_get_block() uses blocks instead of bytes? flashiodev_bread() uses bytes instead of blocks?

2005-11-26 Thread Andrew Lunn
On Fri, Nov 25, 2005 at 03:20:58PM -0800, Garth Zeglin wrote: Dear ecos-discuss, In summary: It appears that blib_get_block() is calling cyg_io_bread() with a length argument of 1, intending to read one block; however cyg_io_bread expects a length parameter in bytes. It

[ECOS] What is a block device?

2005-11-26 Thread Andrew Lunn
Hi Folks Time for a discussion about block devices and there interface. The cyg_io_bread() and cyg_io_block() functions are not very well documented. None of the source code documents the exact meaning of the paramters. // Write data to a block device Cyg_ErrNo cyg_io_bwrite(cyg_io_handle_t

Re: [ECOS] ZLIB: using gzip decompression in combination with libpng

2005-11-28 Thread Andrew Lunn
On Mon, Nov 28, 2005 at 04:43:17PM +0100, [EMAIL PROTECTED] wrote: Libpng uses inflateInit/deflateInit. So it will rely on the default windowBits parameter. Libpng doesn't seem to work when MAX_WBITS is defined to 15+16. To decompress gzip data, I use inflateInit2 with the windowBits set

Re: [ECOS] eCos Interrupt question

2005-11-28 Thread Andrew Lunn
On Mon, Nov 28, 2005 at 10:08:32AM -0800, Ben Beasley wrote: Hi, I have an application where we would like to execute a couple of lines of code prior to the execution of any ISR/DSR. Is there anywhere in the ecos build that this code could be placed, or do we need to institute a system

Re: [ECOS] Entry point of stack IP

2005-11-28 Thread Andrew Lunn
On Mon, Nov 28, 2005 at 03:58:58PM +0100, Birahim Larou Fall wrote: hi, I want to add or create a network interface. Does anyone know the entry point (function name) of the IP stack (openbsd, freebsd)? How to add a network interface with ecos? I want to do something like this:

Re: [ECOS] Flash problem with Intel P30

2005-11-29 Thread Andrew Lunn
On Tue, Nov 29, 2005 at 06:31:23PM +1100, Abraham Celik wrote: Hi Guys, I am using an intel 28f256p30B flash on my ixp425 board. I get the following upon boot up: Is this the normal flash device for that board? The source code for the ixpd425 says it should be a 28F128. My guess is that

Re: [ECOS] Entry point of stack IP

2005-11-29 Thread Andrew Lunn
On Tue, Nov 29, 2005 at 10:15:28AM +0100, Birahim Larou Fall wrote: It is more like PPP/SLIP. The device is a modem (DOCSIS) used on numerical TV. Data are transmitted from/to host to/from to slave using DOCSIS modem (TX/RX). The host and the slave have each one a MAC and IP ADRESS. If it

Re: [ECOS] Flash problem with Intel P30

2005-11-29 Thread Andrew Lunn
On Tue, Nov 29, 2005 at 08:46:37PM +1100, Abraham Celik wrote: Hi Andrew, I agree that I have something not set up correctly. Its not the correct flash for the IXDPG425, however the changes that were recommended for the switch to the P30 do not work as hoped. I was actually hoping that

Re: [ECOS] save heap contents

2005-11-29 Thread Andrew Lunn
On Wed, Nov 30, 2005 at 07:42:20AM -, R S wrote: As part of my application, I need to save the contents of heap, so I can at any point later restore the heap to its previous state. Using mallinfo , I can get heap usage but inorder to copy its contents , I would need the exact memory

Re: [ECOS] Re: save heap contents

2005-11-29 Thread Andrew Lunn
On Wed, Nov 30, 2005 at 08:49:41AM -, R S wrote: To add to my previous question, one way of doing it is using sbrk(0) to locate current heap pointer at any time and use it to copy the heap contents , however as memory is sbrked only once in eCos (dlmalloc impl), this is not possible. So I

Re: [ECOS] DRAM sizing

2005-11-30 Thread Andrew Lunn
On Wed, Nov 30, 2005 at 10:04:33AM -0600, Jerry wrote: Dear Ecos: Just started work on the ATCA-7010(dual IXP2800 ARM platform). Intel has delivered the base board with the DRAM size hardcoded to 768MG. CYGMEM_REGION.ram_SIZE is the default value and hal_dram_size is set to

Re: [ECOS] zcalloc: failed to allocate bytes error - RedBoot

2005-12-01 Thread Andrew Lunn
On Thu, Dec 01, 2005 at 03:25:17PM +1000, Benny Chen wrote: Hi there, My RedBoot application when trying to write 64 bytes to a file (via write() call) in the jffs2 partition result in the following message being printed out. zcalloc: failed to allocate 0x8000 items of 0x2 bytes == 0x10010

  1   2   3   4   5   6   7   8   9   10   >