[ELDK] Another BogoMIPS question
Gao Ya'nan
abutter.gao at gmail.com
Thu Sep 10 15:50:22 CEST 2009
Hi, the whole console output is below, and I can feel a real long
delay after "Mount filesystem ..." was printed.
And timebase value is 3125000 which is 50000000/16 and 0x2faf08 in
hex, and 50/6.7 is about 8, so I think the two is related and perhaps
I should check the register configuration later.
Thanks for you patience.
====================================================
U-Boot 2009.08 (Sep 09 2009 - 08:50:16)
CPU: MPC885ZPnn at 50 MHz [40.0...133.0 MHz]
8 kB I-Cache 8 kB D-Cache FEC present
Board: MPC885ADS
DRAM: (64 MB SDRAM) 64 MB
FLASH: 18 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>tftp 02000000 uImage
Using FEC ETHERNET device
TFTP from server 192.168.0.1; our IP address is 192.168.0.100
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
######
done
Bytes transferred = 1024844 (fa34c hex)
=>tftp 02600000 mpc875etm.dtb
Using FEC ETHERNET device
TFTP from server 192.168.0.1; our IP address is 192.168.0.100
Filename 'mpc875etm.dtb'.
Load address: 0x2600000
Loading: #
done
Bytes transferred = 4788 (12b4 hex)
=>tftp 02200000 uInitramfs
Using FEC ETHERNET device
TFTP from server 192.168.0.1; our IP address is 192.168.0.100
Filename 'uInitramfs'.
Load address: 0x2200000
Loading: #################################################################
#################################################################
#################################################################
######
done
Bytes transferred = 1025058 (fa422 hex)
=>set bootargs root=/dev/ram rw
=>bootm 02000000 02200000 02600000
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.30.3
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1024780 Bytes = 1000.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02200000 ...
Image Name: MSAG Initramfs Image
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1024994 Bytes = 1001 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02600000
Booting using the fdt blob at 0x2600000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 03e67000, end 03f613e2 ... OK
Loading Device Tree to 007fb000, end 007ff2b3 ... OK
Using Freescale MPC885 ADS machine description
Linux version 2.6.30.3 (xxxxxxxxxx at xx.xx.xxx.xxx) (gcc version 4.2.2) #5 Thu Sep
10 08:54:26 CST 2009
Found initrd at 0xc3e67000:0xc3f613e2
Zone PFN ranges:
DMA 0x00000000 -> 0x00004000
Normal 0x00004000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00004000
MMU: Allocated 72 bytes of context maps for 16 contexts
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: root=/dev/ram rw
NR_IRQS:512
PID hash table entries: 256 (order: 8, 1024 bytes)
Decrementer Frequency = 0x2faf08
clocksource: timebase mult[50000000] shift[22] registered
console [ttyCPM0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61612k/65536k available (2000k kernel code, 3860k reserved, 92k data, 86
k bss, 100k init)
Kernel virtual memory layout:
* 0xffffe000..0xfffff000 : fixmap
* 0xfde00000..0xfe000000 : consistent mem
* 0xfddf6000..0xfde00000 : early ioremap
* 0xc5000000..0xfddf6000 : vmalloc & ioremap
SLUB: Genslabs=12, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 6.19 BogoMIPS (lpj=30976)
Mount-cache hash table entries: 512
net_namespace: 296 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 1000k freed
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 122
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
ff000a80.serial: ttyCPM0 at MMIO 0xc505ea80 (irq = 19) is a CPM UART
ff000a90.serial: ttyCPM1 at MMIO 0xc5066a90 (irq = 29) is a CPM UART
eth0: fs_enet: 00:00:00:00:00:00
eth1: fs_enet: 00:00:00:00:00:00
FEC MII Bus: probed
fe000000.bootflash: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
f0000000.dataflash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
f0000000.dataflash: 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.
TCP cubic registered
NET: Registered protocol family 17
Freeing unused kernel memory: 100k init
Mount filesystem ...
/bin/sh: can't access tty; job control turned off
#
#
# ls
^C^Cbin dev etc init lib proc root sbin sys usr
#
# cat /proc/cpuinfo
^C
processor : 0
cpu : 8xx
clock : 50.000000MHz
revision : 0.0 (pvr 0050 0000)
bogomips : 6.19
timebase : 3125000
platform : Freescale MPC885 ADS
model : MPC885ADS
Memory : 64 MB
#
#
#
#
====================================================
2009/9/10 Gao Ya'nan <abutter.gao at gmail.com>:
> 2009/9/9 Wolfgang Denk <wd at denx.de>:
>> Dear "Gao Ya'nan",
>>
>> In message <d15e5cf90909090633k7fccd273u3f4b4390dad8e83d at mail.gmail.com> you wrote:
>>> what's the meaning of "the log files"?
>>>
>>> I had post the whole console output form board reset. Should I enable
>>> and then post the Linux kernel debug message ?
>>
>> I don't see any console log which contains a message about being
>> unable to mount the root file system. Did you send one?
>
> OK, that's my fault, I failed to mount the ppc_8xx uRamdisk with
> ELDK-4.2. I will try to solve it and then post it later.
>
> Thanks a lot.
>
>>
>> Best regards,
>>
>> Wolfgang Denk
>>
>> --
>> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
>> You go slow, be gentle. It's no one-way street -- you know how you
>> feel and that's all. It's how the girl feels too. Don't press. If the
>> girl feels anything for you at all, you'll know.
>> -- Kirk, "Charlie X", stardate 1535.8
>>
>
More information about the eldk
mailing list