Google
  Web www.spinics.net

Mac Address Initialisation on Linux 2.4.27-vrs1

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


Hi all

i'm actually trying to use an Intel LXT971 Phy component with a AT91RM9200EK 
Based board (indeed, the only different component is the PHY, beacause we 
don't use the Davicom DM916) and i would like to know how Uboot and Linux 
communicate together to found the Mac address set in Uboot.
When i try to boot with Linux, i've got the following result:

Booting image at 21000000 ...
> Image Name:
> Image Type: ARM Linux Kernel Image (gzip compressed)
> Data Size: 661161 Bytes = 645.7 kB
> Load Address: 20008000
> Entry Point: 20008000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> 
> Starting kernel ...
> 
> Linux version 2.4.27-vrs1 (root@stage-pft11) (gcc version 2.95.3 20010315 
> (relea
> se)) #11 mar mai 31 09:36:36 CEST 2005
> CPU: Arm920Tid(wb) revision 0
> Machine: ATMEL AT91RM9200
> On node 0 totalpages: 8192
> zone(0): 8192 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/ram rw initrd=0x21100000,6000000 
> ramdisk_size=153
> 60 console=ttyS0,115200 mem=32M
> Calibrating delay loop... 29.90 BogoMIPS
> Memory: 32MB = 32MB total
> Memory: 24944KB available (1260K code, 254K data, 60K init)
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
> CPU: Testing write buffer: pass
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> devfs: v1.12c (20020818) Richard Gooch (rgooch@xxxxxxxxxxxxx)
> devfs: boot_options: 0x1
> Starting USB Keyboard Driver... Done
> pty: 256 Unix98 ptys configured
> RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize
> SCSI subsystem driver Revision: 1.00
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> physmap flash device: 200000 at 10000000 
> Amd/Fujitsu Extended Query Table v1.0 at 0x0041
> Physically mapped flash: JEDEC Device ID is 0xD6. Assuming broken CFI 
> table.
> Physically mapped flash: Swapping erase regions for broken CFI table.
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling fast programming due to code brokenness.
> i2c-core.o: i2c core module version 2.6.1 (20010830)
> i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
> usb.c: registered new driver hub
> usb.c: registered new driver hid
> hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
> hid-core.c: USB HID support drivers
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> ttyS%d0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
> ttyS%d1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
> eth0: Link now 10-HalfDuplex
> eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (00:00:00:00:00:00)
> eth0: Intel LXT971A PHY


we've got 00:00:00:00:00:00 even if it is set to 01:02:03:04:05:06. So as a 
result, i can't use ifconfig due to that

So does anybody have an idea on how about getting the right Mac Address by 
Linux?


-- 
With regards

Frédéric Kwiatkowski
--
IFOTEC
Tél : 04 76 67 53 53
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux