Comment 4 for bug 827705

Revision history for this message
Loïc Minier (lool) wrote :

Andres, good catch, thanks for the reminder; I had skipped over that part of the original bug report.

The additional attached patch lower cases the MAC address too; maybe the code would be rewritten to have two vars and a loop instead of calling sprintf, I'll check with Jason what he prefers. With this additional patch, I get the expected lowercasing:
[...]
3 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
       scanning bus for ethernet devices... 1 Ethernet Device(s) found
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 172.17.0.2
missing environment variable: pxeuuid
missing environment variable: ethaddr
Retreiving file: pxelinux.cfg/01-2e-40-72-a2-6c-0a
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 172.16.0.254; our IP address is 172.17.0.2
Filename 'pxelinux.cfg/01-2e-40-72-a2-6c-0a'.
Load address: 0x88000000
Loading: EHCI timed out on TD - token=0x8008d80
T
TFTP error: 'File not found' (1)
Not retrying...
File not found
Retreiving file: pxelinux.cfg/AC110002
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 172.16.0.254; our IP address is 172.17.0.2
Filename 'pxelinux.cfg/AC110002'.
[...]

Another thing I noticed from my earlier comment comparing pxelinux and u-boot: pxelinux doesn't send a DHCP request itself, so it doesn't make sense to compare the place where they get the UUID from; pxelinux does the meaningful thing in trying to read the uuid from the reply packet cached by the network card's PXE ROM (it might have been set in the request or in the reply), and u-boot-linaro does the meaningful thing in setting it in the request.