From owner-freebsd-arm@freebsd.org Thu Jul 19 16:20:06 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 8A6A110400DB for ; Thu, 19 Jul 2018 16:20:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1994297AEC for ; Thu, 19 Jul 2018 16:20:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x233.google.com with SMTP id o22-v6so6483121ioh.6 for ; Thu, 19 Jul 2018 09:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3ngiNZ+JMXdWaBOYpfzfVJIRAJMS2FjbYFX48uO9dI0=; b=inA+8WhCEWqSeGBVT9w8wiyIUqNaNYLbleQtU6WnfPTGE+P4bYNsOgJg6Xegw4zNkj mRCFUYD9Uf/HzGmeO7ltMIfxahYcf7pY6FMdIfrluhom8nJbJJxBX5kbhd07k1MAcJ2z iiUqApMIeC6EttfOCmxq/ojNFRyPC5rswc5ikbYOMLmSRbdc4takPR+HlfjH1i3T6Et2 dkCPEyH+/53vd5XoKkv5v2g32+Zw2JbvsFj2sTSBWSDVCXQ6XqA7FcvH+/jFuXMElxHC UEM6VxMQ7uCqL+TFGZsqLJR4uC+XT9DLlrhPrR1H7r/5zhfKcV9StwkQMRi/vTw27ZOf hpHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3ngiNZ+JMXdWaBOYpfzfVJIRAJMS2FjbYFX48uO9dI0=; b=AeFnxVHitmHKwthSJ5GYsPlDiIJ9Y0zNigLZS85TLTJXPpds+6I9/KO8Cq3uMPuonP 53/tUsJQwn2x1w+OlPEtmlVe3or+K8RqDZ3AnLSkiBVWwXWLkYst+ad4p/fmsUyws3OF z/p9jIRA0b4H0jz++NVSCoONc27oEGr5h1rg6d+L8Yf5E5CF+S5Itoo1zaHu0BILftuq 5ToQjxhalq1kGhuXUz958MFWmyofFeQLSjKWBTau+4OzvdmCyVYovbvk57UkqQotU+5m lvNH+yhxhueI67YPyfBAWSfgOI9OodPS5uzGn67HvVpNpGpCn0gnneuEKfUHtHptqndu bsEw== X-Gm-Message-State: AOUpUlGBWyE/8DE5WCDZZlrRXsGIdMjgVZA4CgaX1TxaVhx2nOlWT9aP J175JdO4DdON2XeIB9DgBjY6a3cpQfqq6rt3cZPlRYzRcpXY/Q== X-Google-Smtp-Source: AAOMgpfkONi9mnReK656ZdsQrmzigmDMWSF1k1BXYbo0cz69pg4N8wOJwb75TbOCvSB671t0wUQMmC7iTg5nwt2Bcds= X-Received: by 2002:a6b:f719:: with SMTP id k25-v6mr3486364iog.37.1532017204821; Thu, 19 Jul 2018 09:20:04 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Thu, 19 Jul 2018 09:20:04 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <027D94FC-F507-4A64-99DC-B60E03D55D3B@fubar.geek.nz> 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> From: Warner Losh Date: Thu, 19 Jul 2018 10:20:04 -0600 X-Google-Sender-Auth: 7ev8bVW-jlkb2tlmB0VxTIh9TzE Message-ID: Subject: Re: One last item: CNS1102 support removal To: Andrew Turner Cc: Mori Hiroki , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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, 19 Jul 2018 16:20:06 -0000 On Thu, Jul 19, 2018 at 3:25 AM, Andrew Turner wrote= : > > > On 18 Jul 2018, at 23:44, Mori Hiroki wrote: > > > > Hi > > > > > > ----- Original Message ----- > >> From: Warner Losh > >> To: Mori Hiroki > >> Cc: "freebsd-arm@freebsd.org" > >> Date: 2018/7/19, Thu 03:01 > >> Subject: Re: One last item: CNS1102 support removal > >> > >> > >> > >> > >> > >> > >> On Wed, Jul 18, 2018 at 11:41 AM, Mori Hiroki > wrote: > >> > >> Hi > >>> > >>> > >>> sys/arm/ralink is work fine. Please do not remove this. > >> > >> > >> OK. Do you have a kernel config file we can commit to the tree? I don'= t > even know if it compiles, apart from your dmesg posts. I wasn't sure base= d > on your email, so I thought I'd ask for clarification. > > > > This is kernel configure file. > > > > https://svnweb.freebsd.org/base/head/sys/arm/conf/RT1310?view=3Dmarkup > > That config file fails to build. It's marked with NO_UNIVERSE so it won= =E2=80=99t > be tested by the universe of tinderbox targets. > It's missing the machine directive, 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: --- rt1310_intc.o --- /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: error: implicit declaration of function 'fdt_is_compatible' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (!fdt_is_compatible(node, "lpc,pic")) ^ /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: note: did you mean 'fdt_find_compatible'? /usr/home/imp/git/head/sys/dev/fdt/fdt_common.h:85:11: note: 'fdt_find_compatible' declared here phandle_t fdt_find_compatible(phandle_t, const char *, int); ^ /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] if (!fdt_is_compatible(node, "lpc,pic")) ^ 2 errors generated. *** [rt1310_intc.o] Error code 1 make[2]: stopped in /usr/home/imp/obj/usr/home/imp/git/head/arm.arm/sys/RT1310 Warner