Re: [uClinux-dev] I'm not really happy but who is?

2008-05-05 Thread Greg Ungerer
Sebastian Siewior wrote: Greg Ungerer wrote: Sebastian Siewior wrote: Greg Ungerer wrote: Sebastian Siewior wrote: May we agree on a git tree? This would make things easier I guess. Even Russell has one these days :) This would atleast avoid [2]. And if you remove the stack address in my o

Re: [uClinux-dev] a couple questions about the "make romfs" target

2008-05-05 Thread Philip Craig
Robert P. J. Day wrote: > first, i notice that, if i run "make romfs", the subdirs that will > be processed are defined by: > > DIRS= $(VENDOR_TOPDIRS) include lib include user > > but WRT to making romfs/, what is the value of processing the include/ > directory? the file include/Makefi

[uClinux-dev] [PATCH 1/24] nios2: disable DMA API support (Amended)

2008-05-05 Thread Thomas Chou
Cannot support DMA API. FIXME: The DMA driver needs update. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/Kconfig b/linux-2.6.x/arch/nios2nommu/Kconfig

Re: [uClinux-dev] [PATCH 11/24] nios2: Introduce flags for reserve_bootmem() (Amended)

2008-05-05 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: Follow commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246, The patchset adds a flags variable to reserve_bootmem() and uses the BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions between crashkernel area and already used memory. Signed-off-by

[uClinux-dev] [PATCH 11/24] nios2: Introduce flags for reserve_bootmem() (Amended)

2008-05-05 Thread Thomas Chou
Follow commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246, The patchset adds a flags variable to reserve_bootmem() and uses the BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions between crashkernel area and already used memory. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>

Re: [uClinux-dev] [PATCH 20/24] nios2: fix smc91x hw addr setup

