Brilliant, Thanks David. Applying your patch and adding
CFLAGS += -DCONFIG_BIG_ENDIAN CONFIG_BIG_ENDIAN=1 To the arch file gets the kernel to compile. Thanks to everybody who helped. Phil -----Original Message----- From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev-boun...@uclinux.org] On Behalf Of David Wu Sent: 29 June 2010 22:29 To: uClinux development list Subject: Re: [uClinux-dev] Microwindows on coldfire 5329 Hi Phil, This microwin requires some definitions from other locations such as config.arch. You can define the missing defines there. The attached patch is used for our uC53281-EVM modules. The extra definitions are in our config.arch file: CFLAGS += -DCONFIG_BIG_ENDIAN CONFIG_BIG_ENDIAN=1 may need this: CFLAGS += -DuClinux=1 You may choose not to change CONFIG_M68KNOMMU in user/microwin/src/config but you need to add CONFIG_M68KNOMMU=y in your config.arch file. I choose not to use LIBZ and LIBPNG, instead I give -lz in LDLIBS so the libz.a can be found in the LDFLAGS. Hope this help Regards, David On Tue, 29 Jun 2010 11:12:21 -0400, Philip Mason <phil.ma...@crystalvision.tv> wrote: > Michael, > >> Which tool chain and distro source versions are you using? > > I'm now using the 20101503 distro and the 20080626 toolchain (I first > saw the problem with older version of both but this has prompted me to > update) but I still see the same problem as Bruce, namely when I > include microwindows I get the error > > swap.h:57:5: error: #error MW_CPU_BIG_ENDIAN and your OS disagree > about your CPUs byte-order. Did you forget to set BIGENDIAN in the > config file? > > But when I look in the microwindows config file it checks if the arch > is uClinux and then if CONFIG_68KNOMMU is set and if it is then it > sets BIGENDIAN to Y. It looks like this second test is failing though > because if I set the else condition to Y as well I get different error > messages. > > Hmmm, searching the source the only location of CONFIG_68KNOMMU is in > that config file for microwindows. Should I be setting it somewhere? > I've had a quick look at the processor options I can't find it in there? > > Thanks > > Phil > > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev