Could you help me?
at MPC850 i let USB host work,but have some problems.the host driver is m8xxhci.c of brad.
i usb the command :mknod sda b 8 0, mknod sda1 b 8 1,in the direction of dev.is it ok?
when i mount OnlyDisk of Netac (mount /dev/sda1 /mnt/usbdisk),the infomation displayed as below:
VFS: Can't find an ext2 filesystem on dev sd(8,1).
when i cd /mnt/usbdisk,and vi my.txt,i also face some problems.the problems as below:
if i use backspace key,the console will display ^H;when i usb up,down,left and right key,the screen will roll.the infomation of -- caught signal 14 (alarm) -- exists at the bottom.
in the end i send my boot infomation to you.thank you in advance! Best regards! shuiming lin
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
PPCBoot 1.1.6 (Jun 22 2003 - 15:59:38)
CPU: XPC850xxZTB at 50 MHz: 2 kB I-Cache 1 kB D-Cache
Board: BCNG
DRAM: 16 MB
FLASH: 8 MB
This is BCNG board number 1!
Please use kernel file vmlinux.bcng1!
Hit any key to stop autoboot: 0
=> tftp 100000 vmlinux.bcng
ARP broadcast 1
TFTP from server 192.168.29.2; our IP address is 192.168.29.3
Filename 'vmlinux.bcng'.
Load address: 0x100000
Loading: #################################################################
#################################################################
#
done
Bytes transferred = 665933 (a294d hex)
=> tftp 200000 ramdisk.bcng
ARP broadcast 1
TFTP from server 192.168.29.2; our IP address is 192.168.29.3
Filename 'ramdisk.bcng'.
Load address: 0x200000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
##########################################
done
Bytes transferred = 1541634 (178602 hex)
=> cd /proc/drivers
Unknown command 'cd' - try 'help'
=>
=> bootm 100000 200000
## Booting image at 00100000 ...
Image Name: 2.2.14 for BCNG MPC850
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 665869 Bytes = 650 kB = 0 MB
Load Address: 00000000
Entry Point: 0000000c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 00200000 ...
Image Name: ramdisk for BCNG MPC850
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1541570 Bytes = 1505 kB = 1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 00de6000, end 00f5e5c2 ... OK
Linux version 2.4.4 ([EMAIL PROTECTED]) (gcc version 2.95.2 19991024 (release)) #21
�� 6�� 22 21:12:56 CST 2003
USB uCode patch installed
cp_rccr 9
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram rw
Decrementer Frequency: 3125000
Warning: real time clock seems stuck!
Calibrating delay loop... 49.76 BogoMIPS
Memory: 12792k available (1236k kernel code, 480k data, 52k init, 0k highmem)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
CPM UART driver version 0.03
ttyS0 on SMC1 at 0x0280, BRG2
pty: 256 Unix98 ptys configured
block: queued sectors max/low 8416kB/2805kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
eth0: CPM ENET Version 0.2 on SCC2, 00:10:ec:00:2d:0b
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1505k freed
loop: loaded (max 8 devices)
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
usb.c: registered new driver hub
m8xxhci: initializing controller
usb.c: new USB bus registered, assigned bus number 1
m8xxhci: MPC823 mask 1
hub.c: USB hub found
hub.c: 1 port detected
m8xxhci: initializing done
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
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 1024 bind 1024)
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 52k init
!!!!!! run custom configuration here !!!!!!!
hostname BCNG
ifconfig lo 127.0.0.1
ifconfig eth0 192.168.29.3
!!!!!! run custom program here !!!!!!!
Running embeded web server....
Blink LEDs....
mount: 192.168.29.2:/home/bcng/exports/initrd failed, reason given by server: Pe
rmission denied
mount: nfsmount failed: Bad file descriptor
NFS: mount program didn't pass remote address!
mount: Mounting 192.168.29.2:/home/bcng/exports/initrd on /mnt/nfs failed: Inval
id argument
*-------------------------------------------------------* | **** Welcome to nudt407 embedded linux-2.4.4 **** | | | | Your IP address is: 192.168.0.139 | | Hostname is : BCNG | | To goto develop mode,Please enter: | | # mount -a | | | | #hello,every body! This is the BCNG board ! | *-------------------------------------------------------*
BCNG login: root login[39]: cannot open securetty file.
Password: login[39]: root login on `ttyS0'
BusyBox v0.60.1 (2002.10.24-04:52+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands.
# cd /proc/driver/ # # ls usb usblog # # cd /mnt # # ls nfs # # mkdir usbdisk # # ls nfs usbdisk #
# # hub.c: USB new device connect on bus1/1, assigned device number 2 scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sda: 29536 512-byte hdwr sectors (15 MB) Partition check: sda: sda1
# mount /dev/sda1 /mnt/usbdisk VFS: Can't find an ext2 filesystem on dev sd(8,1). # # cd /mnt/usbdisk/ # ls ds1305.pdf hyy.txt pcb.rar recycled �½�mi~1.doc #
