📄 using_cf_flash_card_disk_with_uboot_and_linux_kernel.html
字号:
FLASH: 4 MBIn: serialOut: serialErr: serialBus 0: OK Device 0: Model: Hitachi XX.V.3.5.0.0 Firm: Rev 0.00 Ser#: Type: Removable Hard Disk Capacity: 488.7 MB = 0.4 GB (1000944 x 512)Net: ADI BF537 EMACI2C: readyHit any key to stop autoboot: 0bf537> help ideide reset - reset IDE controlleride info - show available IDE deviceside device [dev] - show or set current deviceide part [dev] - print partition table of one or all IDE deviceside read addr blk# cntide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#' to/from memory address `addr'bf537> ide partPartition Map for IDE device 0 -- Partition Type: DOSPartition Start Sector Num Sectors Type 1 63 20097 83 2 20160 20160 83 3 40320 782208 83 4 822528 178416 82bf537> tftpboot 0x1000000 uImageUsing MAC Address 00:E0:22:FE:42:84TFTP from server 192.168.0.2; our IP address is 192.168.0.15Filename 'uImage'.Load address: 0x1000000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ##################doneBytes transferred = 2085133 (1fd10d hex)bf537> ide write 0x1000000 0x3F 0x1000IDE write: device 0 block # 63, count 4096 ... 4096 blocks written: OKbf537> tftpboot 0x1000000 rootfs.imgUsing MAC Address 00:E0:22:FE:42:84TFTP from server 192.168.0.2; our IP address is 192.168.0.15Filename 'rootfs.img'.Load address: 0x1000000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ##############doneBytes transferred = 8388608 (800000 hex)bf537> ide write 0x1000000 0x9D80 0x4000IDE write: device 0 block # 40320, count 16384 ... 16384 blocks written: OKbf537> setenv bootargs root=/dev/hda3 rwbf537> help diskbootdiskboot loadAddr dev:partbf537> diskboot 0x1000000 0:1Loading from IDE device 0, partition 1: Name: hda1 Type: U-Boot Image Name: uClinux Kernel and Filesystem Created: 2006-01-25 9:11:39 UTC Image Type: Blackfin Linux Kernel Image (gzip compressed) Data Size: 2085069 Bytes = 2 MB Load Address: 00001000 Entry Point: 00001000bf537> bootm 0x1000000## Booting image at 01000000 ... Image Name: uClinux Kernel and Filesystem Created: 2006-01-25 9:11:39 UTC Image Type: Blackfin Linux Kernel Image (gzip compressed) Data Size: 2085069 Bytes = 2 MB Load Address: 00001000 Entry Point: 00001000 Verifying Checksum ... OK Uncompressing Kernel Image ... OKStarting Kernel at = 1000Linux version 2.6.12.1 (aubrey@linux) (gcc version 3.4.4) #10 Wed Jan 25 17:11:22 CST 2006Blackfin support (C) 2004 Analog Devices, Inc.ADSP-BF537 Rev. 0.2uClinux/BF537Blackfin uClinux support by blackfin.uclinux.orgProcessor Speed: 500 MHz core clock and 62 Mhz System ClockBoard Memory: 64MBMemory map: text = 0x001000-0x0dc6fc data = 0x0ea208-0x10ff3c bss = 0x10ff40-0x11e3d0 rootfs = 0x3700000-0x3f00000 stack = 0x0ec000-0x0ee000Command line: 'root=/dev/hda3'Instruction Cache EnabledData Cache Enabled (write-through)Hardware Trace EnabledBuilt 1 zonelistsKernel command line: root=/dev/hda3Configuring Blackfin Priority Driven InterruptsPID hash table entries: 256 (order: 8, 4096 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Physical pages: 3700Memory available: 54656k/64599k RAM, (52k init code, 877k kernel code, 208k data, 9216k dma)Blackfin Scratchpad data SRAM: 4 KBBlackfin DATA_A SRAM: 16 KBBlackfin DATA_B SRAM: 16 KBSecurity Framework v1.0.0 initializedCapability LSM initializedMount-cache hash table entries: 512NET: Registered protocol family 16Blackfin DMA Controller for BF533stamp_init(): registering device resourcesReal Time Clock Driver v1.10eBlackFin BF533 serial driver version 2.00 With DMA Supportio scheduler noop registeredio scheduler cfq registeredRAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksizeBlackfin 537 mac net device registered.Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xxBlackfin IDE interrupt setup: flag PF4, irq 34ide0: Blackfin generic IDE interfacehda: probing with STATUS(0x50) instead of ALTSTATUS(0x00)hda: Hitachi XX.V.3.5.0.0, CFA DISK driveide0 at 0x2030c020-0x2030c027,0x2030c01c on irq 34hda: max request size: 128KiBhda: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63hda: cache flushes not supported hda: hda1 hda2 hda3 hda4uclinux[mtd]: RAM probe address=0x3700000 size=0x800000Creating 1 MTD partitions on "RAM":0x00000000-0x00800000 : "EXT2fs"uclinux[mtd0]: set EXT2fs to be root filesystemNET: Registered protocol family 2IP: routing cache hash table of 512 buckets, 4KbytesTCP 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)NET: Registered protocol family 1NET: Registered protocol family 17 hda: hda1 hda2 hda3 hda4VFS: Mounted root (ext2 filesystem)Freeing unused kernel memory: 52k freed (0xdd000 - 0xe9000)ttyS0 at irq = 18 is a builtin BlackFin UARTdma_alloc_init: dma_page @ 0x000e6000 - 256 pages at 0x03f00000bfin_change_speed: baud = 57600, cval = 0x13Welcome to: ____ _ _ / __| ||_| _ _ _ _| | | | _ ____ _ _ \ \/ /| | | | | | || | _ \| | | | \ /| |_| | |__| || | | | | |_| | / \| ___\____|_||_|_| |_|\____|/_/\_\|_|For further information see:http://www.uclinux.org/http://blackfin.uclinux.org/BusyBox v1.00 (2006.01.20-06:56+0000) Built-in shell (msh)Enter 'help' for a list of built-in commands.root:~> cat /proc/cmdlineroot=/dev/hda3 rw</pre></div><!-- SECTION [4753-] --></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -