[uClinux-dev] Re: [PATCH v2] m68knommu: add old stack trace method

2008-05-07 Thread Greg Ungerer
Hi Sebastian, After patch applied, and with CONFIG_FRAME_POINTE disabled... CC arch/m68knommu/kernel/traps.o arch/m68knommu/kernel/traps.c: In function ‘__show_stack’: arch/m68knommu/kernel/traps.c:190: error: ‘_start’ undeclared (first use in this function) arch/m68knommu/kernel/traps.c

[uClinux-dev] Re: [PATCH v2] m68knommu: add ffs and __ffs and enable it on plattform which support ISA A+

2008-05-07 Thread Greg Ungerer
Hi Sebastian, Sebastian Siewior wrote: the ff1 and bitrev opcode appears in ISA C and ISA A+ what isn't supported by all plattforms. The assembly optimization is automaticly enabled if the compiler understand the required cpu keyword. My m5235 seems to boot and run fine so far. Signed-off-by: S

Re: [uClinux-dev] slab vers slub

2008-05-07 Thread Greg Ungerer
hI pER, Per Hallsmark wrote: In a arm7tdmi'sh SoC, I put together the 2.6.24 uclinux patch ontop of 2.6.24.4 (customer uses same ver for other targets and wanted to have same kernel ver all over) and it sounds like slub would be a good thing. But slub doesn't work. If I use slab it works fine.

Re: [uClinux-dev] Problem compiling application with zlib.

2008-05-07 Thread David McCullough
Jivin JL SYNCHRO lays it down ... > > Hi, > > I try to compile my application with zlib support : > > libz.c > #include > int main(){zlibVersion(); > return 0;} > = > > with the command : > > m68k-elf-gcc -m5307 -msep-data libz.c -L/opt/uClinux-dist/uClibc/

RE: [uClinux-dev] Problem compiling application with zlib.

2008-05-07 Thread Gavin Lambert
Quoth JL SYNCHRO: > I try to compile my application with zlib support : [...] > m68k-elf-gcc -m5307 -msep-data libz.c -L/opt/uClinux- > dist/uClibc/ -Wl,-elf2flt -lc -lgcc -lz [...] > .elf2flt: In function `zcalloc': > /opt/uClinux-dist/lib/zlib/zutil.c:306: undefined reference to `malloc' > .elf2f

[uClinux-dev] M5329EVB - USB Hotplug doesn't work

2008-05-07 Thread Allen Yang
I am just posting my previous problem again since I could not find any useful information from the internet. Anybody knows this USB hotplug thing, please help. Thanks, Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allen Yang Sent: Monday, May

[uClinux-dev] Problem compiling application with zlib.

2008-05-07 Thread JL SYNCHRO
Hi, I try to compile my application with zlib support : libz.c #include int main(){zlibVersion(); return 0;} = with the command : m68k-elf-gcc -m5307 -msep-data libz.c -L/opt/uClinux-dist/uClibc/ -Wl,-elf2flt -lc -lgcc -lz and the result is : .elf2flt: I

[uClinux-dev] [PATCH v2] m68knommu: add ffs and __ffs and enable it on plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
the ff1 and bitrev opcode appears in ISA C and ISA A+ what isn't supported by all plattforms. The assembly optimization is automaticly enabled if the compiler understand the required cpu keyword. My m5235 seems to boot and run fine so far. Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> --- G

[uClinux-dev] [PATCH v2] m68knommu: add old stack trace method

2008-05-07 Thread Sebastian Siewior
The old method is used when frame pointers are not available. Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> --- a/arch/m68knommu/kernel/traps.c +++ b/arch/m68knommu/kernel/traps.c @@ -142,7 +142,21 @@ static void __show_stack(struct task_str } printk("\n"); #else - pri

[uClinux-dev] slab vers slub

