Hello, I'm still trying to boot 3.x on the fuloong2f. I've tracked down my troubles to one config option. if I set VGA_CONSOLE=y, the kernel hangs like the attachment named bootcrossS1_fail.txt (serial log).
If I disable VGA_CONSOLE at build time, all builds fine. But I loose the serial console at some point. And of course the screen does not show anything at all until mingetty or slim starts. See the serial log in bootcrossS1_good.txt. I also noticed that 2.6.36 labels my serial port "ttyS0 at 0x2f8". And 3.x labels my serial port at "ttyS1 at 0x3f8": [ 7.399402] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 7.427931] serial8250.0: ttyS1 at I/O 0x3f8 (irq = 4) is a 16550A So a series of questions come now: Why the serial port changed? Why I can't have VGA console? Why I don't see anything in ttyS1 after "[ 7.434094] console [ttyS1] enabled, bootconsole disabled" ? 'guddu_' at irc at #mipslinux thinks that the PCI is getting reset/reconfigured at boot, and it should not. I've no idea what causes that - I'm using little over the lemote2f defconfig. I also attach the '.config' for the 'good boot'. The failed boot simply has "VGA_CONSOLE" enabled over the 'good config'. Regards, Lluís. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
[ 0.000000] Linux version 3.2.1-00001-g34c94a4 (viric@bergamota) (collect2: ld returned 1 exit status) #19 PREEMPT Wed Jan 18 23:47:02 CET 2012 [ 0.000000] busclock=66000000, cpuclock=800040000, memsize=256, highmemsize=768 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00006303 (ICT Loongson-2) [ 0.000000] FPU revision is: 00000501 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 0000000010000000 @ 0000000000000000 (usable) [ 0.000000] memory: 0000000030000000 @ 0000000010000000 (reserved) [ 0.000000] memory: 0000000030000000 @ 0000000090000000 (usable) [ 0.000000] memory: 0000000010000000 @ 0000000080000000 (reserved) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Kernel command line: PMON_VER=LM6004-1.3.2 EC_VER=undefined machtype=lemote-fuloong-2f-box ide_core.ignore_cable=0 console=ttyS1,115200n8 root=/dev/hda2 init=/boot/system-40/init [ 0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 7, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 6, 1048576 bytes) [ 0.000000] Unified secondary cache 512kB 4-way, linesize 32 bytes. [ 0.000000] Memory: 1032528k/1048576k available (5305k kernel code, 16048k reserved, 1324k data, 224k init, 0k highmem) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:128