From owner-freebsd-mips@freebsd.org Thu Sep 8 03:21:15 2016 Return-Path: Delivered-To: freebsd-mips@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 80868BCE57C for ; Thu, 8 Sep 2016 03:21:15 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh604-vm8.bullet.mail.ssk.yahoo.co.jp (nh604-vm8.bullet.mail.ssk.yahoo.co.jp [182.22.90.65]) by mx1.freebsd.org (Postfix) with SMTP id 0CCF71E20 for ; Thu, 8 Sep 2016 03:21:14 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 08 Sep 2016 03:21:03 -0000 Received: from [182.22.91.128] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 08 Sep 2016 03:21:03 -0000 Received: from [127.0.0.1] by omp601.mail.ssk.yahoo.co.jp with NNFMP; 08 Sep 2016 03:21:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 300131.38572.bm@omp601.mail.ssk.yahoo.co.jp Received: (qmail 99764 invoked by uid 60001); 8 Sep 2016 03:21:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1473304863; bh=g+/CwPtkqNuxR9Bn0rf0UmVbl2ozz9liP//NmqXBm3k=; 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=Era1XZKaI2tAtNzI0Rb4a/KDJx7x/FraG1Hh98l2hs4ip9vxuzSCXqB1geQf267QvGVpKoMfE9QG2Df4+Jz4nTX0cC5bC5tFrAkOTOaX66vrHA1ejh2WNDdoWme+un1nKfH+n3XZ8vhsMhbinz3iLmZEfOiZRa8/D01zHA633Eo= 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=KLTnM86lZZ6Z1SLz5muZZsWqYBzVbdPkyraFGDPUklRKPE09E+rQGeC/N7JSJR8DCkAys4MW1GxOLj01eUMk2gWgePI/mkEDgATu9xzMXHRh10XXfv2wivXYureGpM58fNBHgS7LdGFyFQmoYp/Z+GcLcQvswraWKRnGO13BBa4=; Message-ID: <81353.98026.qm@web101708.mail.ssk.yahoo.co.jp> X-YMail-OSG: 9jtYDesVM1m9J8xrOq6CT5Mu78Kd9uusk5RFRMVHH1Yv2HBXcJXIXNorgWGdn5kjY34LT0_JRyCuGGkg.KS5aSvdlMDxm1bKZaAeL34nh4VAYAi9EVmigr3rJQSEYgzdoKeQLlMl7IoLIhnkd99zDh7WknwIxOqsEA0X0yLVV090qSmFgWZm5TY9pJbSuXzBOKZYQG3yYEztpd2bwvfR3KIkGpBA.VzqhXwc8P4aMlZxvUHAOnW.jLakj_eErrx_ZOfEKnPaLHabbWHA6WTPudpt_JIAtZUwRGbF3G6Q.sIojV._SvLQCaYfIeXxtH718HhPPLlAqJmKqaR6x.2f9IghOxf_NJhjQInsw9jNSvfn6eq8RjEF7p17SO34AYgbMhfybbYKRB0jzjpTwtb5nK8jHKnBVsRD2rOvPemgMDRLx23g64D9obyM8i.ebE4YhMmgiUHj6FdD0qaaEqrEMZI226AN7AqBw0OFSwVR12iqz1dLZctovfVuFJo51hV3ElVcvuQ1_V2lfup4lyddv7YQ8pMqBtzBCwglE.hdHbQCtjvr.sqGlPlvo0wlWojkQ.BDm6yfnSFzrYPJv3og2Oqm0ufOkE8_m9EA6bs- Received: from [110.134.196.53] by web101708.mail.ssk.yahoo.co.jp via HTTP; Thu, 08 Sep 2016 12:21:02 JST X-Mailer: YahooMailWebService/0.8.111_69 X-YMail-JAS: hDmzu8QVM1nGemQA8goFOfqCsD2W0CDgLSaWvkRTHzpJkHB_RXh7Y4tnAok1hHLmeWt.hMEWRGxI97NMOzfFAqwbzPTXkKQfICdXSgqfr_SY2BPrK0sIloeqLzEk.0KKYslk References: <705503.18629.qm@web101707.mail.ssk.yahoo.co.jp> <81B9B540-B1CB-406F-9F51-FDBDB451B4FC@gmail.com> <125460.52837.qm@web101714.mail.ssk.yahoo.co.jp> <54D1B5E9-FB36-49D9-8CD0-0D42B732E8D9@gmail.com> Date: Thu, 8 Sep 2016 12:21:02 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: sys/mips/mediatek kernel crash on RT3050 To: Stanislav Galabov Cc: Adrian Chadd , "freebsd-mips@freebsd.org" In-Reply-To: <54D1B5E9-FB36-49D9-8CD0-0D42B732E8D9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 03:21:15 -0000 Hi.=0A=0AI look that patch=A0apply=A0to head. I build and check it. Work fi= ne.=0A=0Ahttps://gist.github.com/yamori813/5ac99716500c4e7ee47c4db8d403c5b7= =0A=0A=0AThanks=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> F= rom: Stanislav Galabov =0A> To: Mori Hiroki =0A> Cc: Stanislav Galabov ; Adrian Chadd <= adrian.chadd@gmail.com>; "freebsd-mips@freebsd.org" =0A> Date: 2016/8/29, Mon 18:09=0A> Subject: Re: sys/mips/mediatek kerne= l crash on RT3050=0A> =0A> Hi,=0A> =0A> Could you please test after applyin= g the patch found at: =0A> https://reviews.freebsd.org/D7692=0A> =0A> Best = wishes,=0A> Stanislav=0A> =0A>> On Aug 29, 2016, at 06:07, Mori Hiroki wrote:=0A>> =0A>> Hi=0A>> =0A>> I build for BCM box = at sys/mips/brodecom today.=0A>> =0A>> This build have same panic.=0A>> = =0A>> CFE> boot -raw -z -addr=3D0x80001000 -max=3D0x3a0000 flash0.os:=0A>>= Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)=0A>> Loading: = ........... 3446116 bytes read=0A>> Entry at 0x80001000=0A>> Closing netw= ork.=0A>> Starting program at 0x80001000=0A>> entry: mips_init()=0A>> Ca= che info:=0A>> =A0 picache_stride=A0 =A0 =3D 4096=0A>> =A0 picache_loopco= unt =3D 4=0A>> =A0 pdcache_stride=A0 =A0 =3D 4096=0A>> =A0 pdcache_loopco= unt =3D 4=0A>> cpu0: Broadcom processor v41.144=0A>> =A0 MMU: Standard TL= B, 32 entries (1K 4K 16K 64K 256K 1M 16M 64M 256M pg =0A> sizes)=0A>> =A0 = L1 i-cache: 4 ways of 256 sets, 16 bytes per line=0A>> =A0 L1 d-cache: 2 w= ays of 512 sets, 16 bytes per line=0A>> =A0 L2 cache: disabled=0A>> =A0 C= onfig1=3D0x3e9b6c86=0A>> KDB: debugger backends: ddb=0A>> K= DB: current backend: ddb=0A>> Copyright (c) 1992-2016 The FreeBSD Project.= =0A>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994=0A>> =A0 =A0 =A0 =A0 The Regents of the University of California. All= rights reserved.=0A>> FreeBSD is a registered trademark of The FreeBSD Fo= undation.=0A>> FreeBSD 12.0-CURRENT #3 7c2f7cf(zrouter)-dirty: Mon Aug 29 = 11:41:45 JST =0A> 2016=0A>> =A0 =A0 =0A> hiroki@microserver:/storage/home/h= iroki/obj/storage/home/hiroki/zrouter/tmp/=0A>> mips.mipsel/storage/home/h= iroki/freebsd/sys/Buffalo_WHR-HP-G54 mips=0A>> gcc version 4.2.1 20070831 = patched [FreeBSD]=0A>> real memory=A0 =3D 16125952 (15748K bytes)=0A>> av= ail memory =3D 11137024 (10MB)=0A>> nexus0: =0A>> bhnd= 0: at mem 0x18000000-0x180fffff on nexus0=0A>> bhnd_chi= pc0: mem =0A> 0x18000000-0x180= 00=0A>> dff,0x1fc00000-0x1fffffff,0x1c000000-0x1dffffff,0x1a000000-0x1bfff= fff at =0A> core 0=0A>> on bhnd0=0A>> bhnd_mips0: mem 0x18002000-0x18002dff =0A> at core 2=0A>> on bhnd0=0A>> cpup= ic0: on nexus0=0A>> bhnd_pmu0: on bhnd_chipc0=0A>> bhnd0: error reading BOARDVENDOR: = 19=0A>> bhnd_pmu0: error fetching board info: 19=0A>> device_attach: bhnd= _pmu0 attach returned 6=0A>> nvram2env0: Found NVRAM at 0x1fc00400=0A>> n= vram2env0: on nexus0=0A>> nvram2env0: sig =3D= 0x48534c46=0A>> nvram2env0: size =3D 0x2f0=0A>> nvram2env1: Found NVRAM = at 0x1c7f8000=0A>> nvram2env1: on nexus0=0A>>= nvram2env1: sig =3D 0x48534c46=0A>> nvram2env1: size =3D 0x344=0A>> clo= ck0: on nexus0=0A>> panic: Unable to add hard IRQ = 7 handler=0A>> KDB: enter: panic=0A>> [ thread pid 0 tid 100000 ]=0A>> S= topped at=A0 =A0 =A0 kdb_enter+0x4c: lui=A0 =A0 at,0x8036=0A>> =0A>> =0A>>= ----- Original Message -----=0A>>> From: Stanislav Galabov =0A>>> To: Adrian Chadd =0A>>> Cc: Mori Hi= roki ; =0A> "freebsd-mips@freebsd.org" =0A>>> Date: 2016/8/26, Fri 01:31=0A>>> Subject: Re: sys/mip= s/mediatek kernel crash on RT3050=0A>>> =0A>>> Hi all,=0A>>> =0A>>> I am = currently on vacation and will be back next week. I guess I'll =0A> find=0A= >>> some time to look at this then if needed.=0A>>> =0A>>> Best wishes,= =0A>>> Stanislav=0A>>> =0A>>>> On Aug 25, 2016, at 18:25, Adrian Chadd = =0A> =0A>>> wrote:=0A>>>> =0A>>>> Hm, does it req= uire INTRNG these days?=0A>>>> =0A>>>> =0A>>>> -a=0A>>>> =0A>>>> =0A>>>>> = On 24 August 2016 at 18:11, Mori Hiroki =0A> =0A>>>= wrote:=0A>>>>> Hi=0A>>>>> =0A>>>>> I build sys/mips/mediatek for RT3050= box at few days before =0A> head.=0A>>>>> =0A>>>>> This kernel crash.=0A>= >>>> =0A>>>>> This build based on rt3050.dtsi.=0A>>>>> =0A>>>>> Some one = know this problem ?=0A>>>>> =0A>>>>> Thanks.=0A>>>>> =0A>>>>> Starting ke= rnel ...=0A>>>>> =0A>>>>> FDT DTB=A0 at: 0x802ce6f0=0A>>>>> CPU=A0 clock= :=A0 320MHz=0A>>>>> Timer clock:=A0 160MHz=0A>>>>> UART=A0 clock:=A0 106M= Hz=0A>>>>> =0A>>>>> U-Boot args (from 0 args):=0A>>>>> =A0 =A0 =A0 =A0 No= ne=0A>>>>> Environment:=0A>>>>> entry: mips_init()=0A>>>>> RAM size: 32M= B (assumed)=0A>>>>> Cache info:=0A>>>>> =A0 picache_stride=A0 =A0 =3D 409= 6=0A>>>>> =A0 picache_loopcount =3D 8=0A>>>>> =A0 pdcache_stride=A0 =A0 = =3D 4096=0A>>>>> =A0 pdcache_loopcount =3D 4=0A>>>>> cpu0: MIPS Technolog= ies processor v76.150=0A>>>>> =A0 MMU: Standard TLB, 32 entries (4K 16K 64= K 256K 1M 16M 64M =0A> 256M pg=0A>>> sizes)=0A>>>>> =A0 L1 i-cache: 4 way= s of 256 sets, 32 bytes per line=0A>>>>> =A0 L1 d-cache: 4 ways of 128 set= s, 32 bytes per line=0A>>>>> =A0 L2 cache: disabled=0A>>>>> =A0 Config1= =3D0xbea3319e=0A>>>>> =A0 Config2=3D0x80= 000000=0A>>>>> =A0 Config3=3D0x420=0A>>>>> Physical memory chunk(s):=0A>>= >>> 0x334000 - 0x1ffffff, 30195712 bytes (7372 pages)=0A>>>>> Maxmem is 0= x2000000=0A>>>>> Copyright (c) 1992-2016 The FreeBSD Project.=0A>>>>> Cop= yright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, =0A> 1993,=0A>>>= 1994=0A>>>>> =A0 =A0 =A0 =A0 The Regents of the University of California= . All rights=0A>>> reserved.=0A>>>>> FreeBSD is a registered trademark of= The FreeBSD Foundation.=0A>>>>> FreeBSD 12.0-CURRENT #1 ed1832a(zrouter):= Sun Aug 21 12:19:54 =0A> JST 2016=0A>>>>> =0A>>> =0A> hiroki@microserver:/= storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/=0A>>>>> mips.mips= el/storage/home/hiroki/freebsd/sys/Fon_FON2305E_FDT =0A> mips=0A>>>>> gcc = version 4.2.1 20070831 patched [FreeBSD]=0A>>>>> Preloaded elf kernel "ker= nel" at 0x8032afb0.=0A>>>>> real memory=A0 =3D 33554432 (32768K bytes)=0A>= >>>> Physical memory chunk(s):=0A>>>>> 0x003c0000 - 0x01f3efff, 28831744 = bytes (7039 pages)=0A>>>>> avail memory =3D 28397568 (27MB)=0A>>>>> ULE: = setup cpu 0=0A>>>>> random: entropy device external interface=0A>>>>> fir= mware: 'rt2860fw' version 0: 8192 bytes loaded at =0A> 0x802d86d0=0A>>>>> = firmware: 'rt2561fw' version 0: 8192 bytes loaded at =0A> 0x802d2550=0A>>>>= > firmware: 'rt2561sfw' version 0: 8192 bytes loaded at=0A>>> 0x802d45d0= =0A>>>>> wlan: <802.11 Link Layer>=0A>>>>> firmware: 'rt2661fw' version 0= : 8192 bytes loaded at =0A> 0x802d6650=0A>>>>> null: =0A>>>>> openfirm: =0A>>>>= > mem: =0A>>>>> nexus0: =0A>>>>> random: harv= esting attach, 8 bytes (4 bits) from nexus0=0A>>>>> ofwbus0: on nexus0=0A>>>>> palmbus0: mem 0x10000000-0x= 101fffff on =0A> ofwbus0=0A>>>>> random: harvesting attach, 8 bytes (4 bit= s) from palmbus0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from = ofwbus0=0A>>>>> cpupic0: on ofwbus0=0A>>>>> = random: harvesting attach, 8 bytes (4 bits) from cpupic0=0A>>>>> sysc0: <= MTK System Controller> mem 0-0xff on palmbus0=0A>>>>> random: harvesting a= ttach, 8 bytes (4 bits) from sysc0=0A>>>>> pinctrl0: = on ofwbus0=0A>>>>> pinctrl0: GPIO mode start: 0x0000029d=0A>>>>> Processi= ng 1 pin-config node(s) in pinctrl-0 for spi@b00=0A>>>>> Processing 1 pin-= config node(s) in pinctrl-0 for uartlite@c00=0A>>>>> Processing 1 pin-conf= ig node(s) in pinctrl-0 for pinctrl=0A>>>>> pinctrl0: GPIO mode end=A0 : 0= x0000005d=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from pinctrl= 0=0A>>>>> rstctrl0: on ofwbus0=0A>>>>> random: har= vesting attach, 8 bytes (4 bits) from rstctrl0=0A>>>>> clkctrl0: on ofwbus0=0A>>>>> random: harvesting attach, 8 bytes (4 bit= s) from clkctrl0=0A>>>>> intc0: mem 0x200-= 0x2ff =0A> irq 6 on=0A>>> palmbus0=0A>>>>> random: harvesting attach, 8 b= ytes (4 bits) from intc0=0A>>>>> gpio0: mem 0x6= 00-0x633 irq 9 =0A> on=0A>>> palmbus0=0A>>>>> gpiobus0: on= gpio0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus0= =0A>>>>> random: harvesting attach, 8 bytes (4 bits) from gpio0=0A>>>>> p= almbus0: mem 0x100-0x11f irq 4 compat=0A>>> ralink,rt3050-time= r (no drive=0A>>>>> r attached)=0A>>>>> palmbus0: mem 0x12= 0-0x12f irq 5 compat=0A>>> ralink,rt3050-wdt (no driv=0A>>>>> er attached= )=0A>>>>> palmbus0: mem 0x300-0x3ff irq 7 compat=0A>>> ralink,= rt3050-memc (no driver=0A>>>>> attached)=0A>>>>> palmbus0: mem= 0x500-0x5ff irq 8 disabled =0A> compat=0A>>> ralink,rt3050-uart (n=0A>>>>= > o driver attached)=0A>>>>> gpioled0: at pin 14 on gpiobus0= =0A>>>>> random: harvesting attach, 8 bytes (4 bits) from gpioled0=0A>>>>>= gpioled1: at pin 11 on gpiobus0=0A>>>>> random: harvesting at= tach, 8 bytes (4 bits) from gpioled1=0A>>>>> gpioled2: at pin 9= on gpiobus0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from gpio= led2=0A>>>>> gpioled3: at pin 12 on gpiobus0=0A>>>>> random: h= arvesting attach, 8 bytes (4 bits) from gpioled3=0A>>>>> gpioc0: on gpio0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from= gpioc0=0A>>>>> palmbus0: mem 0x638-0x65b disabled compat=0A>>>= ralink,rt3050-gpio (no driv=0A>>>>> er attached)=0A>>>>> palmbus0: mem 0x660-0x683 disabled compat=0A>>> ralink,rt3050-gpio (no driv= =0A>>>>> er attached)=0A>>>>> spi0: mem 0xb00-0= xbff on =0A> palmbus0=0A>>>>> spibus0: on spi0=0A>>>>> mx25= l0: at cs 0 mode 0 on spibus0=0A>>>>> mx25l0: mx25ll= 64, sector 65536 bytes, 128 sectors=0A>>>>> random: harvesting attach, 8 b= ytes (4 bits) from mx25l0=0A>>>>> random: harvesting attach, 8 bytes (4 bi= ts) from spibus0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from = spi0=0A>>>>> uart0: mem 0xc00-0xcff irq 10 on =0A> p= almbus0=0A>>>>> uart0: console (57971,n,8,1)=0A>>>>> uart0: fast interrup= t=0A>>>>> uart0: PPS capture mode: DCDinvalid=0A>>>>> random: harvesting = attach, 8 bytes (4 bits) from uart0=0A>>>>> ofwbus0: compat ralin= k,rt3050-usbphy (no driver=0A>>> attached)=0A>>>>> rt0: mem=0A>>> 0x10100000-0x1010ffff irq 0 on o=0A>>>>> = fwbus0=0A>>>>> rt0: RT305XF Ethernet MAC (rev 0x00000000)=0A>>>>> rt0: us= e hardcoded 00:18:e7:d5:83:90 macaddr=0A>>>>> rt0: bpf attached=0A>>>>> r= t0: Ethernet address: 00:18:e7:d5:83:90=0A>>>>> random: harvesting attach,= 8 bytes (4 bits) from rt0=0A>>>>> mtkswitch0: mem 0x1= 0110000-0x10117fff =0A> irq 1=0A>>> on ofwbus0=0A>>>>> miibus0: = on mtkswitch0=0A>>>>> ukphy0: PHY 0= on =0A> miibus0=0A>>>>> ukphy0: OUI 0x000c43, model 0x0001, rev. 7=0A>>>>= > ukphy0:=A0 none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =0A> au= to=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from ukphy0=0A>>>>>= random: harvesting attach, 8 bytes (4 bits) from miibus0=0A>>>>> miibus1= : on mtkswitch0=0A>>>>> ukphy1: PHY 1 on =0A> miibus1=0A>>>>> ukphy1: OUI 0x000c43, model 0x0001, re= v. 7=0A>>>>> ukphy1:=A0 none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-F= DX, =0A> auto=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from ukp= hy1=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from miibus1=0A>>>= >> miibus2: on mtkswitch0=0A>>>>> ukphy2: PHY 2 on =0A> miibus2=0A>>>>> ukphy2: OUI 0x000c43, model= 0x0001, rev. 7=0A>>>>> ukphy2:=A0 none, 10baseT, 10baseT-FDX, 100baseTX, = 100baseTX-FDX, =0A> auto=0A>>>>> random: harvesting attach, 8 bytes (4 bit= s) from ukphy2=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from mi= ibus2=0A>>>>> miibus3: on mtkswitch0=0A>>>>> ukphy3: PHY 3 on =0A> miibus3=0A>>>>> ukphy3: OUI 0x00= 0c43, model 0x0001, rev. 7=0A>>>>> ukphy3:=A0 none, 10baseT, 10baseT-FDX, = 100baseTX, 100baseTX-FDX, =0A> auto=0A>>>>> random: harvesting attach, 8 b= ytes (4 bits) from ukphy3=0A>>>>> random: harvesting attach, 8 bytes (4 bi= ts) from miibus3=0A>>>>> miibus4: on mtkswitch0=0A>>>>> ukphy4:= PHY 4 on =0A> miibus4=0A>>>>> ukphy= 4: OUI 0x000c43, model 0x0001, rev. 7=0A>>>>> ukphy4:=A0 none, 10baseT, 10= baseT-FDX, 100baseTX, 100baseTX-FDX, =0A> auto=0A>>>>> random: harvesting = attach, 8 bytes (4 bits) from ukphy4=0A>>>>> random: harvesting attach, 8 = bytes (4 bits) from miibus4=0A>>>>> etherswitch0: on m= tkswitch0=0A>>>>> random: harvesting attach, 8 bytes (4 bits) from ethersw= itch0=0A>>>>> mdio0: on mtkswitch0=0A>>>>> random: harvesting atta= ch, 8 bytes (4 bits) from mdio0=0A>>>>> random: harvesting attach, 8 bytes= (4 bits) from mtkswitch0=0A>>>>> ofwbus0: mem 0x10180000-= 0x101bffff irq 2 =0A> compat=0A>>> ralink,rt3050-wm=0A>>>>> ac (no driver= attached)=0A>>>>> ofwbus0: mem 0x101c0000-0x101fffff irq 3= =0A> disabled=0A>>> compat ralink,r=0A>>>>> t3050-otg (no driver attache= d)=0A>>>>> ofwbus0: compat gpio-leds (no driver =0A> attached)= =0A>>>>> ofwbus0: compat gpio-keys-polled (no =0A> driv= er=0A>>> attached)=0A>>>>> clock0: on nexus0=0A>>= >>> panic: Unable to add hard IRQ 7 handler=0A>>>>> Uptime: 1s=0A>>>>> A= utomatic reboot in 15 seconds - press a key on the console to =0A> abort=0A= >>>>> Rebooting...=0A>>>>> ______________________________________________= _=0A>>>>> freebsd-mips@freebsd.org mailing list=0A>>>>> https://lists.fre= ebsd.org/mailman/listinfo/freebsd-mips=0A>>>>> To unsubscribe, send any ma= il to=0A>>> "freebsd-mips-unsubscribe@freebsd.org"=0A>>>> _______________= ________________________________=0A>>>> freebsd-mips@freebsd.org mailing l= ist=0A>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A>>>> = To unsubscribe, send any mail to=0A>>> "freebsd-mips-unsubscribe@freebsd.= org"=0A>>> =0A> From owner-freebsd-mips@freebsd.org Fri Sep 9 00:20:14 2016 Return-Path: Delivered-To: freebsd-mips@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 8264EBD16A7 for ; Fri, 9 Sep 2016 00:20:14 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh505-vm0.bullet.mail.kks.yahoo.co.jp (nh505-vm0.bullet.mail.kks.yahoo.co.jp [183.79.57.102]) by mx1.freebsd.org (Postfix) with SMTP id 26EDC320 for ; Fri, 9 Sep 2016 00:20:13 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh505.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 Sep 2016 00:20:06 -0000 Received: from [183.79.101.121] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 09 Sep 2016 00:20:06 -0000 Received: from [127.0.0.1] by omp508.mail.kks.yahoo.co.jp with NNFMP; 09 Sep 2016 00:20:06 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 939565.89494.bm@omp508.mail.kks.yahoo.co.jp Received: (qmail 38004 invoked by uid 60001); 9 Sep 2016 00:20:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1473380406; bh=fLgZdhI40q9MgYtVBf/60JLFQbM3x1wQkJdWdIByeSw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LCWOGrv0JeIUB2QDeNAV8ABxCXj8ca14BUNzbCG7jtBBqlhscE0x4AZIX5nkbhlzR6zudHZ5C/AF+SvYYLuMtnnXKEt3Ei3h0ZkSOaw74cNrybbM+z0IIXQt7OCXYVy3OCOWCV7l6cOFDEF6ZTT5UZ/sVA4ISdFfopujw1JP+ho= 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:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bV0C3IIRQQ1EBOgVcqGgm7LWNOO4Jo8Qv4HVx/QV2ogstj+V5DwmnwaqGqRidvUoE2QBu0Us779Q10qEv71vCLZUazaQ5QiilNiZ8OwWbubx2TLOYcq+hpsIf7O8DUziyyCdEzyr5orjJr5+Pl3eGf7eGGYb9s+DBRBFm1vEyv0=; Message-ID: <556195.30352.qm@web101716.mail.ssk.yahoo.co.jp> X-YMail-OSG: xyZUmMsVM1klf_Dt2eTNlsb13N9HMVEBciVbx8YNDAKXIDJfCXCUA9blKI7pQh3jiY0ZVgUNdPdCtI6Szodd.Ir8wc4_CHotdUtZWPD6mdBxZWkZQ0Bm3GWmn72aNXExpknYyYTMZk6oO1qHSmn2Iy3JXgH8aBA1nsAa0MbQcigE9prg3J9YD1A6qVbyWxtUDbFgYJEVdJUytDcKD8uISnmeROViKagT7hUNAlHcYfWEFc3Zx23D7kw_7Y6ltD3fSQlJN2Y4dBpQI66kMS6hMKQApRoV7vfLdkdlXhv6uOq8YGFMG8Xa1dLROe3Ky_YQ.4P0Kb4M.Zrkt1lObSIkqWgDVjCZ4wS8kL.XBvpZFzQaqoZgmqjzywJiCWoU.Rwrh.yQjdmvJwOWTzg5_Ou5MGTPzF1I2rsTxy_T3VIMsztGOGYvud1NOBZsXzacevamx.ahAdu4vbudy7ut4lqZJMLyMJsKqoSftfPKBKa2GQ6CMUWjl0GqEnARZJJPTm7bblUc21.UhxXFPICU09MpG7As_jeTwUM.lXFd7F7p2o6z4Ewk69RGDCBoOwCmkM_lrqMP_J5nAuHoRMmoNC_6bvBb_PMp7OsuINY014M- Received: from [110.134.196.53] by web101716.mail.ssk.yahoo.co.jp via HTTP; Fri, 09 Sep 2016 09:20:06 JST X-Mailer: YahooMailWebService/0.8.111_69 X-YMail-JAS: K_gsxK0VM1ljykLkvbSz9opbFVS0CoZXWu4Zu9PbFobOm3_Ytoh5M_cTGQmeTq83M7OafCZ4PgaW4qUUIxjuz1S6NYOGc5xscBfI7189wnahNhxRNnhE3MfokOvyNB0B5SLO Date: Fri, 9 Sep 2016 09:20:06 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: panic at bhnd0 on BCM5354 To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 00:20:14 -0000 Hi.=0A=0AI build head to=A0BCM5354. This build have panic at=A0bhnd0.=0A=0A= >>> boot -raw -z -addr=3D0x80001000 -max=3D0x3a0000 flash0.os:=0ALoader:raw= Filesys:raw Dev:flash0.os File: Options:(null)=0ALoading: ........... 3454= 428 bytes read=0AEntry at 0x80001000=0AClosing network.=0AStarting program = at 0x80001000=0Aentry: mips_init()=0ACache info:=0A=A0 picache_stride=A0 = =A0 =3D 4096=0A=A0 picache_loopcount =3D 4=0A=A0 pdcache_stride=A0 =A0 =3D = 4096=0A=A0 pdcache_loopcount =3D 4=0Acpu0: Broadcom processor v41.144=0A=A0= MMU: Standard TLB, 32 entries (1K 4K 16K 64K 256K 1M 16M 64M 256M pg sizes= )=0A=A0 L1 i-cache: 4 ways of 256 sets, 16 bytes per line=0A=A0 L1 d-cache:= 2 ways of 512 sets, 16 bytes per line=0A=A0 L2 cache: disabled=0A=A0 Confi= g1=3D0x3e9b6c86=0AKDB: debugger backends: ddb=0AKDB: current = backend: ddb=0ACopyright (c) 1992-2016 The FreeBSD Project.=0ACopyright (c)= 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A=A0 =A0 =A0 = =A0 The Regents of the University of California. All rights reserved.=0AFre= eBSD is a registered trademark of The FreeBSD Foundation.=0AFreeBSD 12.0-CU= RRENT #0 eccb21d(zrouter)-dirty: Fri Sep=A0 9 08:51:06 JST 2016=0A=A0 =A0 h= iroki@microserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/= =0Amips.mipsel/storage/home/hiroki/freebsd/sys/Buffalo_WHR-HP-G54 mips=0Agc= c version 4.2.1 20070831 patched [FreeBSD]=0Areal memory=A0 =3D 16125952 (1= 5748K bytes)=0Aavail memory =3D 11128832 (10MB)=0Anexus0: =0Abhnd0: at mem 0x18000000-0x180fffff on nexus0=0Abhn= d_chipc0: mem 0x18000000-0x180= 00=0Adff,0x1fc00000-0x1fffffff,0x1c000000-0x1dffffff,0x1a000000-0x1bffffff = at core 0=A0=0Aon bhnd0=0Abhnd_mips0: mem 0= x18002000-0x18002dff at core 2=A0=0Aon bhnd0=0Acpupic0: on nexus0=0Abhnd_pmu0: on bhnd_= chipc0=0Abhnd0: error reading BOARDVENDOR: 19=0Abhnd_pmu0: error fetching b= oard info: 19=0Adevice_attach: bhnd_pmu0 attach returned 6=0Anvram2env0: Fo= und NVRAM at 0x1fc00400=0Anvram2env0: on nexus= 0=0Anvram2env0: sig =3D 0x48534c46=0Anvram2env0: size =3D 0x2f0=0Anvram2env= 1: Found NVRAM at 0x1c7f8000=0Anvram2env1: on = nexus0=0Anvram2env1: sig =3D 0x48534c46=0Anvram2env1: size =3D 0x344=0Acloc= k0: on nexus0=0ATimecounter "MIPS32" frequency 1200= 00000 Hz quality 800=0AEvent timer "MIPS32" frequency 120000000 Hz quality = 800=0Abhnd_pmu0: on bhnd_chipc0=0Abhnd0: e= rror reading BOARDVENDOR: 19=0Abhnd_pmu0: error fetching board info: 19=0Ad= evice_attach: bhnd_pmu0 attach returned 6=0Auart0: <16750 or compatible> me= m 0x18000300-0x180003ff irq 2 on bhnd_chipc0=0Auart0: console (115200,n,8,1= )=0Auart1: mem 0x18000400-0x180= 004ff irq=0A=A02 on bhnd_chipc0=0Acfi1: mem 0x1c0= 00000-0x1dffffff,0x18000040-0x1800004b=A0=0Aon bhnd_chipc0=0Acfid0 on cfi1= =0Abhnd0: mem 0x18001000-0x18001dff at core 1 = (no driv=0Aer attached)=0Abhnd0: mem 0x1= 8003000-0x18003dff at core 3 (n=0Ao driver attached)=0Abhnd0: mem 0x18004000-0x18004dff,0-0x7ffffff,0x=0A10000000-0x1= 7ffffff,0x80000000-0x9fffffff at core 4 (no driver attached)=0Abhnd0: mem 0x18005000-0x18005dff at core 5 (no d=0Arive= r attached)=0Abhnd0: mem 0x18006000-0x18006dff at cor= e 6 (no driver atta=0Ached)=0Abhnd0: warning: NVRAM flash device not found= =0Abhnd0: attach failed: supported PMU not found=0Apanic: bhnd_finish_attac= h() failed: 6=0AKDB: enter: panic=0A[ thread pid 0 tid 100000 ]=0AStopped a= t=A0 =A0 =A0 kdb_enter+0x4c: lui =A0 =A0 at,0x8036=0Adb>=A0=0A From owner-freebsd-mips@freebsd.org Fri Sep 9 00:56:05 2016 Return-Path: Delivered-To: freebsd-mips@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 C02D3BD1E7B for ; Fri, 9 Sep 2016 00:56:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qt0-x241.google.com (mail-qt0-x241.google.com [IPv6:2607:f8b0:400d:c0d::241]) (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 7192B15A for ; Fri, 9 Sep 2016 00:56:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qt0-x241.google.com with SMTP id n57so2330795qtn.0 for ; Thu, 08 Sep 2016 17:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=jCBcJLx+A9zaYCFnML7bGOZ4jhOkugszI3cz3Vs8sqw=; b=lzDZyQdtss3UupQ0pm/cOnBKYFWp4kRymi1n0xT4R8J47COX7I5MbyZh1GjdaQMXkt m2/UMdpjaGgRWQZUrKP5/iuV1JAltwyUTL9VT8uqrmOA8GU4BSY0LCEX0Lw7pl1KNpZv UaZvZ7L+WZEohQ7J/pOfwBQN4I/ZWtvShqAerAJUMQ7zpxD6gdxLbck89oNtFieZiH/s ZRRi1k9FJ4xPxdoyfwnvdru5CtXHHxp9gfPDErbH9ciSubMLmhW9m0l6tA1nN+pzEmbM JS/dBfMy0TfM8vlub2F8hKfX68Nku4hlDMyK3EjvJAnU/wBUM6AHzyBXZn70/HzlxTXA MXmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=jCBcJLx+A9zaYCFnML7bGOZ4jhOkugszI3cz3Vs8sqw=; b=jvH7ryUA0JN0BxgY33bxqIY5UP8YVUfdVJ7isgNxf5DDQefNIUtojNrG8jSSzmMn3x KSBElb10TyN4aUK+NL764XwkLdKb/0gl6M0GCPd98oxTiaXp2EWLFYY2DbihjlRMpsB8 LcB+HBrdpFlaoKoYUF9SAtljjtgRfPlIyshik6oIsEuZnPUAgpxsEUelPopXpkl0PWd/ +uaBCxGKvom8UlfeEBgTKzBIVTlUsKDNsYBYTwsGK6486PKq2OSA5mvqr7sQKA9T3HXX rel5bKb9sHhR4ubfXYYmyDx9HXVu64iMl81Ayb1If7BEVmBML9o/v3ySJkQL+xJOe9P7 QO1w== X-Gm-Message-State: AE9vXwPzKBgu1mU3q4omqj7ZTjPXjVOjePTZ7uL8bdrrSzau7NXaNgFaWlZ6Dee4OYg0M6Ocihn5KEzgmk4vfg== X-Received: by 10.237.53.70 with SMTP id b6mr1026526qte.60.1473382564473; Thu, 08 Sep 2016 17:56:04 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.200.44.157 with HTTP; Thu, 8 Sep 2016 17:56:03 -0700 (PDT) From: Adrian Chadd Date: Thu, 8 Sep 2016 17:56:03 -0700 X-Google-Sender-Auth: G2_f2HWpu4K0CgT8q_rtw2KiQG8 Message-ID: Subject: gpioc patch for intrng To: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 00:56:05 -0000 hi, I'm building up a mips + gpio + intrng platform (the ar231x/531x platform code from mori) and gpio doesn't compile. It seems it requires the intrng intr.h to be included. Does anyone have any issues with this? Thanks, -adrian adrian@gertrude:~/work/freebsd/head-embedded/src % svn diff sys/dev/gpio Index: sys/dev/gpio/gpiobusvar.h =================================================================== --- sys/dev/gpio/gpiobusvar.h (revision 305632) +++ sys/dev/gpio/gpiobusvar.h (working copy) @@ -41,6 +41,10 @@ #include #endif +#ifdef INTRNG +#include +#endif + #include "gpio_if.h" #ifdef FDT From owner-freebsd-mips@freebsd.org Fri Sep 9 01:00:41 2016 Return-Path: Delivered-To: freebsd-mips@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 9DA3ABD1F01 for ; Fri, 9 Sep 2016 01:00:41 +0000 (UTC) (envelope-from stas@deglitch.com) Received: from mx0.deglitch.com (mx0.deglitch.com [IPv6:2a00:13c0:63:7194:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 61DC11E2; Fri, 9 Sep 2016 01:00:41 +0000 (UTC) (envelope-from stas@deglitch.com) Received: from [IPv6:2620:10d:c082:1055:e079:34cf:d4ad:61d3] (unknown [IPv6:2620:10d:c090:200::5:6263]) by mx0.deglitch.com (Postfix) with ESMTPSA id 7166F8FC0B; Thu, 8 Sep 2016 18:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=deglitch.com; s=default; t=1473382830; bh=btge0aVYWZZ11hW4f+AZUekXEjn4Egu1BPSZ5ecw/YA=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=LMv5Ms4K5l8GB59AnKETv/nVMhPfJJ2lPc1TFplgU2zgWAjsUhOVzmubKyAdnBwmA yrAyyTP7GKlkdXBb0GhIdgCVqb951VK6iZvHW8/45w61OySJ68vsUIQovuggUjDBwh Ez5dJiaEmsrXTQKGIlZJ2+B7R7fkZzn3hrHkBAVM= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: gpioc patch for intrng From: Stanislav Sedov In-Reply-To: Date: Thu, 8 Sep 2016 18:00:25 -0700 Cc: "freebsd-mips@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <0C82C933-F6AA-4E0B-A310-761E3258F062@deglitch.com> References: To: Adrian Chadd X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 01:00:41 -0000 Looks right to me. > On Sep 8, 2016, at 5:56 PM, Adrian Chadd wrote: > > hi, > > I'm building up a mips + gpio + intrng platform (the ar231x/531x > platform code from mori) and gpio doesn't compile. It seems it > requires the intrng intr.h to be included. > > Does anyone have any issues with this? > > Thanks, > > -adrian > > > adrian@gertrude:~/work/freebsd/head-embedded/src % svn diff sys/dev/gpio > Index: sys/dev/gpio/gpiobusvar.h > =================================================================== > --- sys/dev/gpio/gpiobusvar.h (revision 305632) > +++ sys/dev/gpio/gpiobusvar.h (working copy) > @@ -41,6 +41,10 @@ > #include > #endif > > +#ifdef INTRNG > +#include > +#endif > + > #include "gpio_if.h" > > #ifdef FDT > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > !DSPAM:57d208b08524077548778! > > -- Stanislav Sedov ST4096-RIPE From owner-freebsd-mips@freebsd.org Fri Sep 9 05:13:37 2016 Return-Path: Delivered-To: freebsd-mips@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 5BB73BD2426 for ; Fri, 9 Sep 2016 05:13:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (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 21371D7D for ; Fri, 9 Sep 2016 05:13:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id 2so8161502oif.2 for ; Thu, 08 Sep 2016 22:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zhMAPcDq38qMwIAt4mG+tn6OsAiLyrM5zuC09/IqNHM=; b=IJGTCbHrWxeAnlaNrkw5dCJ0+sX10ICgfGA6zvI8KfCeGTsW7ytQOE3GCYXKSp+s9N gJ/myyTtzIG7DZv7KgfsgjI+Qb1PHZDx9n40FaQmLrgVtab+Ih8GDjYQS6o2XY8JERVT B2yw5b7hdsatXvil1xxMv39czCjhZR+rc6y0PXFTtYz05GbONLYC7t2hagxbFdQfuYyo 7oA0Su01/CO3peBBb2xTd1vnQ+lKhor1VwBQCCMW41ekg6VP0nK0c6fj4bVmr17pmud+ SogM7+LVAo95ZAB+6Z5CiIMeaUnR+b3atq215VWttLkFUSIakjAPszadTgbrERjaZxzS 0Agg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zhMAPcDq38qMwIAt4mG+tn6OsAiLyrM5zuC09/IqNHM=; b=OoH0SqLZAwlDDxz+FttaSHfp767a43TXzQamq8SVPK/wY0HP4Nbhzf2U35vg8VMrw4 ASJKvIyXwlRerRgIiYQz4k5L29yndgCUYB96TuP/xJw9IMi17fHqlQTC+5shmlB9DuL/ fjTpkClAG/2q3GXEzHP78NuTpwtLEXfw7DmElUMuAreKySU5W1H7HBThIPo4HSZrd1Rv 2WtLVMWSJIWBfvydKD7O8g1wSwZHZiMN+bCXMWRWTmWOE7yjsqot1AkSKcbYfaJ/Q38t ZcNa7ML731PI1i1stfxMYqnMETCwW4774wkk+zp7pEIoahqfvy0BTAYRVhjXWbMpQKC1 va2g== X-Gm-Message-State: AE9vXwON8Sgljcd34NNUsdX1vmyjIreqOofM7lSCrXwQzyverc3X9PxCCq2ntoqq4PODivPnR+t9um9EKQXhbg== X-Received: by 10.202.170.14 with SMTP id t14mr2432190oie.160.1473398016403; Thu, 08 Sep 2016 22:13:36 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Thu, 8 Sep 2016 22:13:35 -0700 (PDT) In-Reply-To: <0C82C933-F6AA-4E0B-A310-761E3258F062@deglitch.com> References: <0C82C933-F6AA-4E0B-A310-761E3258F062@deglitch.com> From: Adrian Chadd Date: Thu, 8 Sep 2016 22:13:35 -0700 X-Google-Sender-Auth: FKQalCQlHVdzEpnrWuImB835gp4 Message-ID: Subject: Re: gpioc patch for intrng To: Stanislav Sedov Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 05:13:37 -0000 cool! committed! -a On 8 September 2016 at 18:00, Stanislav Sedov wrote: > Looks right to me. > >> On Sep 8, 2016, at 5:56 PM, Adrian Chadd wrote: >> >> hi, >> >> I'm building up a mips + gpio + intrng platform (the ar231x/531x >> platform code from mori) and gpio doesn't compile. It seems it >> requires the intrng intr.h to be included. >> >> Does anyone have any issues with this? >> >> Thanks, >> >> -adrian >> >> >> adrian@gertrude:~/work/freebsd/head-embedded/src % svn diff sys/dev/gpio >> Index: sys/dev/gpio/gpiobusvar.h >> =================================================================== >> --- sys/dev/gpio/gpiobusvar.h (revision 305632) >> +++ sys/dev/gpio/gpiobusvar.h (working copy) >> @@ -41,6 +41,10 @@ >> #include >> #endif >> >> +#ifdef INTRNG >> +#include >> +#endif >> + >> #include "gpio_if.h" >> >> #ifdef FDT >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> >> !DSPAM:57d208b08524077548778! >> >> > > -- > Stanislav Sedov > ST4096-RIPE > >