Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 10:33:19 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        =?ISO-8859-1?Q?=3F=3F?= <unto.foru13@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Orange pi one ,receive panic: bad pte2
Message-ID:  <20180117103319.c401b6380ba4cf6105976b5b@bidouilliste.com>
In-Reply-To: <CACNAnaHag1%2BH3_Pr79WCgq6oOcszY-HJPC8jeEtfEbkc=o9tCQ@mail.gmail.com>
References:  <CAKpwDm1==KqBMsyKQ5Q2tdoyYP6JMFizS6ASZt3L4X2oQVky6Q@mail.gmail.com> <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net> <CAKpwDm0bt77Z3xr5_d7Os%2BR8dVjjSH4gy99wmchOWg3oG6TrRQ@mail.gmail.com> <CACNAnaHdX-DUunX%2Bsmg4svpBtifx74JvYO51zmJba%2BugDLD8ng@mail.gmail.com> <CAKpwDm2LDmO0ZGpnU37Qbj0sOQ7LMm5UPz_u5LQakTh__fvCCA@mail.gmail.com> <CACNAnaHeZ9CxQJO57eKZCTMtey6H-8UT%2BbDzCW8bsrcBscvObQ@mail.gmail.com> <CAKpwDm3%2B6oGN5D_8QJHmi1USeyAGARt8ziPr49xY6X1AmRVL8A@mail.gmail.com> <CACNAnaHag1%2BH3_Pr79WCgq6oOcszY-HJPC8jeEtfEbkc=o9tCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jan 2018 18:44:11 -0600
Kyle Evans <kevans@freebsd.org> wrote:

> (Sorry for the broken response on my part, mobile Gmail is bad)
>=20
> You should poke manu@ for his script to compile a DTS from Linux source.
> You can pull a working tree to use that on from kernel.org's git repo:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/

 https://gist.github.com/evadot/f6b30fa582253ccf7b9652523b80c47f

> On Jan 16, 2018 6:33 PM, "??" <unto.foru13@gmail.com> wrote:
>=20
> Thanks help ,I will try it later.
> could you please give me the method or link =3D>  how to pull new DTS from
> Linux??
> I want to learn how to do it .
>=20
>=20
> 2018-01-16 22:21 GMT+08:00 Kyle Evans <kevans@freebsd.org>:
>=20
> > On Tue, Jan 16, 2018 at 7:19 AM, ?? <unto.foru13@gmail.com> wrote:
> > > OKOK below is booting message.
> >
> > Thanks!
> >
> > > [ .. snip .. ]
> > > syscon_generic0: <syscon> mem 0x1c00000-0x1c00033 on simplebus0
> > > [.. snip ..]
> > > awg0: <Allwinner Gigabit Ethernet> mem
> > > 0x1c30000-0x1c30103,0x1c00030-0x1c00033 irq 23 on simplebus0
> > > awg0: cannot get tx clock
> > > [.. snip .. ]
> >
> > That explains it- I hadn't encountered this in practice, so it broke.
> > =3D( Your DTS here has a /soc/syscon *and* uses our former hacky method
> > for passing syscon, so syscon_generic takes the syscon registers and
> > awg can't. You have I think three choices for recourse here, any of
> > which should fix your problem:
> >
> > 1.) Remove the /soc/syscon from the DTB you're using
> > 2.) Update your DTB to actually use /soc/syscon, removing the syscon
> > reg from /soc/ethernet and adding a 'syscon =3D <&syscon>' attribute to
> > that node.
> > 3.) Update to r327825 or later and pull new DTS from Linux. If pulling
> > new from Linux is a pain, I can generate a new DTB for you based on
> > what we'll be importing from Linux in a couple weeks.
> >
> > r327825 added support for the new stable emac bindings, so after DTS
> > update this won't break again.
> >
> _______________________________________________
> 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"


--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180117103319.c401b6380ba4cf6105976b5b>