您的位置:首页 > 其它

softgun 模拟器成功启动imx21的uboot以及内核

2012-09-26 16:26 351 查看
启动日志:

LCA "uboot" "/platform/kernel_source/u-boot-1.1.4/u-boot.bin"

Configuration file "/platform/appliaction/softgun-0.20/configs/imx21ads.sg" loaded

IO-Thread started

Registered /dev/ptmx UART Emulator module

Registered File UART Emulator module

Registered Null UART Emulator module

MemMap and IO-Handler Hash initialized

Creating ARM9 CPU with clock 266000000 HZ

- Instruction decoder Initialized: 63424 2112 0 0 0 0 0 0 0

- Register Pointers initialized

GDB server listening on host "127.0.0.1" port 4711

- Create MMU Coprocessor

MMU: Byteorder is now LE

DRAM bank "dram0" with size 65536kB

DRAM bank "dram1" not present

Diskimage "/home/user/emulator/imx21ads/flash0.img" is a regular file

Diskimage "/home/user/emulator/imx21ads/flash0.stat" is a regular file

Flash bank "flash0" type AM29BDS128H Chips 2 writebuf 1

Flash bank "flash1" Flash type not configured

i.MX21 DMA controller "dmac" created

Uart "uart1" Connected to stdin

IMX21 Uart "uart1" created

IMX21 Uart "uart2" created

IMX21 Uart "uart3" created

IMX21 Uart "uart4" created

IMX Timer Module "gpt1" created

IMX Timer Module "gpt2" created

IMX Timer Module "gpt3" created

Diskimage "/home/user/emulator/imx21ads/rtc.img" is a regular file

i.MX21 CSPI module "cspi1" created

i.MX21 CSPI module "cspi2" created

i.MX21 I2C-Controller "i2c" created

i.MX21 SD-Card host controller "sdhc1" created

MMC Card: No product type configured for "sdcard0". Skipped.

i.MX21 SD-Card host controller "sdhc2" created

IMX21 GPIO module "gpio" created

i.MX21 CSPI module "cspi3" created

RFB Server Listening on host "127.0.0.1" port 5900

i.MX21 LCD-Controller "lcdc" created

Philips ISP1301 USB OTG transceiver created "otg.isp1301" created

IMX21 OTG: Function serial reset not implemented

IMX21 OTG: roothub reset not implemented

IMX21 OTG: hostser reset not implemented

iMX21 USB OTG controller "otg" created

DJ460 PCL3/PCL3GUI interpreter created

IMX21 Clock and Reset module "crm" created

AITC ARM Interrupt Controller created

SRAM bank "vram" with size 6.0kB

Set 'imx0' persistent and owned by uid 0

Diskimage "/home/user/emulator/imx21ads/cs8900.eeprom.img" is a regular file

M93C64 Microwire EEProm "cs8900.eeprom" created

Crystal LAN CS8900 Ethernet controller created

i.MX21 SDRAM controller (SDRC) created

External memory interface module (EIM) created

CLI not configured

Loading /platform/kernel_source/u-boot-1.1.4/u-boot.bin to 0xc8000000 flags 0

Poll detector Sensivity 10 jump_width 13300, jump threshold 13300

Starting CPU at c8000000

Write: No Handler for 10000000, value 00040304

Write: No Handler for 10020000, value 00000000

Write: No Handler for 10000004, value fffbfcfb

Write: No Handler for 10020004, value ffffffff

FMCR write value 0xffffffcb

GPCR: read bootstrap pins not implemented

Write: No Handler for 10000008, value 00000000

Write: No Handler for 10020008, value 00000000

EIM register 0xdf001000 not implemented

EIM register 0xdf001004 not implemented

EIM register 0xdf001018 not implemented

EIM register 0xdf00101c not implemented

FMCR write value 0xffffffc9

SDRC: SDCTL0 register write 92120300: CL3

SDRC: SDCTL0 register write a2120300: CL3

SDRC: SDCTL0 register write b2120300: CL3

SDRC: SDCTL0 register write 8212f339: CL3

U-Boot 1.1.4 (Jun 21 2012 - 09:02:28)

U-Boot code: C0400000 -> C0420DA0 BSS: -> C045DA9C

RAM Configuration:

Bank #0: c0000000 64 MB

Flash: 32 MB

*** Warning - bad CRC, using default environment

In: serial

Out: serial

Err: serial

Hit any key to stop autoboot: 0

mx2ads> ?

? - alias for 'help'

autoscr - run script from memory

base - print or set address offset

bdinfo - print Board Info structure

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootm - boot application image from memory

bootp - boot image via network using BootP/TFTP protocol

cmp - memory compare

cp - memory copy

crc32 - checksum calculation

echo - echo args to console

erase - erase FLASH memory

exit - exit script

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

flinfo - print FLASH memory information

fsinfo - print information about filesystems

fsload - load binary file from a filesystem image

go - start application at address 'addr'

help - print online help

iminfo - print header information for application image

imls - list all images found in flash

itest - return true/false on integer compare

loadb - load binary file over serial line (kermit mode)

loop - infinite loop on address range

ls - list files in a directory (default /)

md - memory display

mm - memory modify (auto-incrementing)

mmcinit - init mmc card

mtest - simple RAM test

mw - memory write (fill)

nfs - boot image via network using NFS protocol

nm - memory modify (constant address)

printenv- print environment variables

protect - enable or disable FLASH write protection

rarpboot- boot image via network using RARP/TFTP protocol

reiserload- load binary file from a Reiser filesystem

reiserls- list files in a directory (default /)

reset - Perform RESET of the CPU

run - run commands in an environment variable

saveenv - save environment variables to persistent storage

setenv - set environment variables

sleep - delay execution for some time

test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

version - print monitor version

mx2ads> pri

bootargs=

bootcmd=bootm 0xc2000000

bootdelay=10

baudrate=115200

stdin=serial

stdout=serial

stderr=serial

ethaddr=DE:14:98:D0:DA:FE

Environment size: 131/131068 bytes

mx2ads>

感兴趣的朋友可以一起讨论交流虚拟机内核
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: