Author Topic: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)  (Read 21158 times)

0 Members and 1 Guest are viewing this topic.

Offline tehahb98

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +1/-0
    • View Profile
Hello!

I wanted to show off my adventures with running Linux on the TI NSpire CX.
So, I made a video demonstrating it!


This Linux install is running Arch Linux ARM, and has a fully functional X11 install, complete with Openbox for window management and Tint2 as a panel.

Additionally, it also has full networking and audio capabilities.
This is demonstrated with a lightweight web browser (Dillo).


This is a list of all of the hardware in the USB bundle of joy:
  • USB Mini OTG cable
  • USB Y Splitter (for power separation)
  • USB Battery pack
  • USB Hub
  • AmazonBasics USB Ethernet Adapter
  • 256GB PatriotMemory USB drive
  • GL-Inet AR300MD Router (for wireless bridging)
  • CM108 USB Audio Card
  • Logitech Unified Receiver
To explain why I strapped on an entire router instead of just using a wireless USB card: I don't have a wireless USB card that has decent Linux support lying around anywhere, so this was simply easier. There is no other reason.

Calculator hardware:
- TI NSpire CX (Revision J)
- 64MB RAM
- 198Mhz CPU

Calculator software:
- 4.4.0.532 (CAS version)
- Boot1 Version: 3.0.0.99
- Boot2 Version: 4.0.3.49
- Ndless 4.4.0
- nBoot 3.0.0.99
- ControlX 4.4.3

Kernel settings required for alsa/sound:
CONFIG_SOUND
CONFIG_SND
CONFIG_SND_USB_AUDIO
CONFIG_SYSVIPC

Kernel settings required for AX88179 USB ethernet:
CONFIG_USB_NET_AX88179_178A

The TI NSpire CX uses a ARMv5 processor (Little endian) with soft floats.
That being said, to install Arch Linux you can use any ARMv5te rootfs from ArchLinuxARM.
The image that has best compatibility with the NSpire is the kirkwood builds.
You can find that here: http://os.archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz

To install, simply extract it to a USB drive and boot from USB as you would any other.

During the process, there was a few minor difficulties.
The most notable one is that my calculator got soft bricked after a reboot from Linux once.
The calculator was stuck on this screen.
Spoiler For Spoiler:

I reset the calculator numerous times to no avail. I then reset the OS a whopping 3 times, and it still wouldn't boot.
Lastly, I unplugged the calculator's battery and cold booted it. That fixed it!

Here are some awesome pictures taken during the adventure!
Spoiler For Spoiler:










I hope you enjoyed the ramblings of a madman. If you have any questions, feel free to ask!
« Last Edit: March 26, 2018, 09:54:02 am by tehahb98 »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #1 on: March 26, 2018, 10:37:36 am »
So I noticed that your video has lots of variations in speed. How long does it actually take to start X? How slow/laggy is the mouse, and Dillo?
/e

Offline tehahb98

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +1/-0
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #2 on: March 26, 2018, 07:20:09 pm »
So I noticed that your video has lots of variations in speed. How long does it actually take to start X? How slow/laggy is the mouse, and Dillo?

The raw uncut footage is 10 minutes long.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #3 on: March 26, 2018, 11:07:58 pm »
And how slow/laggy is the mouse, and Dillo?
/e

Offline tehahb98

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +1/-0
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #4 on: March 26, 2018, 11:51:55 pm »
And how slow/laggy is the mouse, and Dillo?

The mouse skips around, but it's not that bad. Only a little bit slower than the mouse on standard operating system.

Dillo actually works fine, the only problem is lack of screen real estate. Also, loading pages is a bit slow, but after it's loaded scrolling around is flawless.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #5 on: March 27, 2018, 02:25:20 am »
Wow that's really impressive. I'm gonna watch how this develops. Do you intend to do anything with it?
I'm not a nerd but I pretend:

Offline tehahb98

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +1/-0
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #6 on: March 27, 2018, 03:13:48 am »
Wow that's really impressive. I'm gonna watch how this develops. Do you intend to do anything with it?

I plan to optimize for screen space in the future, so it can be more usable.

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #7 on: March 29, 2018, 03:11:17 pm »
That's really nice! But you definitely need to resize those icon in dillo! It would be much easier to use.
Bit unrelated: It's quite sad, that Punix never got finished... Maybe we could have gotten something simillar for the 68k platform (which is WAAYYY better than the nspire in terms of programming - there is even a on-calc c compiler for it!). :(

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6267
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #8 on: March 29, 2018, 03:14:40 pm »
That's really nice! But you definitely need to resize those icon in dillo! It would be much easier to use.
Bit unrelated: It's quite sad, that Punix never got finished... Maybe we could have gotten something simillar for the 68k platform (which is WAAYYY better than the nspire in terms of programming - there is even a on-calc c compiler for it!). :(
With linux you can also have an on calc c compiler.
/e

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #9 on: March 29, 2018, 03:29:12 pm »
I know, but gtc was for AMS(ti-os).
besides, the nspire screen is smaller than the v200/92(p). I imagine it could be quite hard to see your code on your nspire. (Unless sombody manages to use a usb graphics card with it.  :P)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #10 on: March 30, 2018, 06:24:57 pm »
besides, the nspire screen is smaller than the v200/92(p). I imagine it could be quite hard to see your code on your nspire. (Unless sombody manages to use a usb graphics card with it.  :P)
The V200/92+ does have a bigger screen, but not by that much. On the flip side, the nsipre has color as opposed to black and white on the 92+ series, and the nspire has a higher resolution.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #11 on: May 04, 2018, 12:28:52 am »
Kernel settings required for alsa/sound:
CONFIG_SOUND
CONFIG_SND
CONFIG_SND_USB_AUDIO
CONFIG_SYSVIPC

Kernel settings required for AX88179 USB ethernet:
CONFIG_USB_NET_AX88179_178A

I'm having trouble getting my kernel to give me any graphics. Can you post your kernel config? What kernel version are you using?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Ferchu

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #12 on: July 15, 2018, 08:52:15 pm »
Thanks for sharing what you did!

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #13 on: September 05, 2018, 04:27:39 pm »
So I'm trying to follow how you're powering the USB hub here so you don't overdraw from the calculator's port...

If I'm understanding correctly, the y splitter only really serves the purpose of providing power to the calculator while having peripherals connected. So how are you powering the hub itself?



Edit: Nevermind. I figured it out, I'm just stupid.
« Last Edit: September 05, 2018, 04:37:02 pm by Vsod99 »

Offline zaoqi

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
  • -- I hate GNU/Linux,ECMAScript,Java,C,Intel,ARM...
    • View Profile
Re: TI NSpire CX Linux Adventures (Arch Linux with X11, internet, audio)
« Reply #14 on: October 28, 2018, 04:46:44 am »
How to boot from USB and build kernel?
-- I hate GNU/Linux,ECMAScript,Java,C,Intel,ARM... so that I am implement several functional/logic/... programming language/kernel/OS/hardware/... by using GNU/Linux.