Author Topic: Could OpenDingux be installed on this thing?  (Read 4803 times)

forphucksakes (OP)

  • *
  • Posts: 71
Could OpenDingux be installed on this thing?
« on: December 16, 2014, 12:13:53 pm »
The title should probably have said : "Potential GCW0 dev kit for indie gamemakers ?" since the hardware's pretty similar and that was really my intent.
http://shop.imgtec.com/us/product/mips-creator-ci20/
http://elinux.org/CI20_Hardware

Just wondering ... maybe could serve as a testbed for GCW0 dev? its going for $65 i believe. Heres a quote from my offtopic "Other devices"post:
http://blog.imgtec.com/powervr/mips-creator-ci20-development-board-now-available
Technical specs:

    Processor: 1.2 GHz dual-core, MIPS32-based Ingenic JZ4780 SoC, 32kB L1 I- and D-cache, 512kB L2 cache
    FPU: IEEE754 Floating Point Unit, XBurst MXU
    Multimedia: PowerVR SGX540 GPU, hardware-accelerated video playback up to 1080p at 60 fps
    Memory: 1 GB DDR3 SDRAM, 4 GB flash memory, 1 x SD card
    Audio: AC97 audio, via 4-pin input/output jack and HDMI connector
    Camera interface: ITU-R BT.645 controller
    Connectivity: 10/100 Ethernet, 802.11 b/g/n, Bluetooth 4.0
    Display: 1 x HDMI up to 2K resolution
    USB: 1 x USB host, 1 x USB OTG device
    I/O peripherals: 2 x UART, 25 x GPIO, 2 x SPI, I2C, ADC, expansion headers, 14-pin ETAG connector
« Last Edit: December 16, 2014, 02:37:36 pm by forphucksakes »
forphucksakes

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #1 on: December 17, 2014, 01:54:09 pm »
So I see from a post made yesterday on the CI20 forums that forum members mth & ayla both have the CI20 dev board:

Quote
Maarten ter Huurne    Dec 17, 2014 12:22 AM
Posted in group: MIPS Creator CI20
On Tuesday 16 December 2014 16:31:57 Jos? V?zquez wrote:

> I were looking how to fix the problems with EHCI and OHCI in openwrt
> and I've found this repo, especially 3.17 and 3.18 branches:
> https://github.com/gcwnow/linux
> https://github.com/gcwnow/linux/branches

That repo is managed by Paul Cercueil and me. We both received CI20 dev
boards and would like to work towards a single upstreamed code base for
Ingenic JZ47xx support. 

https://groups.google.com/forum/#!topic/mips-creator-ci20/okUbG7dt0B4

I assume that mth == Maarten ter Huurne & ayla == Paul Cercueil  based on information posted on the kickstarter page. 

Would you guys give us/me your 2 cents on how this board would perform as far as a platform for GCW0 HW/SW development is concerned? How much work would it take to get OpenDingux to run on it?  Or just general thoughts/perspectives on it?

Thanks
« Last Edit: December 17, 2014, 03:40:06 pm by forphucksakes »
forphucksakes

ruffnutts

  • ****
  • Posts: 2680
Re: Could OpenDingux be installed on this thing?
« Reply #2 on: December 17, 2014, 07:57:45 pm »
Tried asking on IRC? I did a little while back no answer though lol

This would make a nice arcade machine running on OpenDingux ;D
« Last Edit: December 17, 2014, 07:59:26 pm by ruffnutts »

Gab1975

  • ***
  • Posts: 1165
Re: Could OpenDingux be installed on this thing?
« Reply #3 on: December 17, 2014, 08:41:36 pm »
I'm not sure, but I think that OpenDingux is built around a specific hardware, so it would require a substantial customization to run in a different hardware (CPU dual core instead of single core, different GPU, more RAM etc...)

Pardue

  • **
  • Posts: 602
    • GamingGems
Re: Could OpenDingux be installed on this thing?
« Reply #4 on: December 17, 2014, 09:04:07 pm »
I could swear I remember reading a long time ago that they had Dingux running on a cell phone. And of course in the other handhelds thread there was a guy who got it working on his Neo Geo X.

Surkow

  • * Administrator
  • Posts: 590
Re: Could OpenDingux be installed on this thing?
« Reply #5 on: December 17, 2014, 11:04:13 pm »
I could swear I remember reading a long time ago that they had Dingux running on a cell phone. And of course in the other handhelds thread there was a guy who got it working on his Neo Geo X.
The exception being that the Neo Geo X uses the exact same SoC (jz4770) as the GCW Zero. I think they only got userspace software to run though.

In comparison, the Supercard DSTwo also had limited compatibility to run Legacy Dingux userspace software.

mth

  • *
  • Posts: 298
Re: Could OpenDingux be installed on this thing?
« Reply #6 on: December 17, 2014, 11:48:43 pm »
I assume that mth == Maarten ter Huurne & ayla == Paul Cercueil  based on information posted on the kickstarter page.

Yep, it's us.

Would you guys give us/me your 2 cents on how this board would perform as far as a platform for GCW0 HW/SW development is concerned? How much work would it take to get OpenDingux to run on it?  Or just general thoughts/perspectives on it?

I'll compare it to the Raspberry Pi, since that is a well-known single board computer. The CI20 board is a bit larger (about 50%). It has internal NAND storage as well as an SD slot. Debian runs noticeably faster on it. OpenGL drivers are not open source, the other drivers are. Unlike the Pi, the CI20 boots and runs just fine without the proprietary bits, you just won't have OpenGL then. There is WiFi on board, although some people on the maiilinglist report the reception isn't great (I've only used ethernet myself so far). Bluetooth is also on board.

