• HomeBoards
  • RulesRules
  • HelpHelp
  • WikiWiki
  • Donate

Author Topic: Dingux + qemu  (Read 6808 times)

Sekigo Le Magnifique

  • Guest
Dingux + qemu
« 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 ), 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 :
<a href="https://web.archive.org/web/20210924205721/https://www.youtube.com/watch?v=qXk34ICzdkk" target="_blank">https://www.youtube.com/watch?v=qXk34ICzdkk</a>

darfgarf

  • Guest
Re: Dingux + qemu
« Reply #1 on: November 30, 2010, 12:01:41 pm »
...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

Sekigo Le Magnifique

  • Guest
Re: Dingux + qemu
« Reply #2 on: November 30, 2010, 02:43:27 pm »
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 :
Code: [Select]
@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 ) :
Code: [Select]
@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.
« Last Edit: November 30, 2010, 02:45:13 pm by Sekigo Le Magnifique »

SiENcE

  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Dingux + qemu
« Reply #3 on: November 30, 2010, 10:51:43 pm »
You need to write a video driver ;-).

javum

  • Posts: 7

mth

  • Posts: 319
Re: Dingux + qemu
« Reply #5 on: December 18, 2010, 03:56:27 am »
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).


 

Post a new topic
Post a new topic