#19952: [ar71xx] undefined reference to ath79_nvram_parse_mac_addr
--------------------------------+----------------------------------
  Reporter:  Damian Kaczkowski  |      Owner:  developers
      Type:  defect             |     Status:  new
  Priority:  highest            |  Milestone:  Chaos Calmer (trunk)
 Component:  base system        |    Version:  Trunk
Resolution:                     |   Keywords:
--------------------------------+----------------------------------

Comment (by Christopher Chiu):

 I ran into this same problem yesterday while building RouterBoard images
 from r46107 and found the same thing as Antonio and Damian. It looks like
 either of the two issues alone wouldn't have broken anything, but they
 exposed each other.

 1. The EPG5000 support depends on the utilities in nvram.c, but while the
 CONFIG_ATH79_MACH_EPG5000 does not select CONFIG_ATH79_NVRAM which causes
 nvram.c to be compiled, other configs in the ar71xx target do, which
 masked it.

 2. There are a few non-MikroTik boards including the EPG5000 left enabled
 for the ar71xx/mikrotik subtarget which are probably harmless except that
 nothing sets CONFIG_ATH79_NVRAM in that subtarget. The best solution, as
 Damian pointed out, is to disable non-MikroTik boards here.

 I'm attaching two patches for these issues that worked for me this
 afternoon. I'm not sure if the patches should have their own dedicated
 tickets or not.

--
Ticket URL: <https://dev.openwrt.org/ticket/19952#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to