Hail to all experts, I'm getting a error message and stopped (msg at bottom) while booting up the system. I have a read through on init\main.c and found the error message pop up right before accessing "/dev/console":
<init\main.c> if (sys_open((const char __user *) "/dev/console", 0_RDWR, 0) < 0) printk(KERN_WARNING "Warning: unable to open an initial console. \n"); I linked .../mydroid/out/target/product/generic/root/ to initramfs in kernel config. But when I navigate to .../generic/root/dev/ it is completely empty inside. Is there suppose to be file "console" or something else in there? Am I building Android Source incorrectly? Please help. Thank you. <Error msg> PU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00e5387f Machine: Freescale MX31/MX32 3-Stack Board Memory policy: ECC disabled, Data cache writeback CPU0: D VIPT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttymxc0 MXC IRQ initialized PID hash table entries: 512 (order: 9, 2048 bytes) MXC GPT timer initialized, rate = 16625000 Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 125784KB available (3364K code, 489K data, 268K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 64 bytes NET: Registered protocol family 16 L2X0 cache controller enabled CPU is i.MX31 Revision 2.0 Clock input source is 26000000 MXC GPIO hardware 3-Stack Debug board detected, rev = 0x0200 Using SDMA I.API MXC DMA API initialized SCSI subsystem initialized CSPI: mxc_spi-0 probed CSPI: mxc_spi-1 probed usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb MXC I2C driver clk: Unable to get requested clock: dfm_clk mc13783 Rev 3.3 FinVer 0 detected PMIC RTC successfully probed PMIC Light successfully loaded MC13783 regulator successfully probed Device spi2.2 probed <6>PMIC Power successfully probed NET: Registered protocol family 2 Time: mxc_gpt clocksource has been installed. 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 Low-Level PM Driver module loaded usb: Host 2 host (isp1504) registered usb: DR host (isp1504) registered usb: DR gadget (isp1504) registered DPTC driver module loaded JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) mxc_ipu mxc_ipu: Channel already uninitialized 14 Console: switching to colour frame buffer device 30x40 mxc_ipu mxc_ipu: Channel already uninitialized 15 mxcfb: fb registered, using mode Epson-VGA VGEN ID is 9 VMMC ID is 20 ch7024: TV encoder present: id = 45 Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Serial: MXC Internal UART driver mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC console [ttymxc0] enabled mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC loop: module loaded smsc911x: Driver version 2007-07-13. eth%d: SMSC911x MAC Address: 00:04:9f:00:97:c5 Linux video capture interface: v2.00 MXC Video Output MXC Video Output.0: Registered device video16 Driver 'sd' needs updating - please use bus_type methods MXC MTD nand Driver 2.1 NAND device: Manufacturer ID: 0xec, Chip ID: 0xaa (Samsung NAND 256MiB 1,8V 8-bi t) RedBoot partition parsing not available Creating 6 MTD partitions on "NAND 256MiB 1,8V 8-bit": 0x00000000-0x00100000 : "nand.bootloader" 0x00100000-0x00600000 : "nand.kernel" 0x00600000-0x02e00000 : "nand.cramfs_system" 0x02e00000-0x06600000 : "nand.jffs2_data" 0x06600000-0x06e00000 : "nand.configure" 0x06e00000-0x10000000 : "nand.userfs" MXC MTD nand Driver 2.4 usbmon: debugfs is not available Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. MXC keypad loaded input: Unspecified device as /class/input/input0 i2c /dev entries driver MXC WatchDog Driver 2.0 MXC Watchdog # 0 Timer: initial timeout 60 sec IPU Post-filter loading SSI 1 module loaded successfully SSI 2 module loaded successfully PMIC Character device: successfully loaded PMIC Audio driver loading... PMIC Battery successfully probed PMIC Connectivity driver loading.. hmp4e: init hmp4e: VGA encoder initialized ioctl pointer: c02094e0. mmap pointer: c0208ee0 RNG Driver: Loading SEC: mxc_sec_mod_init() called logger: created 64K log 'log_main' logger: created 64K log 'log_events' logger: created 64K log 'log_radio' Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 200 7 UTC). Control ALSA component registered ALSA device list: #0: MXC Freescale with PMIC oprofile: using arm/armv6 TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation <[email protected]> mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0 Real TIme clock Driver v1.0 Power Management for Freescale MX31 VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2 MXC Backlight Device mxc_ipu_bl.0 Initialized. input: mxc_ts as /class/input/input1 mxc input touchscreen loaded mxc_rtc mxc_rtc.0: setting system clock to 1970-01-01 00:00:44 UTC (44) Freeing init memory: 268K Warning: unable to open an initial console. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
