Author Topic: nspire Linux Questions  (Read 152764 times)

0 Members and 2 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 #315 on: January 19, 2013, 11:31:36 am »
Ok, so they made some more changes in the buildroot configuration.
I'll check that, but it needs ~2 hours to compile (Or I bypass make clean)
Use http://tiplanet.org/nspire-linux-builds/xconfig_20130112_1412.tar.bz2 instead.
that's my version.
Tip: Don't extract it over / or you'll break your system (own experience)

BTW: directfb should still work. "df_window" is a good example for touchpad and graphics.
« Last Edit: January 19, 2013, 11:33:39 am by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #316 on: January 19, 2013, 12:11:45 pm »
Crap, now my calculator is stuck on a clock icon on the gray background on startup. How do I fix this?
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 #317 on: January 19, 2013, 12:13:04 pm »
You just corrupted your nand/filesystem/bad block table.
Nope, you didn't xD Sometimes I only need to reboot, but most times I have to run NAND tests in diag mode..
To get into diagnostics you have to press Esc+Menu+- while pressing reset on the back.
« Last Edit: January 19, 2013, 12:13:53 pm by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #318 on: January 19, 2013, 12:17:46 pm »
How do I get to the NAND test itself?

Is there a way to scroll?

Edit: Figured it out, it passed the NAND test...weird
« Last Edit: January 19, 2013, 12:18:44 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 #319 on: January 19, 2013, 12:20:10 pm »
Quote
Edit: Figured it out, it passed the NAND test...weird
Yes, it is weird. But sadly we can't fix it as we don't know the cause.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #320 on: January 19, 2013, 12:21:52 pm »
Whew, it boots again ;D

« Last Edit: January 19, 2013, 12:34:10 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 #321 on: January 19, 2013, 12:23:00 pm »
Does X work now and could you move the cursor with the mouse?
I could only test it on my device.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #322 on: January 19, 2013, 12:34:27 pm »
 I tested your image and it works perfectly, x windows starts up correctly with touchpad mouse support, thanks for all the help and quick responses!
« Last Edit: January 19, 2013, 12:35:24 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 #323 on: January 19, 2013, 12:37:27 pm »
Quote
I tested your image and it works perfectly
Except it makes your calculator refuse to boot in 80% of all cases xD

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #324 on: January 19, 2013, 02:25:11 pm »
True, but now I have relatively functional linux :). Any chance that therell be a version with gcc on it? Or some more programs? It feels like a waste to have a 4GB SD Card and 100MB of programs.
« Last Edit: January 19, 2013, 02:25:38 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 #325 on: January 19, 2013, 02:26:23 pm »
No problems, you can build your own rootfs. I posted a tutorial on configuring somewhere in the other thread, too lazy to search now.

You can also use some other distribution, like opensuse or debian, as long as it runs on armv5.
« Last Edit: January 19, 2013, 02:27:16 pm by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #326 on: January 19, 2013, 02:29:30 pm »
Is debian compatible with the x windows patch? Or is your patch for buildroot based linux?
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 #327 on: January 19, 2013, 02:30:04 pm »
Nope, the patch is for the kernel :D
« Last Edit: January 19, 2013, 02:30:12 pm by Vogtinator »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #328 on: January 19, 2013, 02:34:00 pm »
Ah, so i can just use your kernel with whatever distro/buildroot config I want, neat.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nspire Linux Questions
« Reply #329 on: January 19, 2013, 02:45:04 pm »
Yeah, but keep in mind that the Nspire series, despite being the most powerful group of calculators on the market, is a wimp in terms of raw CPU power and available RAM.
Compilation and linking "complex" C++ code (just include several Qt headers, in a simple C++ program with very few LOC) easily takes hundreds of megabytes of RAM and 2-3 seconds on '2011-'2012 x86_64 computers. The Nspire's CPU is nearly two orders of magnitude slower than the x86_64 computer, and it has two orders of magnitude less RAM...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.