Author Topic: Calling all Linux Kernel developers!  (Read 392420 times)

0 Members and 3 Guests are viewing this topic.

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #150 on: October 31, 2012, 02:36:56 pm »
wow 0.0 now i really want to find a mini usb to female usb cable to plug in harddrives in my nspire :D

Some people need a high five in the face... with a chair.
~EC

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #151 on: October 31, 2012, 02:39:01 pm »
That's very impressive.

Out of curiosity, are there any plans to backport this to the first Nspires? :D
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #152 on: October 31, 2012, 02:44:16 pm »
Actually I think he wanted to have Touchpad/Clickpad compatibility, but the hardware is apparently different and less documented on Hackspire, making it harder to develop for those older models. I could be wrong, though.
Quote
Just a quick reminder that there's a 4MB soft limit for RAM disks. Make sure the final image is less than that until I rework the bootloader to lift it.
ACK :)
It's easy to reach 8 MB without even attempting to add an X server + its libraries.


Hmmmm. If you get the source for the bootloader you could try changing MAX_RAMDISK_SIZE to something higher. But I can't guarantee it'll work without hitches since it might overwrite the bootloader code.

The solution is to relocate the bootloader itself into SRAM or somewhere out of the way before loading. That way, the max ramdisk size is limited by the amount of physical memory. I'll get the done soon

Edit: Random thoughts: snes9x SDL on Linux on CX?
One concern I have about that is that it would be running an emulator in an emulator, right? Wouldn't the SNES emu run way too slow due to the Nspire CPU being all used for SDL emulation to begin with?
« Last Edit: October 31, 2012, 02:45:39 pm by DJ_O »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Calling all Linux Kernel developers!
« Reply #153 on: October 31, 2012, 03:27:25 pm »
SDL isn't emulated, that's just the graphical frontend. I guess you would have to set some frameskip to snes9x to make it work at 60 FPS.

Also mplayer lags o.o

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Calling all Linux Kernel developers!
« Reply #154 on: October 31, 2012, 03:38:07 pm »
Quote
Actually I think he wanted to have Touchpad/Clickpad compatibility, but the hardware is apparently different and less documented on Hackspire, making it harder to develop for those older models.
The hardware of the Clickpad & Touchpad has better documentation on Hackspire than the CX hardware (though the delta is blurring, as part of this work) :)
Linux + some userspace does fit in 32 MB of RAM (16 or even 8 would work), but needless to say, it can do less than in 64 MB of RAM (CX).
tangrs doesn't have a real Clickpad or Touchpad, though.

Quote
Also mplayer lags o.o
Well, the Nspire is no Raspberry Pi (basically > 5x more powerful for 1/6 to 1/4 the price, with some hardware video acceleration) or better :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Calling all Linux Kernel developers!
« Reply #155 on: October 31, 2012, 03:42:33 pm »
SDL isn't emulated, that's just the graphical frontend. I guess you would have to set some frameskip to snes9x to make it work at 60 FPS.

Also mplayer lags o.o
Well, that's why TI advertises is as a calculator (actually rather a math&science handheld thing - meh, stupid vocabulary :P) and not a developer board :D (also @debrouxl)

But yeah, with some overclocking, it's good enough ?
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #156 on: October 31, 2012, 03:54:37 pm »
Quote
Actually I think he wanted to have Touchpad/Clickpad compatibility, but the hardware is apparently different and less documented on Hackspire, making it harder to develop for those older models.
The hardware of the Clickpad & Touchpad has better documentation on Hackspire than the CX hardware (though the delta is blurring, as part of this work) :)
Linux + some userspace does fit in 32 MB of RAM (16 or even 8 would work), but needless to say, it can do less than in 64 MB of RAM (CX).
tangrs doesn't have a real Clickpad or Touchpad, though.

Quote
Also mplayer lags o.o
Well, the Nspire is no Raspberry Pi (basically > 5x more powerful for 1/6 to 1/4 the price, with some hardware video acceleration) or better :)
Ah ok I thought about the opposite due to this post http://ourl.ca/17131/318760

Well, that's why TI advertises is as a calculator

