Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15498782
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: 嵌入式

2009-08-03 23:05:35

  直接编译的2.6.30.4内核就可以运行了,当然redboot.bin也需要配置串口波特率为115200才行.[luther.gliethttp]

浅析blob到kernel传递tags参数和cmdline处理流程
r0 = 0
r1=mach_type_id
r2=BOOT_PARAMS


下面是redboot打印的内存信息[luther.gliethttp]
CONFIG_SDRAM_BANK_COUNT=0x2   // SDRAM占用2个bank
CONFIG_SDRAM_BASE=0x0         // SDRAM起始物理地址为0
CONFIG_FLASH_BASE=0x60000000  // flash起始物理地址为0x60000000
SDRAMSize=0x4000000           // SDRAM大小为64M


RedBoot> load -v -r -b 0x800000 zImage
Raw file loaded 0x00800000-0x009942ab, assumed entry at 0x00800000
RedBoot> exec -r 0x800000 -s 0x600000
Using base address 0x00800000 and length 0x001942ac
Uncompressing Linux...........................................................................................................
Linux version 2.6.30.4 (luther@gliethttp) (gcc version 3.4.1) #1 Mon Aug 3 22:10:46 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: Cirrus Logic EDB9312 Evaluation Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16192
Kernel command line: console=ttyAM0,115200 root=/dev/nfs ip=bootp
NR_IRQS:120
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB 32MB = 64MB total
Memory: 61520KB available (3052K code, 203K data, 96K init, 0K highmem)
Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 760 bytes
NET: Registered protocol family 16
ep93xx: PLL1 running at 400 MHz, PLL2 at 384 MHz
ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
M2P DMA subsystem initialized
bio: create slab at 0
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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND)
阅读(1414) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~