From owner-freebsd-arm@freebsd.org Thu Aug 2 11:10:28 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 292E010630DB for ; Thu, 2 Aug 2018 11:10:28 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm1.bullet.mail.kks.yahoo.co.jp (nh501-vm1.bullet.mail.kks.yahoo.co.jp [183.79.56.131]) by mx1.freebsd.org (Postfix) with SMTP id 3531483104 for ; Thu, 2 Aug 2018 11:10:26 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.139] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 02 Aug 2018 11:08:42 -0000 Received: from [183.79.100.136] by t502.bullet.mail.kks.yahoo.co.jp with NNFMP; 02 Aug 2018 11:08:42 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 02 Aug 2018 11:08:42 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 35140.92638.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 27389 invoked by uid 60001); 2 Aug 2018 11:08:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1533208121; bh=NnM/Wx839w93sdG0RmP0zCU+qF7XlpFDlkfCQbDPDOA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QeMJD4mL1J9GQ9E+YkdNteQ7gj6z4byQ2+jybrZG5s1xot9QABJ7OO53xxsnSJFF1JQCiWbVI/OHXw9xvyoS2mWPy4xnkndYlDoKI692t97waDPDK6TzWAP9FddKuTS4eccDclvEb2HCJ7/gFbNAfC78gdPau6oVtQmOOuSv6Qk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rSHoYenoHb6IhbgvGHtZflQiy7M0tZmZ/2uVEdvrbkU5+4f7zLWlBiyiClqLJww3uyiGiYP1TfZUWxlQ0OsXrY+LR3wZV+yoY+aF53QXI/mdkUtyYCB8sJ2X2CH976ppBrcjxLmPmNWapiz0yZijZ3ETdmOlMPTIYVHFUGqKgz0=; Message-ID: <683707.5703.qm@web103901.mail.ssk.yahoo.co.jp> X-YMail-OSG: bvD.OQYVM1lD0XDsOR1GJAljP8ap.1Ulyy4e.5dcp48lw11ZXKZPetJIthCKibABniu6QKG23JxP9Q2UCOVBn7ETJqoHpvcWM3fC1tMAG3x6VNbLUlypD_h7vOXjYhWnu7HyC6Dkc4QcCqaEXvgRAxxDCfNgV1ZrS3eFpX0_jBay17R02iLk2ctEpEZp4EOKRE2C_rJWkdFdWeAmzn9Es3o8xD9eQ.XZbEOe_SIzZfoxmt5U.Yx5zFGI3edEFFpHd8GzOslHRR.dMTTE5bR1ffyZ70r3BJ06aOrIvA8gnj0RqfKo9wdRqFAs28eyF1dB.0H.h0YGXIeiOwJsYYDek.0rCL4EEolVrdm7gGgnrDbb0BvCLzPyzvC8XdKHTQEhqomOWX6BRnJpNezUlDOa_GGfgzrJOIDkAfWGkYf2Nd19QjD4KlhY2ruDAlvi0BxarmjYwWT14AEfqTBB4vtla3XDMAaSZdLtu7YLvwxuOUQPzawaw.xIVMNgfI_ubUXxIlmjHUo5p9HOJ6oiZ3UImFpnmCvOss9utlTSrsMKw_AZ2OyJWjx_23eDM5fK_bPDUZeqfO3SrSIHbHP58rN_fMeBcXt1WhDFEP4jrHNLAzcv0LsXCSrniBnfLkCbQDfP Received: from [203.165.91.75] by web103901.mail.ssk.yahoo.co.jp via HTTP; Thu, 02 Aug 2018 20:08:40 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: fsskkPEVM1lmIz1E_o3B35veEpxZLhoJHqb_YPXuFNgdmUYnT_oxDQd5FAUzYz7jshgioCjb5RdmezkkTuyYZvM0_unRYEfbpNC9aTdqRCoAgP9VffsxZ7cOi1j5SBn6rbab References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> <027D94FC-F507-4A64-99DC-B60E03D55D3B@fubar.geek.nz> Date: Thu, 2 Aug 2018 20:08:40 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: One last item: CNS1102 support removal To: Warner Losh , Andrew Turner Cc: "freebsd-arm@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 11:10:28 -0000 Hi=0A=0AI always use ZRouter build system. But I try normal build system.= =0A=0AI use this.=0A=0A=3D=3D=3D=0Aexport MAKEOBJDIRPREFIX=3D/storage/home/= hiroki/armbuild/obj=0A=0Acd /storage/home/hiroki/freebsd=0A=0Amake buildwor= ld TARGET_ARCH=3Darm=0A=0Amake buildkernel TARGET_ARCH=3Darm KERNCONF=3DRT1= 310=0A=3D=3D=3D=0A=0AI do this then my cheap server is endless compile abou= t 2 days.=0A=0AHow do I check RT1310 build ?=0A=0ARegards=0A=0AHiroki Mori= =0A=0A----- Original Message -----=0A>From: Warner Losh =0A= >To: Andrew Turner =0A>Cc: Mori Hiroki ; "freebsd-arm@freebsd.org" =0A>Date: 20= 18/7/20, Fri 01:20=0A>Subject: Re: One last item: CNS1102 support removal= =0A> =0A>=0A>=0A>=0A>=0A>=0A>On Thu, Jul 19, 2018 at 3:25 AM, Andrew Turner= wrote:=0A>=0A>=0A>>> On 18 Jul 2018, at 23:44, Mori= Hiroki wrote:=0A>>> =0A>>> Hi=0A>>> =0A>>> =0A>>> = ----- Original Message -----=0A>>>> From: Warner Losh =0A>>= >> To: Mori Hiroki =0A>>>> Cc: "freebsd-arm@freebsd= .org" =0A>>>> Date: 2018/7/19, Thu 03:01=0A>>>> Su= bject: Re: One last item: CNS1102 support removal=0A>>>> =0A>>>> =0A>>>> = =0A>>>> =0A>>>> =0A>>>> =0A>>>> On Wed, Jul 18, 2018 at 11:41 AM, Mori Hiro= ki wrote:=0A>>>> =0A>>>> Hi=0A>>>>> =0A>>>>> =0A>>>= >> sys/arm/ralink is work fine. Please do not remove this.=0A>>>> =0A>>>> = =0A>>>> OK. Do you have a kernel config file we can commit to the tree? I d= on't even know if it compiles, apart from your dmesg posts. I wasn't sure b= ased on your email, so I thought I'd ask for clarification.=0A>>> =0A>>> Th= is is kernel configure file.=0A>>> =0A>>> https://svnweb.freebsd.org/ base/= head/sys/arm/conf/RT1310? view=3Dmarkup=0A>>=0A>>That config file fails to = build. It's marked with NO_UNIVERSE so it won=E2=80=99t be tested by the un= iverse of tinderbox targets.=0A>>=0A>=0A>=0A>It's missing the machine direc= tive, the cpu directive, the hints file it specifies isn't there and the fv= and rt1310gpio devices specified in it aren't found. Fixing all that gives= :=0A>=0A>=0A>--- rt1310_intc.o ---=0A>/usr/home/imp/git/head/sys/arm/ralink= /rt1310_intc.c:404:7: error: implicit declaration of function 'fdt_is_compa= tible' is invalid in C99 [-Werror,-Wimplicit-function-declaration]=0A>=C2= =A0 =C2=A0 =C2=A0 =C2=A0 if (!fdt_is_compatible(node, "lpc,pic"))=0A>=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^=0A>/usr/home/imp/git/head/sys/a= rm/ralink/rt1310_intc.c:404:7: note: did you mean 'fdt_find_compatible'?=0A= >/usr/home/imp/git/head/sys/dev/fdt/fdt_common.h:85:11: note: 'fdt_find_com= patible' declared here=0A>phandle_t fdt_find_compatible(phandle_t, const ch= ar *, int);=0A>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=0A>/usr/home/imp/git/he= ad/sys/arm/ralink/rt1310_intc.c:404:7: error: this function declaration is = not a prototype [-Werror,-Wstrict-prototypes]=0A>=C2=A0 =C2=A0 =C2=A0 =C2= =A0 if (!fdt_is_compatible(node, "lpc,pic"))=0A>=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0^=0A>2 errors generated.=0A>*** [rt1310_intc.o] Error = code 1=0A>=0A>=0A>make[2]: stopped in /usr/home/imp/obj/usr/home/imp/git/he= ad/arm.arm/sys/RT1310=0A>=0A>=0A>Warner=0A>=0A>=0A>