10年前文章_mpc 8313 u-boot 记录

U-Boot 1.1.6 (Aug 24 2007 - 09:52:47) MPC83XX

Clock configuration:
Coherent System Bus:  166 MHz
Core:                 333 MHz
Local Bus Controller: 166 MHz
Local Bus:             41 MHz
DDR:                  333 MHz
SEC:                   55 MHz
I2C1:                 166 MHz
I2C2:                 166 MHz
TSEC1:                166 MHz
TSEC2:                166 MHz
USB MPH:                0 MHz
USB DR:                55 MHz
CPU: MPC8313E, Rev: 10 at 333.333 MHz
Board: Freescale MPC8313ERDB
I2C:   ready
DRAM:  Initializing
DDR RAM: 128 MB
FLASH:  8 MB
NAND:  32 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   TSEC0, TSEC1
Hit any key to stop autoboot:  0
=> printenv
bootcmd=run run_vscld1; run ramargs addtty;bootm fe100000 fe300000 fe700000
bootdelay=10
baudrate=115200
loads_echo=1
ethaddr=00:04:9f:ef:23:33
eth1addr=00:E0:0C:00:7E:21
ipaddr=10.193.20.184
serverip=10.193.20.61
rootpath=/tftpboot/10.193.20.184
hostname=mpc8313erdb
bootfile=/tftpboot/uImage
loadaddr=200000
load_uboot=tftp 100000 /tftpboot/u-boot.bin
update_uboot=protect off fe000000 fe06ffff; era fe000000 fe06ffff; cp.b 100000 fe000000 $filesize
burn_uboot=run load_uboot;run update_uboot
netdev=eth1
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
load_vscfw=tftp 100000 /tftpboot/vsc2bin
update_vscfw=protect off fe7fe000 fe7fffff;erase fe7fe000 fe7fffff; cp.b 100000 fe7fe000 $filesize
burn_vscfw=run load_vscfw; run update_vscfw
run_vscld=tftp 40000 /tftpboot/vsc7385_load.bin;go 40004
run_vscld1=cp.b fe710000 40000 11000; go 40004
stdin=serial
stdout=serial
stderr=serial
ethact=TSEC0

## Starting application at 0×00040004 …
VSC7385 Version = 0×273850e9
Value in IRAM matches binary, total bytes 0×2000 loaded
## Application terminated, rc = 0×0
## Booting image at fe100000 …
Image Name:   Linux-2.6.20
Created:      2007-08-24  14:59:01 UTC
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    1722821 Bytes =  1.6 MB
Load Address: 00000000
Entry Point:  00000000
Verifying Checksum … OK
Uncompressing Kernel Image … OK
## Loading RAMDisk Image at fe300000 …
Image Name:   uboot ext2 ramdisk rootfs
Created:      2007-08-24  15:01:41 UTC
Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
Data Size:    2831355 Bytes =  2.7 MB
Load Address: 00000000
Entry Point:  00000000
Verifying Checksum … OK
Booting using flat device tree at 0xfe700000
Loading Ramdisk to 07ce5000, end 07f983fb … OK
Loading Device Tree to 07ce0000, end 07ce2fff … setup_arch: bootmem
mpc8313_rdb_setup_arch()
arch: exit

Using MPC8313 RDB machine description
Linux version 2.6.20 (olivia@bamboo) (gcc version 4.0.2 20060628 (Wasabi)) #1 Fri Aug 24 09:58:56 CDT 2007
Found initrd at 0xc7ce5000:0xc7f983fb
Found MPC83xx PCI host bridge at 0×00000000e0008500. Firmware bus number: 0->0
Zone PFN ranges:
DMA             0 ->    32768
Normal      32768 ->    32768
early_node_map[1] active PFN ranges
0:        0 ->    32768
Built 1 zonelists.  Total pages: 32512
Kernel command line: root=/dev/ram rw console=ttyS0,115200
IPIC (128 IRQ sources) at fdefa700
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 123376k/131072k available (2996k kernel code, 7536k reserved, 464k data, 96k bss, 144k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
Generic PHY: Registered new driver
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
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
checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
Freeing initrd memory: 2764k freed
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Generic RTC Driver v1.07
WDT driver for MPC83xx initialized. mode:reset timeout=65535 (25 seconds)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.3.15-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.4, 00:04:9f:ef:23:33
eth0: MTU = 1500 (frame size=1540,truesize=2296)
eth0: Running with NAPI enabled
eth0: 64/64 RX/TX BD ring size
eth0: Socket buffer recycling mode enabled
eth1: Gianfar Ethernet Controller Version 1.4, 00:e0:0c:00:7e:21
eth1: MTU = 1500 (frame size=1540,truesize=2296)
eth1: Running with NAPI enabled
eth1: 64/64 RX/TX BD ring size
eth1: Socket buffer recycling mode enabled
SKB Handler initialized(max=64)
Marvell 88E1101: Registered new driver
Marvell 88E1111: Registered new driver
Marvell 88E1145: Registered new driver
MPC8313ERDB Ethernet Switch: Registered new driver
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
MPC8313RDB flash device: 800000 at fe000000 Partition number 4
MPC8313RDB Flash Map Info: Found 1 x16 devices at 0×0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0×0040
MPC8313RDB Flash Map Info: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 4 MTD partitions on “MPC8313RDB Flash Map Info”:
0×00000000-0×00100000 : “U-Boot”
0×00100000-0×00300000 : “Kernel”
0×00300000-0×00700000 : “JFFS2″
0×00700000-0×00800000 : “dtb”
MPC8313RDB flash device (MPC8313RDB Flash Map Info) initialized
Freescale eLBC NAND Driver (C) 2006 Freescale
NAND device: Manufacturer ID: 0xec, Chip ID: 0×75 (Samsung NAND 32MiB 3,3V 8-bit)
Scanning device for bad blocks
usbmon: debugfs is not available
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 38, io base 0xe0023000
fsl-ehci fsl-ehci.0: USB 2.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
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Freescale High-Speed USB SOC Device Controller driver (Feb 5, 2007)
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 144k init
Setting the hostname to freescale
Mounting filesystems
Running sysctl
Setting up networking on loopback device:
Setting up networking on eth0:
Adding static route for default gateway to 192.168.1.1:
Setting nameserver to 192.168.1.1 in /etc/resolv.conf:
Setting up networking on eth1:
Adding static route for default gateway to 192.168.1.1:
Setting nameserver to 192.168.1.1 in /etc/resolv.conf:
Starting inetd:

Welcome to Freescale Semiconductor Embedded Linux Environment

!!!!! WARNING !!!!!!!

The default password for the root account is: root
please change this password using the ‘passwd’ command
and then edit this message (/etc/issue) to remove this message

freescale login: PHY: e0024520:01 - Link is Up - 1000/Full

上一篇:kafka 和 rocketMQ 的数据存储


下一篇:JavaScript中数组的迭代方法:forEach、map、filter、reduce、every、some、for in、for of