Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: Ivoah on October 22, 2014, 08:54:48 pm

Title: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 22, 2014, 08:54:48 pm
I made a blog post about installing Debian on an Nspire CX: https://ivoah.net/blog/2016/03/20/how-to-install-debian-on-a-ti-nspire/ (https://ivoah.net/blog/2016/03/20/how-to-install-debian-on-a-ti-nspire/)


EDIT: fixed typo in address
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on October 23, 2014, 01:59:53 am
Wait you did it?? O.O I thought that only Linucx would work. Nonetheless this is cool. If you want you could cross-post the tutorial content over here, ticalc and TI-Planet in case at one point your site hosting or something went down, not to mention your site takes several minutes to load anyway.


EDIT: It appears that your site is actually down (page cannot be displayed)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 09:42:58 am
Fixed the link
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Sorunome on October 23, 2014, 09:53:17 am
firefox tells me "server not found"
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 09:56:26 am
Fixed, for some reason the no-IP Dynamic Updater isn't working
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Sorunome on October 23, 2014, 09:56:56 am
Still not working from here :P
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 09:58:04 am
Try in a couple of minutes, it takes a bit for No-IP to update
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Hayleia on October 23, 2014, 10:02:58 am
Works for me once I change the ".orb" part into ".org".
By the way, why did you use an [url] tag that has the url as url and as text too ? Why not either just paste the url or put something else than the url as text ? (not sure if what I say is understandable).

If you don't see what I mean, here's an example.
[url=SOMEURL]SOMEURL[/url] is what you did.
[url=SOMEURL]SOMETEXT[/url] is something you could have done.
SOMEURL is something you could have done too.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 10:05:37 am
I did just paste the address, I guess Omni added a [url] tag. I fixed the original post
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Sorunome on October 23, 2014, 10:08:46 am
The links is working now ^.^
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Hayleia on October 23, 2014, 10:09:54 am
I did just paste the address, I guess Omni added a  tag. I fixed the original post
 (http://tag. I fixed the original post)
Oh ok, well that's weird O.O

Anyway it works now. And it seems clear enough to me (even though I just read, not tried). I'd just maybe add for all steps how much time they take. Not necessarily with exact numbers (which would depend on the computer and the connexion), but at least if a step is a lot longer than others, maybe precise it so that people who follow the tutorial don't wait in front of the computer during ten minutes ;)]Oh ok, well that's weird O.O

Anyway it works now. And it seems clear enough to me (even though I just read, not tried). I'd just maybe add for all steps how much time they take. Not necessarily with exact numbers (which would depend on the computer and the connexion), but at least if a step is a lot longer than others, maybe precise it so that people who follow the tutorial don't wait in front of the computer during ten minutes ;)

edit weird, it added a url tag to my post too O.O
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 10:10:08 am
Good idea, I'll add that


EDIT: added
Title: Re: How to install Debian on a TI-Nspire CX
Post by: ben_g on October 23, 2014, 11:15:07 am
So, is it now possible to run a full linux installation, with GUI and such included, on an nspire CX? Or is it a lightweight command-line only version?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 23, 2014, 11:17:00 am
I tried installing lxde, but for some reason it froze when the mouse appeared. Also, I wouldn't call a command line Debian install "lightweight"
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on October 23, 2014, 11:25:12 am
Now that the mainline kernel supports the TI-Nspire along with all its peripherials and we have a decent bootloader for it, it's theorically possible to install pretty much every Linux distro that supports ARM. It's pretty easy to build a filesystem with the ARM version of Arch Linux with pacman and load it in your Nspire and it would theorically work. If I had a Nspire I'd definitely try that out.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: ben_g on October 23, 2014, 11:30:16 am
Now that the mainline kernel supports the TI-Nspire along with all its peripherials and we have a decent bootloader for it, it's theorically possible to install pretty much every Linux distro that supports ARM. It's pretty easy to build a filesystem with the ARM version of Arch Linux with pacman and load it in your Nspire and it would theorically work. If I had a Nspire I'd definitely try that out.
So it would basically be possible to run android on an nspire? As far as I know, that distro is aimed at ARM. It would deffinately be interesting, especially if you could get it to run android apps.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on October 23, 2014, 12:02:20 pm
Now that the mainline kernel supports the TI-Nspire along with all its peripherials and we have a decent bootloader for it, it's theorically possible to install pretty much every Linux distro that supports ARM. It's pretty easy to build a filesystem with the ARM version of Arch Linux with pacman and load it in your Nspire and it would theorically work. If I had a Nspire I'd definitely try that out.
So it would basically be possible to run android on an nspire? As far as I know, that distro is aimed at ARM. It would deffinately be interesting, especially if you could get it to run android apps.
Yes. However, you would probably have to write a driver for whatever the Android GUI uses, plus it would probably run very slowly on that hardware.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on October 24, 2014, 03:31:30 pm
Did it work on the cx cas HW-J.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 24, 2014, 04:45:45 pm
Yes, this works on any Nspire with Ndless
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on October 26, 2014, 11:48:12 am
If I press the resetbutton , would it start the TI OS? ???
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Hooloovoo on October 26, 2014, 05:53:58 pm
Yes, it will start the TI-OS, which is a good thing so that if something goes wrong you still have a calculator.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on October 30, 2014, 03:04:33 pm
Can I use the tutorial for ubuntu?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 30, 2014, 03:06:14 pm
No, Ubuntu doesn't support the ARM architecture (I think).
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on October 30, 2014, 04:05:51 pm
I think it does, at least unofficially.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 30, 2014, 08:55:36 pm
Does it?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on October 30, 2014, 09:00:06 pm
Yes. (http://www.ubuntu.com/download/server/arm)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 30, 2014, 09:03:14 pm
That's for ARMv8, I believe the Nspire is ARMv5
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Happybobjr on October 30, 2014, 09:42:58 pm
Would you show some pictures or a short video so those of us without a cx can see? :)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Aspiring on October 30, 2014, 09:49:08 pm
I don't have an nspire (yet) so I would love some pics too.  :)   And also great job!  :thumbsup:   I wonder what the performance difference would be in comparison to linucx...
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 30, 2014, 09:50:05 pm
I'll put up a video soon.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on October 30, 2014, 11:36:19 pm
Yes, this works on any Nspire with Ndless
Wait, I thought that Linux required nLaunchy to be used and that nLaunchy didn't run on hardware J or higher. Or am I missing something? ???
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 31, 2014, 07:41:08 am
Yes, this works on any Nspire with Ndless
Wait, I thought that Linux required nLaunchy to be used and that nLaunchy didn't run on hardware J or higher. Or am I missing something? ???


Nope, it can be run using any Nspire with Ndless installed. I think nLaunchy is only required to permanently change the OS.


Also, I updated the blog post, there is a video of the boot process now.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on October 31, 2014, 10:06:03 am
Ah ok that's nice to know. Also I'll check it out.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 31, 2014, 10:06:55 am
Great!
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on October 31, 2014, 02:58:39 pm
How can I download the files from the tutorial?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on October 31, 2014, 04:39:25 pm
What files are you having problems downloading?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 01, 2014, 08:53:06 am
Kernel and USB start.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 01, 2014, 02:23:36 pm
Kernel and USB start.


The links don't work?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on November 01, 2014, 10:53:20 pm
Ivoah your site is really really slow and have a very high amount of downtime seriously. This might explain why some people and myself often have troubles accessing files and pages there. You should get a better hosting provider because No-IP is one of the worst host ever along with 000webhost.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: The_King on November 01, 2014, 10:58:02 pm
Ivoah your site is really really slow and have a very high amount of downtime seriously. You should get a better hosting provider because No-IP is one of the worst host ever along with 000webhost.
i agree


I use weebly its easy to use :D
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 02, 2014, 03:08:42 pm
I'm not using no-ip as a host, just a dns provider, do you have a suggestion for a better dns provider?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on November 02, 2014, 03:10:34 pm
Oh ok, but what would be the alternate URL without no-ip? (although that won't help if it's your host that is slow)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 02, 2014, 03:30:45 pm

74.209.25.170, but it's a dynamic IP so it changes
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on November 02, 2014, 03:31:54 pm
I'm not using no-ip as a host, just a dns provider, do you have a suggestion for a better dns provider?
http://freedns.afraid.org/
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 02, 2014, 03:55:57 pm
I'm not using no-ip as a host, just a dns provider, do you have a suggestion for a better dns provider?
http://freedns.afraid.org/


Is there an automatic updater for it?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on November 02, 2014, 04:26:08 pm
I think so yes. It's a simple HTTP call, if you use Linux you can easily set up a cron for it, otherwise you will probably find something for that somewhere on the Internets.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 02, 2014, 09:38:13 pm
I think I'll stick with the address I have now.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Adriweb on November 02, 2014, 10:03:49 pm
BTW, I've never had a single issue with 000webhost, which I considered great when I was using it.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on November 03, 2014, 01:35:15 am
000webhost's uptime is sporadic. They can be a year with good uptime, then suddenly for 4 months they have an uptime of under 50%. We witnessed it happen very often on Deep Thought's ClrHome website, ASM IDE and map editor before. But that's free hosting, so you get what you pay for. I think if you are stuck with free hosting, then it's best to use multiple hosts for the same site/files in  order to provide mirror links, so that they always remain reachable, especially for something important such as tutorials.

As for DNS stuff I often used freedns.afraid.org in the past and it did the job well, but I don't know if it supports dynamic IPs. DynDNS is a no go because they no longer offer free DNS service.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vogtinator on November 03, 2014, 08:38:34 am
Quote
As for DNS stuff I often used freedns.afraid.org in the past and it did the job well, but I don't know if it supports dynamic IPs.
They do and it works great! The setup is a bit weird as it's not natively supported outside *-WRT but so far I had 0% downtime.
In the meantime I set up bind on my VPS and use a dynamic subdomain to access my home.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 03, 2014, 11:41:38 am
Are linuxloader2 and zImage the same files?  ???
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 11:46:39 am
Are linuxloader2 and zImage the same files?  ???


No, linuxloader2 is the bootloader that starts linux, and zImage is the kernel image.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 03, 2014, 11:50:47 am
but the link is the same ???
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 11:56:48 am
Thank's for pointing that out, fixed :)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 03, 2014, 12:56:58 pm
I cant login ???
It says login incorrect ???
Edit: Sorry , now it works ;D
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 03, 2014, 02:14:01 pm
I push the reset button and my calc dosent restart the OS ???
Help me :(
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 03, 2014, 02:27:01 pm
That's like, impossible, because I think the reset button actually breaks the power. So check if you are really pressing it hard enough.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 03, 2014, 02:44:05 pm
I must put out the battery.
but can I write shutdown -r and it starts the TI OS ???
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 03:51:50 pm
Are you sure you are pressing the reset button all the way? What kind of calculator do you have?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: jamesguessis on November 03, 2014, 07:35:34 pm
what's debian?
I don't feel like looking it up
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on November 03, 2014, 07:40:41 pm
It's a Linux distro.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 07:56:49 pm
It's my favorite linux distro https://www.debian.org/ One of the best parts about installing it on the Nspire is that you have access to vast amounts of programs in the debian repos
Title: Re: How to install Debian on a TI-Nspire CX
Post by: jamesguessis on November 03, 2014, 07:57:30 pm
ok, so what's a Linux distro?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 08:03:33 pm
ok, so what's a Linux distro?


Do you know what Linux is?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: jamesguessis on November 03, 2014, 08:06:59 pm
I know Linux is an operating system, but I don't know what it is or what it's used for
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 08:09:30 pm
I know Linux is an operating system, but I don't know what it is or what it's used for


Linux is an operating system kernel, it still needs userspace programs to run, like a shell, GUI, and other programs. A distro is a collection of userspace programs combined with linux to make a full operating system.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: jamesguessis on November 03, 2014, 08:11:33 pm
oh, it all makes sense now
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 03, 2014, 08:28:47 pm
oh, it all makes sense now


Good
Title: Re: How to install Debian on a TI-Nspire CX
Post by: DJ Omnimaga on November 04, 2014, 12:04:37 am
In comparison, Windows and Mac OS are also operating systems. It's just that most Linux distributions are free of charge and open-source. Some are less graphical and arguably less user-friendly, while others have a standard UI. Some are pretty lightweight and more stable than Windows too, plus I don't recall any old version of Windows that can run on an ARM processor.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 05, 2014, 01:08:46 pm
Can I use this adapter instaed of a powered usb hub?
http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html (http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: The_King on November 05, 2014, 01:14:37 pm
In comparison, Windows and Mac OS are also operating systems. It's just that most Linux distributions are free of charge and open-source. Some are less graphical and arguably less user-friendly, while others have a standard UI. Some are pretty lightweight and more stable than Windows too, plus I don't recall any old version of Windows that can run on an ARM processor.

MAC OSX got free too (but its the hardware to worry about :P)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 05, 2014, 03:12:58 pm
Can I use this adapter instaed of a powered usb hub?
http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html (http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html)

Yes, that adaptor should work.


MAC OSX got free too (but its the hardware to worry about :P )

Correct, Mac OS X is free, but it's not open-source
Title: Re: How to install Debian on a TI-Nspire CX
Post by: The_King on November 05, 2014, 03:16:17 pm

MAC OSX got free too (but its the hardware to worry about :P )

Correct, Mac OS X is free, but it's not open-source

That too <_<
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 05, 2014, 05:23:19 pm
Followed the instructions, got it to work. Tried to install i3 window manager, did not get it to work. :|
Anyways this is pretty cool. I have about a 20% success rate in booting, the rest results in kernel panics and stuff but that might be my USB + adapter ;)
The only thing that I did not get to work is the start_usb.ll2 thing. I tihnk it's my ndless.cfg file. Could you upload yours? Thanks :D (because that will save me a ton of typing every time)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Streetwalrus on November 05, 2014, 05:30:06 pm
In comparison, Windows and Mac OS are also operating systems. It's just that most Linux distributions are free of charge and open-source. Some are less graphical and arguably less user-friendly, while others have a standard UI. Some are pretty lightweight and more stable than Windows too, plus I don't recall any old version of Windows that can run on an ARM processor.

MAC OSX got free too (but its the hardware to worry about :P )

Installing it on a normal PC is getting easier each day though. Most recent machines are able to run OSX with almost no compatibility issues. :) (I originally planned to dual boot OSX and Windows when I started thinking about a gaming PC but then I found out about Arch Linux which is so much better than Ubuntu and went with it as my main OS <3)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 05, 2014, 08:31:34 pm
@aeTIos:
Quote
Add “ext.ll2 linuxloader2” to the end of ndless.cfg.tns (in the ndless folder).
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 08, 2014, 05:57:23 pm
I did. Did not work. Don't really care actually, I'll just type my things ;)

Anyways, I think I need a better USB adapter. Booting started to fail 90% of the time, halting at a kernel panic, forcing me to reset my calc.
Plus I needed the flash drive for something else so I had to format it. But I got Nethack to work so I got that going for me which is nice :D
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 08, 2014, 06:05:15 pm
I did. Did not work. Don't really care actually, I'll just type my things ;)

Anyways, I think I need a better USB adapter. Booting started to fail 90% of the time, halting at a kernel panic, forcing me to reset my calc.
Plus I needed the flash drive for something else so I had to format it. But I got Nethack to work so I got that going for me which is nice :D


Strange that it didn't work, but cool that you got Nethack! Would it be possible to also get SLASH'EM?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 08, 2014, 06:10:09 pm
I'm not sure if that works. Like I said, my USB connector was really loose and prone to losing connection on boot x.x and I needed the flash drive. Next time I install debian (which won't be long, because boy, this is awesome), I'll try SLASH'EM and report back :)

