Author Topic: nspire Linux Questions  (Read 152749 times)

0 Members and 1 Guest are viewing this topic.

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: nspire Linux Questions
« Reply #285 on: January 06, 2013, 11:16:32 pm »
Considering there's not even an x86 linux port of it, I think that would be hard DJ :P

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nspire Linux Questions
« Reply #286 on: January 07, 2013, 01:16:06 am »
Maybe on Cortex-A9 quad (ODROID-X2 / ODROID-U2) or Cortex-A15 dual (Chromebook and future dev boards) devices, assuming they do not use native code, or said native code was ported to ARM Linux as well; but each core of those devices is more than an order of magnitude more powerful than the poor little CPU of the Nspire is. Recent real-world ARM computers have lots of RAM, too: 2 GB, and soon more, with the PAE capability of the Cortex-A15 series.
Nspires have very weak capabilities for such a high price tag... yet, all other calculators are worse.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #287 on: January 07, 2013, 01:27:10 am »
archlinuxarm.org/forum/viewtopic.php?f=27&t=1241
onlive needs a dongle which has a faster arm than the nspire O.o

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: nspire Linux Questions
« Reply #288 on: January 07, 2013, 01:28:14 am »
Well then we can forget about it I guess, lol, since the Nspire only has a single USB port. :P (so if we connect a dongle via USB or something, then we no longer have any port left for the wi-fi one)

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #289 on: January 07, 2013, 08:07:39 am »
The dongle has an ethernet port itself, also a good hub would be no problem at all
« Last Edit: January 07, 2013, 08:08:00 am by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #290 on: January 17, 2013, 04:59:55 pm »
Wow...this has come a long way since I first saw it in October :thumbsup:

I've downloaded the latest rootfs, kernel, and such from tiplanet, and grabbed the USB Bootscript from the main thread.

What kind of initrd do I need? The only one I have is the one I built a long time ago and added some applications to with buildroot, before there was USB support.

From what I understand, I have to but the zImage in the linux folder, untar the xconfig-latest.tar.bz2 to a USB stick, run the bootscript, and it should load linux with the GUI.

Is this correct?
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #291 on: January 18, 2013, 01:18:19 am »
Yes :-)
You only need an initrd if you don't use an usb stick.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #292 on: January 18, 2013, 05:07:27 pm »
Crap, got kernel panic while it was booting, after. It seems to have identified my USB device that I loaded it onto, but then crashed. ???

This might have something to do with the fact that I'm using a 4GB SD Card and a reader (all I had, and I'm too lazy to go buy a USB hub).

Is that the only reason for the panic, using the SD Card?

I suppose I'll try a longer root delay, see if that works, since SDs are slower.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #293 on: January 18, 2013, 05:16:35 pm »
You should get a message like "New USB device registered" "/dev/sda registered".
Do you see different error messages when booting without usb?
Some card readers register a seperate drive for each type.
Try to put it into a linux pc and look what it's called there.

BTW: Do you use defconfig or extended? I don't know whether defconfig supports card readers.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #294 on: January 18, 2013, 06:14:37 pm »
I used extended zImage, and the xconfig rootfs.

On my debian server, it identified the reader as /dev/sdb1, but thats probably because the SSD the os uses is called /dev/sda1. Worth a try, i suppose, to call it /dev/sdb in the script and see what happens.
The kernel panic occurs after "Attached SCSI removable disk'

The panic then states something about root block mounting errors (its hard to tell what its saying)
Probably the kernel not liking my card reader.

Edit: it loads initrd's just fine, just cant use USB. When i used an initrd with usb plugged in, it seemedrecognize it, no idea if it mounted right
« Last Edit: January 18, 2013, 06:22:05 pm by merauder75 »
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #295 on: January 19, 2013, 05:39:06 am »
/dev/sdb1?
Then you have to use root=/dev/sda1 in your script.
Per default it uses /dev/sda, not the first partition.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #296 on: January 19, 2013, 09:20:07 am »
Yay, changing it to /dev/sda1 worked! It boots!

However, why is the screen flashing white so much, also the x server doesn't work. (I tried "startx", and it gave me a no display error)
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #297 on: January 19, 2013, 09:21:49 am »
Which calculator?
It works on a cx cas for me with the kernel and root from tiplanet.org/nspire-linux-builds.

Edit: I started a new build. The latest kernel didn't integrate touchpad, watchdog and backlight support (IIRC).
« Last Edit: January 19, 2013, 09:23:43 am by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #298 on: January 19, 2013, 09:25:56 am »
I also use a CX CAS. There might be something wrong with the build from there.

So you're fixing it? Excellent! ;D
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #299 on: January 19, 2013, 09:37:55 am »
Quote
I also use a CX CAS. There might be something wrong with the build from there.
Can't be..
I'm using the build from 20130116_1937 I think.
Could you try the latest version and post the output of "dmesg | tail"?

Quote
So you're fixing it? Excellent!
Build is ready, but I don't think it fixes anything (besides the flashing white, maybe)