|
发表于 2010-6-27 22:04:50
|
显示全部楼层
我试了,可惜我的板子的NAND是2G的,页大小为4096,按说明文档的指示,烧写:
nprog 1024 uImage.android.ramdisk 0 0 -n
nprog 2048 system.img 0 0 -n
nprog 65536 userdata.img 0 0 -n
启动后.LINUX内核启动输出信息OK,然后黑屏上显示"ANDROID _"字符.输出一些错误信息.估计是NAND的页块不一样,找不到对应的文件.
Starting kernel ...
Linux version 2.6.27-svn213-dirty2 (jlwei@desktop-epoch) (gcc version 4.1.2) #26
0 PREEMPT Mon May 4 16:46:33 CST 2009
CPU revision is: 1ed0024f (Ingenic JZRISC)
CPU clock: 384MHz, System clock: 128MHz, Peripheral clock: 128MHz, Memory clock:
128MHz
JZ4750 APUS board setup
JZ4750 Power Management
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: mem=128M console=ttyS3,57600n8 ip=off rootfstype=yaffs2 roo
t=/dev/mtdblock2 rw
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x25
console [ttyS3] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 124672k/131072k available (3153k kernel code, 6228k reserved, 739k data,
632k init, 0k highmem)
Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
Mount-cache hash table entries: 512
net_namespace: 288 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Total 16MB memory at 0x4000000 was reserved for IPU
ashmem: initialized
yaffs Apr 22 2009 11:29:54 Installing.
msgmni has been set to 243
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
LCDC: PixClock:9365853 LcdClock:27428571
Console: switching to colour frame buffer device 60x34
fb0: jzlcd-fg1 frame buffer device, using 510K of video memory
jz4750fb_interrupt_handler, InFiFo0 underrun
jz4750fb_interrupt_handler, Out FiFo underrun.
Registered led device: lcd-backlight
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 6) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 5) is a 16550A
serial8250: ttyS2 at MMIO 0x0 (irq = 4) is a 16550A
暽贬烧灵佈彦M蛠呇?5%=伭崃仭ド艁鮼庭仴蛠厑刨照?)�rd: module loaded
loop: module loaded
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Virtual Driver of JZ TCSM registered
Jz CS8900A driver for Linux (V0.02)
eth%d: CS8900A rev E detected
JZ NAND init<6> DMA mode, using DMA buffer in upper layer.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
planenum:1
Scanning device for bad blocks
Bad eraseblock 203 at 0x0065ff000
Creating 4 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x000800000-0x010000000 : "system"
0x010000000-0x020000000 : "userdata"
0x020000000-0x030000000 : "cache"
0x030000000-0x040000000 : "misc"
input: qwerty as /class/input/input0
input: JZ Touch Screen as /class/input/input1
input: JZ Touch Screen registered.
jz4750-rtc jz4750-rtc: rtc core: registered jz4750-rtc as rtc0
JZ battery init.
JZ SD/MMC card driver registered
Advanced Linux Sound Architecture Driver Version 1.0.17.
ASoC version 0.13.2
asoc: JZDLV <-> jz4750-i2s mapping ok
Failed to add route DAC->Output Mixer
ALSA device list:
#0: Apus (JZDLV)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
jz4750-rtc jz4750-rtc: setting system clock to 2009-01-01 00:00:00 UTC (12307680
00)
Freeing unused kernel memory: 632k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
init: reading config file
init: device init
init: event { 'add', '/class/bdi/default', 'bdi', '', -1, -1 }
init: event { 'add', '/class/bdi/1:0', 'bdi', '', -1, -1 }
init: event { 'add', '/class/bdi/1:1', 'bdi', '', -1, -1 }
init: event { 'add', '/class/bdi/1:2', 'bdi', '', -1, -1 }
init: event { 'add', '/class/bdi/1:3', 'bdi', '', -1, -1 }
init: event { 'add', '/class/bdi/1:4', 'bdi', '', -1, -1 }
...................略
init: command 'mount' r=0
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs_read_super: isCheckpointed 0
init: command 'mount' r=0
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
NAND: Uncorrectable ECC error
**>> yaffs chunk 128 was not erased
......................略
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: command 'setprop' r=0
init: cannot find '/system/bin/sh', disabling 'console'
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/mountd', disabling 'mountd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
init: command 'class_start' r=0
init: event { 'add', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'add', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'add', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'add', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'remove', '/class/vc/vcs1', 'vc', '', 7, 1 }
init: event { 'remove', '/class/vc/vcsa1', 'vc', '', 7, 129 }
init: event { 'change', '/class/power_supply/battery', 'power_supply', '', -1, -
1 }
init: event { 'change', '/class/power_supply/battery', 'power_supply', '', -1, -
1 }
init: event { 'change', '/class/power_supply/battery', 'power_supply', '', -1, -
1 }
.......................................................略 |
|