Init process tries to get partition information by read /proc/mtd, and try to mount system and userdata partitions. but your MTD partition has no those partitions.
On 4月11日, 下午4时37分, renegade <[EMAIL PROTECTED]> wrote: > I try to run Android on my PXA270 board... > Kernel version is 2.6.19. > After hard fight I succesfully applied patch. > I have new shiny kernel. > My board starts from SD card. > Bootloader (u-boot) starts from flash and it searches for kernel on SD > card. > First partition of SD card contains kernel (FAT16): > linux.igz > Second partition of SD card contains filesystem (ext3)... > /cache > /data > /dev > /etc > /proc > /sbin (contains init) > /sys > /system > /tmp > /var > > It starts...boot kernel, but there is problem with init process... > Take a look : > > U-Boot 1.1.6 (Apr 2 2008 - 14:35:33) > > DRAM: 64 MB > Flash: 2 MB > NAND: 64 MiB > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Hit any key to stop autoboot: 0 > Detected: 2027008 blocks of 512 bytes (989MB) SD card. > Vendor: Man 11 OEM JC "064MB" Date 11/2003 > Product: 320 > Revision: 0.10 > reading linux.igz > > 1169832 bytes read > ## Booting image at a1000000 ... > Image Name: Linux Kernel Image > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 1169768 Bytes = 1.1 MB > Load Address: a0800000 > Entry Point: a0800000 > Verifying Checksum ... OK > OK > > Starting kernel ... > > Uncompressing > Linux................................................................................ > done, booting the kern. > Linux version 2.6.19_RC15 ([EMAIL PROTECTED]) (gcc version 4.2.1 > (CodeSourcery Sourcery G++ Lite 2007q3-53)) #210 Thu Apr 10 09:8 > CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f > Machine: HITEC > Memory policy: ECC disabled, Data cache writeback > Run Mode clock: 208.00MHz (*16) > Turbo Mode clock: 416.00MHz (*2.0, active) > Memory clock: 104.00MHz (/2) > System bus clock: 208.00MHz > Standard (MSC0= 0x13387aa8) NAND mode > The additional board GPIO's are configured > CPU0: D VIVT undefined 5 cache > CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > Built 1 zonelists. Total pages: 16256 > Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 ro > PID hash table entries: 256 (order: 8, 1024 bytes) > start_kernel(): bug: interrupts were enabled early > Console: colour dummy device 80x30 > Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > Memory: 64MB = 64MB total > Memory: 62336KB available (2124K code, 242K data, 204K init) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > NET: Registered protocol family 16 > NET: Registered protocol family 2 > IP route cache hash table entries: 512 (order: -1, 2048 bytes) > TCP established hash table entries: 2048 (order: 1, 8192 bytes) > TCP bind hash table entries: 1024 (order: 0, 4096 bytes) > TCP: Hash tables configured (established 2048 bind 1024) > TCP reno registered > squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher > squashfs: LZMA suppport for slax.org by jro > JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. > yaffs Apr 10 2008 09:36:39 Installing. > io scheduler noop registered > io scheduler anticipatory registered (default) > Hitec Backlight Driver Initialized. > External logo in flash not found @ 0x1c0000 > pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART > pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART > pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART > PPP generic driver version 2.4.2 > PPP Deflate Compression module registered > PPP BSD Compression module registered > PPP MPPE Compression module registered > Found: AMD AM29LV160DB > THB PXA module: Found 1 x16 devices at 0x0 in 16-bit bank > number of JEDEC chips: 1 > cfi_cmdset_0002: Disabling erase-suspend-program due to code > brokenness. > Using static partition definition > Creating 2 MTD partitions on "THB PXA module": > 0x00000000-0x00040000 : "boot" > 0x00040000-0x001f0000 : "kernel" > NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB > 3,3V 8-bit) > Using static partition definition > Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit": > 0x00000000-0x03a00000 : "rootfs (ro)" > Add SSFTL support > 0x03a00000-0x04000000 : "config (rw)" > 0x04000000-0x04000000 : "additional" > mtd: partition "additional" is out of reach -- disabled > mmcblk0: mmc0:0001 064MB 1013504KiB > mmcblk0:<5>0x00000000-0x04000000 : "whole NAND" > p1 p2 > pxa27x_udc: version 01-01-2006 > ether gadget: using random self ethernet address > ether gadget: using random host ethernet address > usb0: Ethernet Gadget, version: May Day 2005 > usb0: using pxa27x_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep3in- > intr > usb0: MAC 72:52:c5:60:bd:ba > usb0: HOST MAC 56:28:f6:9d:7e:54 > usb0: RNDIS ready > wm97xx: Version 0.64 [EMAIL PROTECTED] > Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28 > 14:07:24 2006 UTC). > AC97 for PXA255 registered > pxa2xx-ac97: reset > wm97xx: Detected a WM9712 codec > input: wm97xx touchscreen as /class/input/input0 > wm97xx: setting pen detect pull-up to 16000 Ohms > wm97xx: setting adc sample delay to 42 u Secs. > WM97XX: Vbat = 4.1V > WM97XX: Vref = 2.0V > ALSA device list: > #0: pxa2xx-ac97 (Wolfson WM9711,WM9712) > TCP cubic registered > NET: Registered protocol family 1 > HSPM init started > HSPM driver is loaded and configured > VFS: Mounted root (ext2 filesystem) readonly. > Freeing init memory: 204K > init: HOW ARE YOU GENTLEMEN > init: reading config file > > Thats it...Nothing else happens. > Any ideas...?? > Thanks for help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---