Chinaunix首页 | 论坛 | 博客
  • 博客访问: 913232
  • 博文数量: 132
  • 博客积分: 9976
  • 博客等级: 中将
  • 技术积分: 1781
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-30 20:40
文章分类

全部博文(132)

文章存档

2013年(1)

2011年(1)

2010年(15)

2009年(77)

2008年(36)

2007年(2)

我的朋友

分类: C/C++

2009-05-19 09:50:39

我的u-boot 日志1
author  : chjianash
date    : 2009-05-19
=============================================================================
U-Boot 1.1.1 (Development build, svnversion: u-boot:36973, exec:36970) (Build time: Sep 17 2008 - 11:16:48)

CN3010_EVB_HS5 board revision major:2, minor:2, serial #: 2008-2.2-00562
OCTEON CN5020-SCP pass 1.1, Core clock: 700 MHz, DDR clock: 265 MHz (530 Mhz data rate)
DRAM:  512 MB
Flash:  8 MB
Clearing DRAM....... done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
Net:   octeth0, octeth1
 Bus 0 (CF Card): not available  

Octeon cn3010_evb_hs5#
Octeon cn3010_evb_hs5#
Octeon cn3010_evb_hs5#
Octeon cn3010_evb_hs5# flinfo

Bank # 1: CFI conformant FLASH (portwidth:8 x chipwidth: 8)  Size: 8 MB in 135 Sectors
 Erase timeout 16384 ms, write timeout 1 ms, buffer write timeout 4096 ms, buffer size 32
  Sector Start Addresses:
    BF400000 (RO) BF410000 (RO) BF420000 (RO) BF430000 (RO) BF440000 (RO)
    BF450000 (RO) BF460000 (RO) BF470000 (RO) BF480000      BF490000     
    BF4A0000      BF4B0000      BF4C0000      BF4D0000      BF4E0000     
    BF4F0000      BF500000      BF510000      BF520000      BF530000     
    BF540000      BF550000      BF560000      BF570000      BF580000     
    BF590000      BF5A0000      BF5B0000      BF5C0000      BF5D0000     
    BF5E0000      BF5F0000      BF600000      BF610000      BF620000     
    BF630000      BF640000      BF650000      BF660000      BF670000     
    BF680000      BF690000      BF6A0000      BF6B0000      BF6C0000     
    BF6D0000      BF6E0000      BF6F0000      BF700000      BF710000     
    BF720000      BF730000      BF740000      BF750000      BF760000     
    BF770000      BF780000      BF790000      BF7A0000      BF7B0000     
    BF7C0000      BF7D0000      BF7E0000      BF7F0000      BF800000     
    BF810000      BF820000      BF830000      BF840000      BF850000     
    BF860000      BF870000      BF880000      BF890000      BF8A0000     
    BF8B0000      BF8C0000      BF8D0000      BF8E0000      BF8F0000     
    BF900000      BF910000      BF920000      BF930000      BF940000     
    BF950000      BF960000      BF970000      BF980000      BF990000     
    BF9A0000      BF9B0000      BF9C0000      BF9D0000      BF9E0000     
    BF9F0000      BFA00000      BFA10000      BFA20000      BFA30000     
    BFA40000      BFA50000      BFA60000      BFA70000      BFA80000     
    BFA90000      BFAA0000      BFAB0000      BFAC0000      BFAD0000     
    BFAE0000      BFAF0000      BFB00000      BFB10000      BFB20000     
    BFB30000      BFB40000      BFB50000      BFB60000      BFB70000     
    BFB80000      BFB90000      BFBA0000      BFBB0000      BFBC0000     
    BFBD0000      BFBE0000      BFBF0000      BFBF2000      BFBF4000     
    BFBF6000      BFBF8000      BFBFA000      BFBFC000      BFBFE000 (RO)