On a semi-unrelated side note, running off a flash drive really devours your battery <_< I messed around for maybe 45 minutes and I lost some 70% x.x
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 08, 2014, 07:42:58 pm
I'm not sure if that works. Like I said, my USB connector was really loose and prone to losing connection on boot x.x and I needed the flash drive. Next time I install debian (which won't be long, because boy, this is awesome), I'll try SLASH'EM and report back :)

On a semi-unrelated side note, running off a flash drive really devours your battery <_< I messed around for maybe 45 minutes and I lost some 70% x.x


I haven't noticed significant battery drain.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 08, 2014, 07:48:44 pm
Could have been my imagination. Or the time ticking faster when you're doing cool things ^^
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 11, 2014, 10:41:33 pm
Or the time ticking faster when you're doing cool things ^^


Probably  :)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 14, 2014, 09:20:37 am
Can I use this adapter instaed of a powered usb hub?
http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html (http://www.elv.de/usb-adapter-a-buchse-auf-5-pol-mini-b-stecker.html)
It didnt work and also cant use a mouse or keyboard with this adapter?
Any suggestion?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 14, 2014, 10:02:19 am
What didn't work about it?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vogtinator on November 14, 2014, 10:09:36 am
It won't work as it doesn't support OTG or host mode. Supported cables have another sense line to put the USB controller into the correct mode when plugged in AFAIK.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 14, 2014, 10:12:18 am
This was also the issue for my USB adapter. My friend (who bought it) "hacked" this line in. I think the line is broken again though because the adapter doesn't work anymore when trying to USB OTG (= boot debian on nspire)
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on November 14, 2014, 10:21:53 am
So what should I do now?
 
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 14, 2014, 10:23:56 am
The safest way is buying an USB adapter that actually supports OTG, another thing you could try is modding your current adapter. Make sure you don't short-circuit your USB port, though.
A third option is building an OTG cable yourself.

edit: I thiiiink that USB A is OTG capable but don't quote me on that.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vogtinator on November 14, 2014, 10:27:55 am
Shorting the power lines shouldn't be a big issue, the nspire has current limiting built-in.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: aeTIos on November 14, 2014, 10:28:48 am
Shorting the power lines shouldn't be a big issue, the nspire has current limiting built-in.
Still short circuiting anything = not good. ^^
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 16, 2014, 06:08:25 pm
Still short circuiting anything = not good. ^^


Agreed
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Juju on November 18, 2014, 10:38:56 am
Hey, I saw you on Hackaday!

http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 18, 2014, 12:07:52 pm
Hey, I saw you on Hackaday!

http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/ (http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/)
I know!  :w00t: :w00t: :w00t: :w00t: :w00t:
Title: Re: How to install Debian on a TI-Nspire CX
Post by: bb010g on November 19, 2014, 08:03:11 pm
Hey, I saw you on Hackaday!

http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/ (http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/)
I know!  :w00t: :w00t: :w00t: :w00t: :w00t:
Omni members seem to be quite the thing on Hackaday recently. Nice!
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on November 25, 2014, 12:23:46 pm
Some people have requested to see bb running on a calculator: http://codinghobbit.no-ip.org/blog/?p=109
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on December 13, 2014, 03:26:02 am
Now I have buy an Usb OTG Adapter , but it seem not to work.
I cant use usb Keyboard and i cant use my usb stick for booting Linux.
I have an usb mini b(male) to usb a(female) Adapter.
Why it dosent work?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 13, 2014, 11:55:07 pm
Hi, I followed the instructions exactly using a raspberry pi and yet I get a kernel panic upon every boot. Any ideas?
Edit: when launching under /dev/sda1 it goes to panic much faster, but if under /dev/sda I get it to mount ext4 then I get a USB disconnect after about 5 seconds and then 10 seconds later a kernel panic.
Edit2: /dev/sda1 fail video: http://youtu.be/HLp__5s0gms
/dev/sda fail video: http://youtu.be/mStbka4Hj7Y
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 14, 2014, 08:13:42 am
Hi, I followed the instructions exactly using a raspberry pi and yet I get a kernel panic upon every boot. Any ideas?
Edit: when launching under /dev/sda1 it goes to panic much faster, but if under /dev/sda I get it to mount ext4 then I get a USB disconnect after about 5 seconds and then 10 seconds later a kernel panic.
Edit2: /dev/sda1 fail video: http://youtu.be/HLp__5s0gms
/dev/sda fail video: http://youtu.be/mStbka4Hj7Y

This could be due to a faulty USB OTG wire
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 14, 2014, 11:02:15 am
But the keyboard  works... And the same issue occurs if I use the Otg or the hub... I highly doubt both are faulty, my hub works fine on my PC
I also noticed that on your video you get sda: sda1 sda2
but I get sda: unknown partition table
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 14, 2014, 12:37:39 pm
But the keyboard  works... And the same issue occurs if I use the Otg or the hub... I highly doubt both are faulty, my hub works fine on my PC
I also noticed that on your video you get sda: sda1 sda2
but I get sda: unknown partition table

How did you partition the drive in the beginning? Also, I have two partitions because one is a FAT partition for transferring data.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 14, 2014, 03:38:01 pm
But the keyboard  works... And the same issue occurs if I use the Otg or the hub... I highly doubt both are faulty, my hub works fine on my PC
I also noticed that on your video you get sda: sda1 sda2
but I get sda: unknown partition table

How did you partition the drive in the beginning? Also, I have two partitions because one is a FAT partition for transferring data.
Nevermind, I got it to work. Now it doesn't work with the hub though, it works through otg. Is there a reason for this?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 14, 2014, 04:21:26 pm
Nevermind, I got it to work. Now it doesn't work with the hub though, it works through otg. Is there a reason for this?

Does the hub work for other things?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 14, 2014, 04:27:34 pm
Nevermind, I got it to work. Now it doesn't work with the hub though, it works through otg. Is there a reason for this?

Does the hub work for other things?
meaning? I mean it works on my computer and I can keyboard input into the nspire, but a kernel panic occurs when debian tries to boot
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 14, 2014, 04:29:33 pm
Is it externally powered? The Nspire USB port can't supply very much current, so there might not be enough power to use a keyboard and a flash drive at the same time.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: merauder75 on December 14, 2014, 04:44:24 pm
Nice info, got it working, installed GCC and python and vim, slow, but they work.

Best of all GOT DOSBOX SEMI WORKING.) :w00t:

