From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [Consult] About tool chains of metag Date: Thu, 05 Dec 2013 09:57:21 +0800 Message-ID: <529FDD81.7010000@gmail.com> References: <529EC18D.5040602@gmail.com> <529F19DA.5050805@imgtec.com> <529F5719.1000400@imgtec.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OwyIfbVFztFzAqehJMP7WhqYfOJ47EK1pzRIR4B94oI=; b=pAFITPb2BYTM1TqVtGsJ7dXF0nVd39DhZ7PEMuc/jfwD4eLpdQp2z2g/RoWcefap+E hj+F8vmVnxKnQ1E2gQeTYisxUR50wqeFEtIABwKOPtCoSVl98Vm83OhznviDZsFyBmPQ rq+n/ZihE/l/ONrSekbwgRPiYcm5xCjnQEf1bARrWNBtK/GMwHYqf3NBfchex58QME8B /pKuvX9j25tuY9W3+Sf3a2AbOd84cEymenw0d4rI93WUHn/p48uKA8s/YIGDQe42dQYO zn/+oUaqoOpZD52LTgYA+Q73NqLR+xKQYqxn++hoCi6hYXa4SKjy1aGNOo7gfhePY1wx g4lw== In-Reply-To: <529F5719.1000400-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org> Sender: linux-metag-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: James Hogan Cc: Tony Breeds , linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Fengguang Wu , Arnd Bergmann Thank you very much for your details valuable information. I will/should try my best to let it pass allmodconfig, and I guess https://lkml.kernel.org/r/201211161520.03974.arnd-r2nGTMty4D4@public.gmane.org is valuable to me, and I will/should reference it. I will/should try to finish allmodconfig within one month, but excuse me, I have to do it in my free time as a volunteer, so maybe it needs longer (but at least, it should be finished within 2014-1-31). Thanks. On 12/05/2013 12:23 AM, James Hogan wrote: > On 04/12/13 12:02, James Hogan wrote: >> On 04/12/13 05:45, Chen Gang wrote: >>> Could you provide any related information about metag tool chains? >>> >>> I plan to cross compile metag with allmodconfig, but now it seems not >>> quite easy to find related gcc (binutils-2.23.2 support metag, but gcc >>> main line does not). >> >> A buildroot tree containing a gcc-4.2.4 patch can be found here: >> >> git://github.com/img-meta/metag-buildroot.git metag-core >> >> Use meta2_defconfig >> >> There's a known issue with all/random config builds with this toolchain >> which results in internal compiler errors triggered by the inline asm in >> arch/metag/include/asm/io.h when used by certain drivers, so I need to >> update the patch to the latest before these will go away. > > I've pushed a new buildroot branch which has the updated GCC 4.2.4 patch: > > git://github.com/img-meta/metag-buildroot.git metag-core-2013.11 > Again use meta2_defconfig. > > Tony: Is this something you can easily use to generate a Meta toolchain > for https://www.kernel.org/pub/tools/crosstool/? > > Thanks > James > >> >> The other main issue with all/random config builds for Meta is a few >> missing !METAG dependencies on legacy PC peripherals like SERIO_I8042, >> which I believe you've already come across for Arc. >> >> Please read this thread before attempting to fix them: >> https://lkml.kernel.org/r/201211161520.03974.arnd-r2nGTMty4D4@public.gmane.org >> >> I haven't got around to fixing this properly myself, but it would be a >> worthwhile improvement if you felt inclined to do so. > -- Chen Gang Open, share, and attitude like air, water and life which God blessed -- To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html