Dingoonity.org
Dingux (Dingoo Linux) => Development => Topic started by: Sekigo Le Magnifique on November 30, 2010, 11:19:38 am
-
Hi.
( Sorry for my english,)
I need your help.
I want launch Dingux on qemu. For that, I try with qemu on Debian. But my kernel ( opendingoo ) don't want launching. Because a320 hardware isn't present. Ok, no prob.
I compil qemu-dingoo ( https://github.com/mthuurne/qemu-dingoo (https://github.com/mthuurne/qemu-dingoo) ), I try with my kernel, no error message, cool. But I can't see nothing. I use xvnc4view on :5900, and I see a black screen. I supposs to need a launcher for my kernel. What can I do ?
Sorry for the poor explanation. I want to use qemu because it's more easy to develop. Directly on the Dingoo, it's working but I lost a lot of time.
You can see my work for the moment on this video :
https://www.youtube.com/watch?v=qXk34ICzdkk
-
...wait, so you got the kernel running
...no rootfs? it's kind of needed so that something can be run, without that you won't even get sh
-
So. I try now with a "basic" kernel for dingux. I add rootfs in virtual hard drive ( qcow2 ), who is formated in fat32 with one partition ( like a standard SD card ). But nothing.
For launching qemu, i use this command line :
@debianDesktop:~/$ qemu-system-mipsel -M a320 -kernel zImage -hda dingoo.qcow2
Warning: vlan 0 with no nics
VNC server running on `::1:5900'
jz4740_cpu_reset: UNIMPLEMENTED!
For launch VNC ( mmmmh, before that, I never use VNC, I prefer ssh or other command lines ) :
@debianDesktop:~$ xvnc4viewer :5900
VNC Viewer Free Edition 4.1.1 for X - built Mar 10 2010 21:40:13
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Tue Nov 30 15:41:35 2010
CConn: connected to host localhost port 5900
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
TXImage: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 6 (8bpp) rgb222
CConn: Using ZRLE encoding
And after, only the black screen.
-
You need to write a video driver ;-).
-
Here's some useful info
http://www.harteex.com/hosted/a320.freeforums.org/x-mplayer-xmms-dillo-strace-sort-of-running-on-dingux-t823.html
-
There is no SLCD support yet in qemu-dingoo.
Options:- Implement emulation of the SLCD controller
- Compile an OpenDingux kernel with the LCD driver instead of the SLCD driver
- Use Dingux by attaching a getty to the serial port (no graphics though, so probably not useful in most scenarios)
Note that my qemu-dingoo branch is a work in progress. The furthest I got it was mounting the rootfs, but it hung soon after that. I suspect that my SD controller emulation code might be losing interrupts. I did see the penguin and the boot messages though (with the LCD driver).
-
http://boards.dingoonity.org/dingux-development/qemu-mipsel-linux-emulator-with-virtual-framebuffer-device-(aka-dingux-emulator)/
Maybe Uli's work can help?