Really slow, and its overstretched because its drawing using directfb

Booting Windows 3.1 now  :)

(Sorry for links, on my phone, can't resize em)
https://docs.google.com/file/d/0B5Tkl4WZkr3cZDZQR0ZzZE5lSHc/edit?usp=docslist_api
https://docs.google.com/file/d/0B5Tkl4WZkr3cR2JHVmFER0lHWDQ/edit?usp=docslist_api
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 14, 2014, 06:37:29 pm
Is it externally powered? The Nspire USB port can't supply very much current, so there might not be enough power to use a keyboard and a flash drive at the same time.
Yup, externally powered. Also, it says "usb reset" a bunch of times and gives i/o errors
Edit: and why are simple things like sudo and lsusb missing?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 14, 2014, 08:54:46 pm
Nice info, got it working, installed GCC and python and vim, slow, but they work.

Best of all GOT DOSBOX SEMI WORKING.) :w00t:

Really slow, and its overstretched because its drawing using directfb

Booting Windows 3.1 now  :)

(Sorry for links, on my phone, can't resize em)
https://docs.google.com/file/d/0B5Tkl4WZkr3cZDZQR0ZzZE5lSHc/edit?usp=docslist_api
https://docs.google.com/file/d/0B5Tkl4WZkr3cR2JHVmFER0lHWDQ/edit?usp=docslist_api

How did you get dosbox running on a 320x240 screen? Whenever I try running it at that resolution it complains
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on December 15, 2014, 11:57:14 am
Can you upload the files for dosbox and windows 3.1
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 15, 2014, 11:58:29 am
Can you upload the files for dosbox and windows 3.1

To install dosbox just use apt-get, and uploading Windows 3.1 would be illegal because it is copyrighted software.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on December 15, 2014, 12:09:57 pm
so where i can download the files for windows 3.1?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 15, 2014, 12:13:01 pm
I am not going to tell you how to illegally download copyrighted software.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Harry5862 on December 15, 2014, 12:20:34 pm
I have an original windows 3.1.
So and now I want to run it on my calc.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: ben_g on December 15, 2014, 12:21:30 pm
Nice info, got it working, installed GCC and python and vim, slow, but they work.

Best of all GOT DOSBOX SEMI WORKING.) :w00t:

