From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: Add ag7xxx driver for Atheros MIPS
Date: Sat, 21 May 2016 13:37:57 +0200 [thread overview]
Message-ID: <57404895.7060909@denx.de> (raw)
In-Reply-To: <BLU436-SMTP182F689B40CD8670479CAD1FF4C0@phx.gbl>
On 05/21/2016 01:03 PM, Wills Wang wrote:
>
>
> On 05/21/2016 01:08 AM, Marek Vasut wrote:
>> On 05/20/2016 06:43 PM, Wills Wang wrote:
>>>
>>> On 05/20/2016 07:59 PM, Marek Vasut wrote:
>>>> On 05/20/2016 06:18 AM, Wills Wang wrote:
>>>>> On 05/08/2016 11:22 PM, Marek Vasut wrote:
>>>>>> On 05/08/2016 02:58 PM, Daniel Schwierzeck wrote:
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>>> Am 05.05.2016 um 21:34 schrieb Marek Vasut:
>>>>>>>> Add ethernet driver for the AR933x and AR934x Atheros MIPS
>>>>>>>> machines.
>>>>>>>> The driver could be easily extended to other WiSoCs.
>>>>> How to make this patch work on ar933x board?
>>>>> I apply this patch on the top of mips/next branch and enable this
>>>>> option
>>>>> in menuconfig,
>>>>> but i can't see any boot information for Ethernet.
>>>> The Kconfig conversion is not complete. See the
>>>> tplink_wdr4300_defconfig
>>>> for the necessary options, it should be at least these:
>>>>
>>>> CONFIG_CMD_NET=y
>>>> CONFIG_CMD_NFS=y
>>>> CONFIG_CMD_DHCP=y
>>>> CONFIG_CMD_PING=y
>>>> CONFIG_NET_RANDOM_ETHADDR=y
>>>> CONFIG_DM_ETH=y
>>>> CONFIG_AG7XXX=y
>>>>
>>> I add these options and boot up as the following, but my ar933x board
>>> don't work,
>>> the link indicator led on router is off when plug in the cable and
>>> execute "dhcp" command.
>>>
>> Hrm, I have no idea, sorry, you'd have to dive in. It works on the board
>> I have. The ar933x is such a junk chip that I kinda gave up on it. I
>> also tested this on ar934x (my primary test platform) and it works.
>>
> I have fixed this issue, a patch will be sent later on.
Cool, thanks!
> u-boot:
> ap121 # dhcp
> BOOTP broadcast 1
> DHCP client bound to address 192.168.42.172 (3 ms)
> *** Warning: no boot file name; using 'AC2AA8C0.img'
> Using eth at 0x19000000 device
> TFTP from server 192.168.42.250; our IP address is 192.168.42.172
> Filename 'AC2AA8C0.img'.
> Load address: 0x81000000
>
> openwrt:
btw. it's Linux here, not openwrt.
> [ 0.861533] libphy: ag71xx_mdio: probed
> [ 1.445996] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
> [ 1.478056] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
> [ 2.066210] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
> [uid=004dd041, driver=Generic PHY]
> [ 2.074979] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
>
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-05-21 11:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 19:34 [U-Boot] [PATCH] net: Add ag7xxx driver for Atheros MIPS Marek Vasut
2016-05-08 12:58 ` Daniel Schwierzeck
2016-05-08 15:22 ` Marek Vasut
2016-05-20 4:18 ` Wills Wang
2016-05-20 11:59 ` Marek Vasut
2016-05-20 16:43 ` Wills Wang
2016-05-20 17:08 ` Marek Vasut
2016-05-21 3:25 ` Wills Wang
2016-05-21 9:29 ` Marek Vasut
2016-05-24 15:15 ` Joe Hershberger
2016-05-24 15:17 ` Marek Vasut
2016-05-24 15:22 ` Marek Vasut
2016-05-21 11:03 ` Wills Wang
2016-05-21 11:37 ` Marek Vasut [this message]
2016-05-08 21:25 ` Amit Tomer
2016-05-08 22:09 ` Marek Vasut
-- strict thread matches above, loose matches on Subject: below --
2016-05-24 21:29 Marek Vasut
2016-05-30 10:05 ` Daniel Schwierzeck
2017-06-08 15:04 ` Joe Hershberger
2017-06-09 9:02 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57404895.7060909@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox