【原创】linux 系统移植日志—-linux系统定制
Author: chad
Mail: linczone@163.com
目标:
裁剪、配置一个自己的linux系统,暂时支持jffs2文件系统;熟悉linux裁剪、配置以及各个选项的意义。
DATE:2011-9-15
第一次定制linux系统出现一下问题:
U-Boot 2009.11-rc2 (May 28 2010 - 19:14:42)
DRAM: 64 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0xa0000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...
Image Name: Linux-2.6.30linchaomake
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1641456 Bytes = 1.6 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux........................................................................................................ done, booting the kernel.
[ 0.000000] Linux version 2.6.30linchaomake (root@ubuntu-laptop) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #1 Wed Sep 14 18:26:12 CST 2011
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Atmel AT91SAM9260-EK
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock0 rw rootfstype=jffs2
[ 0.000000] Experimental hierarchical RCU implementation.
[ 0.000000] Experimental hierarchical RCU init done.
[ 0.000000] NR_IRQS:192
[ 0.000000] AT91: 96 gpio irqs in 3 banks
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyAT0] enabled
[ 0.170000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.190000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.210000] Memory: 64MB = 64MB total
[ 0.220000] Memory: 61316KB available (2928K code, 502K data, 120K init, 0K highmem)
[ 0.240000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.250000] Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
[ 0.460000] Mount-cache hash table entries: 512