The Nspire can do maths?? O.O

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #157 on: October 31, 2012, 08:20:05 pm »
This is awesome, and the usb recognition works so well.
I’ve tested my keyboard, mouse, ipod, camera, TI 83, and two flash drives.
It tells the correct manufacturer and product for each, though the only one I could get to do anything was the keyboard.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #158 on: October 31, 2012, 08:51:09 pm »
This is awesome, and the usb recognition works so well.
I’ve tested my keyboard, mouse, ipod, camera, TI 83, and two flash drives.
It tells the correct manufacturer and product for each, though the only one I could get to do anything was the keyboard.


Excellent. That's good to hear :)

SDL isn't emulated, that's just the graphical frontend. I guess you would have to set some frameskip to snes9x to make it work at 60 FPS.

Also mplayer lags o.o
Well, that's why TI advertises is as a calculator (actually rather a math&science handheld thing - meh, stupid vocabulary :P) and not a developer board :D (also @debrouxl)

But yeah, with some overclocking, it's good enough ?

Not quite. The fastest I could get it to run was about 8FPS.

That's very impressive.

Out of curiosity, are there any plans to backport this to the first Nspires? :D

Yep. I'm hoping to secure a Touchpad and Clickpad from some seniors after they've finished their exams.

Great work Tangrs! I assume it will be possible to have a Debian rootfs with an X-server?
Will try when I get some time.

Already working on it :)

So were all the USB support changes on the kernel side? Could I just use an existing FS image and boot it correctly on a USB stick?

EDIT: Also, what kind of cable do I need to buy?
EDIT Again: What sort of other stuff is on the image? GCC? Lua?

Yep, all the USB stuff is on the kernel side.

Depending on what you want to connect, there are many you can buy. If you're only connecting one device, a mini-usb A to USB female adapter should work. Something like this one should work.

Though, I highly recommend just buying a powered USB hub that has a mini-usb B upstream port so you can just use the OTG cable that came with your calculator. I happened to have a spare one lying around so that's what I used.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #159 on: October 31, 2012, 09:08:50 pm »
Isn't this kernel running on top of TI's OS already? That could explain some of the issues performance-wise.


Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #160 on: October 31, 2012, 09:09:48 pm »
Isn't this kernel running on top of TI's OS already? That could explain some of the issues performance-wise.



Nope, once booted, it has replaced TI's OS completely in memory.
« Last Edit: October 31, 2012, 09:10:07 pm by tangrs »

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #161 on: October 31, 2012, 09:36:38 pm »
Quote
Depending on what you want to connect, there are many you can buy. If you're only connecting one device, a mini-usb A to USB female adapter should work. Something like this one should work.

Though, I highly recommend just buying a powered USB hub that has a mini-usb B upstream port so you can just use the OTG cable that came with your calculator. I happened to have a spare one lying around so that's what I used.
I got one with at best buy for $15 that has four usb ports and one mini usb port
So I can connect my cx and still have room for four more devices
Quote
Nope, once booted, it has replaced TI's OS completely in memory.
Wait, so is there no possibility for a keyboard during normal OS? Because a keyboard would make oclua so much cooler.
« Last Edit: October 31, 2012, 09:37:11 pm by Rhombicuboctahedron »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #162 on: October 31, 2012, 09:37:29 pm »
Quote
Depending on what you want to connect, there are many you can buy. If you're only connecting one device, a mini-usb A to USB female adapter should work. Something like this one should work.

Though, I highly recommend just buying a powered USB hub that has a mini-usb B upstream port so you can just use the OTG cable that came with your calculator. I happened to have a spare one lying around so that's what I used.
I got one with at best buy for $15 that has four usb ports and one mini usb port
So I can connect my cx and still hav room for four more devices
Quote
Nope, once booted, it has replaced TI's OS completely in memory.
Wait, so is there no possibility for a keyboard during normal OS? Because a keyboard would make oclua so much cooler.


Yep, that's pretty much true.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #163 on: October 31, 2012, 10:38:57 pm »
@tangrs: Congrats on getting usb working, that's awesome! :D
@aeTIos: Liking the Linucx name. :thumbsup:
« Last Edit: October 31, 2012, 10:39:15 pm by Art_of_camelot »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #164 on: November 01, 2012, 03:15:52 am »
Edit: Random thoughts: snes9x SDL on Linux on CX?
But to make snes9x work, is there a need for linux ? If it is coded with SDL, can't it be ported with nSDL without linux ?
Sorry if it is a stupid question but I didn't even know about snes9x before it was mentionned in this topic -.-°
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s