Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g-ether-load: fix mac address read #12

Conversation

RobertCNelson
Copy link
Member

hexdump has a feature to replace repeated characters on output with an *,
use -v to disable this feature.

Thus

hexdump -e '1/1 "%02X" ":"' /proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address
90:59:AF:5C:*
C5:debian@arm:~$

hexdump -v -e '1/1 "%02X" ":"' /proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address
90:59:AF:5C:5C:C5:debian@arm:~$

Signed-off-by: Robert Nelson robertcnelson@gmail.com

hexdump has a feature to replace repeated characters on output with an *,
use -v to disable this feature.

Thus

hexdump -e '1/1 "%02X" ":"' /proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address
90:59:AF:5C:*
C5:debian@arm:~$

hexdump -v -e '1/1 "%02X" ":"' /proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address
90:59:AF:5C:5C:C5:debian@arm:~$

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
koenkooi added a commit that referenced this pull request Sep 5, 2013
…ess-read

g-ether-load: fix mac address read
@koenkooi koenkooi merged commit b5c709b into beagleboard:master Sep 5, 2013
sarnold pushed a commit to sarnold/meta-beagleboard that referenced this pull request Apr 26, 2016
gadget-init: Update license checksum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants