Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Using io-pkt-v4-hc to change MAC address on WL1283: (3 Items)
   
Using io-pkt-v4-hc to change MAC address on WL1283  
We are trying to dynamically change the MAC address using following command.

io-pkt-v4-hc -dti1283-sdc4430 mac=001122334455,sdio=2,dmatx=47,dmarx=48,irq=1003,gpio=90,irq_gpio=3

However, this is not possible. Is there anyway we can change MAC address through command line option?

Thank you.
Re: Using io-pkt-v4-hc to change MAC address on WL1283  
No, the driver doesn't support this.





On 2012-09-26 5:12 PM, "Boangoat Jarupan" <community-noreply@qnx.com>
wrote:

>We are trying to dynamically change the MAC address using following
>command.
>
>io-pkt-v4-hc -dti1283-sdc4430
>mac=001122334455,sdio=2,dmatx=47,dmarx=48,irq=1003,gpio=90,irq_gpio=3
>
>However, this is not possible. Is there anyway we can change MAC address
>through command line option?
>
>Thank you.
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post95862
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com

Re: Using io-pkt-v4-hc to change MAC address on WL1283  
Here's a write up that I found.

The MAC address can be modified by editing the nvs_map.bin file.  Any
binary editor can be used for this purpose (e.g. HxD - Freeware Hex
Editor and Disk Editor).



The MAC address field in the nvs_map.bin is defined as follows:

nvs_map.bin address offset       MAC address

0x3 - 0x6                        Local station MAC address LSB

0xA - 0xD                        Local station MAC address MSB



For more details, see:
http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_Getti
ng_Started_Guide#Setting_up_Ethernet_Address_of_the_EVM



For testing  I changed our wireless MAC address from 08-00-28-32-e4-59
to 08-00-28-01-02-03.

first 16 bytes (MAC: 08-00-28-32-e4-59):

01 6D 54 59 E4 32 28 01 71 54 00 08 00 00 00 00

changed to (MAC: 08-00-28-01-02-03):

01 6D 54 03 02 01 28 01 71 54 00 08 00 00 00 00



The nvs_map.bin file needs to be transferred to QNX target (over
network, SD card, USB stick ...) and then linked to specific locations
as follows. I copied the nvs_map_cal-mac-01-02-03.bin to NAND flash on
J5 which was mounted under /var.





On 2012-09-26 5:12 PM, "Boangoat Jarupan" <community-noreply@qnx.com>
wrote:

>We are trying to dynamically change the MAC address using following
>command.
>
>io-pkt-v4-hc -dti1283-sdc4430
>mac=001122334455,sdio=2,dmatx=47,dmarx=48,irq=1003,gpio=90,irq_gpio=3
>
>However, this is not possible. Is there anyway we can change MAC address
>through command line option?
>
>Thank you.
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post95862
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com