problem with watchdog/reboot MPC5200

2006-04-20 Thread Jaap-Jan Boor
Arno, I think your problem is related to Intel Strataflash specifics. After a write to strataflash, it remains in status mode until another read (or reset) command is issued. This means you don't get the flash contents when reading it, but a status bit (e.g. 0x8080 at every spot). So when the proc

NAND and JFFS2 supports in Linux 2.4

2006-04-11 Thread Jaap-Jan Boor
Laurent, Take a look at the 2.4 http://www.denx.de kernel, it has NAND and jffs2 support. Jaap-Jan On 11-apr-2006, at 18:31, Laurent Lagrange wrote: > > Hello, > > I work on a custom 82xx board with a NAND flash : > NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND > 128MiB 3,3V

How to quickly write cleanmarkers to jffs2 partitions?

2006-03-06 Thread Jaap-Jan Boor
On Fri, 2006-03-03 at 10:08 +0100, Mathieu Deschamps wrote: > Hi, > > "When preparing a flash partition for JFFS2, it is recommended to put > cleanmarkers to the erased blocks. > This might be done my means of "-j" option of the "flash_eraseall" MTD > utility. Otherwise, JFFS2 will re-erase the

How to quickly write cleanmarkers to jffs2 partitions?

2006-03-02 Thread Jaap-Jan Boor
Hi David, I indeed did write a small program that only writes the cleanmarkers in all flash blocks used for jffs2. We assume (and check) all flash sectors are erased already. Jaap-Jan On 2-mrt-2006, at 17:06, David Jander wrote: > > Hi, > > I was wondering if there is a trick or common techni

PCI on MPC827x

2005-09-06 Thread Jaap-Jan Boor
We use it with 2.4.25. I think you should take a look at Wolfang Denx' 2.4 kernel Jaap-Jan Alex Zeffertt wrote: >On Tue, 06 Sep 2005 16:45:15 +0400 >Vitaly Bordug wrote: > > > >>Alex Zeffertt wrote: >> >> >>>Hi list, >>> >>>Does the linuxppc kernel support PCI on PowerQUICC II chips? If

2.4.26 and MPC885 context switching time

2005-06-15 Thread Jaap-Jan Boor
I did once ran lmbench on a proprietry 850 based board running at 62/31 Mhz using 1 16-bit dram: Context switching - times in microseconds - smaller is better - Host OS 2p/0K 2p/16K 2p/64K 8p/16K 8p/64K 16p/16K 16p/ 64K

preemptive and low-latency patches for denx's 2.4.25

2005-06-15 Thread Jaap-Jan Boor
I have a patched 2.4.25 kernel with changes from the Denx kernel, the lck1 patchset (O(1) scheduler, preempt and lowlatency patches), linux trace toolkit patches (sort of handcrafted) and proprietary board specific patches. It's probably incompatible with anything else. I can however make a

Dynamic libraries do not work

2005-05-27 Thread Jaap-Jan Boor
Theo, What type of processor are you using? 8xx? Did you build a tool-chain yourself and are you perhaps using floating point? Jaap-Jan On 26-mei-2005, at 23:04, Theo Gjaltema wrote: > Hello, > > I have a linux 2.4.20 kernel running, but the files in the ramdisk > fail to execute if they are

[PATCH] Freescale Ethernet combined driver

2005-05-12 Thread Jaap-Jan Boor
Ah, very good, thanks Jaap-Jan On 12-mei-05, at 12:43, Pantelis Antoniou wrote: > Jaap-Jan > > All mii operations are done under a spinlock with interrupts disabled. > > Regards > > Pantelis

[PATCH] Freescale Ethernet combined driver

