[Yaffs] YAFFS2 - Warning: unable to open an initial console.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Vellemans, Noel
Date:  
To: yaffs
Subject: [Yaffs] YAFFS2 - Warning: unable to open an initial console.
Hi,

I have been struggling for a couple of days with YAFFS2 kernel 2.6.25.x

The error I get is "Warning: unable to open an initial console."

When I boot the system in ext2 and/of jffs2 all seems to work, and I do
not get the "initial console" error.
Someone can help me a little further?

Kind regards,
Noel.



Below you can find a bootlog.


Uncompressing
Linux.............................................................
........................................ done, booting the kernel.
Linux version 2.6.25 (pingo01@phoenix) (gcc version 4.2.1) #2 Thu Sep 22
12:00:4
1 CEST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Built
1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200n8 root=/dev/mtdblock4
rw noini trd rootfstype=yaffs2
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
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: 61696KB available (2876K code, 199K data, 128K init) Mount-cache
hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
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: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048) TCP reno
registered NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) -  2001-2006 Red Hat, Inc.
yaffs Sep 18 2008 10:39:02 Installing. 
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (aa:22:33:44:55:ee)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00,
irq=-1) Driver 'sd' needs updating - please use bus_type methods NAND
device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bi
t)
Scanning device for bad blocks
Bad eraseblock 1 at 0x00020000
Bad eraseblock 2 at 0x00040000
Bad eraseblock 3 at 0x00060000
Creating 5 MTD partitions on "at91_nand":
0x00000000-0x00020000 : "Bootstrap   (PART0)"
0x00020000-0x00060000 : "U-Boot      (PART1)"
0x00060000-0x00080000 : "U-Boot-env  (PART2)"
0x00100000-0x00900000 : "Fact Kernel (PART3)"
0x00900000-0x02900000 : "Fact-Fs     (PART4)"
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000 usb usb1: configuration
#1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports
detected usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb
usb1: Product: AT91 OHCI usb usb1: Manufacturer: Linux 2.6.25 ohci_hcd
usb usb1: SerialNumber: at91 Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using at91_ohci and address 2 usb
1-1: configuration #1 chosen from 1 choice usb 1-1: New USB device
found, idVendor=0a12, idProduct=0001 usb 1-1: New USB device strings:
Mfr=0, Product=0, SerialNumber=0
usbcore: registered new interface driver usb-storage USB Mass Storage
support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for
generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)   
yaffs: dev is 32505860 name is "mtdblock4"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
yaffs: restored from checkpoint
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 128K
Warning: unable to open an initial console.