Author Topic: nspire Linux Questions  (Read 153083 times)

0 Members and 4 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #510 on: April 28, 2014, 11:04:31 am »
No, you can boot from your flash drive directly.

Offline red-green

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: nspire Linux Questions
« Reply #511 on: April 28, 2014, 11:21:55 am »
If i did that, i assume the LinuxLoader script would look like this:

Code: [Select]
kernel linux/kernel.tns
cmdline root=/dev/sda
boot

Is that right?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #512 on: April 28, 2014, 11:24:19 am »
Exactly. But the newer devicetree based kernel doesn't support USB at all, so you have to use the older kernel.
And append "rootdelay=5", as USB seems to be really slow on the nspire.

Offline red-green

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: nspire Linux Questions
« Reply #513 on: April 28, 2014, 11:38:11 am »
Is the older kernel on this page?: http://tiplanet.org/nspire-linux-builds/

Offline red-green

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: nspire Linux Questions
« Reply #514 on: April 28, 2014, 11:53:12 am »
Oh, one last question, how do i upvote/add reputation (to you)?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #515 on: April 28, 2014, 12:18:29 pm »
Quote
Is the older kernel on this page?: http://tiplanet.org/nspire-linux-builds/
Yup, it's the "older kernel" :P

Quote
Oh, one last question, how do i upvote/add reputation (to you)?
If you can't see the red and green voting buttons on the left below the post rating, I guess you need to be at least LV2 or 3.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #516 on: September 03, 2014, 12:25:41 pm »
Would it be possible to make a debian rootfs for linux on the nspire using debootstrap?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #517 on: September 03, 2014, 12:29:47 pm »
IIRC somebody did that already.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #518 on: September 03, 2014, 01:34:05 pm »
is it as simple as using debootstrap for armel?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #519 on: September 03, 2014, 03:28:46 pm »
Yes, it should be. Just be sure it's for ARMv5 (ARM926ej-s) and not above.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: nspire Linux Questions
« Reply #520 on: September 03, 2014, 03:42:49 pm »
Yes, I have put debian on a flash drive for the nspire, and I did it with debootstrap. There's a script for doing that here.
"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 Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #521 on: September 03, 2014, 09:16:45 pm »
I managed to get a debian rootfs, but now I can't seem to install the firmware-ralink package (for my wifi dongle). If I chroot into the rootfs using qemu and apt-get install firmware-ralink it doesn't work :(


EDIT: apt-get install firmware-ralink does work, but the module won't load
« Last Edit: September 04, 2014, 10:40:42 am by Ivoah »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #522 on: September 04, 2014, 12:18:18 pm »
Well, how do you load the module? Did you compile it?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #523 on: September 04, 2014, 06:08:11 pm »
I didn't compile it, I used apt-get, and it is supposed to be automatically loaded...
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #524 on: September 04, 2014, 06:10:44 pm »
Debian's kernel modules aren't compatible. It's a different kernel version, so you'll need to compile it yourself.