2005-05-12 Thread Jaap-Jan Boor
Hi, May be a little late (I'm trying to catch up on all mailing list mail) but I was wondering if the io port handling functions I see now in these patches should not be 'atomic'. So toggling MII pins does not interfere with toggling e.g. I2C bit-bang interface pins when those pins happen to be

ELDK/DENX: doesn't find iostream-lib when linking

2005-05-12 Thread Jaap-Jan Boor
Peter, you should use g++ as compiler front end when compiling C++ programs > compiler = ${CROSS_COMPILE}g++ best regards, Jaap-Jan On 12-mei-05, at 11:13, Peter Gehirnforce wrote: > I use a makefile with dependencies: > > -- > # Makefile for sim

mpc8260 Multi channel controller howto and kernel driver code

2005-04-07 Thread Jaap-Jan Boor
we have a built a driver and use it on a 8270, I can sent you the code. Jaap-Jan On 6-apr-05, at 19:11, Mike Ford wrote: > > > > Hello Om, > > Did you ever publish your MPC8260 MCC driver code?? > > Thanks, > > Mike Ford > ___ > Linuxppc-embedded maili

USB on 8250 PCI

2005-04-07 Thread Jaap-Jan Boor
What kernel version do you use? In a 2.4 series kernel, you might check m8260_pcibios_fixup() and probably set dev->irq ? I don't know yet if this is the same in 2.6. I recently saw a lot of pci setup related changes in this mailing list. Jaap-Jan On 7-apr-05, at 8:23, Wojciech Kromer wrote: >

USB on 8250 PCI

2005-04-06 Thread Jaap-Jan Boor
On 6-apr-05, at 13:42, Wojciech Kromer wrote: > anyone have tested USB host controller on pci with mpc8250 > i have NEC PD720101 ohci/ehci device yes, mpc8270 with Philips 1561 (I found the CPM USB host controller with 1 ms SOF under software control too risky) the 1561 is OHCI/EHCI compliant,

Problems with MontaVista Linux on a Memec Virtex-II pro ff672 board

2005-03-17 Thread Jaap-Jan Boor
is there something printed before 'Now booting the kernel'? If so, do the memory ranges not overlap or something? Jaap-Jan On 17-mrt-05, at 13:49, S. van Beek wrote: > Hello there, > ? > This is our first post on this list, hi all! > We're two Dutch students working with a Virtex-II pro ff672 bo

RTC with TQM823L

2005-03-17 Thread Jaap-Jan Boor
Can't you use a cpmtimer to fire every 10ms and wakeup a high priority thread? Jaap-Jan On 17-mrt-05, at 8:47, Jean Nicollerat MD wrote: > Hello, > I need to have an interrup every 10ms in my application running in > linux. > I have a PowerPC 823 on the board TQM823L LCD from denx. > I use the

Question about cpm reset on 8xx

2005-02-03 Thread Jaap-Jan Boor
On Thu, 2005-02-03 at 15:29, Per Hallsmark wrote: > Hi all, > > Working with a board using hdlc over SCC channel (852T) and kernel 2.4.21, > in the cpm reset code in arch/ppc/8xx_io/commproc.c it's like: > > void > m8xx_cpm_reset() > { > volatile immap_t *imp; > volatile c

Exception handling on mpc8xx cores

2004-12-08 Thread Jaap-Jan Boor
On Wed, 2004-12-08 at 05:15, Robin Gilks wrote: > Greetings > > Any Freescale lurkers out there? > > The mpc866 manual implies that if the internal core times out an > external Transfer Acknowledge bus signal (by exerting the internally > generated Transfer Error Acknowledge signal) an exceptio

problems on USB

2004-11-30 Thread Jaap-Jan Boor
gt; How can I see the files in my u-disk? I don't know what a u-disk is, but usb sticks are normally mounted using the scsi emulation layer. Jaap-Jan > -- Original Message ---------- > From: Jaap-Jan Boor > Date: Tue, 30 Nov 2004 09:13:42 +0100 >

problems on USB

2004-11-30 Thread Jaap-Jan Boor
> -- Original Message ---------- > From: Jaap-Jan Boor > Date: Tue, 30 Nov 2004 07:00:49 +0100 > >> Hi, >> >> did you have a >> none/proc/bus/usb usbdevfs defaults 0 0 >> >> entry in your fstab? >> >> Jaap-Jan >> >> O

problems on USB

2004-11-30 Thread Jaap-Jan Boor
Hi, did you have a none/proc/bus/usb usbdevfs defaults 0 0 entry in your fstab? Jaap-Jan On 30-nov-04, at 3:32, zhonglei wrote: > hi >My system is Lite5200 with DENX Embedded Linux running on it.When I > tried to enable my USB port to use my u-disk, > > the problem occured. >I h

Embedded Linux, pthreads and scheduling

2004-10-01 Thread Jaap-Jan Boor
Steve, On 30-sep-04, at 19:39, Stephen Williams wrote: > > [This is probably not unique to ppc linux, but it is imbedded > and I am running linux on an embedded pc in this case...] > > I have a multi-threaded (pthreads) application running on an > embedded PPC. One of the threads operates a scann

Full duplex, MDIO and both Ethernet in MPC8272ADS

2004-09-29 Thread Jaap-Jan Boor
On di, 2004-09-28 at 16:12, alebas at televes.com wrote: > Hi to all, > > As long as I have seen (tested and surfed in the code), current > linuxppc_2.4.26_devel support for MPC8272ADS board is limited to one PHY, > without MII management support and the interface is always configured as Half > Du

ushort fcc_fcce

2004-08-27 Thread Jaap Jan Boor
On 27-08-2004 16:53, "Dan Malek" wrote: > > On Aug 27, 2004, at 5:31 AM, Jaap-Jan Boor wrote: > >> Why is >> include/asm-ppc/immap_8260.h: ushort fcc_fcce; > > Because in the original documentation I had under NDA > many years ago when this was wri

ushort fcc_fcce

2004-08-27 Thread Jaap-Jan Boor
hi, Why is include/asm-ppc/immap_8260.h: ushort fcc_fcce; and not uint fcc_fcce, as e.g. the fcc event register in hdlc mode uses 32 bits. thanks, Jaap-Jan ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

uart.c doesn't compile

2004-08-18 Thread Jaap-Jan Boor
Hi, I pulled the latest linuxppc-2.5 using bk and try to build for 8xx (FADS). It seems uart.c doesn't build anymore for SMCs: CC arch/ppc/8xx_io/uart.o arch/ppc/8xx_io/uart.c: In function `change_speed': arch/ppc/8xx_io/uart.c:992: warning: implicit declaration of function `m8xx_cpm_setb

random ramblings on 8xx patches (long and tedious :-)

2004-07-23 Thread Jaap-Jan Boor
On Thu, 2004-07-22 at 19:35, Dan Malek wrote: > On Jul 22, 2004, at 1:10 PM, Wells, Charles wrote: > > > ... The real problem is that the > > MPC850 USB controller was designed for target-mode applications and not > > host-mode applications. And even in target mode I see unexpected underruns,

List shutting down?

2004-07-14 Thread Jaap-Jan Boor
On 14/7/04 2:16, "Jon Masters" wrote: > > | See http://lists.linuxppc.org/news.html > | > | I'm willing to host lists on lists.infradead.org if necessary. I assume > | it'll get sorted out some other way though. > > I have also offered publically to host them on a previous occasion. > > We can st

Hardware interrupts routines

2004-06-16 Thread Jaap-Jan Boor
Hi, Only when you are in kernel mode (i.e. in a driver/module) it is possible to register for an interrupt, e.g. like this: #include /* e.g. SIU_INT_IRQ1 for 82xx */ static void irq_handler(int irq, void *my_data, struct pt_regs *regs) {

I2C implementation on MPC8260

2004-05-05 Thread Jaap-Jan Boor
On Wed, 2004-05-05 at 11:35, Jos Beck wrote: > Hi, > > I am trying to get some i2c devices (RTC, EEPROM) to run on an MPC8260 > with kernel version 2.4.21. > I have seen some fragmented information in the kernel source > documentation and on this mailing list, but it's not clear to me what > parts

Spurious Interrupts.. 2.4.22 82xx platforms

2004-05-03 Thread Jaap-Jan Boor
Andrew, Are you aware of this? http://lists.linuxppc.org/linuxppc-embedded/200211/msg00139.html I'm not sure of this is your problem though Jaap-Jan On May 2, 2004, at 17:02, Andrew Williams wrote: > > Trying to wrap my mind around where my "spurrious" interrupts > are coming from. > > I've u

Recognizing compact flash in IDE mode on 8260

2004-04-28 Thread Jaap-Jan Boor
Hi, you might check drivers/ide/ppc and either add some support sw there or modify existing direct interface initialization, like cpci405ide.c Jaap-Jan On 28-apr-04, at 0:12, Dixon, Myron @ GNS wrote: > > We have a custom board that contains two PPC8260 processors. One of > the two > > boots

FEC support for 8260 in kernel 2.4.25

2004-04-25 Thread Jaap-Jan Boor
On 24-apr-04, at 1:23, T Michael Turney wrote: > > Hi Folks, > This is my first posting on this list. > > I am working on a kernel port to an 8260 board that > has all three FCCs wired up to PHYs (BCM5221). > > The first FCC is working fine, but I haven't been > successful with getting FCC2 and F

C++ Memory Requirements for PowerQUICC 1

2004-04-05 Thread Jaap-Jan Boor
Hi, It depends on your program and C++ code. You probably mention C++ libraries because of templates. If you use a lot of different types (classes) and STL, a lot of templates will be instantiated for your types, which can quickly increase the size of your program(s) (not much unlike to macros in

O(1) scheduler for PPC?

2004-03-26 Thread Jaap-Jan Boor
On Fri, 26 Mar 2004, Steven Scholz wrote: > > Jaap-Jan Boor wrote: > > > On Thu, 25 Mar 2004, Steven Scholz wrote: > >> > >>is the backport of Ingo Molnar's O(1) scheduler in the official linux-2.4.2x > >>tree and is it available for the PPC

O(1) scheduler for PPC?

2004-03-26 Thread Jaap-Jan Boor
On Fri, 26 Mar 2004, Jaap-Jan Boor wrote: > > On Thu, 25 Mar 2004, Steven Scholz wrote: > > > > > Hi there, > > > > is the backport of Ingo Molnar's O(1) scheduler in the official linux-2.4.2x > > tree and is it available for the PPC? > > an up-

O(1) scheduler for PPC?

2004-03-26 Thread Jaap-Jan Boor
On Thu, 25 Mar 2004, Steven Scholz wrote: > > Hi there, > > is the backport of Ingo Molnar's O(1) scheduler in the official linux-2.4.2x > tree and is it available for the PPC? an up-to-date patch together with the preemptible kernel and low-latency patches for 2.4.25 are available here: http:/

IBM 440GX, Ocotea...

2004-03-25 Thread Jaap-Jan Boor
Paul, Much thanks for your explanation, it clarifies a lot. Jaap-Jan On Thu, 25 Mar 2004, Paul Mackerras wrote: > > Jaap-Jan Boor writes: > > > In addition to this nice tree discussion, I've a question: > > from what 'official ppc' tree do patches eventu

IBM 440GX, Ocotea...

2004-03-25 Thread Jaap-Jan Boor
On Mar 24, 2004, at 23:25, Tom Rini wrote: >>> It seems to be a circuitous route that I don't even understand >>> anymore. Sometime stuff I check in gets there, sometimes not. :-) >> >> and you have never found out the conditions when something >> get's in (only when submitted at friday the 13th

IBM 440GX, Ocotea...

2004-03-24 Thread Jaap-Jan Boor
On Mar 23, 2004, at 19:24, Dan Malek wrote: > Jaap-Jan Boor wrote: > >> from what 'official ppc' tree do patches eventually get into the >> official linux kernel tree(s) at kernel.org? >> only linuxppc-2.4? Or all? > > It seems to be a circuitous rout

usb hub problem on 8270

2004-03-23 Thread Jaap-Jan Boor
IDMAs need setting up to get DREQs in the right configuration or does > it > just work with the external wire connected? > > > Cheers > > Nigel > nrudgley at consultronics.co.uk > > > - Original Message - > From: "Jaap-Jan Boor" > To: > Sent: Thursda

IBM 440GX, Ocotea...

2004-03-23 Thread Jaap-Jan Boor
Wolfgang, In addition to this nice tree discussion, I've a question: from what 'official ppc' tree do patches eventually get into the official linux kernel tree(s) at kernel.org? only linuxppc-2.4? Or all? thanks, Jaap-Jan On Tue, 2004-03-23 at 17:44, Wolfgang Denk wrote: > Dear Tolunay, > > i

Can't set the schedual parameter of threads in linux

2004-03-11 Thread Jaap-Jan Boor
On Thu, 11 Mar 2004, Jean-Denis Boyer wrote: > > Your program logic is absolutely correct. > I ran it in my embedded PPC environment (as root) and got the following > results: > > policy: 2 priority: 20 > > The problem is elsewhere... RedHat 9 uses ntpl, that is a difference. > > ---

Can't set the schedual parameter of threads in linux

2004-03-11 Thread Jaap-Jan Boor
Yang, You are right, I don't use the pthread_[gs]etschedparam() functions. I use in the new thread's context the pthread_attr_getschedpolicy(&tattr, &policy); pthread_attr_getschedparam(&tattr, ¶m); functions, and then set the new priority param.sched_priority = newpriority; pthread_setschedpar

Can't set the schedual parameter of threads in linux

2004-03-11 Thread Jaap-Jan Boor
yang, Are you running your application as root? Also, try to get/set the pthread schedule parameters in the pthread context itself. Jaap-Jan On Mar 11, 2004, at 2:06, yang wrote: > > Hello, > I encounter a problem when I transplant application. > There is no effect to the pthread when

RAM Disk problems

2004-03-10 Thread Jaap-Jan Boor
Kevin, I think I once had the same problem and it was caused by having the kernel cmd line overwritten. You might check that. Jaap-Jan On Wed, 2004-03-10 at 15:31, Kevin A. Sapp wrote: > Hello, > > I am trying to bring up a RAM disk as the root file system. > Most everything is working until it

MPX8xx: MMC over SPI....

2004-03-10 Thread Jaap-Jan Boor
Hi, I agree in this with Wolfgang, I have had very bad experiences with SPI as inter processor communication channel in the past. And then you are in the luxury position of having 'intelligence' (processors) on both sides which can detect and clean up the CPM's SPI mess. Jaap-Jan On Wed, 2004-0

searchplugin

2004-03-09 Thread Jaap-Jan Boor
Hi, Slightly off topic, but for anybody interested, I've attached a mozilla/firefox/etc. searchplugin for this mailing list. Just untgz it and put it in your /searchplugins directory. Jaap-Jan -- J.G.J. Boor Anton Philipsweg 1 Software Engineer 1223 KZ Hilve

MPX8xx: MMC over SPI....

2004-03-09 Thread Jaap-Jan Boor
On Tuesday 09 March 2004 14:18, David Jander wrote: > Hi all, > > I know that Wolfgang Denk is going to flame me right away for this, but > I'll do it anyway :-) > I am going to write a SPI driver and on top of that a MMC driver for linux > for the MPC852T, unless there is something already out th

searchplugin (off topic)

2004-03-09 Thread Jaap-Jan Boor
Hi, For anybody interested, I've attached a mozilla/firefox/etc. searchplugin for this mailing list. Just put in your /searchplugins directory and restart. Jaap-Jan -- J.G.J. Boor Anton Philipsweg 1 Software Engineer 1223 KZ Hilversum AimSys bv

early return set_multicast

2004-03-04 Thread Jaap-Jan Boor
On Wed, 3 Mar 2004, Ricardo Scop wrote: > Hi, > > On Wednesday 03 March 2004 13:09, Jaap-Jan Boor wrote: > > Hi, > > > > does somebody know why there is an early return; > > statement in the set_multicast_list() function > > of 8260_io/fcc_enet.c (or cpm2_

early return set_multicast

2004-03-03 Thread Jaap-Jan Boor
Hi, does somebody know why there is an early return; statement in the set_multicast_list() function of 8260_io/fcc_enet.c (or cpm2_io/fcc_enet.c)? static void set_multicast_list(struct net_device *dev) { struct fcc_enet_private *cep; struct dev_mc_list *dmi;

MPC8270 PCI

2004-02-25 Thread Jaap-Jan Boor
Hi, I've a short question regarding 82xx PCI (like 8266/8270). As far as I understand the manual, you should always be able to issue config cycles (config read) on the bus, if the 60x bus is in PCI mode. Is this true? I've quite some problems with this, and want to blame the hardware... thanks f

usb hub problem on 8270

2004-02-19 Thread Jaap-Jan Boor
Hi, I found some time to adapt m8xxhci.c (for 823/850) to the 8270 with limited success. We use TOUT3 (from timer3) to DREQ0/1 to enable SOF transmitting which works more or less as one of my hubs is detected but after the host driver received the hub's device description, I get a time-out and, w

EXT_DIRECT IDE Mode

2004-02-12 Thread Jaap-Jan Boor
David, Should there not be a call to the 8xx init function between #ifdef CONFIG_IDE_EXT_DIRECT / #endif in driver/ide/ide.c ? There are a lot such init calls there Jaap-Jan On Thu, 2004-02-12 at 19:00, DavidHo at nanometrics.ca wrote: > The EXT_DIRECT item is already there in the configurati

Booting time

2004-02-10 Thread Jaap-Jan Boor
On Feb 9, 2004, at 2:44 PM, Wolfgang Denk wrote: > > For a "standard" system with 50 MHz CPU and 50 MHz bus clock I can > demonstrate that it takes not more than 3...4 seconds from power on > until the first application process is running. Wolfgang, What kind of setup is that? A very small

Error encountered when make of gcc-3.3.2

2004-02-05 Thread Jaap-Jan Boor
Thamarai, you need some patches to cross build gcc 3.x, but better use crosstool, it includes the patches needed, both for the compiler and glibc, and a script to build and install everything. http://www.kegel.com/crosstool/ Jaap-Jan On Thu, 2004-02-05 at 07:46, Thamarai Selvan wrote: > hi all,

mpc 8270 usb

2004-02-04 Thread Jaap-Jan Boor
Hi, Does anybody have some experience using the usb controller of the cpm on the 8270? We see quite some problems (e.g. the cpm stops transmitting or not generating tx interrupts) any experience would be welcome, thanks Jaap-Jan ** Sent via the linuxppc-embedded mail list. See http://lists.l

cant't stop program

2004-01-05 Thread Jaap-Jan Boor
Hi, I sometimes (!) see the same problem when running from serial console. Telnet works ok. I did change in my kernel driver/char/tty_io.c to set noctty = 0; It seems that in shell/ash.c from busybox the call (pgrp = tcgetpgrp(fd)) returns an error code. Jaap-Jan On Mon, 2004-01-05 at 05:11, D

busybox problem

2003-12-09 Thread Jaap-Jan Boor
hi, rc.sh is a script so needs /bin/sh or something do you use shared libraries? That might give problems Jaap-Jan On Tue, 9 Dec 2003, AlessandroPPC wrote: > > Hi to all, > > To solve a problem with ram root filesystem Wolfgang Denk has suggestes to > me to use his > SELF ramdisk image. > I h

8270 performance

2003-12-09 Thread Jaap-Jan Boor
On 8-dec-03, at 22:11, Jean-Denis Boyer wrote: > > Ricardo, > Jaap-Jan, > >>> I would expect the bogomips number >>> to be somewhere near the core clock >>> (like 8xx). >> >> Well, I think the numbers are pretty fair, assuming that the >> bogomips number >> reflect a certain amount of external me

8270 performance

2003-12-08 Thread Jaap-Jan Boor
Hi, I've a modified 2.4.22 kernel built with gcc 3.3.2 running on a 8270 system here and see the following cpuinfo: # cat /proc/cpuinfo cpu: 82xx (Hip7) core clock : 266 MHz CPM clock : 166 MHz bus clock : 66 MHz revision : 32.17 (pvr 8082 2011) bogomips : 1

problem using both mpc857dsl fec and scc1

2003-12-05 Thread Jaap-Jan Boor
Hi, I would say to double check your parallel port I/O settings Jaap-Jan On Thu, 2003-12-04 at 01:08, Dennis Khoo wrote: > Hi all, > > I'm having a peculiar problem. > > Briefly, my platform is MPC857DSL IAD board from Motorola. I'm using U-boot > 0.4.8 to bootp the kernel(2.4.18 and 2.4.22)

mpc / linux kernel - user space

2003-12-01 Thread Jaap-Jan Boor
On Fri, 2003-11-28 at 16:42, Dan Malek wrote: > Jaap-Jan Boor wrote: > > > If you want to send a signal to user code, you can use kill_proc() > > I think. > > IMHO, trying to use signals to propagate a hardware interrupt to a > user application is complicated and has

Réf. : Re: mpc / linux kernel - user space

2003-11-28 Thread Jaap-Jan Boor
On Fri, 2003-11-28 at 10:21, Aain_Devarenne%ZODIAC at zodiac.com wrote: > Hi everybody > > I 'm pending on the same problem as Juergen, > - How can a User Space Thread Wait for a signaling event set by KERNEL ? e.g. issue a read on some device driver (/dev/ which will block until an interrupt ha

mpc / linux kernel - user space

2003-11-28 Thread Jaap-Jan Boor
n does exist to send a signal? I guess, the > module has to know the pid of the application process? How can the module > be informed about it? > Regards, > Juergen > > On Thu, 27 Nov 2003, Jaap-Jan Boor wrote: > > > Hi Juergen, > > > > That's normally not s

mpc / linux kernel - user space

2003-11-27 Thread Jaap-Jan Boor
Hi Juergen, That's normally not something you do and I don't know if it's possible. Application code normally communicates with your driver code using system calls (read/write). So either your appl procedure must be part of your module, or you must signal e.g. a user thread the timer interrupt ha

Preemptive Kernel and MPC8xx ???

2003-11-26 Thread Jaap-Jan Boor
On Wed, 2003-11-26 at 16:08, Steven Scholz wrote: > Marius Groeger wrote: > > > AFAIK, you can pretty much drop the low-latency patch in favor of > > using the lock-breaking patch. It is also available from Robert Love > > at the cited home page. > > Rob Love wrote me: > > >>Is it correct that yo

Preemptive Kernel and MPC8xx ???

2003-11-26 Thread Jaap-Jan Boor
On Tue, 2003-11-25 at 09:13, Steven Scholz wrote: > Hi, > > > On Mon, 24 Nov 2003, Jaap-Jan Boor wrote: > > > >>Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems > >>to work but didn't do any measurements on it. > >>(I both u

Preemptive Kernel and MPC8xx ???

2003-11-24 Thread Jaap-Jan Boor
On 24-nov-03, at 17:35, Marius Groeger wrote: > > On Mon, 24 Nov 2003, Jaap-Jan Boor wrote: > >> Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems >> to work but didn't do any measurements on it. >> (I both use the preempt and low-latency patches

Ramdisk trivial question

2003-11-24 Thread Jaap-Jan Boor
Hi Gianfranco, Isn't busybox a good option? A large part of your ramdisk is filled with binaries and libraries (glibc is big) which can be included in a single static binary (busybox) Jaap-Jan On Mon, 2003-11-24 at 11:25, Ing.Gianfranco Morandi wrote: > Dear friends, > > in our project we have

Preemptive Kernel and MPC8xx ???

2003-11-24 Thread Jaap-Jan Boor
On Mon, 2003-11-24 at 09:01, Steven Scholz wrote: > Hi, > > >> is somebody actually using the preemptive kernel patches ... > >> > > Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems > > to work but didn't do any measurements on it. > So you're using vanilla 2.4.22 on your MPC8xx boa

Preemptive Kernel and MPC8xx ???

2003-11-24 Thread Jaap-Jan Boor
Hi, Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems to work but didn't do any measurements on it. (I both use the preempt and low-latency patches) Jaap-Jan On 23-nov-03, at 13:02, Steven Scholz wrote: > > Hi there, > > is somebody actually using the preemptive kernel patches th

USB for mpc8270/80

2003-11-10 Thread Jaap-Jan Boor
Hi, I need this too and am looking at the 850/823 USB host driver which should work on the 8270 as well. Jaap-Jan On Mon, 2003-11-10 at 16:17, Chris Simmonds wrote: > Hi, > > Has anyone got a USB driver for the SCC on the mpc8270/8280? Anyone > interested in having one if one doesn't exist alre

linux ram size

2003-09-19 Thread Jaap-Jan Boor
Hi, I think you just need to pass in your bd_t structure the proper amount of ram to kernel, so it looks ppc boot pass someting else (16MB) to the kernel. Jaap-Jan On Fri, 2003-09-19 at 12:51, somshekar chandrashekar kadam wrote: > hi , > > Ineed to know can i run my linux with 8mb of ram ,

mbx860

2003-09-16 Thread Jaap-Jan Boor
look at http://www.denx.de works great. Includes toolchain, kernel sources and supports a range of PowerPC processors. The MBX board is supported by the standard kernel also. Jaap-Jan On Tue, 2003-09-16 at 16:10, Amit.Lubovsky at infineon.com wrote: > Hi, > I want to run Linux on MBX860-006c,

display top CPU processes top tool

2003-09-05 Thread Jaap-Jan Boor
Do you have a /etc/TERMCAP ? On vrijdag, sep 5, 2003, at 10:26 Europe/Amsterdam, John Zhou wrote: > > Hi, all > > I'm using "top" tool to display top CPU processes and system running > information in my Embedded Linux based on PowerPC. But, when I run > "top" command in prompt #, it's coming on:

Kernel hangs on EP862-1.1 during boot

2003-09-04 Thread Jaap-Jan Boor
Hi Jan, What you could do is check of your board data that is passed to the kernel is still valid in start_kernel. Also, are you sure you have the kernel uart driver properly configured (i.e. it works but you don't see anything) Jaap-Jan Jan Dominik Baranski wrote: > > Hello all, > I'm having t

Unable to mount jffs2 file system

2003-06-16 Thread Jaap-Jan Boor
Rakesh, in init/main.c you can add to root_dev_names[] your root device (e.g. "mtdblock2" 0x1f02). You have to specify somehow to use this device then, as kernel parameter. I use root_string in arch/ppc/[mbxboot][simple]/misc.c: char*root_string = "root=/dev/mtdblock2 rw init=/linuxrc"; Ja

MPC8270

2003-03-06 Thread Jaap-Jan Boor
Hi, Is there already some experience with linux on the MPC8270 and it's PCI bus? thanks, Jaap-Jan --- J.G.J. Boor Lucent Technologies Nederland b.v. Room: BE-525 Optical Networking Group TMS Data Phone: +31 (0)35 687 4721 Larenseweg 50, P.O. Box 1168, Fax: +31 (0)35 687

MTD problem for Intel Flash

2003-02-26 Thread Jaap-Jan Boor
Hi Shenrong, I have the same problem. I solved it by making a rather ugly patch. I changed the 8xx reset vector code to first put flash in Ready state (reset the flash state machine by writing 0x5050) Jaap-Jan > > Hi, > > I met a problem when using JFFS2/MTD with Intel CFI Flash.I mount > JFFS2

PowerMac vs. Intel for PowerPC Development Host

2003-02-20 Thread Jaap-Jan Boor
Brian, I think one advantage of using a mac with linuxppc as host (I use that @ home) is that you can use newer compiler/library versions a little bit more easy. I wasn't able yet to cross compile gcc-3.x for ppc on Solaris host, it worked however on the mac. Jaap-Jan brian.auld at adic.com wro

C++ Library recommendations ...

2003-01-28 Thread Jaap-Jan Boor
Jim, I just use libstd++ coming with gnu g++, it's not too big (shared ~300k) compared to glibc (shared ~1.2 M) when linking statically, the linker normally only takes what you need, so this will be less. Jaap-Jan > > Hello, > > I have currently have some applications running with glibc/ulibc

Lauterbach ICD In-Circuit Debugger

2003-01-22 Thread Jaap-Jan Boor
> > A lot of people suggest to use the Abatron BDI2000 as debug system. I used > the Lauterbach TRACE32-ICD system with ARM processors without MMU (no > Linux) and it works extremely well. > The manufacturer claims it fully supports both the MMU and the Linux kernel > (see here for more details >

make menuconfig fails.

2003-01-20 Thread Jaap-Jan Boor
> I am following the instructions on penguin PPC ( HYPERLINK > "http://penguinppc.org/embedded/cross-compiling/"; > http://penguinppc.org/embedded/cross-compiling/) and I am getting an error: > during make menuconfig > > checklist.c:24 dalog.h: no such file or directory > > I do have the file in /

Serious Problem: After Uncompresseing Linux..., what's next

2002-12-23 Thread Jaap-Jan Boor
> > Hi Folks, > > I think finally i have idea as to why boot process was > failing. After uncompressing linux image, the code > execution was aborting with an ESR value of > 0x0800, which stands for "ILLEGAL INSTRUCTION". > When i checked the instruction causing this, i figured > that, 'tlbia'

jffs2 as root

2002-11-12 Thread Jaap-Jan Boor
Hi, I'm using a jffs2 fs on mtd now as my root fs. To be able to do that however, I patched the root_dev_names[] table in init/main.c to at a mtd device with a hardcoded major/minor set. I pass root=/dev/mtd to the kernel. There should be a more elegant way, does somebody know which one? than

ppc_8xx-gcc 2.95.3 Monta Vista does not do ANY loop unrolling

2002-11-12 Thread Jaap-Jan Boor
> > Jaap-Jan, > > Yes, it's not a good ide to enable -funroll-loops for the whole > kernel, but some functions should be unrolled anyway, like the crc32() > function since it won't increase the size very much but will yield > a significant speed increase. > > So maybe the right way is to identify

ppc_8xx-gcc 2.95.3 Monta Vista does not do ANY loop unrolling

2002-11-12 Thread Jaap-Jan Boor
Joakim, Enable loop unrolling by default for 8xx processors is not a good idea because of the limited instructions cache size. I think that's also what is recommended in the ppc faq: enable size optimization (-Os) for 8xx processors gives better performance. For a 750 or so, it would be good to

ext2fs ramdisk created on Sun/SuSE does not work on PowerPC

2002-08-28 Thread Jaap-Jan Boor
> IP: routing cache hash table of 1024 buckets, 8Kbytes > TCP: Hash tables configured (established 8192 bind 8192) > Linux IP multicast router 0.06 plus PIM-SM > IP-Config: Incomplete network configuration information. > ip_conntrack (1024 buckets, 8192 max) > ip_tables: (c)2000 Netfilter core tea

occasionally segmentation faults

2002-08-08 Thread Jaap-Jan Boor
Hi Wolgang, I upgraded to gcc2.95.3 and glibc-2.2.5, same problem. then I downloaded and installed you eldk, but still have sometimes the segmentation fault. My kernel is under suspicion now. I saw eldk also contains a 2.4.4 kernel (I use 2.4.10) Did you apply something else then the uart chan