Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASIX USB to Ethernet
2014-08-19, 20:09
Post: #22
RE: ASIX USB to Ethernet
Hi jwillis84,

I would be interest to try out pxe booting a Lenovo Yoga 2 pro with asix based Lenovo usb dongle.

I tried building you ipxe branch on a 64bit Ubuntu 14.04 but ran in to a problem.

Code:
git clone -b usb-net-drivers https://github.com/johntwillis/ipxe
cd ipxe/src/
make bin/ipxe.iso ####    same result with make bin/asix.iso
....
.....
[BUILD] bin/tg3_phy.o
[BUILD] bin/asix.o
drivers/net/usb/asix.c: In function ‘asix_get_phy_addr’:
drivers/net/usb/asix.c:151:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  DBG("asix_get_phy_addr() returning 0x%04x\n", *((uint16_t *)buf));
  ^
drivers/net/usb/asix.c: In function ‘asix_poll’:
drivers/net/usb/asix.c:281:20: error: variable ‘packet’ set but not used [-Werror=unused-but-set-variable]
  uint8_t *buffer, *packet;
                    ^
drivers/net/usb/asix.c: In function ‘asix_88178_probe’:
drivers/net/usb/asix.c:410:6: error: variable ‘gpio0’ set but not used [-Werror=unused-but-set-variable]
  int gpio0 = 0;
      ^
cc1: all warnings being treated as errors
make: *** [bin/asix.o] Virhe 1
antti@vonwright:~/devel/ipxe/src$

Would you happen to have any idea what could be wrong?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ASIX USB to Ethernet - no1_melman - 2012-10-15, 15:09
RE: ASIX USB to Ethernet - no1_melman - 2012-10-15, 15:38
RE: ASIX USB to Ethernet - no1_melman - 2012-10-15, 16:18
RE: ASIX USB to Ethernet - Sedorox - 2012-10-17, 03:31
RE: ASIX USB to Ethernet - qiet72 - 2013-01-07, 13:21
RE: ASIX USB to Ethernet - jwillis84 - 2013-06-04, 08:09
RE: ASIX USB to Ethernet - jwillis84 - 2013-06-04, 23:08
RE: ASIX USB to Ethernet - jpwise - 2014-06-24, 10:17
RE: ASIX USB to Ethernet - jwillis84 - 2014-06-24, 13:39
RE: ASIX USB to Ethernet - kfortner - 2014-07-23, 17:29
RE: ASIX USB to Ethernet - jwillis84 - 2014-07-24, 06:01
RE: ASIX USB to Ethernet - jwillis84 - 2014-07-29, 01:44
RE: ASIX USB to Ethernet - Mareo - 2014-08-01, 14:57
RE: ASIX USB to Ethernet - jwillis84 - 2014-08-11, 08:53
RE: ASIX USB to Ethernet - jwillis84 - 2014-08-12, 07:55
RE: ASIX USB to Ethernet - jwillis84 - 2014-08-13, 07:36
RE: ASIX USB to Ethernet - tohtoris - 2014-08-19 20:09
RE: ASIX USB to Ethernet - jwillis84 - 2014-08-26, 05:22
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-02, 08:28
RE: ASIX USB to Ethernet - tohtoris - 2014-09-08, 13:39
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-08, 17:31
RE: ASIX USB to Ethernet - tohtoris - 2014-09-09, 06:36
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-09, 07:09
RE: ASIX USB to Ethernet - hefty - 2014-09-08, 03:14
RE: ASIX USB to Ethernet - kfortner - 2014-09-11, 22:14
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-12, 04:08
RE: ASIX USB to Ethernet - kfortner - 2014-09-12, 15:55
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-12, 21:42
RE: ASIX USB to Ethernet - kfortner - 2014-09-15, 15:16
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-16, 02:45
RE: ASIX USB to Ethernet - mithro - 2014-09-23, 04:54
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-23, 06:16
RE: ASIX USB to Ethernet - jwillis84 - 2014-09-26, 04:03
RE: ASIX USB to Ethernet - danellis - 2014-11-05, 22:10
RE: ASIX USB to Ethernet - ddmorgan - 2014-12-11, 09:15



User(s) browsing this thread: 1 Guest(s)