Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started 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
-
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)
-
Fixed the link
-
firefox tells me "server not found"
-
Fixed, for some reason the no-IP Dynamic Updater isn't working
-
Still not working from here :P
-
Try in a couple of minutes, it takes a bit for No-IP to update
-
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.
-
I did just paste the address, I guess Omni added a [url] tag. I fixed the original post
-
The links is working now ^.^
-
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
-
Good idea, I'll add that
EDIT: added
-
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?
-
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"
-
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.
-
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.
-
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.
-
Did it work on the cx cas HW-J.
-
Yes, this works on any Nspire with Ndless
-
If I press the resetbutton , would it start the TI OS? ???
-
Yes, it will start the TI-OS, which is a good thing so that if something goes wrong you still have a calculator.
-
Can I use the tutorial for ubuntu?
-
No, Ubuntu doesn't support the ARM architecture (I think).
-
I think it does, at least unofficially.
-
Does it?
-
Yes. (http://www.ubuntu.com/download/server/arm)
-
That's for ARMv8, I believe the Nspire is ARMv5
-
Would you show some pictures or a short video so those of us without a cx can see? :)
-
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...
-
I'll put up a video soon.
-
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? ???
-
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.
-
Ah ok that's nice to know. Also I'll check it out.
-
Great!
-
How can I download the files from the tutorial?
-
What files are you having problems downloading?
-
Kernel and USB start.
-
Kernel and USB start.
The links don't work?
-
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.
-
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
-
I'm not using no-ip as a host, just a dns provider, do you have a suggestion for a better dns provider?
-
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)
-
74.209.25.170, but it's a dynamic IP so it changes
-
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/
-
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?
-
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.
-
I think I'll stick with the address I have now.
-
BTW, I've never had a single issue with 000webhost, which I considered great when I was using it.
-
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.
-
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.
-
Are linuxloader2 and zImage the same files? ???
-
Are linuxloader2 and zImage the same files? ???
No, linuxloader2 is the bootloader that starts linux, and zImage is the kernel image.
-
but the link is the same ???
-
Thank's for pointing that out, fixed :)
-
I cant login ???
It says login incorrect ???
Edit: Sorry , now it works ;D
-
I push the reset button and my calc dosent restart the OS ???
Help me :(
-
That's like, impossible, because I think the reset button actually breaks the power. So check if you are really pressing it hard enough.
-
I must put out the battery.
but can I write shutdown -r and it starts the TI OS ???
-
Are you sure you are pressing the reset button all the way? What kind of calculator do you have?
-
what's debian?
I don't feel like looking it up
-
It's a Linux distro.
-
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
-
ok, so what's a Linux distro?
-
ok, so what's a Linux distro?
Do you know what Linux is?
-
I know Linux is an operating system, but I don't know what it is or what it's used for
-
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.
-
oh, it all makes sense now
-
oh, it all makes sense now
Good
-
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.
-
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)
-
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)
-
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
-
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 <_<
-
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)
-
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)
-
@aeTIos:
Add “ext.ll2 linuxloader2” to the end of ndless.cfg.tns (in the ndless folder).
-
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
-
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?
-
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'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.
-
Could have been my imagination. Or the time ticking faster when you're doing cool things ^^
-
Or the time ticking faster when you're doing cool things ^^
Probably :)
-
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?
-
What didn't work about it?
-
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.
-
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)
-
So what should I do now?
-
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.
-
Shorting the power lines shouldn't be a big issue, the nspire has current limiting built-in.
-
Shorting the power lines shouldn't be a big issue, the nspire has current limiting built-in.
Still short circuiting anything = not good. ^^
-
Still short circuiting anything = not good. ^^
Agreed
-
Hey, I saw you on Hackaday!
http://hackaday.com/2014/11/18/running-debian-on-a-graphing-calculator/
-
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:
-
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!
-
Some people have requested to see bb running on a calculator: http://codinghobbit.no-ip.org/blog/?p=109
-
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?
-
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
-
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
-
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
-
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.
-
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?
-
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?
-
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
-
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.
-
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
-
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?
-
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
-
Can you upload the files for dosbox and windows 3.1
-
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.
-
so where i can download the files for windows 3.1?
-
I am not going to tell you how to illegally download copyrighted software.
-
I have an original windows 3.1.
So and now I want to run it on my calc.
-
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?
-
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?
-
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? :)
-
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 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.
-
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?
-
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.
-
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?
-
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
-
Yeah except on calc I used root so no sudo required
That could be the problem, try running it not as root.
-
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
-
Are you running bb as root?
-
Are you running bb as root?
Yeah
-
Try running bb as non-root
-
That worked! Tyvm
-
That worked! Tyvm
Yay!
-
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?
-
What exact wifi module do you have?
-
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