Re: Xilinx , Ml403, Linux And Money!

2007-04-16 Thread Roger Larsson
On Monday 05 March 2007 00:40, Mohammad Sadegh Sadri wrote: > Finally we see montavista asking for your registration before allowing you > to download the preview kit, and then their answer "you are not allowed to > access the prev kit because . " > > I was expecting linux kernel source to

Re: [PATCH] # ppc: ppc4xx_set_src/dst_addr were only correct for DMA0

2007-01-20 Thread Roger Larsson
On Saturday 20 January 2007 00:02, Niklaus Giger wrote: > DCRN_DMASAH0 + dmanr*2 to > DCRN_DMASAH0 + dmanr * 0x8 Wouln't it be possible to give DCRN_DMASAH0 such an type that DCRN_DMASAH0 + dmanr would do? Or even better DCRN_DMASAH[dmanr] BTW this code looks suspicious, how will the 64BIT dma ev

Re: Slightly OT - job quote

2006-12-14 Thread Roger Larsson
On Thursday 14 December 2006 10:33, David H. Lynch Jr. wrote: > I am basically looking for the normal cost for from scratch embedded > linux board bringup - on a new board, including bootloader, BSP, and > typical minimal driver set > network, serial, flash, PIC, ... It depends on how you

Re: shared config registers and locking

2006-12-08 Thread Roger Larsson
On Thursday 07 December 2006 03:47, Benjamin Herrenschmidt wrote: > > > The specific example that made me think about it was some clock control > > > registers on 4xx that the EMAC driver is whacking every now and then > > > (on link state change, no lock contention to be worried about here), > > >

Re: shared config registers and locking

2006-12-06 Thread Roger Larsson
On Thursday 07 December 2006 00:34, you wrote: > > GACK! Many better engineers than any of us have spent countless hours > > breaking down locks. A lock takes nearly no space at all, you're not > > proposing to lock any less often, so multiple locks take no less time, > > the only thing you stand

Re: shared config registers and locking

2006-12-06 Thread Roger Larsson
On Wednesday 06 December 2006 06:10, Benjamin Herrenschmidt wrote: > > On UP configuration, there is no real problem: local_irq_disable/enable > around the code tweaking those bits (read/modify/write) is enough and > everybody is happy. That's what the current emac code does. > > However, on SMP, w

Re: Allocalting > 4M

2006-09-27 Thread Roger Larsson
On Wednesday 27 September 2006 22:34, Rune Torgersen wrote: > We have an embedded board with 1G of memory. > > Is there any way, short of using mem= on kernel command line and > reserving memory, to allocate more than 4M of contigous physical memory? > We're trying to allocalte a 8M buffer for use

Realtime preemption patch on PPC

