Sunday, July 26, 2009

System and toolchain updated

As usual, get it from the google code page download section (still uploading at the time of writing this post, so maybe you'll have to wait a bit, my upstream here is tiny).

ChangeLog (for the system):
  • Backported from kernel fix for usb ethernet gadget. Now Windows RNDIS driver works (but ethernet communication is still broken and will fail a few seconds after starting and high bandwidth transfer via FTP).
  • Patched SDL so SDL_NOMOUSE=1 is no longer necessary.
  • Updated to busybox-1.14.2 + current patches.
  • Added symlink /etc/TZ ---> /usr/local/etc/timezone
  • Automatic creation of default subdirectories in /usr/local.
  • Automatic creation of default /usr/local/etc/timezone.
The only differences in the toolchain is that the I changed the owner to root before packing (the first release was owned by my user) and that the included SDL library also no longer needs SDL_NOMOUSE, but since this is only a problem when running in the A320 itself, if your application is dynamically linked you probably don't need to download the new toolchain.

I intended to fix the HOME=/ problem. Actually that default value is set by init, so the only way to change it was changing the init code which I felt was not the right thing to do. So the workaround of using a shell script as /usr/local/sbin/main and setting HOME=/usr/local/home there is still necessary. If you want to save some memory, remember to use "exec" to execute your menu application, because if you just call your executable you'll leave a whole shell sitting in memory and doing nothing but waiting for your process to exit.


  1. Thanks, telnet is tested and working with WinXP. This is excellent stuff - once FTP is working okay then I think the development environment will be perfect for XP users.

  2. Fantastic work by the way it just amazes me what you have done for this community. I have a question I installed the last version of dingux you released. I was playing the gba emulator a lot on the native os before installing it. I noticed now that there is a little minor screen tear in the emulator. What is the solution for this? Is it
    to give up on the original os all together and run everything in linux. Must be related to that screen issue when the md emulator got fixed. Not a programmer so don't quite understand all the technical stuff.

  3. Actually I still get lock ups from just using telnet (under cygwin, WinXP). I wasn't even doing anything though I'd imagine there is background traffic going on anyway. I assume that this problem won't fully go away until the USB issue is resolved.