I checked the environment variable in /stapi/bin, it was set as "export STCLKRV_EXT_CLK_MHZ=27"
So I checked with kernel configuration file: stb7100_defconfig and found CONFIG_SH_EXTERNAL_CLOCK=30000000, I changed it to 27Mhz. Recompiled the kernel(with stb7100_defconfig) and stapi.
Edited the U-boot environment variable to : “mem=96m bigphrea=4000 coprocessor_mem=2m@0x04000000,2m@0x04200000”
While executing I got the same error.
I'm posting the complete log file from boot-up.
U-Boot 1.1.2 (Apr 29 2007 - 13:50:57) - st2.0-14
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
sh4_Net: Using MAC Address 00:50:BF:BA:EC:B0
Hit any key to stop autoboot: 0
Using MAC Address 00:50:BF:BA:EC:B0
TFTP from server 192.168.1.79; our IP address is 192.168.1.203
Filename 'uImage'.
Load address: 0x87000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
###########################################################
done
Bytes transferred = 1630389 (18e0b5 hex)
## Booting image at 87000000 ...
Image Name: Linux-2.6.17.14_stm22_0037
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 1630325 Bytes = 1.6 MB
Load Address: 84401000
Entry Point: 84402000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel console=ttyAS0,115200 mem=96M coprocessor_mem=2M@04000000,2M@04200000 bigphysarea
=4000 root=/dev/nfs rw nfsroot=192.168.1.79:/home/sh4-target nwhwconf=device:eth0,hwaddr:00:50:BF
:BA:EC:B0 ip=192.168.1.203:192.168.1.79:192.168.1.7:255.255.255.0:kala:eth0:off - 0x00000000 - 0
...
Linux version 2.6.17.14_stm22_0037 (
root@dhcp8.abelectron.com) (gcc version 4.1.1 (STMicroelectro
nics/Linux Base 4.1.1-23)) #4 PREEMPT Tue Nov 6 16:15:15 EET 2007
STMicroelectronics STb7100 Reference board initialisation
STb7109 version 2.x
Built 1 zonelists
Kernel command line: console=ttyAS0,115200 mem=96M coprocessor_mem=2M@04000000,2M@04200000 bigphy
sarea=4000 root=/dev/nfs rw nfsroot=192.168.1.79:/home/sh4-target nwhwconf=device:eth0,hwaddr:00:
50:BF:BA:EC:B0 ip=192.168.1.203:192.168.1.79:192.168.1.7:255.255.255.0:kala:eth0:off
st-coprocessor: Failed to reserve memory at 0x00100000
st-coprocessor: Failed to reserve memory at 0x00110000
PID hash table entries: 512 (order: 9, 2048 bytes)
Using tmu for system timer
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 78080k/98304k available (2693k kernel code, 20196k reserved, 360k data, 104k init)
PVR=04061100 CVR=30480000 PRR=00009300
I-cache : n_ways=2 n_sets=256 way_incr=8192
I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
D-cache : n_ways=2 n_sets=512 way_incr=16384
D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
Mount-cache hash table entries: 512
CPU: STb710x
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
DMA: Registering DMA API.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
bigphysarea: Allocated 4000 pages at 0x84800000.
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
STPIO layer initialised
STMicroelectronics ASC driver initialized
ttyAS0 at MMIO 0xb8032000 (irq = 121) is a asc
ttyAS1 at MMIO 0xb8033000 (irq = 120) is a asc
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
SMSC: --> init_module()
SMSC: Driver Version = 1.21
SMSC: Compiled: Nov 6 2007, 16:00:12
SMSC: Platform: ST40 STMICRO r3
SMSC: Driver Parameters
SMSC: lan_base = 0x00000000, driver will decide
SMSC: bus_width = 0, driver will autodetect
SMSC: link_mode = 0x7F, 10HD,10FD,100HD,100FD,ASYMP,SYMP,ANEG
SMSC: irq = 2
SMSC: int_deas = 0xFFFFFFFF, use platform default
SMSC: irq_pol = 0, IRQ output is active low
SMSC: irq_type = 0, IRQ output is Open-Drain buffer
SMSC: rx_dma = 256, RX will use PIO
SMSC: tx_dma = 256, TX will use PIO
SMSC: dma_threshold = 200
SMSC: mac_addr_hi16 = 0xFFFFFFFF, will attempt to read from LAN911x
SMSC: mac_addr_lo32 = 0xFFFFFFFF, will attempt to read from LAN911x
SMSC: debug_mode = 0x00000007
SMSC: tx_fif_sz = 0x00050000
SMSC: afc_cfg = 0xFFFFFFFF, driver will decide
SMSC: tasklets = 0x00000001, Tasklets enabled
SMSC: phy_addr = 0xFFFFFFFF, Use internal phy
SMSC: max_throughput = 0xFFFFFFFF, Use platform default
SMSC: max_packet_count = 0xFFFFFFFF, Use platform default
SMSC: packet_cost = 0xFFFFFFFF, Use platform default
SMSC: burst_period = 0xFFFFFFFF, Use platform default
SMSC: max_work_load = 0xFFFFFFFF, Use platform default
SMSC: -->Smsc911x_init(dev=0x846BD2C4)
SMSC: --> Platform_Initialize
SMSC: Lan Base at 0xA2000000
SMSC: <-- Platform_Initialize
SMSC: dwLanBase=0xA2000000
SMSC: LAN9115 identified, dwIdRev==0x01150001
SMSC: FPGA_REV == 0x00000000
SMSC: <--Smsc911x_init(), result=0
SMSC: Interface Name = "eth0"
SMSC: <-- init_module()
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide: SuperH generic IDE interface
ata1: SATA max UDMA/133 cmd 0xB9209000 ctl 0xB9209820 bmdma 0x0 irq 170
ata1: SATA link down (SStatus 0)
scsi0 : sata_stm
Generic ST boards onboard flash device: 0x00800000 (8.0Mb) at 0x00000000
Onboard_Flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Onboard_Flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 3 MTD partitions on "Onboard_Flash":
0x00000000-0x00040000 : "Boot firmware"
0x00040000-0x00140000 : "Kernel"
0x00140000-0x01000000 : "Root FS"
usbmon: debugfs is not available
ST40_start_host_control
ST40_start_host_control proceeding
ST40-ehci ST40-ehci.2: ST EHCI Host Controller
ST40-ehci ST40-ehci.2: new USB bus registered, assigned bus number 1
ST40-ehci ST40-ehci.2: irq 169, io mem 0xb91ffe00
ST40-ehci ST40-ehci.2: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ST40)
ST40_start_host_control
ST40-ohci ST40-ohci.1: STB7100 OHCI
ST40-ohci ST40-ohci.1: new USB bus registered, assigned bus number 2
ST40-ohci ST40-ohci.1: irq 168, io mem 0xb91ffc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
usbcore: registered new driver asix
usbcore: registered new driver cdc_ether
usbcore: registered new driver net1080
usbcore: registered new driver zaurus
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c_st40_pio: ST40 PIO based I2C Driver
i2c_st40_pio: allocated pin (2,0) for scl (0x847310a4)
i2c_st40_pio: allocated pin (2,1) for sda (0x847310b4)
i2c_st40_pio: allocated pin (3,0) for scl (0x84731124)
i2c_st40_pio: allocated pin (3,1) for sda (0x84731134)
i2c_st40_pio: allocated pin (4,0) for scl (0x847311a4)
i2c_st40_pio: allocated pin (4,1) for sda (0x847311b4)
i2c_st40_pio bus 0: SCL=PIO2[0], SDA=PIO2[1]
i2c_st40_pio bus 1: SCL=PIO3[0], SDA=PIO3[1]
i2c_st40_pio bus 2: SCL=PIO4[0], SDA=PIO4[1]
DMA: Registering STB710x_FDMA_0 handler (5 channels).
STMicroelectronics - Coprocessors st231 Init
st231-0 Coprocessor -------------------------------------------
flags 0001 RAM start at 0xa0100000 size 0x00200000
cop. addr 0x00100000
Channels : Not defined
IRQ : not used
---------------------------------------------------------------
st231-1 Coprocessor -------------------------------------------
flags 0001 RAM start at 0xa0110000 size 0x00200000
cop. addr 0x00110000
Channels : Not defined
IRQ : not used
---------------------------------------------------------------
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
SMSC: -->Smsc911x_open(dev=0x846BD2C4)
SMSC: -->Lan_Initialize(dwIntCfg=0x00000011)
SMSC: <--g_GpioSetting set
SMSC: <--Lan_Initialize
SMSC: Testing ISR using IRQ 2
SMSC: ISR passed test using IRQ 2
SMSC: Mac Address is set by parameter to 0xB0ECBABF5000
SMSC: -->Phy_Initialize
SMSC: dwPhyId==0x00C0001C,bPhyModel==0x0D,bPhyRev==0x01
SMSC: Successfully Verified Loop Back Packet
SMSC: Passed Loop Back Test
SMSC: <--Phy_Initialize, result=TRUE
SMSC: Tx will use PIO
SMSC: Rx will use PIO
SMSC_WARNING: Gpt_CancelCallBack: Failed
SMSC: <--Smsc911x_open, result=0
SMSC_WARNING: Gpt_CancelCallBack: Failed
SMSC: Multicast: enable dwBitNum=31,addr=01 00 5E 00 00 01
IP-Config: Complete:
device=eth0, addr=192.168.1.203, mask=255.255.255.0, gw=192.168.1.7,
host=kala, domain=, nis-domain=(none),
bootserver=192.168.1.79, rootserver=192.168.1.79, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.79
SMSC: Link is now UP at 100Mbps FD
SMSC: LAN911x: ASYMP,SYMP ,100FD,100HD,10FD ,10HD
SMSC: Partner: ,SYMP ,100FD,100HD,10FD ,10HD
SMSC_WARNING: Gpt_CancelCallBack: Failed
Looking up port of RPC 100005/1 on 192.168.1.79
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 104k freed
modprobe: FATAL: Could not load /lib/modules/2.6.17.14_stm22_0037/modules.dep: No such file or di
rectory
INIT: version 2.86 booting
Welcome to Fedora Core
Press 'I' to enter interactive startup.
modprobe: FATAL: Could not load /lib/modules/2.6.17.14_stm22_0037/modules.dep: No such file or di
rectory
modprobe: FATAL: Could not load /lib/modules/2.6.17.14_stm22_0037/modules.dep: No such file or di
rectory
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 (utc): Tue Feb 5 12:52:26 CET 1991 [ OK ]
Setting hostname Arianux: [ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: quotaon: Warning: No quota format detected in the kernel.
[ OK ]
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting portmap: [ OK ]
Starting system message bus: [ OK ]
Starting nscd: [ OK ]
Starting sshd: [ OK ]
Starting xinetd: [ OK ]
Starting crond: [ OK ]
Starting xfs: [ OK ]
Starting VNC server: 1:root xauth: (stdin):1: bad display name "Arianux:1" in "add" command
New 'Arianux:1 (root)' desktop is Arianux:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/Arianux:1.log
[ OK ]
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting saslauthd: [ OK ]
Error : Name or service not known
5 Feb 12:53:52 ntpdate[650]: can't find host pool.ntp.org
5 Feb 12:53:52 ntpdate[650]: no servers can be used, exiting
Fedora Core release 6 (Zod)
Kernel 2.6.17.14_stm22_0037 on an sh4
Arianux login: root
Password:
Last login: Tue Feb 5 12:50:05 on ttyAS0
attaching the rest log in next post.