[uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread Bernd Büttner
Hello all, trying to switch to dist20080808 I'm running into a toolchain problem. My platform is m68knommu (coldfire 528x) and I'm using toolchain m68k-uclinux-tools-20061214.sh (latest at uclinux.org) Trying to compile dist20080808 with latest patch uClinux-dist-20080808-20090423 results in an

[uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Bernd Büttner
Hi all, my platform: m68knommu ditribution 20070130 and 20080808 Using atomic_set_mask and atomic_clear_mask I ran into an assembler error. Doing the following patch helped me out: Index: linux-2.6.x/include/asm-m68knommu/atomic.h

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Alexander Stein
Hello Bernd, Am Mittwoch, 13. Mai 2009 09:41:14 schrieb Bernd Büttner: my platform: m68knommu ditribution 20070130 and 20080808 Using atomic_set_mask and atomic_clear_mask I ran into an assembler error. Doing the following patch helped me out: Index:

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Bernd Büttner
Hi Alexander, Alexander Stein schrieb: Hello Bernd, Am Mittwoch, 13. Mai 2009 09:41:14 schrieb Bernd Büttner: my platform: m68knommu ditribution 20070130 and 20080808 Using atomic_set_mask and atomic_clear_mask I ran into an assembler error. Doing the following patch helped me out: Index:

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread John Trostel
Did you figure out how to get around this problem yet? Bernd Büttner wrote: Hello all, trying to switch to dist20080808 I'm running into a toolchain problem. My platform is m68knommu (coldfire 528x) and I'm using toolchain m68k-uclinux-tools-20061214.sh (latest at uclinux.org) Trying to

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread Matt Waddel
Hi Bernd, Codesourcery has the latest toolchains that I'm aware of: http://www.codesourcery.com/sgpp/lite/coldfire/ I've never tried to compile the older distribution with the newer toolchains. So I'm not sure what challenges you'll encounter. Best regards, Matt - Original Message

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Alexander Stein
Hello bernd, Am Mittwoch, 13. Mai 2009 14:44:19 schrieb Bernd Büttner: This is not the point. I do use constants. Example: #define R_FLAGS_INIT 0x0004 atomic_clear_mask(R_FLAGS_INIT,dev-flags); This results in an error from assembler: Error: operand mismatch -- statement 'andl

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread Bernd Büttner
No, in production we still work with dist 20070130. I'm trying to switch to the newer one. With patch 20080808-20090416 I get an image, with the newest patch not. John Trostel schrieb: Did you figure out how to get around this problem yet? Bernd Büttner wrote: Hello all, trying to switch to

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread Bernd Büttner
Thank you Matt, I will give it a chance. Bernd Matt Waddel schrieb: Hi Bernd, Codesourcery has the latest toolchains that I'm aware of: http://www.codesourcery.com/sgpp/lite/coldfire/ I've never tried to compile the older distribution with the newer toolchains. So I'm not sure what

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread John Trostel
Yes, I am running with the 0423 patch also. I am also downloading the codesourcery version of gcc -- John M. Trostel Deputy Director Severe Storms Research Center GTRI / SEAL / RSD Georgia Institute of Technology Atlanta, GA 30332 Bernd Büttner wrote: No, in production we still work with

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Bernd Büttner
Hi Alexander, I'm feeling a bit sheepish about it, but I don't know how to get it. Bernd Alexander Stein schrieb: Hello bernd, Am Mittwoch, 13. Mai 2009 14:44:19 schrieb Bernd Büttner: This is not the point. I do use constants. Example: #define R_FLAGS_INIT0x0004

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Alexander Stein
Hello Bernd, Am Mittwoch, 13. Mai 2009 17:00:04 schrieb Bernd Büttner: I'm feeling a bit sheepish about it, but I don't know how to get it. You cold use objdump for your target to get the assembly code. Use it with the ELF file you get to every binary. Regards Alexander

Re: [uClinux-dev] Toolchain problem with latest update patch

2009-05-13 Thread Greg Ungerer
Hi Bernd, Bernd Büttner wrote: trying to switch to dist20080808 I'm running into a toolchain problem. My platform is m68knommu (coldfire 528x) and I'm using toolchain m68k-uclinux-tools-20061214.sh (latest at uclinux.org) Trying to compile dist20080808 with latest patch

Re: [uClinux-dev] atomic_set_mask/atomic_clear_mask

2009-05-13 Thread Greg Ungerer
Hi Bernd, Bernd Büttner wrote: my platform: m68knommu ditribution 20070130 and 20080808 Using atomic_set_mask and atomic_clear_mask I ran into an assembler error. What was the error? What binutils version? Regards Greg Doing the following patch helped me out: Index:

Re: [uClinux-dev] kmem_cache_init() bug on bootup

2009-05-13 Thread Greg Ungerer
Hi Dave, Dave Meador wrote: Greg Ungerer wrote: Dave Meador wrote: I am stuck on a bug at bootup in kmem_cache_init(). Trying to tweak the uClinux-20080808 w/ 20090312 patch to boot on a 547x coldfire board. Upon attempt to Init caches for array cache kmem_list3 the kernel panics upon