Octeon cn3010_evb_hs5# md bf490000
bf490000: 7f454c46 02020100 00000000 000000ff    .ELF............
bf490010: ffffffff ffffffff ffffffff ffffffff    ................
bf490020: ffffffff ffffffff ffffffff ffffffff    ................
bf490030: ffffffff ffffffff ffffffff ffffffff    ................
bf490040: ffffffff ffffffff ffffffff ffffffff    ................
bf490050: ffffffff ffffffff ffffffff ffffffff    ................
bf490060: ffffffff ffffffff ffffffff ffffffff    ................
bf490070: ffffffff ffffffff ffffffff ffffffff    ................
bf490080: ffffffff ffffffff ffffffff ffffffff    ................
bf490090: ffffffff ffffffff ffffffff ffffffff    ................
bf4900a0: ffffffff ffffffff ffffffff ffffffff    ................
bf4900b0: ffffffff ffffffff ffffffff ffffffff    ................
bf4900c0: ffffffff ffffffff ffffffff ffffffff    ................
bf4900d0: ffffffff ffffffff ffffffff ffffffff    ................
bf4900e0: ffffffff ffffffff ffffffff ffffffff    ................
bf4900f0: ffffffff ffffffff ffffffff ffffffff    ................
Octeon cn3010_evb_hs5# protect off 1:9-134
Un-Protect Flash Sectors 9-134 in Bank # 1
Octeon cn3010_evb_hs5# erase 1:9-134
Erase Flash Sectors 9-134 in Bank # 1
.............................................................................................................................. done
Octeon cn3010_evb_hs5# tftpboot 0x0 vmlinux.64
Interface 0 has 2 ports (GMII)
Using octeth0 device
TFTP from server 192.168.0.104; our IP address is 192.168.0.222
Filename 'vmlinux.64'.
Load address: 0x9f00000
Loading: octeth0: Up 100 Mbps Full duplex (port  0)
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##
done
Bytes transferred = 83940318 (500d3de hex), 2948 Kbytes/sec
Octeon cn3010_evb_hs5# help cp
cp [.b, .w, .l] source target count
    - copy memory

Octeon cn3010_evb_hs5# help cp.b
cp [.b, .w, .l] source target count
    - copy memory

Octeon cn3010_evb_hs5# cp.b 0x9f00000 0xbf490000 filesize
Copy to Flash... done
Octeon cn3010_evb_hs5# bootoct
  bootoct bootoctlinux bootoctelf
Octeon cn3010_evb_hs5# bootoctlinux 0xbf490000
ELF file is 64 bit
## Not an Executable elf image at address 0xbf490000
Octeon cn3010_evb_hs5# help bootoctlinux
bootoctlinux elf_address [coremask=mask_to_run | numcores=core_cnt_to_run] [forceboot] [skipcores=core_cnt_to_skip] [endbootargs] [app_args ..]
elf_address - address of ELF image to load. If 0, default load address is used.
coremask    - mask of cores to run on.  Anded with coremask_override environment
              variable to ensure only working cores are used
numcores    - number of cores to run on.  Runs on specified number of cores, taking into
              account the coremask_override.
skipcores   - only meaningful with numcores.  Skips this many cores (starting from 0) when
              loading the numcores cores. For example, setting skipcores to 1 will skip core 0
              and load the application starting at the next available core.
forceboot   - if set, boots application even if core 0 is not in mask
endbootargs - if set, bootloader does not process any further arguments and only passes
              the arguments that follow to the kernel.  If not set, the kernel
              gets the entire commnad line as arguments.


Octeon cn3010_evb_hs5#
Unknown command '' - try 'help'
Octeon cn3010_evb_hs5# bootoctlinux bf490000
ELF file is 64 bit
## Not an Executable elf image at address 0xbf490000
Octeon cn3010_evb_hs5# bootoct
  bootoct bootoctlinux bootoctelf