2006-08-12 Thread Roger Larsson
On Friday 11 August 2006 16:38, Brent Cook wrote: > On Thursday 10 August 2006 18:04, Ben Weintraub wrote: > > Howdy, > > > > I'm wondering if anyone has had success getting Ingo Molnar's realtime > > preemption patch (the one here: > > http://people.redhat.com/mingo/realtime-preempt/ ) working on

Setting I&D cache enable in the same mtspr instruction

2006-05-29 Thread Roger Larsson
Is the patch reversed? diff -Naur old new > patch And what about comments, are they all still valid? "enable and invalidate caches" is now only Data cache... In cases when I am writing code like this I try to include the reason why it is not "optimized" together in one write... (or soon someone

Help Needed: floating point used in kernel (task=c0398410, pc=3184)

2006-05-26 Thread Roger Larsson
On fredag 26 maj 2006 09.38, you wrote: > Hi Roger, > > ? The problem has been resolved...the issue was in the make > file.actually we were cpmiling the code with gclibc and linking it with > uClibc which was causing the problem.But this was real test i faced > till now as all the tricks re

Help Needed: floating point used in kernel (task=c0398410, pc=3184)

2006-05-24 Thread Roger Larsson
On onsdag 24 maj 2006 10.14, you wrote: > Hi Roger... > Thanks for your response.but in my case the application is causing > this error It might be the application who runs, calls kernel for output, drivers used for output uses floating point. No application running => no floating point e

Help Needed: floating point used in kernel (task=c0398410, pc=3184)

2006-05-24 Thread Roger Larsson
On onsdag 24 maj 2006 08.12, sandeep malik wrote: > Hi All... > > I am trying to run an application compiled with gcc toolchain gcc--3.4.3 > and glibc -2.3.4 on PPC 8325 board running Linux 2.6.11but some how I > am getting following error > > floating point used in kernel (task=c039841

mpc5200b and floating point

2006-03-31 Thread Roger Larsson
On fredag 31 mars 2006 15.36, Sascha Hauer wrote: > Hi, > > I'm working with a mpc5200b custom board and I'm trying to run an > application with floating point. All floating point variables seem to > zero all the time. Since I'm not very familiar with powerpc it might be > something stupid I have o

Interpreting /proc/meminfo. How much free memory do I have?

2006-03-27 Thread Roger Larsson
On m?ndag 27 mars 2006 08.49, antonio.dibacco wrote: > Hi, > > I'm a little bit puzzled with the fields in /proc/meminfo. Which fields > have I to sum up to get the amount of free memory?

[PATCH resend, example] PPC-4xx DMA scatter/gather (to user memory)

2006-02-09 Thread Roger Larsson
On onsdag 08 februari 2006 21.53, Buhler, Greg wrote: > Does anyone have any example code they could provide me that shows > correct usage of the Linux 2.6.x PPC-4xx scatter/gather DMA > functionality? None of the mainline kernel tree sources or module > sources seem to use this functionality. The

Floating point math in kernel interrupt -- am I doing this right?

2006-02-06 Thread Roger Larsson
On s?ndag 05 februari 2006 20.40, Jeremy Friesner wrote: > If I disable the saving and restoring of the FPU registers > entirely, they don't seem to occur at all (at least within the bounds of my > testing so far -- 15+ hours). Is this with full mix? Then I would really suspect the save/restore c

Kernel 2.6 on MPC8xx performance trouble...

2005-10-28 Thread Roger Larsson
On Friday 28 October 2005 12.57, David Jander wrote: > They are just integers with fixed start values. These are in the loop, so > it's not an empty loop and hopefully the compiler won't out-optimize it so > easily (that is of course without specifying any optimization flags). > Please don't tell m

Kernel 2.6 on MPC8xx performance trouble...

2005-10-28 Thread Roger Larsson
On Friday 28 October 2005 08.57, David Jander wrote: > Hi all, > > Many people have said it before: 2.6 has a performance penalty specially > for embdedded systems. > But now that I have 2.6 running on our 100MHz MPC852T based board, I was > shocked to see the result: > The most simple task doing n

CPM2 early console

2005-10-01 Thread Roger Larsson
On Saturday 01 October 2005 07.57, Kalle Pokki wrote: > Dan Malek wrote: > > I just built an 8250. 8260, and 8270 from a very recent 2.6 tree today > > and they > > all worked fine. They all had different serial port configurations > > (SMC1, SCC1 > > and SCC2). Two were u-boot and one was a prop

Mapping huge user buffers for DMA

2005-08-31 Thread Roger Larsson
On Tuesday 30 August 2005 19.27, Stephen Williams wrote: > I have a PPC405GPr system with an image processing device, that > is creating potentially huge amounts of data. In one setup I > have a 256Meg system, and I'm trying to map a 192Meg destination > buffer using map_user_kiovec and an array of

[PATCH] PPC440EP (405GPr) 2.4.20 (2.6) scatter/gather DMA

2005-07-30 Thread Roger Larsson
. + * Copyright 2005 Optronic dp AB * * Cleaned by Matt Porter * * Original code by Armin Kuster * and Pete Popov + * + * Use of kmalloc, good for short and very long lists + * End of Transfer termination and residue + * Roger Larsson and + * Ronnie Hedlund, DataDuctus AB * * This

PPC440EP (405GPr) (2.4, 2.6) scatter/gather DMA - now works

2005-07-29 Thread Roger Larsson
We are actually still using the 2.4 tree with our own patches to make SGDMA work. Using a different approach... 1. We need more than one page of descriptors, so we allocate one at a time. [Doing DMA transfers of hires images directly to user space] 2. Interrupt is handled in a simpler way:

pci card memory card with SATA interface

2005-05-30 Thread Roger Larsson
Noticed this related announcement... http://www.anandtech.com/tradeshows/showdoc.aspx?i=2431&p=5 /RogerL

Embedded PowerPC with more than 2Go of RAM.

2005-05-30 Thread Roger Larsson
On Monday 30 May 2005 11.55, Laurent Lagrange wrote: > Hi all, > > We want to design a PCI host embedded PowerPC board with a 3Go local RAM > memory. > This processor is a MPC74xx with an internal 32 bits and an external 36 > bits address bus. In that case it should have some a mechanism for mappi

Newbie question about accessing memory in kernel space

2005-05-25 Thread Roger Larsson
On Tuesday 24 May 2005 21.19, Niklaus Giger wrote: > Hi > > I am working on a custom PPC405 board where I have a 2.6.10 kernel with > RTAI patches (fusion) running. > > I am trying to access some custom CPLD chip hanging at 0x7D00. In my > intial board (hcu3_map_io) I added a corresponding io_b

problems with ppc405 on 2.6.11.8.

2005-05-14 Thread Roger Larsson
On Saturday 14 May 2005 01.37, Michael Richardson wrote: > We are in the process of upgrading to 2.6.11. (linus, not timesys. We > see no value add from timesys) > > - - - > > Kyle McMartin tried (I'm not sure why yet) replacing the head.S with > the one from 2.4.18-timesys. It seemed to solve the

floating point in kernel (Re: insmod problem)

2005-05-14 Thread Roger Larsson
On Friday 13 May 2005 15.46, Kumar Gala wrote: > On May 13, 2005, at 8:14 AM, Mark Chambers wrote: > > > You're using floating arithmetic in the kernel. > > > > > > That's not supported. > > > > > > Regards > > > > > > Pantelis > > > > Just for my edification:? Is floating point itself not s

Status of Linux 2.6 for 40x and 44x CPUs

2005-04-28 Thread Roger Larsson
On Wednesday 27 April 2005 18.33, Glenn Burkhardt wrote: > From the looks of the benchmarks described here: > > http://www.denx.de/twiki/bin/view/Know/Linux24vs26 > > and the results are basically confirmed here: > > http://www.2cpu.com/articles/98_1.html > > there are good reasons to avoid using t

[DBG SRC] Re: DMA Problem

2005-04-21 Thread Roger Larsson
On Wednesday 20 April 2005 19.37, Sanjay Bajaj wrote: > I am having a setup issue with the DMA channel 0 with the DMA Controller > on PPC440GX. The code I wrote is: > > #if defined(CONFIG_PPC4xx_DMA) > /* Setup the DMA */ > DPRINTK("PPC4xx pwidth: %d\n", ppc4xx_get_peripheral_width(DMA_CH0)

Preemption patch problem

2005-04-21 Thread Roger Larsson
On Thursday 21 April 2005 12.08, Bj?rn ?stby wrote: > Greetings. > > I have been struggling with the famous preemption patch (from Robert Love) > the past few days. Im using mpc823e and tried with kernels > 2.4.{18,21,22,23}. The patch applies flawless and so on, but when the > kernel is up and run

Error enabling CONFIG_PPC4XX_DMA in lk2.4.27-pre3?

2005-04-13 Thread Roger Larsson
On Friday 08 April 2005 22.19, Sanjay Bajaj wrote: > Hi! Gurus, > > I tried to enable DMA in lk2.4.27-pre3 and it fails with the error attached > to the end of the mail. On further debugging, I found that though > CONFIG_PPC4XX_DMA is included in the .config but the asm/ppc4xx_dma.h > includes CONF

[PATCH] ppc4xx_sgdma.c

2005-02-28 Thread Roger Larsson
* Dynamic list length 1. short lists will not waste a whole page 2. no limit in list length * End of Transfer termination * Residue corrected Working with hardware (some tests remaining) /RogerL -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs