Author Topic: nspire Linux Questions  (Read 156505 times)

0 Members and 3 Guests are viewing this topic.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #300 on: January 19, 2013, 09:54:51 am »
That is the exact same build I was using, that or the one from the 18th.

The latest build just causes my calculator to hard reboot after I run my script... ???
Do I need a new ndless or something?
« Last Edit: January 19, 2013, 09:56:00 am 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 #301 on: January 19, 2013, 09:56:59 am »
Quote
The latest build just causes my calculator to hard reboot after a run my script...
O.o That shouldn't be..

Quote
Do I need a new ndless or something?
Yep, I'm using the latest version.
Do you have the latest linuxloader?

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #302 on: January 19, 2013, 09:59:20 am »
I believe I do, i just redownloaded it from tiplanet. Why one kernel would work and the other wouldn't with the same ndless version is beyond me. I guess I'll try updating it (though I swear I just did it not long ago for gpsp)

That would probably also explain the flicker and such.

Edit: Nope, its definitely up to date, the last time ndless was updated was 8/15/2012, and I've definitely updated it since then
« Last Edit: January 19, 2013, 10:03:36 am 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 #303 on: January 19, 2013, 10:10:16 am »
Quote
the last time ndless was updated was 8/15/2012
Thought so, too, but nTxt didn't work for me.
I'm using ndless v3.1 beta r685.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #304 on: January 19, 2013, 10:19:22 am »
That's a bug in nTxt's version checker, im pretty sure, i get the same thing.
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 #305 on: January 19, 2013, 10:19:57 am »
Nope, it just crashed.
With the last ndless versions it works perfectly.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #306 on: January 19, 2013, 10:21:17 am »
Im using ndless r985 and it won't even launch for me.

Edit: I'll try reinstalling ndless again, see if that helps. Also the build I used for the kernel was 20130119_1525, and 20130118_1959 for the FS Image
« Last Edit: January 19, 2013, 10:31:04 am 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 #307 on: January 19, 2013, 10:27:28 am »
Hmm..
I'll try the exact same configuration as you're using on my calc.

Edit: You're right, it crashes O.o
Now my NAND is corrupt.. f*ck.
« Last Edit: January 19, 2013, 10:33:36 am by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #308 on: January 19, 2013, 10:39:28 am »
Mine freezes on reboot until I hard reset it. Is that what NAND corruption is? Or did I just completely brick your calc? :o
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 #309 on: January 19, 2013, 10:43:39 am »
Nope, you didn't xD Sometimes I only need to reboot, but most times I have to run NAND tests in diag mode..

Quote
Is that what NAND corruption is?
I think it's caused by some accidentally accesses to NAND which makes it lose some data.
I needed to format my NAND completely once..
« Last Edit: January 19, 2013, 10:43:56 am by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #310 on: January 19, 2013, 10:46:06 am »
Ok, so this is basically an issue with the kernel itself, not with my setup. I wish I could help with porting/patching linux stuff, but I'm a newbie with C.
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 #311 on: January 19, 2013, 10:59:51 am »
Quote
Ok, so this is basically an issue with the kernel itself, not with my setup.
Yes, probably with the cpufreq driver. I hope tangrs implemented the AHB clock limit correctly..

Quote
I wish I could help with porting/patching linux stuff, but I'm a newbie with C.
If you don't want to/can't code stuff, you may try to understand the filesystem.
Just open your flash image from nspire_emu in a hex editor.
Maybe you can reverse engineer it, there's currently no open source driver for the filesystem TI uses available.

Edit: Compiled the kernel on my laptop (instead of download it), it works. (Haven't tested X)
Does it work for you, too?
« Last Edit: January 19, 2013, 11:10:17 am by Vogtinator »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nspire Linux Questions
« Reply #312 on: January 19, 2013, 11:18:45 am »
Black-box reverse-engineering of the filesystem is a pain.
The boot2 1.4.1571 for Clickpad/Touchpad has long been known (through strings) to contain lots of filesystem-related code, not only FS interaction code called by the NavNet code, but also testing code.
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 #313 on: January 19, 2013, 11:21:47 am »
Quote
Black-box reverse-engineering of the filesystem is a pain.
Haven't done it before, but I think it's too confusing to see weird accesses with apparently no purpose at all.
Maybe it's the best way to compile nspire_emu with nand read/write debugging.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #314 on: January 19, 2013, 11:28:52 am »
It works for me as well.

The font is very hard to read (its tiny), but it works better, the flicker is there, but MUCH better.

X Windows still won't work, im getting

Code: [Select]
(EE) Failed to load module "fbdev" (module does not exist,0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist,0)

Fatal Server Error:
no screens found
« Last Edit: January 19, 2013, 11:29:34 am by merauder75 »
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C