2008-05-05 Thread Thomas Chou
Greg Ungerer wrote: Hi Thomas, Thomas Chou wrote: This patch fixed the compiler error from smc91x in nios2 arch setup. Patch rejected this one... (Quite aside from that the include logic below looks mighty odd. But its your architecture code, so I won't complain about it...) Oh, please dro

Re: [uClinux-dev] [PATCH 7/24] nios_mmc: mmc errno and sg_virt (Amended)

2008-05-05 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: From: Jai Dhar <[EMAIL PROTECTED]> Modified to use new errno scheme in MMC subsystem. Also now uses sg_virt instead of sg_address to determine DMA address. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> That looks bett

[uClinux-dev] [PATCH 7/24] nios_mmc: mmc errno and sg_virt (Amended)

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Modified to use new errno scheme in MMC subsystem. Also now uses sg_virt instead of sg_address to determine DMA address. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/drivers/mmc/host/nios_mmc.c | 2

Re: [uClinux-dev] [PATCH 1/24] nios2: disable DMA API support

2008-05-05 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: Cannot support DMA API. FIXME: The DMA driver needs update. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> I have applied most of these, except 7 and 11, which I had comments on. Oh and the the one that patch rejected too. Thanks Greg linux-2.6.x/arch/nios

Re: [uClinux-dev] [PATCH 20/24] nios2: fix smc91x hw addr setup

2008-05-05 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: This patch fixed the compiler error from smc91x in nios2 arch setup. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> Patch rejected this one... (Quite aside from that the include logic below looks mighty odd. But its your architecture code, so I won't complain ab

Re: [uClinux-dev] [PATCH 11/24] nios2: Introduce flags for reserve_bootmem()

2008-05-05 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: Follow commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246, The patchset adds a flags variable to reserve_bootmem() and uses the BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions between crashkernel area and already used memory. Signed-off-by

Re: [uClinux-dev] [PATCH 7/24] nios_mmc: mmc errno and sg_virt

2008-05-05 Thread Greg Ungerer
Hi Thomas, Jai, Thomas Chou wrote: From: Jai Dhar <[EMAIL PROTECTED]> Modified to use new errno scheme in MMC subsystem. Also now uses sg_virt instead of sg_address to determine DMA address. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> Better t

Re: [uClinux-dev] [PATCH 13/24] nios2: remove local gettimeofday code

2008-05-05 Thread Thomas Chou
Atle Nissestad wrote: What about the sub-jiffies resolution provided by this do_gettimeofday()? Does the generic function offer the same functionality? Hi Atle, It is possible if we can add a platform dependent clocksource_register() for linux-2.6.x/kernel/time/clocksource.c . Like that of

Re: [uClinux-dev] linux-2.6.24-uc0 patch set released

2008-05-05 Thread Greg Ungerer
Hi Per, Per Hallsmark wrote: Probably this is known already, so just in case... There is an error in the patch in section: diff -Naurp linux-2.6.24/net/netfilter/Makefile linux-2.6.24-uc0/net/netfilter/Makefile --- linux-2.6.24/net/netfilter/Makefile 2008-01-25 08:58:37.0 +1000 +++ l

[uClinux-dev] USB Hotplug doesn't work

2008-05-05 Thread Allen Yang
Hi, I am using uClinux 2.6.17 for M5329EVB and trying to make USB hotplug work. What I need are: 1.automatically mount USB flash driver when it's plugged in; 2.copy a file from USB flash driver to RAM; 3.umount the USB flash driver. I enabled CONFIG_HOTPLUG and added the following test script

Re: [uClinux-dev] [PATCH 13/24] nios2: remove local gettimeofday code

2008-05-05 Thread Atle Nissestad
Thomas Chou wrote: Remove unused local gettimeofday functions, now that we are using GENERIC_TIME. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> What about the sub-jiffies resolution provided by this do_gettimeofday()? Does the generic function offer the same functionality? - Atle --- l

Re: [uClinux-dev] linux-2.6.24-uc0 patch set released

2008-05-05 Thread Per Hallsmark
Hi Greg, Probably this is known already, so just in case... There is an error in the patch in section: diff -Naurp linux-2.6.24/net/netfilter/Makefile linux-2.6.24-uc0/net/netfilter/Makefile --- linux-2.6.24/net/netfilter/Makefile 2008-01-25 08:58:37.0 +1000 +++ linux-2.6.24-uc0/net/n

[uClinux-dev] [PATCH 7/24] nios_mmc: mmc errno and sg_virt

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Modified to use new errno scheme in MMC subsystem. Also now uses sg_virt instead of sg_address to determine DMA address. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/drivers/mmc/host/nios_mmc.c |

[uClinux-dev] [PATCH 24/24] nios2: remove unused code dump_thread

2008-05-05 Thread Thomas Chou
The dump_thread() is not used in anywhere. It is removed. The m68kfp struct is removed from asm/user.h. It doesn't apply for nios2. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/nios2_ksyms.c |2 - linux-2.6.x/arch/nios2nommu/kernel/process.c | 5

[uClinux-dev] [PATCH 20/24] nios2: fix smc91x hw addr setup

2008-05-05 Thread Thomas Chou
This patch fixed the compiler error from smc91x in nios2 arch setup. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/setup.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/kernel/setup.c b/linux-2.6.x/arc

[uClinux-dev] [PATCH 22/24] nios2: add irqf trigger setup for dm9000

2008-05-05 Thread Thomas Chou
Add platform_device data to resolve this warning, "dm9000 dm9000.0: WARNING: no IRQ resource flags set". Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-2.6.x/arch/nios2no

[uClinux-dev] [PATCH 14/24] nios2: wire up new timerfd syscalls

2008-05-05 Thread Thomas Chou
Wire up the new timerfd syscalls, which were introduced in commit 4d672e7ac79b5ec5cdc90e450823441e20464691 ("timerfd: new timerfd API"). Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/syscalltable.S |6 -- linux-2.6.x/include/asm-nios2nommu/unistd.h

[uClinux-dev] [PATCH 21/24] altfb: use __get_free_pages for frame buffer

2008-05-05 Thread Thomas Chou
The dma-noncoherent interface will be removed. So it is changed to __get_free_pages. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/drivers/altfb.c | 54 +++ 1 files changed, 22 insertions(+), 32 deletions(-) diff --git a/linux-2.6.x/arch

[uClinux-dev] [PATCH 13/24] nios2: remove local gettimeofday code

2008-05-05 Thread Thomas Chou
Remove unused local gettimeofday functions, now that we are using GENERIC_TIME. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/Kconfig |4 ++ linux-2.6.x/arch/nios2nommu/kernel/time.c | 66 - 2 files changed, 4 insertions(+),

[uClinux-dev] [PATCH 19/24] nios2: fix timer irq lock

2008-05-05 Thread Thomas Chou
The update_process_times() should go outside xtime_lock. Otherwise it will run into deadlock. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/time.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/ke

[uClinux-dev] [PATCH 23/24] nios2: add empty kvm.h header

2008-05-05 Thread Thomas Chou
nios2nommu does not support KVM. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/include/asm-nios2nommu/kvm.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 linux-2.6.x/include/asm-nios2nommu/kvm.h diff --git a/linux-2.6.x/include/asm-nios2nomm

[uClinux-dev] [PATCH 17/24] nios2: dont put _start in init section

2008-05-05 Thread Thomas Chou
Revert the commit "nios2: fix section mismatch". We want _start() located at the beginning. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/head.S | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/k

[uClinux-dev] [PATCH 18/24] nios2: fix link script section defs

2008-05-05 Thread Thomas Chou
The init_task section is renamed to ".init_task.data" , in order to match the link script. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/init_task.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/kerne

[uClinux-dev] [PATCH 16/24] nios2: resolve section overlap linkage error

2008-05-05 Thread Thomas Chou
Rework the link script, based on the Blackfin's, to resolve section overlap error. The PAGE_SIZE and THREAD_SIZE defs in page.h are used instead of numeric constant. The code moving loop in head.S is removed, because a boot loader is always used. Note that the bss section is now before the data

[uClinux-dev] [PATCH 15/24] nios2: fix section mismatch

2008-05-05 Thread Thomas Chou
Since start_kernel() comes with __init, so the caller _start() must be with __init. The start.c is not in use and is removed from Makefile. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/kernel/Makefile |2 +- linux-2.6.x/arch/nios2nommu/kernel/head.S | 14

[uClinux-dev] [PATCH 12/24] nios2: Introducing socket mark socket option.

2008-05-05 Thread Thomas Chou
Follow commit 4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0, A userspace program may wish to set the mark for each packets its send without using the netfilter MARK target. Changing the mark can be used for mark based routing without netfilter or for packet filtering. Signed-off-by: Thomas Chou <[EMAI

[uClinux-dev] [PATCH 8/24] nios2: add fifoed avalon uart support

2008-05-05 Thread Thomas Chou
This patch is needed to generate nios2_system.h correctly when using FIFOed Avalon Uart. Contributed by Heing. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- .../scripts/nios2_system.h/fifoed_avalon_uart.pm | 44 1 files changed, 44 insertions(+), 0 deletions(-) cr

[uClinux-dev] [PATCH 10/24] nios2: mark arches that support A.OUT format

2008-05-05 Thread Thomas Chou
Follow commit b0b933c08bd5fd053bbba8ba6387f543be03d49f, Mark arches that support A.OUT format by including the following in their master Kconfig files: config ARCH_SUPPORTS_AOUT def_bool y Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/Kconfig |3 +++

[uClinux-dev] [PATCH 6/24] nios_mmc: add WP status

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Modified driver to read WP status bit from nios_mmc core and report back in get_ro driver function Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/drivers/mmc/host/nios_mmc.c |4 linux-2.6.x/d

[uClinux-dev] [PATCH 11/24] nios2: Introduce flags for reserve_bootmem()

2008-05-05 Thread Thomas Chou
Follow commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246, The patchset adds a flags variable to reserve_bootmem() and uses the BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions between crashkernel area and already used memory. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>

[uClinux-dev] [PATCH 9/24] nios2: fix pgtable_t build breakage

2008-05-05 Thread Thomas Chou
Commit 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4 ("CONFIG_HIGHPTE vs. sub-page page tables") caused some build breakage due to pgtable_t. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/include/asm-nios2nommu/page.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --

[uClinux-dev] [PATCH 3/24] nios_mmc: add nios_mmc driver

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Works with 1.0 of nios_mmc core. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/drivers/Kconfig |6 + linux-2.6.x/arch/nios2nommu/kernel/setup.c | 29 ++ linux-2.6.x/dr

[uClinux-dev] [PATCH 5/24] nios2: Added udhcpc default.script file

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Added udhcpc script and edited Altera vendor-specific Makefile to include default.script into filesystem tree. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- vendors/Altera/nios2nommu/Makefile |5 +++-

[uClinux-dev] [PATCH 4/24] nios2: add mmc device nodes

2008-05-05 Thread Thomas Chou
From: Jai Dhar <[EMAIL PROTECTED]> Amended romfs_list to make device nodes for mmcblk devices. Thes are required for using nios_mmc. Signed-off-by: Jai Dhar <[EMAIL PROTECTED]> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- vendors/Altera/nios2nommu/romfs_list |5 + 1 files changed,

[uClinux-dev] [PATCH 2/24] nios2: remove dma-noncoherent interface

2008-05-05 Thread Thomas Chou
The __get_free_pages and ioremap can replace this interface. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/mm/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/mm/Makefile b/linux-2.6.x/arch/nios2nommu/

[uClinux-dev] [PATCH 1/24] nios2: disable DMA API support

2008-05-05 Thread Thomas Chou
Cannot support DMA API. FIXME: The DMA driver needs update. Signed-off-by: Thomas Chou <[EMAIL PROTECTED]> --- linux-2.6.x/arch/nios2nommu/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/linux-2.6.x/arch/nios2nommu/Kconfig b/linux-2.6.x/arch/nios2nommu/Kconfi

Re: [uClinux-dev] [Atmel ARM7]Serial driver for Atmel serial port

2008-05-05 Thread rwarner
Mike, Yes, this might also come up for me as i am also moving from the EB40 over to the same processor. I'll keep you in mind for more questions. Sounds like you are further along then i am currently. :) thnx for the info - bob Bob, I was having similar problems about 2 months back. I was po

[uClinux-dev] QSPI on MCF5235 with m25p80 memory

2008-05-05 Thread Jérôme Braga
Hello all, I used MCF5235, and I need a qspi driver to have acess to the spi memory (m25p80). I would to know which driver, I must use ? Best regards, -- -- -- Jérôme BRAGA ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.o