Linux 2.6.x on 8xx status
Quoted 4 lines · Craig
Right now, I just want to know if I should expect to see funny behavior from this particular source tree on an 8xx platform or should it work OK? Thanks so much.
Well, as I have tested so far, 2.6.x can only work right on 8xx with RAMDISK root file system. As for NFS, still no luck.
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Quoted 9 lines · Song Sam
Quoted 4 lines · Craig
Right now, I just want to know if I should expect to see funny behavior from this particular source tree on an 8xx platform or should it work OK? Thanks so much.
Quoted 3 lines
Well, as I have tested so far, 2.6.x can only work right on 8xx with RAMDISK root file system. As for NFS, still no luck.
Well it could have fooled me since I have it running right here...
Don't use the old etherner driver.
Quoted 5 lines
Best regards,
Sam
Quoted 14 lines
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Regards
Pantelis
Pantelis Antoniou <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines
Well, as I have tested so far, 2.6.x can only work right on 8xx with RAMDISK root file system. As for NFS, still no luck.
Well it could have fooled me since I have it running right here...
Don't use the old etherner driver.
After following your instruction, I tested fec_8xx driver on RPXlite DW.
Changes were made as follows:
1. Mask __fw_getenv and 'ethaddr' code in fec_8xx-netta.c to avoid compiling error 'undefined reference to __fw_getenv';
2. Replace NETTA as RPXLITE in ..fec_8xx/Makefile && Kconfig;
Yeah, the result is so close to work right on RPXlite DW. So great, a lot improvement. But still a pity...
---------------------------------------------------
U-Boot 1.1.2 (Aug 31 2004 - 09:47:03)
CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB
D-Cache
Board: RPXlite_DW DRAM: 64 MB FLASH: 16 MB Hit any key to stop autoboot: 0
u-boot>run net_nfs
Using SCC ETHERNET device
TFTP from server 172.16.115.6; our IP address is 172.16.115.7
Filename 'uImage.rpx26nfs919'.
Load address: 0x200000
Loading:
#################################################################
done
Bytes transferred = 726996 (b17d4 hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.9-rc2
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 726932 Bytes = 709.9 kB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
Linux version 2.6.9-rc2 ([email protected]) (gcc
version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #1 Sun Sep 19 02:33:02 CST 2004
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=172.16.115.6:/workspace/myfilesystem/target/ ip=172.16.115.7:172.16.115.6:172.16.115.254:255.255.255.0::eth0:off panic=1
PID hash table entries: 512 (order: 9, 8192 bytes) Decrementer Frequency = 180000000/60
Dentry cache hash table entries: 16384 (order: 4,
65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 63104k available (1272k kernel code, 288k
data, 72k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xfa200a80 (irq = 20) is a CPM UART ttyCPM1 at MMIO 0xfa200a00 (irq = 46) is a CPM UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
fec_8xx.c:v0.1 (May 6, 2004)
FEC Reset timeout!fec_8xx: eth0 No PHY detected!
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
FEC Reset timeout!
IP-Config: Complete:
device=eth0, addr=172.16.115.7,
mask=255.255.255.0, gw=172.16.115.254,
host=172.16.115.7, domain=, nis-domain=(none),
bootserver=172.16.115.6, rootserver=172.16.115.6,rootpath=
Looking up port of RPC 100003/2 on 172.16.115.6
portmap: server 172.16.115.6 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 172.16.115.6 NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out
portmap: server 172.16.115.6 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
NETDEV WATCHDOG: eth0: transmit timed out [snip]
NETDEV WATCHDOG: eth0: transmit timed out
mount: server 172.16.115.6 not responding, timed out
Root-NFS: Server returned error -5 while mounting /workspace/myfilesystem/target/
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(2,0)
<0>Rebooting in 1 seconds..<6>NETDEV WATCHDOG: eth0:
transmit timed out
-----------------------------------------------
Idea?
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Quoted 126 lines · Song Sam
Pantelis Antoniou <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines
Well, as I have tested so far, 2.6.x can only work right on 8xx with RAMDISK root file system. As for NFS, still no luck.
Well it could have fooled me since I have it running right here...
Don't use the old etherner driver.
After following your instruction, I tested
fec_8xxdriver on RPXlite DW.
Changes were made as follows:
1. Mask__fw_getenvand 'ethaddr' code infec_8xx-netta.cto avoid compiling error 'undefined reference to__fw_getenv';
2. Replace NETTA as RPXLITE in ..fec_8xx/Makefile &&Kconfig;Yeah, the result is so close to work right on RPXlite DW. So great, a lot improvement. But still a pity...
---------------------------------------------------
U-Boot 1.1.2 (Aug 31 2004 - 09:47:03)
CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB
D-CacheBoard: RPXlite_DW DRAM: 64 MB FLASH: 16 MB Hit any key to stop autoboot: 0u-boot>run
net_nfs
Using SCC ETHERNET device
TFTP from server 172.16.115.6; our IP address is 172.16.115.7
Filename 'uImage.rpx26nfs919'.
Load address:0x200000
Loading:
#################################################################
done
Bytes transferred = 726996 (b17d4 hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.9-rc2
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 726932 Bytes = 709.9 kB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
Linux version 2.6.9-rc2 ([email protected]) (gcc
version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #1 Sun Sep 19 02:33:02 CST 2004
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=172.16.115.6:/workspace/myfilesystem/target/ ip=172.16.115.7:172.16.115.6:172.16.115.254:255.255.255.0::eth0:off panic=1
PID hash table entries: 512 (order: 9, 8192 bytes) Decrementer Frequency = 180000000/60
Dentry cache hash table entries: 16384 (order: 4,
65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 63104k available (1272k kernel code, 288k
data, 72k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO0xfa200a80(irq = 20) is a CPM UART ttyCPM1 at MMIO0xfa200a00(irq = 46) is a CPM UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
fec_8xx.c:v0.1 (May 6, 2004)
FEC Reset timeout!fec_8xx: eth0 No PHY detected!
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
FEC Reset timeout!
IP-Config: Complete:device=eth0, addr=172.16.115.7, mask=255.255.255.0, gw=172.16.115.254, host=172.16.115.7, domain=, nis-domain=(none), bootserver=172.16.115.6, rootserver=172.16.115.6,rootpath=
Looking up port of RPC 100003/2 on 172.16.115.6
portmap: server 172.16.115.6 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 172.16.115.6 NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out
portmap: server 172.16.115.6 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
NETDEV WATCHDOG: eth0: transmit timed out [snip]
NETDEV WATCHDOG: eth0: transmit timed out
mount: server 172.16.115.6 not responding, timed out
Root-NFS: Server returned error -5 while mounting /workspace/myfilesystem/target/
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot optionKernel panic - not syncing: VFS: Unable to mount rootfs on unknown-block(2,0)
<0>Rebooting in 1 seconds..<6>NETDEV WATCHDOG: eth0:
transmit timed out
-----------------------------------------------
Quoted 5 lines
Idea?
Best regards,
Sam
Ahem, the new ethernet driver is for the FEC not the SCC.
By the bootload messages RPXlite uses the SCC ethernet.
I'm afraid someone has to step up and fix the old ethernet driver. I don't have any hardware that uses it.
Regards
Pantelis
Pantelis Antoniou <[email protected]> wrote:
Quoted 2 lines
Ahem, the new ethernet driver is for the FEC not the SCC.
Oh, I misused the driver but got the improvement. A little strange...
Quoted 2 lines
By the bootload messages RPXlite uses the SCC
ethernet.
Yeah, RPXlite uses SCC2 as Ethernet Controller.
Thanks for pointing out the key problem.
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Quoted 10 lines · Pantelis Antoniou
Quoted 9 lines · Song Sam
Quoted 4 lines · Craig
Right now, I just want to know if I should expect to see funny behavior from this particular source tree on an 8xx platform or should it work OK? Thanks so much.
Quoted 8 lines
Quoted 3 lines
Well, as I have tested so far, 2.6.x can only work right on 8xx with RAMDISK root file system. As for NFS, still no luck.
Well it could have fooled me since I have it running right here...
Don't use the old etherner driver.
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'. Not that it couldn't do with a cleanup and netdev person audit, but it's functional enough for me and my rpxlite to mount a root fs.
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/
Quoted 3 lines · Tom Rini
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'. Not that it couldn't do with a cleanup and netdev person audit, but it's functional enough for me and my rpxlite to mount a root fs.
sorry to jump into this conversation late -- which "2.6.x" source tree is being used here?
for quite some time, i've just used the linuxppx-2.5 tree at ppc.bkbits.net. but when someone refers to a 2.6.x tree, which one specifically is this? just the latest BK update from www.kernel.org? or is this a PPC-specific tree?
rday
Quoted 8 lines · Robert P. J. Day
Quoted 3 lines · Tom Rini
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'. Not that it couldn't do with a cleanup and netdev person audit, but it's functional enough for me and my rpxlite to mount a root fs.
sorry to jump into this conversation late -- which "2.6.x" source tree is being used here?
As I said, linuxppc-2.5 is where the working driver is right now.
Quoted 4 lines
for quite some time, i've just used the linuxppx-2.5 tree at ppc.bkbits.net. but when someone refers to a 2.6.x tree, which one specifically is this? just the latest BK update from www.kernel.org? or is this a PPC-specific tree?
The only trees that matter here are linuxppc-2.5 (on ppc.bkbits.net) and linux-2.6 (on linux.bkbits.net). Everthing else "2.6.x" is a snapshot of one form or another of the linux-2.6 tree.
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/
Tom Rini <[email protected]> wrote:
Quoted 10 lines
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'.
Not that it couldn't do with a cleanup and netdev person audit, but it's
functional enough for me and my rpxlite to mount a root fs.Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/
Uh, I tried it again on lastest bk pull but still in vain. What's the problem could be?
--------------------------------------------------
u-boot>set bootfile uImage.rpx26scc2
u-boot>run net_nfs
Using SCC ETHERNET device
TFTP from server 172.16.115.6; our IP address is 172.16.115.7
Filename 'uImage.rpx26scc2'.
Load address: 0x200000
Loading:
####################################################
done
Bytes transferred = 735617 (b3981 hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.9-rc2
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 735553 Bytes = 718.3 kB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
Linux version 2.6.9-rc2 ([email protected]) (gcc
version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #1 Tue Sep 21 09:11:09 CST 2004
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=172.16.115.6:/workspace/myfilesystem/target/ ip=172.16.115.7:172.16.115.6:172.16.115.254:255.255.255.0::eth0:off panic=1
PID hash table entries: 512 (order: 9, 8192 bytes) Decrementer Frequency = 180000000/60
Dentry cache hash table entries: 16384 (order: 4,
65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 63104k available (1292k kernel code, 292k
data, 72k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xfa200a80 (irq = 20) is a CPM UART ttyCPM1 at MMIO 0xfa200a00 (irq = 46) is a CPM UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: CPM ENET Version 0.2 on SCC2, 00:10:ec:00:37:5b
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
device=eth0, addr=172.16.115.7,
mask=255.255.255.0, gw=172.16.115.254,
host=172.16.115.7, domain=, nis-domain=(none),
bootserver=172.16.115.6, rootserver=172.16.115.6,rootpath=
Looking up port of RPC 100003/2 on 172.16.115.6
Looking up port of RPC 100005/1 on 172.16.115.6
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 72k init
Oops: kernel access of bad area, sig: 11 [#1] NIP: C0008D98 LR: C000DDAC SP: C0299E00 REGS: c0299d50
TRAP: 0300 Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 0FFC9BD4, DSISR: C2000000
TASK = c028fba0[1] 'init' THREAD: c0298000Last
syscall: 6
GPR00: C018ACA0 C0299E00 C028FBA0 0FFC9000 00000100 00003C55 0FFC9000 C0396F24
GPR08: C0190000 C018ACA0 00000000 00078AA0 01160040 1001EE38 03FB1900 00000000
GPR16: 007FFF91 00000000 7FFFF640 007FFF00 00000073 00000001 0FFC9000 C018ACA0
GPR24: 00000000 00000000 C01890FC 00000000 0FFC9BD4 03C55889 C022BAA0 C022BAA0
Call trace: [c003d0e4] [c003d460] [c000d35c] [c0006608] Kernel panic - not syncing: Attempted to kill init! <0>Rebooting in 1 seconds..
U-Boot 1.1.2 (Aug 31 2004 - 09:47:03)
CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB
D-Cache
Board: RPXlite_DW DRAM: 64 MB FLASH: 16 MB Hit any key to stop autoboot: 0
u-boot>
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.9-rc2
# Tue Sep 21 09:04:50 2004
#CONFIG_MMU=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_HAVE_DEC_LOCK=yCONFIG_PPC=yCONFIG_PPC32=yCONFIG_GENERIC_NVRAM=yCONFIG_GENERIC_IOMAP=y
#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not setCONFIG_CLEAN_COMPILE=yCONFIG_BROKEN_ON_SMP=y
#
# General setup
#CONFIG_LOCALVERSION=""CONFIG_SWAP=yCONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not setCONFIG_SYSCTL=y
# CONFIG_AUDIT is not setCONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not setCONFIG_IKCONFIG=y
# CONFIG_IKCONFIG_PROC is not setCONFIG_EMBEDDED=y
# CONFIG_KALLSYMS is not setCONFIG_FUTEX=y
# CONFIG_EPOLL is not setCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# Processor
#
# CONFIG_6xx is not set
# CONFIG_40x is not set
# CONFIG_44x is not set
# CONFIG_POWER3 is not set
# CONFIG_POWER4 is not set
CONFIG_8xx=y
# CONFIG_E500 is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_CPU_FREQ is not setCONFIG_EMBEDDEDBOOT=yCONFIG_NOT_COHERENT_CACHE=y
#
# Platform options
#CONFIG_RPXLITE=y
# CONFIG_RPXCLASSIC is not set
# CONFIG_BSEIP is not set
# CONFIG_FADS is not set
# CONFIG_TQM823L is not set
# CONFIG_TQM850L is not set
# CONFIG_TQM855L is not set
# CONFIG_TQM860L is not set
# CONFIG_FPS850L is not set
# CONFIG_SPD823TS is not set
# CONFIG_IVMS8 is not set
# CONFIG_IVML24 is not set
# CONFIG_SM850 is not set
# CONFIG_HERMES_PRO is not set
# CONFIG_IP860 is not set
# CONFIG_LWMON is not set
# CONFIG_PCU_E is not set
# CONFIG_CCM is not set
# CONFIG_LANTEC is not set
# CONFIG_MBX is not set
# CONFIG_WINCEPT is not setCONFIG_SERIAL_CONSOLE=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_HIGHMEM is not setCONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_CMDLINE_BOOL is not set
#
# Bus options
#
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
# CONFIG_PCI_QSPAN is not set
#
# Advanced setup
#
# CONFIG_ADVANCED_OPTIONS is not set
#
# Default settings for advanced configuration options are used
#CONFIG_HIGHMEM_START=0xfe000000 CONFIG_LOWMEM_SIZE=0x30000000 CONFIG_KERNEL_START=0xc0000000 CONFIG_TASK_SIZE=0x80000000 CONFIG_CONSISTENT_START=0xff100000 CONFIG_CONSISTENT_SIZE=0x00200000 CONFIG_BOOT_LOAD=0x00400000
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=y
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play support
#
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not setCONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=y
# CONFIG_LBD is not set
#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_SCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
#
# IEEE 1394 (FireWire) support
#
#
# I2O device support
#
#
# Macintosh device drivers
#
#
# Networking support
#CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not setCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not setCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_NETFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
# CONFIG_NET_CLS_ROUTE is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not setCONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=yCONFIG_MII=y
# CONFIG_FEC_8XX is not set
#
# Ethernet (1000 Mbit)
#
#
# Ethernet (10000 Mbit)
#
#
# Token Ring devices
#
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not setCONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not setCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_CPM=yCONFIG_SERIAL_CPM_CONSOLE=yCONFIG_SERIAL_CPM_SCC1=y
# CONFIG_SERIAL_CPM_SCC2 is not set
# CONFIG_SERIAL_CPM_SCC3 is not set
# CONFIG_SERIAL_CPM_SCC4 is not setCONFIG_SERIAL_CPM_SMC1=y
# CONFIG_SERIAL_CPM_SMC2 is not setCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set
#
# I2C support
#
# CONFIG_I2C is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Misc devices
#
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# Graphics support
#
# CONFIG_FB is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not setCONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=y
# CONFIG_SYSFS is not setCONFIG_DEVPTS_FS_XATTR=y
# CONFIG_DEVPTS_FS_SECURITY is not setCONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not setCONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_HFSPLUS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#CONFIG_NFS_FS=yCONFIG_NFS_V3=y
# CONFIG_NFSD is not setCONFIG_ROOT_NFS=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=y
# CONFIG_EXPORTFS is not setCONFIG_SUNRPC=y
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
#
# Native Language Support
#
# CONFIG_NLS is not set
#
# MPC8xx CPM Options
#CONFIG_SCC_ENET=y
# CONFIG_SCC1_ENET is not setCONFIG_SCC2_ENET=y
# CONFIG_SCC3_ENET is not set
# CONFIG_FEC_ENET is not set
# CONFIG_ENET_BIG_BUFFERS is not set
# CONFIG_8xx_UART is not set
#
# Generic MPC8xx Options
#
CONFIG_8xx_COPYBACK=y
# CONFIG_8xx_CPU6 is not set
# CONFIG_UCODE_PATCH is not set
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC32 is not set
# CONFIG_LIBCRC32C is not set
#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
---------------------------------------------------
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Quoted 7 lines · Song Sam
Tom Rini <[email protected]> wrote:
Quoted 5 lines
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'. Not that it couldn't do with a cleanup and netdev person audit, but it's functional enough for me and my rpxlite to mount a root fs.
Quoted 6 lines
Quoted 1 line
-- Tom Rini http://gate.crashing.org/~trini/
Uh, I tried it again on lastest bk pull but still in vain. What's the problem could be?
Well it works OK until it gets to start init.
Then it crashes the way it is supposed to :).
Tom I think it's the problem we are talking about.
Song please try this...
Quoted 7 lines · Song Sam
Tom Rini <[email protected]> wrote:
Quoted 5 lines
Note that the old SCC enet driver, in linuxppc-2.5 at least is 'OK'. Not that it couldn't do with a cleanup and netdev person audit, but it's functional enough for me and my rpxlite to mount a root fs.
Quoted 6 lines
Quoted 1 line
-- Tom Rini http://gate.crashing.org/~trini/
Uh, I tried it again on lastest bk pull but still in vain. What's the problem could be?
Well it works OK until it gets to start init.
Then it crashes the way it is supposed to :).
Tom I think it's the problem we are talking about.
Song please try this...
Regards
Pantelis
arch/ppc/mm/init.c 2004-08-26 10:34:00.000000000 +0300 renamed from arch/ppc/mm/init.c 2004-08-26 10:21:00.000000000 +0300 +0 -0
@@ -632,9 +632,10 @@
struct page *page = pfn_to_page(pfn);
if (!PageReserved(page)
&& !test_bit(PG_arch_1, &page->flags)) {
- if (vma->vm_mm == current->active_mm)
- __flush_dcache_icache((void *) address);
- else
+ if (vma->vm_mm == current->active_mm) {
+ _tlbie(address);
+ __flush_dcache_icache((void *)address);
+ } elseflush_dcache_icache_page(page);set_bit(PG_arch_1, &page->flags);
}
Pantelis Antoniou <[email protected]> wrote:
Quoted 7 lines
Well it works OK until it gets to start init.
Then it crashes the way it is supposed to :).
Tom I think it's the problem we are talking about.
Song please try this...
Guess what? It WORKED!!! Just one more line make it. Could you pls tell us the theory in it if not too complicated? :-)
Well Done!
----------------------------------------------------
u-boot>run net_nfs
Using SCC ETHERNET device
TFTP from server 172.16.115.33; our IP address is
172.16.115.7
Filename 'uImage.rpx26scc2pa'.
Load address: 0x200000
Loading:
#################################################################
#################################################################
##############
done
Bytes transferred = 735596 (b396c hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.9-rc2
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 735532 Bytes = 718.3 kB
Load Address: 00000000
Entry Point: 00000000
Uncompressing Kernel Image ... OK
Linux version 2.6.9-rc2 ([email protected]) (gcc
version 3.2.2 20030217 (Yellow Dog Linux 3.0
3.2.2-2a_1)) #1 Tue Sep 21 15:10:34 CST 2004
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=172.16.115.33:/opt/eldk/ppc_8xx ip=172.16.115.7:172.16.115.33:172.16.115.254:255.255.255.0::eth0:off panic=1
PID hash table entries: 512 (order: 9, 8192 bytes) Decrementer Frequency = 180000000/60
Dentry cache hash table entries: 16384 (order: 4,
65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 63104k available (1292k kernel code, 292k
data, 72k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xfa200a80 (irq = 20) is a CPM UART ttyCPM1 at MMIO 0xfa200a00 (irq = 46) is a CPM UART RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: CPM ENET Version 0.2 on SCC2, 00:10:ec:00:37:5b
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
device=eth0, addr=172.16.115.7,
mask=255.255.255.0, gw=172.16.115.254,
host=172.16.115.7, domain=, nis-domain=(none),
bootserver=172.16.115.33,rootserver=172.16.115.33, rootpath= Looking up port of RPC 100003/2 on 172.16.115.33 Looking up port of RPC 100005/1 on 172.16.115.33
VFS: Mounted root (nfs filesystem). Freeing unused kernel memory: 72k init齆??: version 2.84 booting
Welcome to DENX Embedded Linux
Environment
Press 'I' to enter interactive
startup.
Building the cache [ OK ]
Mounting proc filesystem: [ OK ] Configuring kernel parameters: [ OK ]
Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method.
Setting clock : Wed Dec 31 19:44:24 EST 1969 [ OK ] Setting hostname 172.16.115.7: [ OK ]
modprobe: Can't open dependencies file /lib/modules/2.6.9-rc2/modules.dep (No such file or directory)
Activating swap partitions: [ OK ] Checking filesystems
[ OK ]
Mounting local filesystems: [ OK ] Enabling swap space: [ OK ] modprobe: Can't open dependencies file /lib/modules/2.6.9-rc2/modules.dep (No such file or directory) Entering non-interactive startup Setting network parameters: [ OK ] Bringing up loopback interface: [ OK ] Starting system logger: [ OK ] Starting kernel logger: [ OK ] Initializing random number generator: [ OK ] Starting portmapper: [ OK ] Mounting NFS filesystems: [ OK ] Mounting other filesystems: [ OK ] Starting xinetd: [ OK ]
172 login: root
bash-2.05b# cd /
bash-2.05b# ls
bin boot dev etc images lib mnt proc root sbin tmp usr var
bash-2.05b# reboot
INIT: Switching to runlevel: 6
bash-2.05b#
INIT: Sending processes the TERM signal Starting killall: [ OK ]
Sending all processes the TERM signal... Sending all processes the KILL signal... Syncing hardware clock to system time Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method.
mount: directory to mount not in host:dir format
Please stand by while rebooting the system...
Restarting syst
U-Boot 1.1.2 (Aug 31 2004 - 09:47:03)
CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB
D-Cache
Board: RPXlite_DW DRAM: 64 MB FLASH: 16 MB Hit any key to stop autoboot: 0
u-boot>
--------------------------------------------------
Best regards,
Sam
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Quoted 8 lines · Song Sam
Pantelis Antoniou <[email protected]> wrote£º
Quoted 6 lines
Well it works OK until it gets to start init.
Then it crashes the way it is supposed to :).
Tom I think it's the problem we are talking about.
Quoted 9 lines
Quoted 2 lines
Song please try this...
Guess what? It WORKED!!! Just one more line make it. Could you pls tell us the theory in it if not too complicated? :-)
Well Done!
Oh man Dan will kill me :)
The theory is simple, TLB handling is faulty for 8xx.
This patch fixes it but Dan & Ben think it's just by coincedence and we should fix it properly.
Regards
Pantelis
Quoted 17 lines · Pantelis Antoniou
Song Sam wrote:
=20Quoted 15 lines
Pantelis Antoniou <[email protected]> wrote=A3=BA
Quoted 8 lines
Well it works OK until it gets to start init.
Then it crashes the way it is supposed to :).
Tom I think it's the problem we are talking about.
Song please try this...
Guess what? It WORKED!!! Just one more line make it. Could you pls tell us the theory in it if not too complicated? :-)
Quoted 8 lines
Quoted 2 lines
Well Done!
Oh man Dan will kill me :)
=20
The theory is simple, TLB handling is faulty for 8xx. =20
This patch fixes it but Dan & Ben think it's just by coincedence and we should fix it properly.
Hi Pantelis, others,
And what has to be done to be fixed properly?=20
Ie what is the problem in detail?