When I first got the board the CI20 kernel was Linux 3.0.8, which was quite a bit behind OpenDingux. But now their 3.16/3.17 kernel is mostly feature complete, so that should no longer be a problem.

For the rootfs and applications, the JZ4780 should be able to execute the binaries compiled for the Zero just fine. In fact, if you link statically, even Debian on the JZ4780 can execute binaries built with the Zero toolchain.

However, there are some input issues to resolve, for example GMenu2X as used on the Zero has weird key bindings if you're using a USB keyboard and doesn't work with a joystick out of the box. Several built-in applications such as System Info, alsamixer, GCW Connect don't support joystick input yet, so currently you're stuck unless you plug in a keyboard. Also we'd have to check if the Zero applications that run at 320x240 are properly scaled to a high-res output. So to make it actually usable, customizations are needed.

To summarize, it can be done and it's not a huge amount of work but not a neglible effort either. I'm not going to make any promises since I'm working on other projects that consume a lot of time and I like to focus on one thing at a time.

Tried asking on IRC? I did a little while back no answer though lol

That I'm always logged in doesn't mean I'm always reading the channel ;)

I could swear I remember reading a long time ago that they had Dingux running on a cell phone. And of course in the other handhelds thread there was a guy who got it working on his Neo Geo X.

DarthLlamah had an OD-like system running on a cell phone.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #7 on: December 18, 2014, 11:11:14 am »
Quote
I'll compare it to the Raspberry Pi, since that is a well-known single board computer. The CI20 board is a bit larger (about 50%). It has internal NAND storage as well as an SD slot. Debian runs noticeably faster on it. OpenGL drivers are not open source, the other drivers are. Unlike the Pi, the CI20 boots and runs just fine without the proprietary bits, you just won't have OpenGL then.

Is there any other means of connecting the board to a screen other than HDMI?
forphucksakes

mth

  • *
  • Posts: 298
Re: Could OpenDingux be installed on this thing?
« Reply #8 on: December 18, 2014, 02:20:28 pm »
Is there any other means of connecting the board to a screen other than HDMI?

No, there is a mini jack on the board but apparently it's for audio in, not for video.

Full specs are on the eLinux.org wiki.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #9 on: December 19, 2014, 06:27:45 am »
Do you think the absence of a vivante chip on the CI20 limit its usage as a GCW0 development platform?
forphucksakes

zear

  • * Moderator
  • Posts: 2379
Re: Could OpenDingux be installed on this thing?
« Reply #10 on: December 19, 2014, 02:04:27 pm »
Do you think the absence of a vivante chip on the CI20 limit its usage as a GCW0 development platform?
Unless you write your software in MIPS assembly and need a platform to test it on - CI20 brings no benefit as a development platform, compared to a regular Linux PC. As all you need to develop for GCW Zero is a C compiler, set of libraries (such as SDL 1.2), matching input mapping and a 320x240 window.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #11 on: December 20, 2014, 06:46:03 am »
Unless you write your software in MIPS assembly and need a platform to test it on - CI20 brings no benefit as a development platform, compared to a regular Linux PC. As all you need to develop for GCW Zero is a C compiler, set of libraries (such as SDL 1.2), matching input mapping and a 320x240 window.

In my opinion, the ability to write, compile and run/debug a program directly on the development platform is in and of itself a huge benefit.
forphucksakes

zear

  • * Moderator
  • Posts: 2379
Re: Could OpenDingux be installed on this thing?
« Reply #12 on: December 20, 2014, 12:08:16 pm »
In my opinion, the ability to write, compile and run/debug a program directly on the development platform is in and of itself a huge benefit.
And a regular Linux PC still lets you do that.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #13 on: December 20, 2014, 12:35:20 pm »
In my opinion, the ability to write, compile and run/debug a program directly on the development platform is in and of itself a huge benefit.
And a regular Linux PC still lets you do that.
A regular Linux PC would allow the emulation of said process.
forphucksakes

zear

  • * Moderator
  • Posts: 2379
Re: Could OpenDingux be installed on this thing?
« Reply #14 on: December 20, 2014, 12:48:37 pm »
Not if you compile for it natively and then use it for debugging.
Same as you could compile for CI20 - it doesn't change the fact it is different hardware than GCW Zero, so no actual benefit of using it as a development platform over a PC.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #15 on: December 20, 2014, 12:57:31 pm »
Not if you compile for it natively and then use it for debugging.
Same as you could compile for CI20 - it doesn't change the fact it is different hardware than GCW Zero, so no actual benefit of using it as a development platform over a PC.
Why go back and forth between x86 and MIPS when you can just work in MIPS?
forphucksakes

zear

  • * Moderator
  • Posts: 2379
Re: Could OpenDingux be installed on this thing?
« Reply #16 on: December 20, 2014, 01:01:44 pm »
Because you suggest to buy another MIPS board to develop for GCW Zero, while you could do it for zero cost on your PC.

forphucksakes (OP)

  • *
  • Posts: 71
Re: Could OpenDingux be installed on this thing?
« Reply #17 on: December 20, 2014, 01:06:18 pm »
Because you suggest to buy another MIPS board to develop for GCW Zero, while you could do it for zero cost on your PC.

I havent tried this but can you have a terminal server running on the GCW0?
forphucksakes

Nebuleon

  • Guest
Re: Could OpenDingux be installed on this thing?
« Reply #18 on: December 20, 2014, 08:29:07 pm »
Yes. SSH or Telnet. You can log into the GCW Zero with them and issue commands to it from your PC.

 

Post a new topic