* TEMAC drivers for kernel 2.6.17.1
@ 2006-10-27 19:20 Pradeep Sampath
2006-10-28 3:35 ` David H. Lynch Jr.
0 siblings, 1 reply; 2+ messages in thread
From: Pradeep Sampath @ 2006-10-27 19:20 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 5540 bytes --]
Hi,
I am using linux kernel 2.6.17.1 on ML403 dev board. I am trying to get the TEMAC to work but with no success. I applied TEMAC patches from http://source.mvista.com/~ank/paulus-powerpc/20060309/. But the ethernet interface does not seem to come up.
Is there any other TEMAC patch out there which is known to work with 2.6 kernel?
For the BSP I tried using the ML403 EDK Embedded PowerPC reference design from Xilinx. But it doesn't come with a PLB TEMAC in the design. I also tried to use xapp902 which has the PLB TEMAC module. But on running "Generate Libraries and BSPs" it does not generate any sources code under "drivers" or "arch" folder.
-Pradeep
I have attached the boot up logs from the hyper-terminal.
loaded at: 00400000 0051913C
board data at: 00517124 0051713C
relocated to: 004050E0 004050F8
zimage at: 004057F5 00516F4D
avail ram: 0051A000 10000000
Linux/PPC load: console=ttyS0,9600 root=/dev/xsa2
Uncompressing Linux...done.
Now booting the kernel
[ 0.000000] Linux version 2.6.17.1 (psampath@psampath-test) (gcc version 3.4.
1) #5 Sun Oct 22 10:25:16 PDT 2006
[ 0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
[ 0.000000] Built 1 zonelists
[ 0.000000] Kernel command line: console=ttyS0,9600 root=/dev/xsa2
[ 0.000000] Xilinx INTC #0 at 0xD1000FC0 mapped to 0xFDFFEFC0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000183] Console: colour dummy device 80x25
[ 0.001962] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.005114] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.060120] Memory: 257280k available (1808k kernel code, 616k data, 84k init
, 0k highmem)
[ 0.248262] Security Framework v1.0.0 initialized
[ 0.248328] SELinux: Disabled at boot.
[ 0.248481] Mount-cache hash table entries: 512
[ 0.254057] NET: Registered protocol family 16
[ 0.262730] NET: Registered protocol family 2
[ 0.316488] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.317422] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.317970] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.318284] TCP: Hash tables configured (established 8192 bind 4096)
[ 0.318320] TCP reno registered
[ 0.325013] audit: initializing netlink socket (disabled)
[ 0.325150] audit(0.324:1): initialized
[ 0.326666] VFS: Disk quotas dquot_6.5.1
[ 0.326910] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.327817] Initializing Cryptographic API
[ 0.327891] io scheduler noop registered
[ 0.328088] io scheduler anticipatory registered (default)
[ 0.328173] io scheduler deadline registered
[ 0.328345] io scheduler cfq registered
[ 0.946309] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
enabled
[ 0.955054] serial8250.0: ttyS0 at MMIO 0xa0001003 (irq = 9) is a 16450
[ 3.002532] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 bloc
ksize
[ 3.093986] xsa: xsa1 xsa2
[ 3.138222] i8042.c: No controller found.
[ 3.186302] TCP bic registered
[ 3.222088] NET: Registered protocol family 8
[ 3.274064] NET: Registered protocol family 20
[ 3.336810] EXT3-fs: INFO: recovery required on readonly filesystem.
[ 3.412076] EXT3-fs: write access will be enabled during recovery.
[ 3.717927] kjournald starting. Commit interval 5 seconds
[ 3.782937] EXT3-fs: recovery complete.
[ 3.870012] EXT3-fs: mounted filesystem with ordered data mode.
[ 3.940755] VFS: Mounted root (ext3 filesystem) readonly.
[ 4.004944] Freeing unused kernel memory: 84k init
INIT: version 2.78 booting
Activating swap...
/etc/init.d/rcS: /dev/null: Read-only file system
[ 9.866081] EXT3-fs warning: mounting unchecked fs, running e2fsck is recomme
nded
[ 9.957819] EXT3 FS on xsa2, internal journal
Checking all file systems...
fsck 1.27 (8-Mar-2002)
Calculating module dependencies... depmod: QM_MODULES: Function not implemented
done.
Loading modules:
modprobe: Can't open dependencies file /lib/modules/2.6.17.1/modules.dep (No suc
h file or directory)
Mounting local filesystems...
nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Configuring network interfaces: done.
Starting portmap daemon: portmap.
Starting dhcpcd on eth0
Running ntpdate to synchronize clock.
Cleaning: /tmp /var/lock /var/runfind: ./syslogd.pid: Input/output error
find: ./syslogd.pid: Input/output error
find: ./inetd.pid: Input/output error
find: ./inetd.pid: Input/output error
dhcpcd[734]: dhcpStart: socket: Address family not supported by protocol
.
sed: can't read /etc/motd: Input/output error
INIT: Entering runlevel: 3': Input/output
Starting kernel log daemon: klogd.
Starting system log daemon: syslogd
Starting web server: apache.
Starting internet superserver: inetdstart-stop-daemon: open pidfile /var/run/ine
td.pid: Input/output error
.
Hostname: ml403.
Creating barrier for shutdown
Starting X11 session for user 'linux'
PAM_unix[966]: (su) session opened for user linux by (uid=0)
Welcome to the ML403 Evaluation Board
(C) 2004 Xilinx, I
MontaVista(R) Linux(R) Professional Edition 3.1
ml403 login: root
PAM-securetty[988]: Couldn't open /etc/securetty
Password:
PAM_unix[988]: (login) session opened for user root by LOGIN(uid=0)
Last login: Thu Jan 1 00:16:05 1970 on console
login[988]: ROOT LOGIN on `console'
root@ml403:~#
[-- Attachment #2: Type: text/html, Size: 7228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TEMAC drivers for kernel 2.6.17.1
2006-10-27 19:20 TEMAC drivers for kernel 2.6.17.1 Pradeep Sampath
@ 2006-10-28 3:35 ` David H. Lynch Jr.
0 siblings, 0 replies; 2+ messages in thread
From: David H. Lynch Jr. @ 2006-10-28 3:35 UTC (permalink / raw)
To: Pradeep Sampath; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]
Pradeep Sampath wrote:
> Hi,
>
> I am using linux kernel 2.6.17.1 on ML403 dev board. I am trying to
> get the TEMAC to work but with no success. I applied TEMAC patches
> from http://source.mvista.com/~ank/paulus-powerpc/20060309/
> <http://source.mvista.com/%7Eank/paulus-powerpc/20060309/>. But the
> ethernet interface does not seem to come up.
> Is there any other TEMAC patch out there which is known to work with
> 2.6 kernel?
>
> For the BSP I tried using the ML403 EDK Embedded PowerPC reference
> design from Xilinx. But it doesn't come with a PLB TEMAC in the
> design. I also tried to use xapp902 which has the PLB TEMAC module.
> But on running "Generate Libraries and BSPs" it does not generate any
> sources code under "drivers" or "arch" folder.
I do nto beleive Xilinx has released an EDK that includes Linux 2.6 support.
The patches you linked to should work for a 2.6 kernel with a PLB TEMAC.
But you must manually go in and force the speed to whatever you need.
The MV driver at your link does nto autonegotiate.
I have a combined LL_TEMAC/PLB_TEMAC driver that does autonegotiate. It
did work for the LL_TEMAC several iterations ago, but I have not tested
it in some time.
It does not yet work for Linux. It is very loosely based on the MV
driver, but does nt use the EDK, and is only for the LL_TEMAC and FIFO
PLB_TEMAC.
There is a link to it in a previous message.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
[-- Attachment #2: Type: text/html, Size: 2593 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-28 6:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27 19:20 TEMAC drivers for kernel 2.6.17.1 Pradeep Sampath
2006-10-28 3:35 ` David H. Lynch Jr.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.