Really slow, and its overstretched because its drawing using directfb

Booting Windows 3.1 now  :)

(Sorry for links, on my phone, can't resize em)
https://docs.google.com/file/d/0B5Tkl4WZkr3cZDZQR0ZzZE5lSHc/edit?usp=docslist_api
https://docs.google.com/file/d/0B5Tkl4WZkr3cR2JHVmFER0lHWDQ/edit?usp=docslist_api

O.O
And does windows 3.1 actually work on the nspire? Is it fast enough to be useable?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 15, 2014, 12:22:57 pm
Nice info, got it working, installed GCC and python and vim, slow, but they work.

Best of all GOT DOSBOX SEMI WORKING.) :w00t:

Really slow, and its overstretched because its drawing using directfb

Booting Windows 3.1 now  :)

(Sorry for links, on my phone, can't resize em)
https://docs.google.com/file/d/0B5Tkl4WZkr3cZDZQR0ZzZE5lSHc/edit?usp=docslist_api
https://docs.google.com/file/d/0B5Tkl4WZkr3cR2JHVmFER0lHWDQ/edit?usp=docslist_api

I highly doubt that it runs a a useable speed, it runs slowly on the RasPi, so it must run super slowly on an Nspire

O.O
And does windows 3.1 actually work on the nspire? Is it fast enough to be useable?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 08:45:21 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory. Help? :) 
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 08:46:44 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 08:47:12 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
I did.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 08:48:27 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
I did.

What commands exactly did you use to install it?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 08:50:03 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
I did.

What commands exactly did you use to install it?
On host PC apt-get install - d bb and then on calc apt-get install bb
It installed all the dependencies too.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 08:51:28 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
I did.

What commands exactly did you use to install it?
On host PC apt-get install - d bb and then on calc apt-get install bb
It installed all the dependencies too.

did you use sudo in front of those commands?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 08:52:00 am
I try to run bb on my calc after installing it, but running the 'bb'  command results in it saying no such file or directory

Debian doesn't come with bb pre-installed, you have to install it using apt-get
I did.

What commands exactly did you use to install it?
On host PC apt-get install - d bb and then on calc apt-get install bb
It installed all the dependencies too.

did you use sudo in front of those commands?
Yeah except on calc I used root so no sudo required
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 08:53:01 am
Yeah except on calc I used root so no sudo required

That could be the problem, try running it not as root.
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 08:54:50 am
Yeah except on calc I used root so no sudo required

That could be the problem, try running it not as root.
Sudo is not installed on my calc xD
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 08:56:00 am
Are you running bb as root?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 09:07:20 am
Are you running bb as root?
Yeah
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 09:08:47 am
Try running bb as non-root
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 09:09:51 am
That worked! Tyvm
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 09:13:03 am
That worked! Tyvm

Yay!
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 09:15:04 am
That worked! Tyvm

Yay!
Also another question: I have a wlan adapter but when I try to bring it up I get a firmware not found error. It works on my RPi on default though. Any ideas?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Ivoah on December 16, 2014, 09:16:06 am
What exact wifi module do you have?
Title: Re: How to install Debian on a TI-Nspire CX
Post by: Vsod99 on December 16, 2014, 09:21:40 am
http://us.dlink.com/products/connect/wireless-n300-usb-adapter/
Like I said, I don't have to install any of their drivers for it to work on my RPi