[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Kernel not setting MAC address from Kernel command line



Hello,

 

I am booting FS-boot to U-boot to the Linux 2.4 kernel. I can do network activitiy (ping, tftp dhcp) from u-boot and update my environment vars it is just that the MAC address is not correctly set once I am in linux. According to

http://developer.petalogix.com/wiki/UserGuide/Bootloaders/UBoot/UsingUBoot/UBMacStorage

 

“This MAC address is communicated to the Linux kernel via the kernel command line.” And below I see the macaddr being passed in the  command line. Once in linux I do ifconfig(even further below) and there is no MAC address.

 

…………………….

Kernel command line: mtdparts=physmap_auto:256K(boot),128K(bootenv),128K(config),4M(image),11M(spare) macaddr=00:11:22:33:44:55

Console: xmbserial on UARTLite

Calibrating delay loop... 62.25 BogoMIPS

Memory: 64MB = 64MB total

Memory: 62256KB available (1188K code, 1376K data, 48K init)

Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)

Inode cache hash table entries: 4096 (order: 3, 32768 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)

Page-cache hash table entries: 16384 (order: 4, 65536 bytes)

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Microblaze UARTlite serial driver version 1.00

ttyS0 at 0x84000000 (irq = 2) is a Microblaze UARTlite

Starting kswapd

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

eth0: using fifo mode.

eth0: No PHY detected.  Assuming a PHY at address 0.

eth0: Xilinx EMACLite #0 at 0x81000000 mapped to 0x81000000, irq=3

physmap_auto flash device: 1000000 at 89000000

physmap_auto probing buswidth 1

cfi_cmdset_0001: Erase suspend on write enabled

0: offset=0x0,size=0x20000,blocks=128

Using buffer write method

physmap_auto: no partition info available, registering whole flash at once

uclinux[mtd]: RAM probe address=0x8c1690e8 size=0x118000

uclinux[mtd]: root filesystem index=2

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 8192)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

VFS: Mounted root (cramfs filesystem) readonly.

Freeing init memory: 48K

Mounting proc:

Mounting var:

Populating /var:

Running local start scripts.

Mounting /etc/config:

Populating /etc/config:

flatfsd: Nonexistent or bad flatfs (-48), creating new one...

flatfsd: Failed to write flatfs (-48): No such device

flatfsd: Created 5 configuration files (185 bytes)

Setting hostname:

Setting up interface lo:

Setting up interface eth0:

Starting thttpd:

 

petalinux login: root

Password:

# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00

          inet addr:192.168.1.133  Bcast:192.168.1.255  Mask:255.255.255.0

          UP BROADCAST RUNNING  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

                    Interrupt:3

 

 

 

Thanks for any possible information,

 

-A Bose