2008-05-07 Thread Per Hallsmark
Hi uClinux'ers! In a arm7tdmi'sh SoC, I put together the 2.6.24 uclinux patch ontop of 2.6.24.4 (customer uses same ver for other targets and wanted to have same kernel ver all over) and it sounds like slub would be a good thing. But slub doesn't work. If I use slab it works fine. Is slab stil

[uClinux-dev] textaddress at xip

2008-05-07 Thread Alberto Vélez Ortiz
Hi all, I've made the changes to my kernel to run the image.bin using XIP. However, I'm not sure of the addresses I should use My processor begins its execution at 0x0, where I have a bootloader. It jumps to 0x6001, where I have the image.bin I've set TEXTADDR, ZRELADDR and ZTEXTADDR at 0

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Greg Ungerer
Hi Sebastian, Sebastian Siewior wrote: Greg Ungerer wrote: Hi Sebastian, Hi Greg, -mcpu is not supported in gcc-4.1.1 (I currently use that). I looked at the online docs and it looked like 4.2 didn't have it, but never trust the docs! My gcc is from CodeSourcery so one of their patches c

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
Greg Ungerer wrote: Hi Sebastian, Hi Greg, -mcpu is not supported in gcc-4.1.1 (I currently use that). I looked at the online docs and it looked like 4.2 didn't have it, but never trust the docs! My gcc is from CodeSourcery so one of their patches could be responsible for that. I check on

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Greg Ungerer
Hi Sebastian, Sebastian Siewior wrote: * Greg Ungerer | 2008-05-07 14:07:43 [+1000]: Hi Greg, Comments below. mine, too Sebastian Siewior wrote: the ff1 and bitrev opcode appears in ISA C and ISA A+ what is supported only by three in kernel plattforms. This patch changes the CFLAGS becau

Re: [uClinux-dev] uClinux port to AT91SO100 (ARM SC100 core)

2008-05-07 Thread Stelian Pop
Le mercredi 07 mai 2008 à 10:53 +0200, Bongani Hlope a écrit : > > > > - the AT91SO100 can only access 1MB of data, separated into 512 KB of > > > > fixed system registers and 512 KB pageable data (using the "Page > > > > Unit") Can I take care of this using a simple abort handler or should > > >

Re: [uClinux-dev] uClinux port to AT91SO100 (ARM SC100 core)

2008-05-07 Thread Bongani Hlope
On Wednesday 07 May 2008 10:33:41 Stelian Pop wrote: > Le mercredi 07 mai 2008 à 09:46 +0200, Bongani Hlope a écrit : > > On Tuesday 06 May 2008 17:54:49 Stelian Pop wrote: 8< > > Maybe I wasn't clear enough: my employer will probably sign the NDA so I > will have access to the docs. I'm just tryi

Re: [uClinux-dev] uClinux port to AT91SO100 (ARM SC100 core)

2008-05-07 Thread Stelian Pop
Le mercredi 07 mai 2008 à 09:46 +0200, Bongani Hlope a écrit : > On Tuesday 06 May 2008 17:54:49 Stelian Pop wrote: > > Hi all, > > > > I may work in the next weeks on a uClinux port for an AT91SO100 chip(1), > > which is based on a ARM SC100 core(2) (close to an ARM7TDMI core from > > what I'm to

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
* Greg Ungerer | 2008-05-07 14:07:43 [+1000]: Hi Greg, >Comments below. mine, too >Sebastian Siewior wrote: >>the ff1 and bitrev opcode appears in ISA C and ISA A+ what is supported >>only by three in kernel plattforms. >>This patch changes the CFLAGS because the old one does not support >>this

Re: [uClinux-dev] uClinux port to AT91SO100 (ARM SC100 core)

2008-05-07 Thread Bongani Hlope
On Tuesday 06 May 2008 17:54:49 Stelian Pop wrote: > Hi all, > > I may work in the next weeks on a uClinux port for an AT91SO100 chip(1), > which is based on a ARM SC100 core(2) (close to an ARM7TDMI core from > what I'm told). > > Unfortunately, there isn't much public documentation available for