From owner-freebsd-mips@freebsd.org Sun May 28 21:40:06 2017 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 33CD9D86069 for ; Sun, 28 May 2017 21:40:06 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh602-vm6.bullet.mail.ssk.yahoo.co.jp (nh602-vm6.bullet.mail.ssk.yahoo.co.jp [182.22.90.31]) by mx1.freebsd.org (Postfix) with SMTP id B4A8813E0 for ; Sun, 28 May 2017 21:40:05 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.103] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 28 May 2017 21:36:58 -0000 Received: from [182.22.91.131] by t601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 28 May 2017 21:36:58 -0000 Received: from [127.0.0.1] by omp604.mail.ssk.yahoo.co.jp with NNFMP; 28 May 2017 21:36:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 137654.88005.bm@omp604.mail.ssk.yahoo.co.jp Received: (qmail 32020 invoked by uid 60001); 28 May 2017 21:36:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1496007418; bh=TIepag0o5QGv4UEMHpQvvIMEPvone3l3mZy4dliM4bM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=galcQOLfVyD2WZLbNsRh2cq+58SAm+cE9qjMih7OiPSQRcux272du/NIztLR9HAb3Wip2ssWVeAGX6dH/vPSsUnhz9rSIXWhsboLW8dmgw14mDMTuj/e/vPGmOxvnmX6V5vLdrrinYhmvQ7/nN3/B1FUW40gw/hMoqG/8q8KZY0= 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; b=X5/oDqx1ttAx2y9Sx0WaaeKxJgsKpw1hfj0/2E2VJx1AatGsyXS06vxtirJjGX9OhG3/lESRd2+3ifUdGx8JoimrSOaUgIQ6pCie4pLE7f3+KOhE+u4sAYFT8cA3dmUDfyakwwzCOIRb6CPd0VasQnIfUQVQZ4U7M02JH9KoMnA=; Message-ID: <5350.13140.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: yoLOFAgVM1ke.NlMUlZ4ZYOW3iRI5qk.Vb15LYyX.TN6a.NlkC2zkKklbOqDGm1iXA.1.oPCJV01jKpjafpeuF5MPHho6o0InLLR8ecWNG5fKXpgoitFF5BTizs85JIee9QT_NdlPcn5vs7_yHAT1gIuMqjXNIyIFs3n5mKBEyaySVrJHbANZOy70WJh1xqp_.T.KO_ZK2ICmsLju5J_y37flgZUIhgQrKkYBLVlehmSL7ivWocSPFo38f8H_rk51zEqj6WLR.mangSc43dkmLgG.15m2eV1Gqm3zQtm7A0u6Z7k_6K8pXt9E6coczUhxelCmZBTsk2XAPchYj0M.uAnCaruXFWVG3JUydjDt7aud89X_OrHsPWud80UUgjrrhqXPKnhXveBiz5gHmlo04dq9euVvg7vguhlBij4b_1eMhiRcywiB4BhFJd5M3ENAT91D60aw5R0WZ29ZBKNfO8juJqWkXwuz7Q1tOSoWooW7xTrvGcW6wExJ2oPWD4j3tpwzP_m_Y8h9lMrLtkhDtBS7CYETVINmLDB.x1fdCtHLtwV0f.JGfkgMQ3ZbubQ_yu7MeCWQ1ANtIZFSz1dSiEyh17lwPPnZeYPLTlFV1deDi73Eec.nrf9QygMCQiUkkqjM56sXZ9odUloaNmoyw-- Received: from [61.24.128.67] by web101702.mail.ssk.yahoo.co.jp via HTTP; Mon, 29 May 2017 06:36:57 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: G3Oub.wVM1nf5bBZBopAvpSeoA4is0.1hQO92hW7bGqmKV4SDX64eDbGOqeSJMsiE8t3X63QxQC3Sb0KYiCKEi.4wP8SbrdlckpUoLHUqSFLtgYrSczOqJf_9WGirUu2M3u4 Date: Mon, 29 May 2017 06:36:57 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Hang up boot time on some BCM module To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 28 May 2017 21:40:06 -0000 Hi.=0A=0AI make old BCM support patch. This can boot my all BCM module.=0AB= ut I have still hung up problem.=0A=0ABCM5351 is fine. But BCM4712,BCM5352,= BCM5354 is hung up.=0A=0Ahttps://gist.github.com/yamori813/04a4749d0342ae3b= bc6026b8e03cef26=0A=0A=0AI can't break at hung up.=0A=0AFirst I found this = problem is end of 2015 on ray's BCM code.=0A=0AI seem hardware and software= interrupt conflict on some module.=0A=0AI seem last output is uart tx filo= length at hung up.=0A=0AI think arm's cns11xx have same problem.=0A=0AIf y= ou have advice, please let me know.=0A=0AThanks=0A=0AHiroki Mori From owner-freebsd-mips@freebsd.org Mon May 29 09:16:18 2017 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 1E602CF656C for ; Mon, 29 May 2017 09:16:18 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com [IPv6:2607:f8b0:400c:c08::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 BD15E7221C for ; Mon, 29 May 2017 09:16:17 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-ua0-x231.google.com with SMTP id y4so32780432uay.2 for ; Mon, 29 May 2017 02:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IzjTU6qb7hPgKvXnc57YvQxZ4GGwhrNayrmXD3bQ710=; b=kRdEf0IdMdPftn7JLK8DaXa+exCaBxsaeKSPPgvpS8pPROIB2fnqybf8jC9tAD1i5K VVz0cucxIiflGUXa38ybD3lfmHc4uLF0u9Clhq/DprN+TvjhCwlcInmKR6TybnK1S8uU 1kxmy73XUrKa20RXOkE5797jUZyOqW3ZMbhowWkLVzTb8qAIoQu7XWRaLkn/QdWfnL7i Fe1Jy8M1zr47s/nSR4jNrdtwMTBfUlV0v8rH6rdbQbgFEjsNnBzGahWATOjxwLBjE4n0 /+Oe35eHztOQgBG0CUPJIelM0n3NDWmwewoSiangwtPFtknsXsGdYwHlU/LQJ+VLcPTc ZVdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IzjTU6qb7hPgKvXnc57YvQxZ4GGwhrNayrmXD3bQ710=; b=sXSbsHIcjtDs1mh8peWu6A8JYBjHBfV5S8XkOzdN1LNPQ8C7C3S2FId8colho67cmK mes2rdxyT1DTZtmkuohJXyExl52r2kfBds7jVnyk+yr0kZg27q/bp9K7QAkSQpx/EjcY aLtq4uUTETcCdJf387aIQRaCEoEao+jIEI0z/daqGL8rjfpq+ti5hiKuSTDJ2aZ5oZL8 OhCjxLu2T0L/8n2xuUAiMhEXq/mOaQF/GsOiky38suNcwFwhtbi/IfpwmuV7DL1FY7BI dPi97QOrCqLpBpj26KzTVurkuuxTFnvBosmmR4MuMJDBD67X9YX/ae9I5eljJoeQL489 JNsQ== X-Gm-Message-State: AODbwcBvlCDpFawyAHWvFDVMudAEf4LRaekRWFHseuYm0jnx0/0XhOSx 0x9Jc8PGHQNWzuqhI0NVjLaO96aIRg== X-Received: by 10.176.95.97 with SMTP id z33mr5970680uah.121.1496049376781; Mon, 29 May 2017 02:16:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.166.22 with HTTP; Mon, 29 May 2017 02:16:16 -0700 (PDT) In-Reply-To: <5350.13140.qm@web101702.mail.ssk.yahoo.co.jp> References: <5350.13140.qm@web101702.mail.ssk.yahoo.co.jp> From: Michael Zhilin Date: Mon, 29 May 2017 12:16:16 +0300 Message-ID: Subject: Re: Hang up boot time on some BCM module To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Mon, 29 May 2017 09:16:18 -0000 Hi Hiroki-san, Actually all SoC under question are BMIPS33. It has a lot of custom Broadcom registers, I saw usage of some in bcm bootloader bytes (using r2 to disassemble). BMIPS33 requires some extra love to boot FreeBSD. I had no change to hack it, but I really what to do it ;) Thanks! On Mon, May 29, 2017 at 12:36 AM, Mori Hiroki wrote: > Hi. > > I make old BCM support patch. This can boot my all BCM module. > But I have still hung up problem. > > BCM5351 is fine. But BCM4712,BCM5352,BCM5354 is hung up. > > https://gist.github.com/yamori813/04a4749d0342ae3bbc6026b8e03cef26 > > > I can't break at hung up. > > First I found this problem is end of 2015 on ray's BCM code. > > I seem hardware and software interrupt conflict on some module. > > I seem last output is uart tx filo length at hung up. > > I think arm's cns11xx have same problem. > > If you have advice, please let me know. > > Thanks > > Hiroki Mori > _______________________________________________ > 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" > From owner-freebsd-mips@freebsd.org Mon May 29 11:00:03 2017 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 C8805CFB6D3 for ; Mon, 29 May 2017 11:00:03 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm8.bullet.mail.kks.yahoo.co.jp (nh501-vm8.bullet.mail.kks.yahoo.co.jp [183.79.56.138]) by mx1.freebsd.org (Postfix) with SMTP id 5767074AE7 for ; Mon, 29 May 2017 11:00:02 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 May 2017 10:57:45 -0000 Received: from [183.79.101.121] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 May 2017 10:57:45 -0000 Received: from [127.0.0.1] by omp508.mail.kks.yahoo.co.jp with NNFMP; 29 May 2017 10:57:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 622116.39515.bm@omp508.mail.kks.yahoo.co.jp Received: (qmail 15280 invoked by uid 60001); 29 May 2017 10:57:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1496055465; bh=7KWWkO0XoCA5FZUoI7Cj8AD95cKTfrKPeNP1dbc/Zv8=; 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=i1q2d3g7gGh/vPb9Q+R650kg1WPT85IzeBhEbMqf0IbEwK8YTOd0QUZoXiIrE8Hm8Enm/DhL7P61eK7keT2RPEkjFi6/NT7KsqYsc5X5j5ze91N+cbSroTzXdwcfe+30q40Oc06896rg+vUSo9oxYPT21H8ril7tE404udixTtU= 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=NvzUsTi4xhwmTu4OCBnZXOhhR9DMJtxxjcfUeIS6x2zNuO3QBb5opJfVX/LYWfFk7SOvJvcpOlf1/Krzpf1xjQRyKy9BY94U8r8pYq5ob+vxyGHj6Wa9r8ELpn/KDwGUAM1X3OQuL5KVdfUy0+hDOFtfk9wt32DiOWOzZYsxo0k=; Message-ID: <405138.10424.qm@web101707.mail.ssk.yahoo.co.jp> X-YMail-OSG: xocLzrEVM1kG2IaQI7G0wKSsgdQPky.3nQaxmk3N9TpSZe7MYrCOVLAa5zV19u.kyA18Uio9N2xLsTUNz7f_ET5xC4aIiELe3YDh5iZeyN8ulNrV0q4vi4dQfXQGqURUjLNbAzJkUdiRuAUQ2HV0tPuzwysKE1cvGFocAA4IgZG2aTUFkPYb8EIsi.oSajMju1IbSPmpi5PHi9FCFICbsWrzXwqNT_y5jxUZNss_UW2GFDw2RU3F4C48ibeskcI5Kmk8AKYKq3d6v_I3aR29vK2zcCnWO9fmIACmAmAxayGTjyVki9CSz8PM59GV0rMlp6aSivElzeZztNbtsLWpslBLjwxCkGN.xBQwp2hZ2G0Er4kiDG.glDq8Jrc6np2N7cSahqyuTDMw584BIA5.L5LEc7Px5CjJAq4.qCwaMWzpHfuG_M_qd0W1y1SMN70APUAAswc1Tv72oCd_3QPPBYvHCydbz6LQdnnp74AQ_AgfFzA9RiHLySBLjasmkRenUOBMLpTM5pkbV1yd_3WmOpD3iG0zIPDOdbgIEXsuVdZOjgQBlHcVyKWOH2dynENbVR3kfxidKcR4OZP36ZWdoW.q4eHeRUuDbTUwJElts8bF.2EQ8ZgxK2Q- Received: from [61.24.128.67] by web101707.mail.ssk.yahoo.co.jp via HTTP; Mon, 29 May 2017 19:57:45 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: jSfFvtoVM1loKlIkiN2gfhJIdQlN8Uy9Ad0vGvpmVGZB0ucZ_BHxI8bGxhoN8Z1oil8o56H5jxof47RAgSiA5T.Vv1wwcjRrAX_cMNNcGDI9Cu7rmhL74DPzwLOG7ZWuZ4C5 References: <5350.13140.qm@web101702.mail.ssk.yahoo.co.jp> Date: Mon, 29 May 2017 19:57:45 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Hang up boot time on some BCM module To: Michael Zhilin Cc: "freebsd-mips@freebsd.org" In-Reply-To: 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: Mon, 29 May 2017 11:00:03 -0000 Hi Michael=0A=0AI=A0canned=A0boot on BCM4712 before end of 2015 by ray's co= de.=0A=0Ahttp://hp.vector.co.jp/authors/VA009278/mips/wli3_zrouter.txt=0A= =0AI think this is NOT SOC issue. End of 2015 that is timing is=0Amove to I= NTRNG=A0to sys/kern from arm. I doubt it.=0A=0ARegards.=0A=0AHiroki Mori=0A= =0A----- Original Message -----=0A>From: Michael Zhilin = =0A>To: Mori Hiroki =0A>Cc: "freebsd-mips@freebsd.o= rg" =0A>Date: 2017/5/29, Mon 18:16=0A>Subject: Re= : Hang up boot time on some BCM module=0A> =0A>=0A>Hi Hiroki-san,=0A>=0A>Ac= tually all SoC under question are BMIPS33. It has a lot of custom Broadcom = registers, I saw usage of some in bcm bootloader bytes (using r2 to disasse= mble). BMIPS33 requires some extra love to boot FreeBSD. I had no change to= hack it, but I really what to do it ;)=0A>=0A>Thanks! =0A>=0A>=0A>=0A>On M= on, May 29, 2017 at 12:36 AM, Mori Hiroki wrote:=0A= >=0A>Hi.=0A>>=0A>>I make old BCM support patch. This can boot my all BCM mo= dule.=0A>>But I have still hung up problem.=0A>>=0A>>BCM5351 is fine. But B= CM4712,BCM5352,BCM5354 is hung up.=0A>>=0A>>https://gist.github.com/ yamori= 813/ 04a4749d0342ae3bbc6026b8e03cef 26=0A>>=0A>>=0A>>I can't break at hung = up.=0A>>=0A>>First I found this problem is end of 2015 on ray's BCM code.= =0A>>=0A>>I seem hardware and software interrupt conflict on some module.= =0A>>=0A>>I seem last output is uart tx filo length at hung up.=0A>>=0A>>I = think arm's cns11xx have same problem.=0A>>=0A>>If you have advice, please = let me know.=0A>>=0A>>Thanks=0A>>=0A>>Hiroki Mori=0A>>_____________________= _________ _________________=0A>>freebsd-mips@freebsd.org mailing list=0A>>h= ttps://lists.freebsd.org/ mailman/listinfo/freebsd-mips=0A>>To unsubscribe,= send any mail to "freebsd-mips-unsubscribe@ freebsd.org"=0A>>=0A>=0A>=0A>