qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] Error in Linux Kernel Booting


From: Alexander Graf
Subject: Re: [Qemu-ppc] Error in Linux Kernel Booting
Date: Tue, 03 Feb 2015 10:45:54 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


On 03.02.15 10:29, tomy wrote:
> Hi,
>         I am trying to simulate free scale P2040 Linux in Ubuntu Linux
> (using QEMU). I am using the following command for booting the Freescale
> P2040  linux from Ubuntu system
> 
> qemu-system-ppc -M ppce500 -kernel ./uImage_new -append "root=0800
> console=tty0" -nographic
> 
> I am getting the following boot log
> 
> /Using QEMU e500 machine description//
> //Memory CAM mapping: 64/64 Mb, residual: 0Mb//
> //Linux version 3.8.13-rt9 (address@hidden) (gcc version 4.6.2 (GCC) )
> #250 SMP Tue Feb 3 13:55:21 IST 2015//
> //CPU maps initialized for 1 thread per core//
> //bootconsole [udbg0] enabled//
> //setup_arch: bootmem//
> //qemu_e500_setup_arch()//
> //arch: exit//
> //Zone ranges://
> //  DMA      [mem 0x00000000-0x07ffffff]//
> //  Normal   empty//
> //Movable zone start for each node//
> //Early memory node ranges//
> //  node   0: [mem 0x00000000-0x07ffffff]//
> //MMU: Allocated 1088 bytes of context maps for 255 contexts//
> //PERCPU: Embedded 8 pages/cpu @b0aab000 s9024 r8192 d15552 u32768//
> //Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 32512//
> //Kernel command line: root=0800 console=tty0//
> //PID hash table entries: 512 (order: -1, 2048 bytes)//
> //Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)//
> //Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)//
> //Memory: 53952k/131072k available (9032k kernel code, 77120k reserved,
> 304k data, 547k bss, 284k init)//
> //Kernel virtual memory layout://
> //  * 0xfffdf000..0xfffff000  : fixmap//
> //  * 0xfdffe000..0xfe000000  : early ioremap//
> //  * 0xb9000000..0xfdffe000  : vmalloc & ioremap//
> //Hierarchical RCU implementation.//
> //    RCU debugfs-based tracing is enabled.//
> //    RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.//
> //NR_IRQS:512 nr_irqs:512 16//
> //mpic: Setting up MPIC " OpenPIC  " version 1.2 at e0040000, max 1 CPUs//
> //mpic: ISU size: 256, shift: 8, mask: ff//
> //mpic: Initializing for 256 sources//
> //clocksource: timebase mult[2800000] shift[24] registered//
> //Console: colour dummy device 80x25//
> //console [tty0] enabled, bootconsole disabled/

tty0 is a graphical console for which I don't see a backing device. Why
don't you just use ttyS0?

Also you probably want to pass -cpu e500mc to the command line to make
sure you get the correct guest CPU type.


Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]