Octeon cn3010_evb_hs5# bootoctlinux 0x9f00000
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff80100000 (adjusted to: 0x0000000000100000), size 0x15dfb20
Allocated memory for ELF segment: addr: 0xffffffff80100000, size 0x15dfb20
Loading .text @ 0xffffffff80100000 (0x43550c bytes)
Loading __ex_table @ 0xffffffff80535510 (0x7170 bytes)
Loading .rodata @ 0xffffffff8053d000 (0x2fcf04 bytes)
Loading .pci_fixup @ 0xffffffff80839f08 (0xbe0 bytes)
Loading __ksymtab @ 0xffffffff8083aae8 (0xa1f0 bytes)
Loading __ksymtab_gpl @ 0xffffffff80844cd8 (0x2c40 bytes)
Loading __ksymtab_gpl_future @ 0xffffffff80847918 (0x30 bytes)
Loading __ksymtab_strings @ 0xffffffff80847948 (0x10bd8 bytes)
Loading __param @ 0xffffffff80858520 (0x1bf8 bytes)
Loading .data @ 0xffffffff8085c000 (0x418e0 bytes)
Loading .data.cacheline_aligned @ 0xffffffff8089e000 (0x8b80 bytes)
Loading .init.text @ 0xffffffff808a7000 (0x32220 bytes)
Loading .init.data @ 0xffffffff808d9220 (0x6190 bytes)
Loading .init.setup @ 0xffffffff808df3b0 (0x6d8 bytes)
Loading .initcall.init @ 0xffffffff808dfa88 (0x5d0 bytes)
Loading .con_initcall.init @ 0xffffffff808e0058 (0x18 bytes)
Loading .exit.text @ 0xffffffff808e0070 (0x20e8 bytes)
Loading .init.ramfs @ 0xffffffff808e3000 (0xd6e8a3 bytes)
Loading .data.percpu @ 0xffffffff81651900 (0x36c8 bytes)
Clearing .bss @ 0xffffffff81656000 (0x443d0 bytes)
Clearing .cvmx_shared_bss @ 0xffffffff8169a3d0 (0x348 bytes)
## Loading Linux kernel with entry point: 0xffffffff808a7000 ...
Bootloader: Done loading app on coremask: 0x1
Linux version 2.6.21.7-Cavium-Octeon (cjash@chjianash) (gcc version 4.1.2 (Cavium Networks Version: 1_8_1, build 72)) #3 SMP Mon May 18 17:00:9
CVMSEG size: 2 cache lines (256 bytes)
CPU revision is: 000d0601
Determined physical RAM map:
 memory: 000000000e800000 @ 0000000001700000 (usable)
 memory: 0000000010000000 @ 0000000410000000 (usable)
Wasting 329728 bytes for tracking 5888 unused pages
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 65792
Kernel command line:  console=ttyS0,115200
Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
Synthesized TLB refill handler (55 instructions).
Synthesized TLB load handler fastpath (72 instructions).
Synthesized TLB store handler fastpath (75 instructions).
Synthesized TLB modify handler fastpath (72 instructions).
PID hash table entries: 2048 (order: 11, 16384 bytes)
Using 700.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 491172k/499712k available (4309k kernel code, 8188k reserved, 3525k data, 14008k init, 0k highmem)
Calibrating delay using timer specific routine.. 1400.47 BogoMIPS (lpj=2800949)
Mount-cache hash table entries: 256
Checking for the multiply/shift bug... no.
Checking for the daddi bug... no.
Checking for the daddiu bug... no.
Brought up 1 CPUs
NET: Registered protocol family 16
Enabling Octeon big bar support
PCI Status: PCI 32-bit
PCI Clock: 66 MHz
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 393216 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
/proc/octeon_perf: Octeon performace counter interface loaded
Octeon watchdog driver loaded with a timeout of 6135 ms.
Total HugeTLB memory allocated, 0
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 1 RAM disks of 500000K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SAS Host driver 3.04.04
slram: not enough parameters.
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v3.0
dwc_otg: version 2.40a 10-APR-2006
DWC_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
dwc_otg dwc_otg.0: irq 64, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
ds1307 0-0068: rtc core: registered ds1307 as rtc0
oprofile: using mips/octeon performance monitoring.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
serial8250: ttyS0 at MMIO 0x1180000000800 (irq = 42) is a 16550A
Bootbus flash: Setting flash for 8MB flash at 0x1f400000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cf: Octeon bootbus compact flash driver version 2.0
cf: Compact flash found in bootbus region 3 (16 bit).
cf:  Serial  (0 sectors, 512 bytes/sector)
cf: Compact flash not detected.
Freeing unused kernel memory: 14008k freed
/sbin/rc starting
Updating module dependencies
Loading IPv6 module
NET: Registered protocol family 10
Mounting file systems
Setting up loopback
Starting syslogd
Jan  1 00:00:03 (none) syslog.info syslogd started: BusyBox v1.2.1
Starting teln

BusyBox v1.2.1 (2009.05.18-08:20+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # Jan  1 00:00:03 (none) daemon.info init: Starting pid 739, console /dev/ttyS0: '/bin/sh'

~ #
~ #
~ #

阅读(1793) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-06-24 10:04:16

您好,我这里有个问题想请教下,我用的cn5650,现在在加载vmlinux.64的时候,启动不起来。停在:“Bootloader: Done loading app on coremask: 0x1”的地方。请问,我应该从哪里找问题?有何建议么? mail:pangu420@hotmail.com