[uClinux-dev] FTP Server on the 5272 board

James Lewis jlewis at nomadics.com
Wed Mar 19 14:33:10 EST 2003

Here is a code snippet to get the MAC addresses from NV-RAM

#include <asm/uCbootstrap.h>			// Arcturus bootstrap

_bsc1(unsigned char *, gethwaddr, int, a) // macro defined in

unsigned char MACAddress0[20];
unsigned char MACAddress1[20];

MACAddress0 = gethwaddr(0);			// MAC address is a
string of the form
MACAddress1 = gethwaddr(1);

James Lewis
Nomadics, Inc.
v. (405) 239-8600

More information about the uClinux-dev mailing list