11-09-2010, 02:06 AM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2010
Device: IREX DR800SG
|
Getting started developing for the DR800
Hi,
I'm trying to play around with developing for my DR800. Unfortunately it seems I came to the party late, now that the iREX forums are down. I'm sure that a good tutorial exists somewhere, but I haven't found it yet (it may have been on the iREX forums...) If anyone can point me to a good tutorial, I'd appreciate it. If people want to answer questions here, that'd be great too I am using a 64-bit ubuntu, but I installed the 32-bit libs. I originally had issues as a result of running 64-bit, but the 32-bit libs fixed those. I've downloaded all the latest files from the iOn directory at developer.irexnet.com, and have been starting with the hello-world app. I've been trying to use Anjuta, since that's what's recommended in the iOn guide and I'm not super-comfortable just using the command line. So far I can get everything to compile, with the caveat that I can't use Build->Configure Project... from within Anjuta; it says "/media/Data/DR800/projects/hello-world/(anjuta:19665): libanjuta-WARNING **: Cannot execute command: "/media/Data/DR800/projects/hello-world/./configure --host=arm-poky-linux-gnueabi"" However, I can execute it myself from the terminal. If I configure manually from the terminal and then compile everything is fine. I can start QEMU, but when I try to deploy to root@192.168.7.2 the connection is denied. I can't find any info (yet) on why that's where I'm supposed to be copying the compiled project, or how to change it (if that's what I'll need to do). Any help would be appreciated, Thanks, -Barrett |
11-09-2010, 09:17 AM | #2 | |||||
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
Welcome to the party, friends are never late
Quote:
http://developer.irexnet.com/iOn/SDK...nvironment.pdf Quote:
Quote:
Quote:
Quote:
Regards, Gertjan |
|||||
Advert | |
|
11-10-2010, 02:27 AM | #3 | ||
Member
Posts: 15
Karma: 10
Join Date: Sep 2010
Device: IREX DR800SG
|
Thanks for the help so far Gertjan.
Quote:
Quote:
I can get QEMU up and running, but not with the command generated by Anjuta. It seems it's an issue with the -net options which try to use TUN/TAP virtual networking to create the connection. I haven't seen anything in the documentation mentioning TUN/TAP packages or making sure to create a tap0 network interface. Do I need to do something like step 3 here, http://ubuntuforums.org/showthread.php?t=179472, or have I missed something in the documented setup that will fix the issue. Thanks again for the prompt help -Barrett |
||
11-10-2010, 02:52 AM | #4 |
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
I've recently set up a machine with Ubuntu Lucid (10.04 LTS, 64-bit) and I was never bothered with TUN/TAP or NAT issues. It all 'magically' works out of the box.
Which Ubuntu are you running? Something special about your networking setup? |
11-10-2010, 03:56 PM | #5 | |
Member
Posts: 15
Karma: 10
Join Date: Sep 2010
Device: IREX DR800SG
|
Quote:
I went ahead and tried the steps in that other forum post to get rid of the TUN/TAP errors, which seems to have worked. I can now ping 192.168.7.2 when the DR800 Qemu is up and running. However, when I try to ssh I get a "connection refused" error. My assumption is this is an issue in the kernel image I'm loading for the DR800, since I can communicate with it via ping and it is actively refusing my connection. However, I'm at a loss as to how I could mess with the network settings of that kernel... Anyway, time to get back to work, so I'll probably be playing with this again tonight. -Barrett |
|
Advert | |
|
11-11-2010, 03:19 AM | #6 |
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
The most recent Qemu kernel and rootfs (2.0rc3) is below. I don't have problems using Deploy or ssh with this one. I just noticed it has an issue with accepting mouse input though.
http://developer.irexnet.com/iOn/SDK/4.0/ |
11-12-2010, 01:14 AM | #7 |
Member
Posts: 15
Karma: 10
Join Date: Sep 2010
Device: IREX DR800SG
|
Well, that's what I'm using too...
Spoiler:
Edit: I don't know what I did differently this time, but everything seems to be working correctly now. Thanks again for all the help. Is there a good, centralized place with apps people have already created (or are currently working on) for the DR800? or do I just need to sift through this and maybe other forums? I don't want to reinvent the wheel... Hopefully I'll have something to contribute in the near future -Barrett Last edited by heyneman; 11-12-2010 at 02:48 AM. |
11-12-2010, 03:01 AM | #8 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
you have https://wiki.mobileread.com/wiki/Digital_Reader_Software Anyway, you can always post to this devel subforum, we are a few people there with no much time but that we will answer eventually. Welcome, Iņigo |
|
11-12-2010, 04:29 AM | #9 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
Personally I prefer "Anjuta free" environment. I've made a script to launch DR QEMU, and another one to mount DR ext2 disk so file copying is easy to handle. Midnight Commander helps doing search/view/edit sources and launching *.sh scripts as well as Makefiles. For the scripts see https://www.mobileread.com/forums/sho...7&postcount=11.
There's no StarDict and xmahjongg mentioned on wiki ... sad Last edited by dima_tr; 11-12-2010 at 04:31 AM. |
11-12-2010, 05:15 AM | #10 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
The good thing is that you can add it yourself !!
Edit: I just added xmahjongg and StarDict to the wiki. Last edited by Mackx; 11-13-2010 at 07:56 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 ANN: DR800+. Port of some DR1000 features to the DR800 | Iņigo | iRex | 274 | 04-05-2013 02:24 PM |
Developing for the iPad? | phmadore | General Discussions | 7 | 04-09-2010 05:48 PM |
I need help for developing | Smellyday | Kindle Developer's Corner | 1 | 11-28-2009 11:12 AM |
iLiad iLiad Developing Conventions? | rudysplif | iRex Developer's Corner | 2 | 12-04-2007 10:52 AM |
iLiad Developing Apps | Open Window | iRex Developer's Corner | 10 | 02-13-2007 11:49 AM |