[uClinux-dev] linux 2.6.x on Arcturus ColdFire uC5272

Greg Ungerer gerg at snapgear.com
Tue Aug 9 00:31:18 EDT 2005


Hi Keith,

Keith Nicewarner wrote:
> Thanks for pointing that out!  I thought I had selected the correct CPU but obviously I didn't.  Now I get much further but fail here:
>  
> arch/m68knommu/kernel/vmlinux.lds:463 nonconstant expression for origin
> 
> I'm sure this is yet another misconfiguration.  I wish I didn't have to guess on my configuration options.  Isn't there anyone out there using 2.6.x on an Arcturus uC5272 that can send me their config files?

Email you kernel .config here and we can check it...

Regards
Greg



> From: uclinux-dev-bounces at uclinux.org on behalf of Greg Ungerer
> Sent: Mon 8/8/2005 8:29 PM
> To: uClinux development list
> Subject: Re: [uClinux-dev] linux 2.6.x on Arcturus ColdFire uC5272
> 
> 
> 
> Hi Keith,
> 
> Keith Nicewarner wrote:
> 
>>Then I'm very confused.  I'm being told that others build 2.6.x for the uC5272 using gcc 3.4.0.
> 
> 
> If you are compiling for the uC5272 then you shouldn't be
> compiling the file ~/arch/m68knommu/platform/68VZ328/config.c.
> (That is only for Motorola/68VZ328 based hardware).
> So you need to check your .config, it must be wrong.
> 
> 
> 
>>Why can't I?  Is there a config option that doesn't build this offending code?  Or is there a patch to fix the asm code?
> 
> 
> You can fix the asm code by removing the "%d0" in the clobber list.
> But you should fix your config first!
> 
> Regards
> Greg
> 
> 
> 
> 
>>________________________________
>>
>>From: uclinux-dev-bounces at uclinux.org on behalf of Greg Ungerer
>>Sent: Mon 8/8/2005 7:13 PM
>>To: uClinux development list
>>Subject: Re: [uClinux-dev] linux 2.6.x on Arcturus ColdFire uC5272
>>
>>
>>
>>Hi Keith,
>>
>>Keith Nicewarner wrote:
>>
>>
>>>OK, I tried m68k-uclinux-tools-base-gcc3.4.0-20040603 and get this
>>>error:
>>>
>>>In file included from arch/m68knommu/platform/68VZ328/config.c:31:
>>>include/asm/MC68VZ328.h:912: warning: `packed' attribute ignored
>>>arch/m68knommu/platform/68VZ328/config.c: In function `gethwaddr':
>>>arch/m68knommu/platform/68VZ328/config.c:157: error: asm-specifier for
>>>variable `__res' conflicts with asm clobber list
>>>arch/m68knommu/platform/68VZ328/config.c: In function `getbenv':
>>>arch/m68knommu/platform/68VZ328/config.c:158: error: asm-specifier for
>>>variable `__res' conflicts with asm clobber list
>>>make[2]: *** [arch/m68knommu/platform/68VZ328/config.o] Error 1
>>>make[1]: *** [arch/m68knommu/platform/68VZ328] Error 2
>>>make[1]: Leaving directory
>>>`/home/tools/src/uClinux-dist-gcc-3.4.0/linux-2.6.x'
>>>make: *** [linux] Error 1
>>>
>>>What am I doing wrong?
>>
>>
>>I don't think your doing anything wrong. That asm code looks
>>broken to me, there shounldn't be "%d0" in the clobber list
>>(function _bsc1 in include/asm-m68knommu/bootstd.h).
>>
>>Newer versions of gcc are much more pedantic about this type
>>of thing, older compilers would have been happy with it.
>>
>>Regards
>>Greg
>>
>>
>>
>>------------------------------------------------------------------------
>>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
>>_______________________________________________
>>uClinux-dev mailing list
>>uClinux-dev at uclinux.org
>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>This message was resent by uclinux-dev at uclinux.org
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>uClinux-dev mailing list
>>uClinux-dev at uclinux.org
>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>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
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> 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 mailing list