From owner-freebsd-arm@freebsd.org Sat Jan 23 05:22:54 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36D5CA8D42A; Sat, 23 Jan 2016 05:22:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 F29D61D73; Sat, 23 Jan 2016 05:22:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x231.google.com with SMTP id ik10so4829725igb.1; Fri, 22 Jan 2016 21:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Bnb/kuIWQC3hlJ1mKCDc0O7xnRQoyU++gNZA+ljyx4M=; b=gGWK+f3e8Ovp6NFyGN7qoVRwhDmspnLvdg/SI582L8eIlE4B7APm0/l3cPwcdsJQ+R bvE2+2qqTW7ZMHBRW8y91NVoRY3KuRwljI0MoiG24GFNACxz+a3Jnf2qvCusgVCDsD9I hRI8f/crfmXqsrCSKosy6ZXf79+OBoo4Ntzqi2UocK4EXzIEZLtRD10nhj3zxjA6ao77 YiuvSTL6iwy1NTXXFYPUdtMkSNuoaU5+qvJT+eiMASLYzrRcpagH6xJl591VRdR3UlEC kIbyFRD6Y3N3JR8RsUmD8qWn4cyQS0EdFLqbxW5vjDfU4WybNeRVmnt2LRbEbcACiCZA HYyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Bnb/kuIWQC3hlJ1mKCDc0O7xnRQoyU++gNZA+ljyx4M=; b=l1CeQjF8/l9KMu7ITECJNW/R5VwztIVAJR1sZJwKk/msL0bs3Qa7Bc0UyrlbqFPDEr YWX71Gxbknrd2KOo/e4VPYGhPVIx1rg4dOC6wdZFJXOMv55X8LLS566tcG/AVCSkhFNR 7V+6H0AlUmUyNjKDcgeYAUZ5pPpAd9V8F09f/TmBcgvBHstmyh42DXeS/aEd81Nm/26T j+OD784g+F/h15kBaXnCJQB7mUghiLJFb4hzapRyJz8gMlUn+LQO2HZ4qoNkt/LEOCIz dqs/CgBzDx+rcw3r/RDUi4HZy7edx/1RgYhMs7yIpkjX5FX9lEs2HQnS7Ey8mCE7gHp0 E/og== X-Gm-Message-State: AG10YOQoy2hPW0msKVcQBSYstKniHer+Dnbpy6qX2GASeYw+irNGC9DxR4bXpau44/pHpdhP7F9PEzq0tCSZoA== MIME-Version: 1.0 X-Received: by 10.50.171.225 with SMTP id ax1mr6683935igc.61.1453526573397; Fri, 22 Jan 2016 21:22:53 -0800 (PST) Received: by 10.36.121.16 with HTTP; Fri, 22 Jan 2016 21:22:53 -0800 (PST) In-Reply-To: References: <20160122173906.147bb7c2@stevek-ubuntu.jnpr.net> Date: Fri, 22 Jan 2016 21:22:53 -0800 Message-ID: Subject: Re: SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c From: Adrian Chadd To: Stanislav Galabov Cc: Steve Kiernan , "freebsd-arm@freebsd.org" , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 05:22:54 -0000 let me .. fix that. -a On 22 January 2016 at 21:18, Stanislav Galabov wrote: > It looks like only part of the original patch I submitted made it into he= ad > (only the mx25l part). > We also need to change sys/conf/files as Steve pointed out, as well as > sys/geom/geom_flashmap.c: > https://bz-attachments.freebsd.org/attachment.cgi?id=3D165546 > > Best wishes, > Stanislav > > On Sat, Jan 23, 2016 at 12:39 AM, Steve Kiernan wrot= e: > >> On Thu, 14 Jan 2016 11:01:10 +0200 >> Stanislav Galabov wrote: >> >> > Hi all, >> > >> > First off, sorry for the cross-post, I wasn=E2=80=99t very sure where = this >> should go=E2=80=A6 >> > >> > I=E2=80=99ve created 3 PRs, which enable some functionality that my wo= rk on >> Ralink/Mediatek SoCs would benefit from. >> > >> > 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206227 >> > - This enables geom_flashmap and fdt_slicer support for SPI flash chip= s >> supported by the mx25l driver (sys/dev/flash/mx25l.c) >> >> I see this change was committed to head, but I don't see a corresponding >> change to sys/conf/files to ensure fdt_slicer.c and geom_flashmap.c get >> compiled. >> >> I think you also need something like the following: >> >> Index: sys/conf/files >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- sys/conf/files (revision 294541) >> +++ sys/conf/files (working copy) >> @@ -1419,7 +1419,7 @@ >> dev/fdt/fdt_common.c optional fdt >> dev/fdt/fdt_pinctrl.c optional fdt fdt_pinctrl >> dev/fdt/fdt_pinctrl_if.m optional fdt fdt_pinctrl >> -dev/fdt/fdt_slicer.c optional fdt cfi | fdt nand >> +dev/fdt/fdt_slicer.c optional fdt cfi | fdt nand | fdt mx25l >> dev/fdt/fdt_static_dtb.S optional fdt fdt_dtb_static \ >> dependency "$S/boot/fdt/dts/${MACHINE}/${FDT_DTS_FILE}" >> dev/fdt/simplebus.c optional fdt >> @@ -3010,7 +3010,7 @@ >> geom/geom_dump.c stfgeom_dumandard >> geom/geom_event.c standard >> geom/geom_fox.c optional geom_fox >> -geom/geom_flashmap.c optional fdt cfi | fdt nand >> +geom/geom_flashmap.c optional fdt cfi | fdt nand | fdt mx25l >> geom/geom_io.c standard >> geom/geom_kern.c standard >> geom/geom_map.c optional geom_map >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"