Author Topic: Calling all Linux Kernel developers!  (Read 399637 times)

0 Members and 5 Guests are viewing this topic.

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #105 on: October 28, 2012, 07:20:43 am »
I'm somewhat a Linux noob, so...
How do you start Linux on the new bootloader?
It confused me too first time. You can find the readme here: https://github.com/tangrs/nspire-linux-loader2
First you need the files: initrd.tns, zImage.tns and bootloader2.tns. Put those in a folder and run bootloader. To boot linux, do "kernel <path to zImage.tns>" followed by "initrd <path to initrd.tns>" and finally "boot" (all without the quotes ofc) I also suggest reading the readme, which I did not at first XD

Some people need a high five in the face... with a chair.
~EC

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #106 on: October 28, 2012, 07:22:34 am »
[ignorant message]does this have any uses at this time?[/ignorant]
As in, what can you do with this?
I'm not a nerd but I pretend:

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #107 on: October 28, 2012, 12:04:11 pm »
ARM seems to be a second-class citizen in TCC, and last I checked, TCC wasn't actively maintained anymore.

FWIW, the buildroot config I posted contains Lua compiler, interpreter and LuaJIT (but not some extra libraries) :)
MicroPerl shouldn't consume much space either.



Didn't it also include gcc? How did it end up being only ~8MB?
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: Calling all Linux Kernel developers!
« Reply #108 on: October 28, 2012, 12:13:16 pm »
Nope, it did not include GCC on the target filesystem.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #109 on: October 28, 2012, 12:59:36 pm »
Arg, accidentally deleted my last post.

Compiled the image, only 30MB :)

Has lua, microperl, and some libraries.

I'll upload it later on after I am done with my schoolwork.

EDIT: Dang it, i only get a colorful screen of garbage when I boot it. (Using the pre made zImage)
« Last Edit: October 28, 2012, 01:47:38 pm by merauder75 »
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: Calling all Linux Kernel developers!
« Reply #110 on: October 28, 2012, 02:04:36 pm »
The kernel image posted somewhere above should do the job :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #111 on: October 29, 2012, 12:23:04 pm »
Got my image working. Has lua and nano

Log in is a bit messed up, the user is "default"

Lua works nicely, including io stuff.

I attached the image for people who want it.

Also, note for others who want to build their own image, change the default getty console from "ttyS0" to "tty0", so login will work.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #112 on: October 29, 2012, 02:23:36 pm »
Does this work for the Ti-nspire CX? If not is there anyway to get it working on a Ti-nspire CX?

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #113 on: October 29, 2012, 02:30:14 pm »
It definitely works on the CX CAS, it might work on the regular CX, don't really know. It's worth a try.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #114 on: October 29, 2012, 08:34:21 pm »
Noob question: how do I exit this?

edit: never-mind, you have to type exit. I feel like an idiot -_-
« Last Edit: October 29, 2012, 08:41:30 pm by Augs »

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #115 on: October 30, 2012, 05:05:42 am »
It works fine on a normal CX, though if using nover too it seems to fail. To me it always fails if I have my nspire overclocked. It hangs on the "keyboard p2/ mouse" message (don't know the exact message, but that one)

Some people need a high five in the face... with a chair.
~EC

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #116 on: October 30, 2012, 05:06:34 am »
Weird? overclocking shouldn't have any effect on running programs (except that they run faster)
I'm not a nerd but I pretend:

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #117 on: October 30, 2012, 06:19:21 am »
Overclocking shouldn't kill anything :S

Are you sure you used the latest kernel? The first kernel has a bug where it freezes when you touch the touchpad.

[ignorant message]does this have any uses at this time?[/ignorant]
As in, what can you do with this?

For the cool factor :) Why else do we program stuff for calculators? :P

Though, eventually, I would love it to have a OSS CAS software replacement. But that's a while away :P
« Last Edit: October 30, 2012, 06:25:45 am by tangrs »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Calling all Linux Kernel developers!
« Reply #118 on: October 30, 2012, 07:13:17 am »
Though, eventually, I would love it to have a OSS CAS software replacement. But that's a while away :P

I've have had plans for that for some time now, even before Nspire Linux was there.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #119 on: October 30, 2012, 08:55:25 am »
Hopefully, I can get Python to compile and run, though I think it might be too big. Can't hurt to try it :)

Currently, it fails on compiling the unicodeobject.h file, don't know why, something about variable declaration errors.

Python 2.7 on an Nspire, now THAT would be cool.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C