[uClinux-dev] Re: uClinux-dist-test-20050808 released for testing
gerg at snapgear.com
Mon Oct 3 23:59:11 EDT 2005
> I'll give that a shot.
> Hopefully that's not the problem though, since the cache was working in
> earlier releases, and makes a big difference in throughput.
> Why are you working with that old hardware anyway?
> Ya know, the cache works on our boards........
I enabled modules and built for tne 5282EVB and sure enough it
dies on booting (I think in the same way you originally
The problem looks to be related to the __param section
data ending up being on an odd boundary. You can fix this
with the following patch to linux-2.6.x/arch/m68knommu/kernel/vmlinux.lds.S:
--- vmlinux.lds.S 17 Aug 2005 00:00:42 -0000 1.19
+++ vmlinux.lds.S 4 Oct 2005 03:49:31 -0000
@@ -275,6 +275,7 @@
/* Built-in module parameters */
+ . = ALIGN(4) ;
__start___param = .;
__stop___param = .;
At least now I can boot the 5282EVB with modules and sysfs
> On Monday 26 September 2005 00:32, Greg Ungerer wrote:
>>I tried running this on my M5282EVB board. It loads and runs fine
>>if I disable the cache code (which I always have to do on this
>>board with the old silicon revision).
>>You need to disable it in both the setup code in mcfcache.h
>>and the flush code in cacheflush.h.
>>(This is with uClinux-dist-20050906 and the old 2.95.3 compiler).
>>>>>Mine blew up, is there a specific version of the compiler I need to be
>>>>No, any of the current compilers should be ok.
>>>>I still use 2.95.3 mostly.
>>>Me too, I tried 3.4 as well and got the same result.
>>>>This is a 2.6.x kernel right?
>>>>>Any ideas what's exploding here?
>>>>My first though is cache setup brokeness.
>>>>Can you disable the cache and see if you get any further?
>>>>(disable it in include/asm-m68knommu/mcfcache.h).
>>>I did this by copying in the old cacheless mcfcache.h from
>>>But it still blew up.
>>>Have you had a chance to test this with mcf528x hardware yet?
>>>Has anyone else?
>>>What's a known good vendor configuration for the mcf528x on this build?
>>>uClinux-dev mailing list
>>>uClinux-dev at uclinux.org
>>>This message was resent by uclinux-dev at uclinux.org
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> This message was resent by uclinux-dev at uclinux.org
Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
SnapGear -- a CyberGuard Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
More information about the uClinux-dev