Date: Mon, 18 Dec 2017 13:56:49 +0800 From: =?UTF-8?B?6Zi/6YeR?= <unto.foru13@gmail.com> To: Emmanuel Vadot <manu@bidouilliste.com>, freebsd-arm@freebsd.org Subject: Re: Orange pi one plug network cable after booted , network will not active Message-ID: <CAKpwDm3n2LNw3hRV6TL_FZTFbE-aDWjz0rLmOxb08vPKAA=dJg@mail.gmail.com> In-Reply-To: <20171215170619.8021fb253a15f3e54a356f9a@bidouilliste.com> References: <CAKpwDm28jTx%2BrRWDwzDK2oO=MjVL8N0NuCbgyc3nJP0Y7xmxuw@mail.gmail.com> <20171215170619.8021fb253a15f3e54a356f9a@bidouilliste.com>
next in thread | previous in thread | raw e-mail | index | archive | help
in if_awg.c awg_reset function soft reset(EMAC_BASIC_CTL_1) will not be 0 till network cable plug . (EMAC_BASIC_CTL_1 will remain 1 till network cable plug) so this seem orange pi one hardware bug?, could I fix this from software?? (In my test, I watch relative EMAC registers,seem not different when network cable plug in or off) 2017-12-16 0:06 GMT+08:00 Emmanuel Vadot <manu@bidouilliste.com>: > On Fri, 15 Dec 2017 16:41:56 +0800 > ?? <unto.foru13@gmail.com> wrote: > > > Dear all, > > > > I think ,this maybe is the problem of u-boot.dtb?? > > > > scenario1:plug network cable first then power on,kernel had loaded. > > network will work well. > > even if I plug off cable then plug on again .network work well too. > > > > scenario2:network cable not plug till kernel had loaded and prompt login > > message. > > > > booting message=>awg0:soft reset timed out > > > > then I plug network cable ,network will not work. > > ifconfig will not show awg0. > > /etc/netstart will show => ifconfig: interface awg0 does not exist > > > > blow is my u-boot source > > https://github.com/evadot/u-boot/tree/freebsd > > > > export CROSS_COMPILE=arm-none-eabi- > > gmake orangepi_one_defconfig > > gmake menuconfig > > vi .config > > CONFIG_API=y > > gmake > > > > how could I fixed this problem ?? > > thanks all. > > I'll look into it but note that emac (if_awg) isn't in the dts for now > and only will be when we pull the Liunx 4.15 dts (early january). > > -- > 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?CAKpwDm3n2LNw3hRV6TL_FZTFbE-aDWjz0rLmOxb08vPKAA=dJg>