* Re: Xilinx PowerPC
From: David H. Lynch Jr. @ 2008-04-23 21:43 UTC (permalink / raw)
To: Yoshio Kashiwagi; +Cc: linuxppc-embedded
In-Reply-To: <JM200804230904046.2598203@co-nss.co.jp>
Thanks alot.
On quick review this looks great. I will see if I can get it working for
me this weekend.
Yoshio Kashiwagi wrote:
> Hi,
>
> I am writing the Non-Xilinx XPS_LL_TEMAC driver.
> Checksum offloading is incomplete although NAPI and KGDBOE are supported.
> Basic operation is working on EDK9.2 and EDK10.1.
>
> Furthermore, although the simple Non-Interrupt version for u-boot is
> also written, it is not known where I should post.
>
> Best Regards,
>
> Yoshio Kashiwagi - Nissin Systems
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
^ permalink raw reply
* Re: Xilinx PowerPC
From: David H. Lynch Jr. @ 2008-04-23 21:37 UTC (permalink / raw)
To: Koss, Mike (Mission Systems); +Cc: linuxppc-embedded
In-Reply-To: <EDAE140DF1B2FC42B5867C22CA0B333F0A5A42@XMBIL132.northgrum.com>
I would be ecstatic to look at/collaborate on what you have.
I do not care if you clean it up. It can not be harder to work with than
my own code or the Xilinx code.
In the end I need Linux, GreenHills, as well as a lightweight stripped
driver for a monitor and embedded mini-web server.
I have all the above for the older PLB TEMAC in FIFO mode, but we are
moving to the LL TEMAC.
I started through the xilinx code and rapidly remembered how long it
took to demacrofy the xilinx PLB TEMAC code down to a single source file
with only
the code actually needed, and got depressed.
This is critical to us now, so I can put time into it.
If I can figure out how to bring up a git server on my hosting service I
am willing to host work on this -
though one of the existing trees might be a better choice.
Koss, Mike (Mission Systems) wrote:
> I have the start of a lltemac based on the new XPS_LL_TEMAC from EDK
> 9.2. I'm currently in the process of upgrading my design to 9.2. So I
> will be very much interested in the driver working ;).
>
> I'll see what I can get cleaned up and posted somewhere, if you'd like
> to take a look at it.
>
> -- Mike
>
> (sorry for the double post, if it happens but it seems that my last
> e-mail was blank per my records.)
>
> -----Original Message-----
> From: David H. Lynch Jr. [mailto:dhlii@dlasys.net]
> Sent: Sunday, April 20, 2008 7:49 PM
> To: Grant Likely
> Cc: linuxppc-embedded
> Subject: Re: Xilinx PowerPC
>
> Thanks,
>
> I have alot of work to do on our stuff, I might as well see if I can
> move to the powerpc tree at the same time.
>
> BTW is there even the beginings of a non-xilinx lltemac driver out
> there ? There were hints on the list, but I have not seen anything.
>
> I would be happy to help advance the ball on anything anyone has
> started.
>
>
>
> Grant Likely wrote:
>
>> On Sun, Apr 20, 2008 at 2:31 PM, David H. Lynch Jr. <dhlii@dlasys.net>
>>
> wrote:
>
>>
>>
>>> Thanks.
>>>
>>> I am running linus's 2.6.25-rc9, but I can pull the Xilinx tree
>>> or yours - when your server is up.
>>>
>>> I can not find any Xilinx powerpc configs in arch/powerpc/config
>>> Do I just need to do a
>>> make ARCH=powerpc menuconfig and create one from scratch ?
>>>
>>>
>> That's right; I haven't merged any defconfigs. Roll your own.
>>
>>
>>
>>> Is simpleboot in your tree or the xilinx tree, if can not find
>>> it in Linus's ?
>>>
>>>
>> If you want to use the "simpleboot" wrapper; then you'll need to pull
>> paulus' tree (Linus hasn't yet pulled his tree; but he probably will
>> any moment now).
>>
>> Cheers,
>> g.
>>
>>
>>
>
>
>
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
^ permalink raw reply
* [PATCH 1/2] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe()
From: Roel Kluin @ 2008-04-23 20:55 UTC (permalink / raw)
To: galak, linuxppc-dev; +Cc: spi-devel-general, dbrownell, lkml
mpc83xx_spi->irq is unsigned, so the test fails
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c
index be15a62..033fd51 100644
--- a/drivers/spi/spi_mpc83xx.c
+++ b/drivers/spi/spi_mpc83xx.c
@@ -454,12 +454,12 @@ static int __init mpc83xx_spi_probe(struct platform_device *dev)
goto put_master;
}
- mpc83xx_spi->irq = platform_get_irq(dev, 0);
-
- if (mpc83xx_spi->irq < 0) {
- ret = -ENXIO;
+ ret = platform_get_irq(dev, 0);
+ if (ret < 0)
goto unmap_io;
- }
+
+ mpc83xx_spi->irq = ret;
+ ret = 0;
/* Register for SPI Interrupt */
ret = request_irq(mpc83xx_spi->irq, mpc83xx_spi_irq,
^ permalink raw reply related
* Re: [PATCH] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe()
From: Kumar Gala @ 2008-04-23 20:39 UTC (permalink / raw)
To: Roel Kluin; +Cc: linuxppc-dev@ozlabs.org list, lkml, spi-devel-general
In-Reply-To: <480F99D5.7070300@tiscali.nl>
On Apr 23, 2008, at 3:19 PM, Roel Kluin wrote:
> mpc83xx_spi->irq is unsigned, so the test fails
>
> Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
you should copy the linux-spi list on such patches.
- k
>
> ---
> diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c
> index be15a62..033fd51 100644
> --- a/drivers/spi/spi_mpc83xx.c
> +++ b/drivers/spi/spi_mpc83xx.c
> @@ -454,12 +454,12 @@ static int __init mpc83xx_spi_probe(struct
> platform_device *dev)
> goto put_master;
> }
>
> - mpc83xx_spi->irq = platform_get_irq(dev, 0);
> -
> - if (mpc83xx_spi->irq < 0) {
> - ret = -ENXIO;
> + ret = platform_get_irq(dev, 0);
> + if (ret < 0)
> goto unmap_io;
> - }
> +
> + mpc83xx_spi->irq = ret;
> + ret = 0;
>
> /* Register for SPI Interrupt */
> ret = request_irq(mpc83xx_spi->irq, mpc83xx_spi_irq,
^ permalink raw reply
* [PATCH] [POWERPC] Cleanup asm-offset.c
From: Kumar Gala @ 2008-04-23 20:33 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
* Removed TI_EXECDOMAIN define as its not used anywhere
* Use STACK_INT_FRAME_SIZE to allow common define of INT_FRAME_SIZE
* Define TI_CPU on both ppc32 & ppc64 (removes an ifdef).
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
arch/powerpc/kernel/asm-offsets.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 292c6d8..adf1d09 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -93,10 +93,7 @@ int main(void)
DEFINE(TI_LOCAL_FLAGS, offsetof(struct thread_info, local_flags));
DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count));
DEFINE(TI_TASK, offsetof(struct thread_info, task));
-#ifdef CONFIG_PPC32
- DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain));
DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
-#endif /* CONFIG_PPC32 */
#ifdef CONFIG_PPC64
DEFINE(DCACHEL1LINESIZE, offsetof(struct ppc64_caches, dline_size));
@@ -165,13 +162,9 @@ int main(void)
/* Interrupt register frame */
DEFINE(STACK_FRAME_OVERHEAD, STACK_FRAME_OVERHEAD);
-#ifndef CONFIG_PPC64
- DEFINE(INT_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs));
-#else /* CONFIG_PPC64 */
+ DEFINE(INT_FRAME_SIZE, STACK_INT_FRAME_SIZE);
+#ifdef CONFIG_PPC64
DEFINE(SWITCH_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs));
- /* 288 = # of volatile regs, int & fp, for leaf routines */
- /* which do not stack a frame. See the PPC64 ABI. */
- DEFINE(INT_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs) + 288);
/* Create extra stack space for SRR0 and SRR1 when calling prom/rtas. */
DEFINE(PROM_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs) + 16);
DEFINE(RTAS_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs) + 16);
--
1.5.4.1
^ permalink raw reply related
* [PATCH] [POWERPC] Clean up access to thread_info in assembly
From: Kumar Gala @ 2008-04-23 20:29 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
Use (31-THREAD_SHIFT) to get to thread_info from stack pointer. This makes
the code a bit easier to read and more robust if we ever change THREAD_SHIFT.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
arch/powerpc/kernel/misc_32.S | 6 +++---
arch/powerpc/mm/hash_low_32.S | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index 9d2c566..92ccc6f 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -152,7 +152,7 @@ _GLOBAL(low_choose_750fx_pll)
mtspr SPRN_HID1,r4
/* Store new HID1 image */
- rlwinm r6,r1,0,0,18
+ rlwinm r6,r1,0,0,(31-THREAD_SHIFT)
lwz r6,TI_CPU(r6)
slwi r6,r6,2
addis r6,r6,nap_save_hid1@ha
@@ -281,7 +281,7 @@ _GLOBAL(_tlbia)
#endif /* CONFIG_SMP */
#else /* !(CONFIG_40x || CONFIG_44x || CONFIG_FSL_BOOKE) */
#if defined(CONFIG_SMP)
- rlwinm r8,r1,0,0,18
+ rlwinm r8,r1,0,0,(31-THREAD_SHIFT)
lwz r8,TI_CPU(r8)
oris r8,r8,10
mfmsr r10
@@ -377,7 +377,7 @@ _GLOBAL(_tlbie)
#endif /* CONFIG_SMP */
#else /* !(CONFIG_40x || CONFIG_44x || CONFIG_FSL_BOOKE) */
#if defined(CONFIG_SMP)
- rlwinm r8,r1,0,0,18
+ rlwinm r8,r1,0,0,(31-THREAD_SHIFT)
lwz r8,TI_CPU(r8)
oris r8,r8,11
mfmsr r10
diff --git a/arch/powerpc/mm/hash_low_32.S b/arch/powerpc/mm/hash_low_32.S
index e10d76a..ddeaf9e 100644
--- a/arch/powerpc/mm/hash_low_32.S
+++ b/arch/powerpc/mm/hash_low_32.S
@@ -191,7 +191,7 @@ _GLOBAL(add_hash_page)
add r3,r3,r0 /* note create_hpte trims to 24 bits */
#ifdef CONFIG_SMP
- rlwinm r8,r1,0,0,18 /* use cpu number to make tag */
+ rlwinm r8,r1,0,0,(31-THREAD_SHIFT) /* use cpu number to make tag */
lwz r8,TI_CPU(r8) /* to go in mmu_hash_lock */
oris r8,r8,12
#endif /* CONFIG_SMP */
@@ -526,7 +526,7 @@ _GLOBAL(flush_hash_pages)
#ifdef CONFIG_SMP
addis r9,r7,mmu_hash_lock@ha
addi r9,r9,mmu_hash_lock@l
- rlwinm r8,r1,0,0,18
+ rlwinm r8,r1,0,0,(31-THREAD_SHIFT)
add r8,r8,r7
lwz r8,TI_CPU(r8)
oris r8,r8,9
--
1.5.4.1
^ permalink raw reply related
* [PATCH] spi_mpc83xx: test below 0 on unsigned irq in mpc83xx_spi_probe()
From: Roel Kluin @ 2008-04-23 20:19 UTC (permalink / raw)
To: galak, linuxppc-dev; +Cc: lkml
mpc83xx_spi->irq is unsigned, so the test fails
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c
index be15a62..033fd51 100644
--- a/drivers/spi/spi_mpc83xx.c
+++ b/drivers/spi/spi_mpc83xx.c
@@ -454,12 +454,12 @@ static int __init mpc83xx_spi_probe(struct platform_device *dev)
goto put_master;
}
- mpc83xx_spi->irq = platform_get_irq(dev, 0);
-
- if (mpc83xx_spi->irq < 0) {
- ret = -ENXIO;
+ ret = platform_get_irq(dev, 0);
+ if (ret < 0)
goto unmap_io;
- }
+
+ mpc83xx_spi->irq = ret;
+ ret = 0;
/* Register for SPI Interrupt */
ret = request_irq(mpc83xx_spi->irq, mpc83xx_spi_irq,
^ permalink raw reply related
* Re: simpleboot
From: David H. Lynch Jr. @ 2008-04-23 19:43 UTC (permalink / raw)
To: Grant Likely, linuxppc-embedded
In-Reply-To: <fa686aa40804231149j344a4cc5iaf15ac12828146f7@mail.gmail.com>
Grant Likely wrote:
> make simpleImage.<boardname>
> - or -
> make simpleImage.initrd.<boardname>
>
> The makefile will use arch/powerpc/boot/dts/<boardname>.dts for the device tree.
Thanks, I suspected most of that. But I have not see simpleboot in
Linus's tree yet,
so I have to back port the patch from the paulus tree and that makes
it harder to just try it.
I am correct in assuming that if I have my .config otherwise
properly setup for initramfs that
it is going to merge the kernel, dts, and initramfs into a single
image ?
and is initramfs the plain or initrd target the correct one for
initramfs ?
--
Dave Lynch Pico Computing, Inc.
Software Development Embedded Linux
717.627.3770 dhlii@picocomputing.net http://www.picocomputing.com
fax: 1.253.369.9244 Cell: 1.717.587.7774
Tiny Mighty Machines
^ permalink raw reply
* Re: simpleboot
From: Grant Likely @ 2008-04-23 19:48 UTC (permalink / raw)
To: David H. Lynch Jr.; +Cc: linuxppc-embedded
In-Reply-To: <480F917F.8040809@picocomputing.net>
On Wed, Apr 23, 2008 at 1:43 PM, David H. Lynch Jr.
<dhlii@picocomputing.net> wrote:
> Grant Likely wrote:
> > make simpleImage.<boardname>
> > - or -
> > make simpleImage.initrd.<boardname>
> >
> > The makefile will use arch/powerpc/boot/dts/<boardname>.dts for the device tree.
> Thanks, I suspected most of that. But I have not see simpleboot in
> Linus's tree yet,
> so I have to back port the patch from the paulus tree and that makes
> it harder to just try it.
>
> I am correct in assuming that if I have my .config otherwise
> properly setup for initramfs that
> it is going to merge the kernel, dts, and initramfs into a single
> image ?
Yes, the dtb and ramdisk images are just put into the wrapper image.
There are no .config values that manipulate the wrapping operation.
>
> and is initramfs the plain or initrd target the correct one for
> initramfs ?
Its whatever kind of image you pass it.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply
* [PATCH 2/2] mpic_u3msi: mpic_u3msi: failed allocation unnoticed
From: Roel Kluin @ 2008-04-23 19:00 UTC (permalink / raw)
To: paulus, linuxppc-dev; +Cc: lkml
In-Reply-To: <480F6905.3070808@tiscali.nl>
A similar problem in arch/powerpc/sysdev/mpic_u3msi.c,
sorry for the dup, fixed header.
---
bitmap_find_free_region(), called by mpic_msi_alloc_hwirqs() may
return -ENOMEM, but hwirq of type irq_hw_number_t which is unsigned.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
The functions can be found respectively in:
//---[ vi lib/bitmap.c +807 ]---
//---[ vi arch/powerpc/sysdev/mpic_msi.c +39 ]---
diff --git a/arch/powerpc/sysdev/mpic_u3msi.c b/arch/powerpc/sysdev/mpic_u3msi.c
index 1d5a408..30a4e27 100644
--- a/arch/powerpc/sysdev/mpic_u3msi.c
+++ b/arch/powerpc/sysdev/mpic_u3msi.c
@@ -122,7 +122,7 @@ static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
list_for_each_entry(entry, &pdev->msi_list, list) {
hwirq = mpic_msi_alloc_hwirqs(msi_mpic, 1);
- if (hwirq < 0) {
+ if (hwirq == -ENOMEM) {
pr_debug("u3msi: failed allocating hwirq\n");
return hwirq;
}
^ permalink raw reply related
* Re: XLlTemac soft lockup BUG
From: John Bonesio @ 2008-04-23 18:45 UTC (permalink / raw)
To: khollan; +Cc: linuxppc-embedded
In-Reply-To: <16834738.post@talk.nabble.com>
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]
Hi Kevin,
When the system locks up, does it get stuck in the FifoRecvHandler()
routine?
How many bytes are returned from XLlFifo_RxGetLen(&lp->Fifo) in that
routine?
You can try calling XLlFifo_Reset(&lp->Fifo); to see if that clears the
fifo. Though, I suspect that this wont fix the root cause of the problem
you're seeing.
- John
On Wed, 2008-04-23 at 11:09 -0700, khollan wrote:
> Hi,
>
> I have done some more digging and it seems like whenever the system works
> the command XLlFifo_IsRxEmpty(&lp->Fifo)) returns a 1 meaning that the
> RxFifo is empty. I stuck this test in the xenet_open function right before
> the fifo interupt gets enabled.
>
> When ever this test comes back as 0 the ifconfig will get into the soft
> lockup I described above.
>
> Is there a function that empties out the fifo, I tried XLlFifo_RxReset but
> that doesn't seem to work.
>
> Thanks
>
> Kevin
[-- Attachment #2: Type: text/html, Size: 1616 bytes --]
^ permalink raw reply
* Re: simpleboot
From: Grant Likely @ 2008-04-23 18:49 UTC (permalink / raw)
To: David H. Lynch Jr.; +Cc: linuxppc-embedded
In-Reply-To: <480F8148.8090906@picocomputing.net>
On Wed, Apr 23, 2008 at 12:34 PM, David H. Lynch Jr.
<dhlii@picocomputing.net> wrote:
> I am trying to decipher hot to use the simpleboot devicetree wrapper
> and I am not grasping the process.
>
> I need an initramfs kernel, inside an elf wrapper.
> right now I get that pretty much for free.
>
> How do ask for a simpleboot wrapper kernel ?
> It is a target for a makefile in arch/powerpc/boot how to I cause
> that target to get invoked
>
> How does it choose the device tree to wrap ?
>
> How does it interact with things like initramfs ?
make simpleImage.<boardname>
- or -
make simpleImage.initrd.<boardname>
The makefile will use arch/powerpc/boot/dts/<boardname>.dts for the device tree.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply
* simpleboot
From: David H. Lynch Jr. @ 2008-04-23 18:34 UTC (permalink / raw)
To: linuxppc-embedded
I am trying to decipher hot to use the simpleboot devicetree wrapper
and I am not grasping the process.
I need an initramfs kernel, inside an elf wrapper.
right now I get that pretty much for free.
How do ask for a simpleboot wrapper kernel ?
It is a target for a makefile in arch/powerpc/boot how to I cause
that target to get invoked
How does it choose the device tree to wrap ?
How does it interact with things like initramfs ?
--
Dave Lynch Pico Computing, Inc.
Software Development Embedded Linux
717.627.3770 dhlii@picocomputing.net http://www.picocomputing.com
fax: 1.253.369.9244 Cell: 1.717.587.7774
Tiny Mighty Machines
^ permalink raw reply
* Re: Fwd: SecretLab 2.6.24 with USB
From: Peter Korsgaard @ 2008-04-23 18:27 UTC (permalink / raw)
To: Sam Karp; +Cc: linuxppc-embedded
In-Reply-To: <800687fe0804231047k46d1310as9f37de3a5bbbf259@mail.gmail.com>
>>>>> "Sam" == Sam Karp <sam.d.karp@gmail.com> writes:
Hi,
Sam> [ 77.688344] sd 0:0:0:0: [sda] 15584 512-byte hardware sectors (8 MB)
Sam> [ 77.770266] sd 0:0:0:0: [sda] Write Protect is off
Sam> [ 77.827242] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sam> [ 77.919287] sd 0:0:0:0: [sda] 15584 512-byte hardware sectors (8 MB)
Sam> [ 78.001280] sd 0:0:0:0: [sda] Write Protect is off
Sam> [ 78.058131] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sam> [ 78.131034] sda:<7>usb-storage: queuecommand called
Sam> [ 78.201342] sda1
Sam> [ 78.230344] sd 0:0:0:0: [sda] Attached SCSI removable disk
Sam> [ 78.298014] sd 0:0:0:0: Attached scsi generic sg0 type 0
Looks good.
Sam> ls /dev/sd*
Sam> ls: /dev/sd*: No such file or directory
Do you use mdev/udev? If not, you'll have to create the device nodes
yourself.
--
Bye, Peter Korsgaard
^ permalink raw reply
* Re: [PATCH] powerpc: Don't play type punning games with lock_token
From: Segher Boessenkool @ 2008-04-23 18:27 UTC (permalink / raw)
To: linuxppc-dev list
In-Reply-To: <2fcdb6beb2e205a397a1928c2c2c4b1e3360b09e.1208962154.git.segher@kernel.crashing.org>
> The two u16 fields lock_token and paca_index in struct paca_struct are
> accessed as one u32 field via type punning. Change this into one u32
> field paca_id, and add a paca_get_index() function to access only the
> low 16 bits of this.
>
> Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
> ---
> arch/powerpc/kernel/asm-offsets.c | 2 +-
> arch/powerpc/kernel/paca.c | 3 +--
> arch/powerpc/platforms/iseries/exception.S | 2 +-
> include/asm-powerpc/iseries/hv_call.h | 2 +-
> include/asm-powerpc/paca.h | 18 ++++++++++++------
> include/asm-powerpc/smp.h | 2 +-
> include/asm-powerpc/spinlock.h | 2 +-
> 7 files changed, 18 insertions(+), 13 deletions(-)
It doesn't apply cleanly anymore, will redo once the dust settles
a bit.
Segher
^ permalink raw reply
* Re: [i2c] platform_data when using of?
From: Jochen Friedrich @ 2008-04-23 18:20 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linuxppc-dev list, i2c
In-Reply-To: <20080423164523.GA4190@pengutronix.de>
Hi Wolfram,
> Hello,
>
> I finally could get the work started with I2C on a MPC8260-based
> platform. I applied Jochen's series on top of 2.6.25 and it seems I
> could get the i2c-cpm and the rtc-rs5c372 driver working (except that it
> doesn't autoload as a module, but I think this is my fault somewhere).
> I have not checked all yet, but at least some reasonable things do happen.
>
> I now wanted to test the latest at24-driver on top of that and stumbled
> over the fact, that I can't directly add platform_data to the dts-file.
> (As at24 shall be a generic driver, data about the eeprom type needs to
> be provided.) If I understood of correctly, I need to create another
> child node and put all necessary data in there (what also means one
> cannot use the predefined macros for known chips in at24.h). After that
> I use of_get_property and collect the data.
>
> So, at the end, every driver using platform_data has to cope with two
> mechanisms to get the desired data? This sounds questionable to me, but
> maybe I just got something wrong as this is my first contact with of.
>
> Kind regards,
>
> Wolfram
You should probably send this question to the Powerpc list (added to cc)
Thanks,
Jochen
^ permalink raw reply
* Re: XLlTemac soft lockup BUG
From: khollan @ 2008-04-23 18:09 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <20080416225949.92427BD8076@mail18-sin.bigfish.com>
Hi,
I have done some more digging and it seems like whenever the system works
the command XLlFifo_IsRxEmpty(&lp->Fifo)) returns a 1 meaning that the
RxFifo is empty. I stuck this test in the xenet_open function right before
the fifo interupt gets enabled.
When ever this test comes back as 0 the ifconfig will get into the soft
lockup I described above.
Is there a function that empties out the fifo, I tried XLlFifo_RxReset but
that doesn't seem to work.
Thanks
Kevin
--
View this message in context: http://www.nabble.com/XLlTemac--soft-lockup-BUG-tp16711066p16834738.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply
* Fwd: SecretLab 2.6.24 with USB
From: Sam Karp @ 2008-04-23 17:47 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <800687fe0804231007l5fdf664fn1d94a1e40dd7fe74@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 18788 bytes --]
---------- Forwarded message ----------
From: Sam Karp <sam.d.karp@gmail.com>
Date: Wed, 23 Apr 2008 11:07:50 -0600
Subject: Re: SecretLab 2.6.24 with USB
To: Henrik Larson <henka@henka.dyndns.org>
I've been working on a similar tasks and I've gotten to the point where I
the driver is registered but the dev/sd* never appears...
Here is my boot record
0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 16384
[ 0.000000] Normal 16384 -> 16384
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 16384
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,9600 ip=on root=/dev/ram
rw
[ 0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000291] Console: colour dummy device 80x25
[ 0.000834] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.002261] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.024384] Memory: 57824k available (2140k kernel code, 676k data, 116k
init, 0k highmem)
[ 0.109229] Mount-cache hash table entries: 512
[ 0.115828] net_namespace: 64 bytes
[ 0.127629] NET: Registered protocol family 16
[ 0.161368] SCSI subsystem initialized
[ 0.164286] usbcore: registered new interface driver usbfs
[ 0.166272] usbcore: registered new interface driver hub
[ 0.167635] usbcore: registered new device driver usb
[ 0.191313] NET: Registered protocol family 2
[ 0.225573] IP route cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.232430] TCP established hash table entries: 2048 (order: 2, 16384
bytes)
[ 0.232957] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.233313] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.233392] TCP reno registered
[ 0.246425] checking if image is initramfs...it isn't (no cpio magic);
looks like an initrd
[ 6.697539] Freeing initrd memory: 4139k freed
[ 6.710934] NTFS driver 2.1.29 [Flags: R/W DEBUG].
[ 6.712392] io scheduler noop registered
[ 6.712477] io scheduler anticipatory registered (default)
[ 6.712556] io scheduler deadline registered
[ 6.712866] io scheduler cfq registered
[ 6.785910] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing disabled
[ 6.794247] serial8250.0: ttyS0 at MMIO 0xa0001003 (irq = 1) is a 16450
[ 6.794383] console [ttyS0] enabled
[ 9.360220] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024
blocksize
[ 9.451567] usbcore: registered new interface driver ub
[ 9.513799] tun: Universal TUN/TAP device driver, 1.6
[ 9.574089] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 9.652324] st: Version 20070203, fixed bufsize 32768, s/g segs 256
[ 9.727853] Driver 'st' needs updating - please use bus_type methods
[ 9.804619] osst :I: Tape driver with OnStream support version 0.99.4
[ 9.804687] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[ 9.962812] Driver 'osst' needs updating - please use bus_type methods
[ 10.042450] Driver 'sd' needs updating - please use bus_type methods
[ 10.119058] Driver 'sr' needs updating - please use bus_type methods
[ 10.196759] SCSI Media Changer driver v0.25
[ 10.248311] Driver 'ch' needs updating - please use bus_type methods
[ 10.326499] c67x00 c67x00.0: Cypress C67X00 Host Controller
[ 10.394304] c67x00 c67x00.0: new USB bus registered, assigned bus number
1
[ 10.481219] usb usb1: configuration #1 chosen from 1 choice
[ 10.549168] hub 1-0:1.0: USB hub found
[ 10.593456] hub 1-0:1.0: 2 ports detected
[ 10.747294] usb usb1: Product: Cypress C67X00 Host Controller
[ 10.815603] usb usb1: Manufacturer: Linux 2.6.24.4 c67x00-hcd
[ 10.884341] usb usb1: SerialNumber: c67x00_sie
[ 10.937452] udc requested but CONFIG_USB_GADGET_C67X00 not enabled!
[ 11.013687] usbcore: registered new interface driver usblp
[ 11.078909] Initializing USB Mass Storage driver...
[ 11.138123] usbcore: registered new interface driver usb-storage
[ 11.209648] USB Mass Storage support registered.
[ 11.265696] usbcore: registered new interface driver libusual
[ 11.335071] usbcore: registered new interface driver cypress_cy7c63
[ 11.410772] i8042.c: No controller found.
[ 11.459066] mice: PS/2 mouse device common for all mice
[ 11.523064] usbcore: registered new interface driver usbhid
[ 11.589463] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 11.664712] TCP cubic registered
[ 11.702904] NET: Registered protocol family 1
[ 11.755062] NET: Registered protocol family 17
[ 12.313654] IP-Config: No network devices available.
[ 12.374243] RAMDISK: Compressed image found at block 0
[ 19.569218] EXT2-fs warning: mounting unchecked fs, running e2fsck is
recommended
[ 19.658681] VFS: Mounted root (ext2 filesystem).
[ 19.714175] Freeing unused kernel memory: 116k init
INIT: version 2.78 booting
Activating swap...
mount: you must specify the filesystem type
Mounting local filesystems...
nothing was mounted
Starting portmap daemon\: portmap.
INIT: Entering runlevel: 3
and when I plug in my USB drive I get this...
# [ 72.112234] usb 1-1: new full speed USB device using c67x00 and address
2
[ 72.402860] usb 1-1: configuration #1 chosen from 1 choice
[ 72.474140] scsi0 : SCSI emulation for USB Mass Storage devices
[ 72.551588] usb 1-1: Product: DiskOnKey
[ 72.596938] usb 1-1: Manufacturer: M-Systems
[ 72.647914] usb 1-1: SerialNumber: 021120102300F3EA
[ 77.554538] scsi 0:0:0:0: Direct-Access M-Sys DiskOnKey
2.51 PQ: 0 ANSI: 0 CCS
[ 77.688344] sd 0:0:0:0: [sda] 15584 512-byte hardware sectors (8 MB)
[ 77.770266] sd 0:0:0:0: [sda] Write Protect is off
[ 77.827242] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 77.919287] sd 0:0:0:0: [sda] 15584 512-byte hardware sectors (8 MB)
[ 78.001280] sd 0:0:0:0: [sda] Write Protect is off
[ 78.058131] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 78.131034] sda:<7>usb-storage: queuecommand called
[ 78.201342] sda1
[ 78.230344] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 78.298014] sd 0:0:0:0: Attached scsi generic sg0 type 0
ls /dev/sd*
ls: /dev/sd*: No such file or directory
***the dmesg output is this...
dmesg
_bulk_transfer_buf: xfer 31 bytes
[ 77.902642] usb-storage: Status code 0; transferred 31/31
[ 77.902722] usb-storage: -- transfer complete
[ 77.902788] usb-storage: Bulk command transfer result=0
[ 77.902858] usb-storage: Attempting to get CSW...
[ 77.902933] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 77.904635] usb-storage: Status code 0; transferred 13/13
[ 77.904716] usb-storage: -- transfer complete
[ 77.904781] usb-storage: Bulk status result = 0
[ 77.904861] usb-storage: Bulk Status S 0x53425355 T 0x7 R 0 Stat 0x0
[ 77.904951] usb-storage: scsi cmd done, result=0x0
[ 77.905044] usb-storage: *** thread sleeping.
[ 77.905327] usb-storage: queuecommand called
[ 77.905471] usb-storage: *** thread awakened.
[ 77.905563] usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
[ 77.905635] usb-storage: 1e 00 00 00 01 00
[ 77.905777] usb-storage: Bulk Command S 0x43425355 T 0x8 L 0 F 0 Trg 0
LUN 0 CL 6
[ 77.905875] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 77.906641] usb-storage: Status code 0; transferred 31/31
[ 77.906721] usb-storage: -- transfer complete
[ 77.906787] usb-storage: Bulk command transfer result=0
[ 77.906857] usb-storage: Attempting to get CSW...
[ 77.906931] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 77.908636] usb-storage: Status code 0; transferred 13/13
[ 77.908716] usb-storage: -- transfer complete
[ 77.908781] usb-storage: Bulk status result = 0
[ 77.908861] usb-storage: Bulk Status S 0x53425355 T 0x8 R 0 Stat 0x0
[ 77.908950] usb-storage: scsi cmd done, result=0x0
[ 77.909042] usb-storage: *** thread sleeping.
[ 77.909362] usb-storage: queuecommand called
[ 77.909511] usb-storage: *** thread awakened.
[ 77.909602] usb-storage: Command TEST_UNIT_READY (6 bytes)
[ 77.909669] usb-storage: 00 00 00 00 00 00
[ 77.909811] usb-storage: Bulk Command S 0x43425355 T 0x9 L 0 F 0 Trg 0
LUN 0 CL 6
[ 77.909909] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 77.910642] usb-storage: Status code 0; transferred 31/31
[ 77.910722] usb-storage: -- transfer complete
[ 77.910788] usb-storage: Bulk command transfer result=0
[ 77.910857] usb-storage: Attempting to get CSW...
[ 77.910932] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 77.912635] usb-storage: Status code 0; transferred 13/13
[ 77.912716] usb-storage: -- transfer complete
[ 77.912781] usb-storage: Bulk status result = 0
[ 77.912861] usb-storage: Bulk Status S 0x53425355 T 0x9 R 0 Stat 0x0
[ 77.912950] usb-storage: scsi cmd done, result=0x0
[ 77.913042] usb-storage: *** thread sleeping.
[ 77.913355] usb-storage: queuecommand called
[ 77.913502] usb-storage: *** thread awakened.
[ 77.913593] usb-storage: Command READ_CAPACITY (10 bytes)
[ 77.913661] usb-storage: 25 00 00 00 00 00 00 00 00 00
[ 77.913843] usb-storage: Bulk Command S 0x43425355 T 0xa L 8 F 128 Trg 0
LUN 0 CL 10
[ 77.913943] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 77.914642] usb-storage: Status code 0; transferred 31/31
[ 77.914722] usb-storage: -- transfer complete
[ 77.914788] usb-storage: Bulk command transfer result=0
[ 77.914875] usb-storage: usb_stor_bulk_transfer_sglist: xfer 8 bytes, 1
entries
[ 77.916638] usb-storage: Status code 0; transferred 8/8
[ 77.916719] usb-storage: -- transfer complete
[ 77.916786] usb-storage: Bulk data transfer result 0x0
[ 77.916854] usb-storage: Attempting to get CSW...
[ 77.916929] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 77.918633] usb-storage: Status code 0; transferred 13/13
[ 77.918712] usb-storage: -- transfer complete
[ 77.918777] usb-storage: Bulk status result = 0
[ 77.918857] usb-storage: Bulk Status S 0x53425355 T 0xa R 0 Stat 0x0
[ 77.918946] usb-storage: scsi cmd done, result=0x0
[ 77.919037] usb-storage: *** thread sleeping.
[ 77.919287] sd 0:0:0:0: [sda] 15584 512-byte hardware sectors (8 MB)
[ 77.995005] usb-storage: queuecommand called
[ 77.995155] usb-storage: *** thread awakened.
[ 77.995246] usb-storage: Command MODE_SENSE (6 bytes)
[ 77.995310] usb-storage: 1a 00 3f 00 c0 00
[ 77.995456] usb-storage: Bulk Command S 0x43425355 T 0xb L 192 F 128 Trg
0 LUN 0 CL 6
[ 77.995557] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 77.996652] usb-storage: Status code 0; transferred 31/31
[ 77.996734] usb-storage: -- transfer complete
[ 77.996799] usb-storage: Bulk command transfer result=0
[ 77.996887] usb-storage: usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1
entries
[ 77.998650] usb-storage: Status code -121; transferred 8/192
[ 77.998733] usb-storage: -- short read transfer
[ 77.998803] usb-storage: Bulk data transfer result 0x1
[ 77.998871] usb-storage: Attempting to get CSW...
[ 77.998946] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 78.000644] usb-storage: Status code 0; transferred 13/13
[ 78.000723] usb-storage: -- transfer complete
[ 78.000787] usb-storage: Bulk status result = 0
[ 78.000867] usb-storage: Bulk Status S 0x53425355 T 0xb R 184 Stat 0x0
[ 78.000958] usb-storage: scsi cmd done, result=0x0
[ 78.001049] usb-storage: *** thread sleeping.
[ 78.001280] sd 0:0:0:0: [sda] Write Protect is off
[ 78.058047] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08
[ 78.058131] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 78.131034] sda:<7>usb-storage: queuecommand called
[ 78.190334] usb-storage: *** thread awakened.
[ 78.190437] usb-storage: Command READ_10 (10 bytes)
[ 78.190500] usb-storage: 28 00 00 00 00 00 00 00 08 00
[ 78.190687] usb-storage: Bulk Command S 0x43425355 T 0xc L 4096 F 128 Trg
0 LUN 0 CL 10
[ 78.190789] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 78.191664] usb-storage: Status code 0; transferred 31/31
[ 78.191744] usb-storage: -- transfer complete
[ 78.191810] usb-storage: Bulk command transfer result=0
[ 78.191898] usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes,
1 entries
[ 78.199333] usb-storage: Status code 0; transferred 4096/4096
[ 78.199419] usb-storage: -- transfer complete
[ 78.199486] usb-storage: Bulk data transfer result 0x0
[ 78.199555] usb-storage: Attempting to get CSW...
[ 78.199630] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 78.200658] usb-storage: Status code 0; transferred 13/13
[ 78.200739] usb-storage: -- transfer complete
[ 78.200804] usb-storage: Bulk status result = 0
[ 78.200884] usb-storage: Bulk Status S 0x53425355 T 0xc R 0 Stat 0x0
[ 78.200974] usb-storage: scsi cmd done, result=0x0
[ 78.201068] usb-storage: *** thread sleeping.
[ 78.201342] sda1
[ 78.224012] usb-storage: queuecommand called
[ 78.224231] usb-storage: *** thread awakened.
[ 78.224328] usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
[ 78.224400] usb-storage: 1e 00 00 00 00 00
[ 78.224544] usb-storage: Bulk Command S 0x43425355 T 0xd L 0 F 0 Trg 0
LUN 0 CL 6
[ 78.224642] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[ 78.225666] usb-storage: Status code 0; transferred 31/31
[ 78.225746] usb-storage: -- transfer complete
[ 78.225812] usb-storage: Bulk command transfer result=0
[ 78.225882] usb-storage: Attempting to get CSW...
[ 78.225956] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[ 78.227656] usb-storage: Status code 0; transferred 13/13
[ 78.227735] usb-storage: -- transfer complete
[ 78.227800] usb-storage: Bulk status result = 0
[ 78.227880] usb-storage: Bulk Status S 0x53425355 T 0xd R 0 Stat 0x0
[ 78.227969] usb-storage: scsi cmd done, result=0x0
[ 78.228172] usb-storage: *** thread sleeping.
[ 78.230344] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 78.298014] sd 0:0:0:0: Attached scsi generic sg0 type 0
I feel like I might be missing something in my config file but I'm not
positive? Any ideas?
-Thanks
-Sam
On Wed, Apr 23, 2008 at 9:41 AM, Henrik Larson <henka@henka.dyndns.org>
wrote:
>
> Allt som har med skatter är per definition inte logiskt!
>
>
>
>
> On Wed, 23 Apr 2008, Peter Korsgaard wrote:
>
> "Aaron" == Aaron Sells <aaron.sells@zin-tech.com> writes:
> > > > > > >
> > > > > >
> > Hi,
> >
> > Aaron> root@xilinx-ml403:/# dmesg | grep -i usb
> > Aaron> [ 0.175963] usbcore: registered new interface driver usbfs
> > Aaron> [ 0.178207] usbcore: registered new interface driver hub
> > Aaron> [ 0.179810] usbcore: registered new device driver usb
> > Aaron> [ 3.426016] usbcore: registered new interface driver ub
> > Aaron> [ 4.156086] usbmon: debugfs is not available
> > Aaron> [ 4.209160] Initializing USB Mass Storage driver...
> > Aaron> [ 4.268302] usbcore: registered new interface driver
> > usb-storage
> > Aaron> [ 4.336109] USB Mass Storage support registered.
> > Aaron> [ 4.958294] usbcore: registered new interface driver usbhid
> > Aaron> [ 5.020120] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core
> > driver
> >
> > Yes, the USB core and drivers gets loaded, but because you haven't
> > provided a struct platform_device the c67x00 driver doesn't get
> > probed.
> >
> > Aaron> It still doesn't look like the ML403 Cypress host device is being
> > Aaron> recognized. No messages appear upon insertion and removal of USB
> > Aaron> devices.
> >
> > Aaron> Regards,
> > Aaron> Aaron Sells
> > Aaron> diff linux-2.6-xlnx_arch-ppc-syslib-virtex_devices.c
> > secretlab_arch-ppc-syslib-virtex_devices.c
> > Aaron> 77,92d76
> > Aaron> < * ML300/ML403 Video Device: shortcut macro for single instance
> >
> > Please use diff -u.
> >
> > I don't see anything with platform devices for the c67x00 driver. You
> > need something like:
> >
> > #include <linux/usb/c67x00.h>
> >
> > static struct resource c67x00_resources[] = {
> > [0] = {
> > .start = 0x84000000,
> > .end = 0x8400000f,
> > .flags = IORESOURCE_MEM,
> > },
> > [1] = {
> > .start = 3,
> > .end = 3,
> > .flags = IORESOURCE_IRQ,
> > },
> > };
> >
> > static struct c67x00_platform_data thinlite_c67x00_data = {
> > .sie_config = C67X00_SIE1_HOST |
> > C67X00_SIE2_PERIPHERAL_B,
> > .hpi_regstep = 0x02, /* A0 not connected on 16bit bus
> > */
> > };
> >
> > static struct platform_device thinlite_c67x00 = {
> > .name = "c67x00",
> > .id = 0,
> > .num_resources = ARRAY_SIZE(c67x00_resources),
> > .resource = c67x00_resources,
> > .dev.platform_data = &thinlite_c67x00_data,
> > };
> >
> > Which you then register with the platform bus with
> > platform_add_devices or similar. Either you do this by hand or you
> > create XPAR_* macros which take the needed info out of xparameter.h
> > (sorry, I don't have an xparameters.h with those defines at hand).
> >
> > Aaron> diff -Naur c67x00.old/c67x00-drv.c c67x00/c67x00-drv.c
> > Aaron> --- c67x00.old/c67x00-drv.c 2008-04-23 10:36:16.000000000
> > -0400
> > Aaron> +++ c67x00/c67x00-drv.c 2008-04-23 10:39:20.000000000 -0400
> > Aaron> @@ -57,8 +57,7 @@
> > Aaron> c67x00_hcd_probe(sie);
> > Aaron> break;
> >
> > Aaron> - case C67X00_SIE_PERIPHERAL_A:
> > Aaron> - case C67X00_SIE_PERIPHERAL_B:
> > Aaron> + case C67X00_SIE_PERIPHERAL:
> >
> > This seems to be from an earlier version of my driver.
> >
> > --
> > Bye, Peter Korsgaard
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> > _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 18679 bytes --]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.24.4
# Wed Apr 23 07:54:55 2008
#
CONFIG_WORD_SIZE=32
CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_ILOG2_U32=y
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_GENERIC_NVRAM=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_TASKSTATS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FAIR_USER_SCHED=y
# CONFIG_FAIR_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_MODULES is not set
CONFIG_BLOCK=y
CONFIG_LBD=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
#
# Processor
#
# CONFIG_6xx is not set
CONFIG_40x=y
# CONFIG_44x is not set
# CONFIG_8xx is not set
# CONFIG_E200 is not set
# CONFIG_E500 is not set
CONFIG_PPC_DCR_NATIVE=y
CONFIG_PPC_DCR=y
CONFIG_MATH_EMULATION=y
# CONFIG_KEXEC is not set
# CONFIG_CPU_FREQ is not set
CONFIG_4xx=y
# CONFIG_WANT_EARLY_SERIAL is not set
#
# IBM 4xx options
#
# CONFIG_BUBINGA is not set
# CONFIG_CPCI405 is not set
# CONFIG_EP405 is not set
# CONFIG_REDWOOD_5 is not set
# CONFIG_REDWOOD_6 is not set
# CONFIG_SYCAMORE is not set
# CONFIG_WALNUT is not set
# CONFIG_XILINX_ML300 is not set
CONFIG_XILINX_ML403=y
CONFIG_IBM405_ERR77=y
CONFIG_IBM405_ERR51=y
CONFIG_XILINX_VIRTEX_4_FX=y
CONFIG_XILINX_VIRTEX=y
CONFIG_EMBEDDEDBOOT=y
# CONFIG_PPC4xx_DMA is not set
CONFIG_PPC_GEN550=y
CONFIG_UART0_TTYS0=y
# CONFIG_UART0_TTYS1 is not set
CONFIG_NOT_COHERENT_CACHE=y
#
# Platform options
#
# CONFIG_PC_KEYBOARD is not set
# CONFIG_HIGHMEM is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,9600 ip=on root=/dev/ram rw"
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
#
# Bus options
#
CONFIG_ZONE_DMA=y
# CONFIG_PPC_I8259 is not set
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set
#
# Advanced setup
#
# CONFIG_ADVANCED_OPTIONS is not set
#
# Default settings for advanced configuration options are used
#
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_TASK_SIZE=0x80000000
CONFIG_CONSISTENT_START=0xff100000
CONFIG_CONSISTENT_SIZE=0x00200000
CONFIG_BOOT_LOAD=0x00400000
#
# Networking
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_UB=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=65536
CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_XILINX_SYSACE is not set
CONFIG_MISC_DEVICES=y
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_IDE is not set
#
# SCSI device support
#
CONFIG_RAID_ATTRS=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=y
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_CHR_DEV_OSST=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
CONFIG_CHR_DEV_SCH=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=y
# CONFIG_VETH is not set
# CONFIG_NET_ETHERNET is not set
CONFIG_NETDEV_1000=y
CONFIG_NETDEV_10000=y
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_I2C is not set
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_WATCHDOG is not set
#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
CONFIG_DAB=y
# CONFIG_USB_DABUSB is not set
#
# Graphics support
#
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
#
# Sound
#
# CONFIG_SOUND is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
# CONFIG_HIDRAW is not set
#
# USB Input Devices
#
CONFIG_USB_HID=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
CONFIG_USB=y
CONFIG_USB_DEBUG=y
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
CONFIG_USB_C67X00_DRV=y
CONFIG_USB_C67X00_HCD=y
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#
#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
CONFIG_USB_LIBUSUAL=y
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_MON is not set
#
# USB port drivers
#
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
CONFIG_USB_CYPRESS_CY7C63=y
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
#
# USB DSL modem support
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
#
# Userspace I/O
#
# CONFIG_UIO is not set
#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT2_FS_XIP=y
CONFIG_FS_XIP=y
# CONFIG_EXT3_FS is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y
CONFIG_NTFS_DEBUG=y
CONFIG_NTFS_RW=y
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y
# CONFIG_DLM is not set
#
# IBM 40x options
#
#
# Library routines
#
CONFIG_BITREVERSE=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_INSTRUMENTATION=y
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
CONFIG_FORCED_INLINING=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_SAMPLES is not set
# CONFIG_KGDB is not set
# CONFIG_XMON is not set
# CONFIG_BDI_SWITCH is not set
# CONFIG_SERIAL_TEXT_DEBUG is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
# CONFIG_CRYPTO is not set
^ permalink raw reply
* [PATCH 2/2] powerpc: mpic_pasemi_msi: failed allocation unnoticed
From: Roel Kluin @ 2008-04-23 16:54 UTC (permalink / raw)
To: paulus, linuxppc-dev; +Cc: lkml
In-Reply-To: <480F6905.3070808@tiscali.nl>
A similar problem in arch/powerpc/sysdev/mpic_u3msi.c:
---
bitmap_find_free_region(), called by mpic_msi_alloc_hwirqs() may
return -ENOMEM, but hwirq of type irq_hw_number_t which is unsigned.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
The functions can be found respectively in:
//---[ vi lib/bitmap.c +807 ]---
//---[ vi arch/powerpc/sysdev/mpic_msi.c +39 ]---
diff --git a/arch/powerpc/sysdev/mpic_u3msi.c b/arch/powerpc/sysdev/mpic_u3msi.c
index 1d5a408..30a4e27 100644
--- a/arch/powerpc/sysdev/mpic_u3msi.c
+++ b/arch/powerpc/sysdev/mpic_u3msi.c
@@ -122,7 +122,7 @@ static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
list_for_each_entry(entry, &pdev->msi_list, list) {
hwirq = mpic_msi_alloc_hwirqs(msi_mpic, 1);
- if (hwirq < 0) {
+ if (hwirq == -ENOMEM) {
pr_debug("u3msi: failed allocating hwirq\n");
return hwirq;
}
^ permalink raw reply related
* [PATCH] powerpc: mpic_pasemi_msi: failed allocation unnoticed
From: Roel Kluin @ 2008-04-23 16:51 UTC (permalink / raw)
To: paulus, linuxppc-dev; +Cc: lkml
bitmap_find_free_region(), called by mpic_msi_alloc_hwirqs() may
return -ENOMEM, but hwirq of type irq_hw_number_t which is unsigned.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
The functions can be found respectively in:
//---[ vi lib/bitmap.c +807 ]---
//---[ vi arch/powerpc/sysdev/mpic_msi.c +39 ]---
diff --git a/arch/powerpc/sysdev/mpic_pasemi_msi.c b/arch/powerpc/sysdev/mpic_pasemi_msi.c
index 33cbfb2..a15ac5c 100644
--- a/arch/powerpc/sysdev/mpic_pasemi_msi.c
+++ b/arch/powerpc/sysdev/mpic_pasemi_msi.c
@@ -109,7 +109,7 @@ static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
* sources can be changed independently.
*/
hwirq = mpic_msi_alloc_hwirqs(msi_mpic, ALLOC_CHUNK);
- if (hwirq < 0) {
+ if (hwirq == -ENOMEM) {
pr_debug("pasemi_msi: failed allocating hwirq\n");
return hwirq;
}
^ permalink raw reply related
* Re: mpc8379e rdb nand flash support
From: Scott Wood @ 2008-04-23 16:35 UTC (permalink / raw)
To: ???; +Cc: linuxppc-embedded
In-Reply-To: <FD78E578AB254426A3B97E7B65553E65@baby>
On Wed, Apr 23, 2008 at 03:47:00PM +0800, ??? wrote:
> Dear all:
> Did anyone use mpc8379erdb board? I changed nand flash from samsung 32M to hynix 1G byte.And the 1G byte nand's erase block size is 256KB.
> Now the problem is: when I use " nand write.jffs2" command to write jffs2 filesystems to nand flash ,there is only 128KByte of every erase blocks can be writed.
> From the datasheet of the mpc8379e ,"Page size of 2048 main area bytes plus 64 spare area bytes (large page devices);
> FCM RAM buffers are 4 Kbytes each; Flash block size of 128 Kbytes."
> Is it means mpc8379e only support 128Kbytes block size?
> Here is the information when I tried to write it :
It looks like you're talking about u-boot, not Linux; the FCM NAND driver
has not yet been merged. Are you using a Freescale BSP? If so, it's
best to go through official support channels. If you're using patches
that were recently posted, make sure you have all the bugfixes that
recently went into the linux mtd tree.
-Scott
^ permalink raw reply
* Re: [PATCH 1/3] MSI driver for Freescale 83xx/85xx/86xx cpu
From: Segher Boessenkool @ 2008-04-23 16:05 UTC (permalink / raw)
To: michael; +Cc: linuxppc-dev list, Kumar Gala, Jin Zhengxiong
In-Reply-To: <1208929545.9212.12.camel@concordia.ozlabs.ibm.com>
>>> data = ((hwirq / 32) << 5) | ((hwirq % 32) & 0x1F)
>>>
>>> Which doesn't seem to actually do anything?
>>
>> It's not a no-op, because hwirq is signed. It probably should be
>> unsigned, like most things.
>
> You'll have to draw me a picture.
In C, signed division is round-towards-zero, while unsigned division
is round-towards-negative-infinity. Suppose hwirq is -1, then
hwirq/32 is 0 and hwirq%32 is -1, so that the full expression above
will be 0x1f, not -1. There is no such problem if hwirq would be
unsigned; the compiler can generate better code in that case.
Segher
^ permalink raw reply
* Re: SecretLab 2.6.24 with USB
From: Henrik Larson @ 2008-04-23 15:41 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: Aaron Sells, linuxppc-embedded
In-Reply-To: <87iqy8haf8.fsf@macbook.be.48ers.dk>
Allt som har med skatter är per definition inte logiskt!
On Wed, 23 Apr 2008, Peter Korsgaard wrote:
>>>>>> "Aaron" == Aaron Sells <aaron.sells@zin-tech.com> writes:
>
> Hi,
>
> Aaron> root@xilinx-ml403:/# dmesg | grep -i usb
> Aaron> [ 0.175963] usbcore: registered new interface driver usbfs
> Aaron> [ 0.178207] usbcore: registered new interface driver hub
> Aaron> [ 0.179810] usbcore: registered new device driver usb
> Aaron> [ 3.426016] usbcore: registered new interface driver ub
> Aaron> [ 4.156086] usbmon: debugfs is not available
> Aaron> [ 4.209160] Initializing USB Mass Storage driver...
> Aaron> [ 4.268302] usbcore: registered new interface driver usb-storage
> Aaron> [ 4.336109] USB Mass Storage support registered.
> Aaron> [ 4.958294] usbcore: registered new interface driver usbhid
> Aaron> [ 5.020120] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
>
> Yes, the USB core and drivers gets loaded, but because you haven't
> provided a struct platform_device the c67x00 driver doesn't get
> probed.
>
> Aaron> It still doesn't look like the ML403 Cypress host device is being
> Aaron> recognized. No messages appear upon insertion and removal of USB
> Aaron> devices.
>
> Aaron> Regards,
> Aaron> Aaron Sells
> Aaron> diff linux-2.6-xlnx_arch-ppc-syslib-virtex_devices.c secretlab_arch-ppc-syslib-virtex_devices.c
> Aaron> 77,92d76
> Aaron> < * ML300/ML403 Video Device: shortcut macro for single instance
>
> Please use diff -u.
>
> I don't see anything with platform devices for the c67x00 driver. You
> need something like:
>
> #include <linux/usb/c67x00.h>
>
> static struct resource c67x00_resources[] = {
> [0] = {
> .start = 0x84000000,
> .end = 0x8400000f,
> .flags = IORESOURCE_MEM,
> },
> [1] = {
> .start = 3,
> .end = 3,
> .flags = IORESOURCE_IRQ,
> },
> };
>
> static struct c67x00_platform_data thinlite_c67x00_data = {
> .sie_config = C67X00_SIE1_HOST | C67X00_SIE2_PERIPHERAL_B,
> .hpi_regstep = 0x02, /* A0 not connected on 16bit bus */
> };
>
> static struct platform_device thinlite_c67x00 = {
> .name = "c67x00",
> .id = 0,
> .num_resources = ARRAY_SIZE(c67x00_resources),
> .resource = c67x00_resources,
> .dev.platform_data = &thinlite_c67x00_data,
> };
>
> Which you then register with the platform bus with
> platform_add_devices or similar. Either you do this by hand or you
> create XPAR_* macros which take the needed info out of xparameter.h
> (sorry, I don't have an xparameters.h with those defines at hand).
>
> Aaron> diff -Naur c67x00.old/c67x00-drv.c c67x00/c67x00-drv.c
> Aaron> --- c67x00.old/c67x00-drv.c 2008-04-23 10:36:16.000000000 -0400
> Aaron> +++ c67x00/c67x00-drv.c 2008-04-23 10:39:20.000000000 -0400
> Aaron> @@ -57,8 +57,7 @@
> Aaron> c67x00_hcd_probe(sie);
> Aaron> break;
>
> Aaron> - case C67X00_SIE_PERIPHERAL_A:
> Aaron> - case C67X00_SIE_PERIPHERAL_B:
> Aaron> + case C67X00_SIE_PERIPHERAL:
>
> This seems to be from an earlier version of my driver.
>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply
* Re: Question on MPC83xx interrupts
From: Segher Boessenkool @ 2008-04-23 16:00 UTC (permalink / raw)
To: michael; +Cc: Scott Wood, linux-ppc list, Andre Schwarz
In-Reply-To: <1208905031.6947.0.camel@concordia>
> You can see the mapping between virq and hwirq numbers by turning on
> CONFIG_VIRQ_DEBUG and looking in /sys/kernel/debug/powerpc/virq_mapping
> (after mounting debugfs).
Ooh, nice! Are there plans to move this into some "real" sysfs
nodes?
Segher
^ permalink raw reply
* Re: Xilinx GPIO driver / CONFIG_OF
From: Johann Baudy @ 2008-04-23 14:54 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev, John Linn
In-Reply-To: <fa686aa40804230733n43064fa5q7b900bcf2b2754e6@mail.gmail.com>
Perfect :)
Many thanks,
Johann Baudy
On Wed, Apr 23, 2008 at 2:33 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Wed, Apr 23, 2008 at 7:21 AM, John Linn <John.Linn@xilinx.com> wrote:
> > Hi Johann,
> >
> > Not to my knowledge yet. We have it on our list to do.
> >
> > Thanks,
> > John
>
> I've got a partial driver but it's not updated to the new GPIO
> infrastructure. I'll try to post what I have today.
>
> Cheers,
> g.
>
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
>
--
Johann Baudy
johaahn@gmail.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox