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

0 Members and 2 Guests are viewing this topic.

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 #75 on: October 17, 2012, 01:12:24 am »
Quote
Can you make it connect to the internet
When USB host support works, Mass Storage Devices and USB network adapters should follow quickly :)

Quote
and do sudo apt-get install gnome? :P
Not only it wouldn't fit into the poor little calculator's memory, but it's way too heavyweight for the underpowered CPU of the Nspire, and additionally, Gnome is not designed for a 320x240 screen :D
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #76 on: October 17, 2012, 02:25:54 am »
I assume that you've watched the videos and read the documentation ? ;)

When Linux has booted, init has run and you've got a shell, you type commands like you can do on other Linux platforms :)
(nowadays, most users don't use the terminal on desktop or mobile Linux)
Yeah but I need some sort of image of linux right? That's where my problem is. I've never done that :P The files were in the topic, silly me XD
[edit] But how to use the new bootloader. It doens't automatically load linux when run. Is there a command for it or something?
« Last Edit: October 19, 2012, 04:18:46 am by ElementCoder »

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

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #77 on: October 21, 2012, 05:49:29 am »
It's as Lionel said. Once USB host works, things will get interesting very quickly (easier said than done though :( )

I understand the boot loader is confusing.

The best way is to write a boot script to avoid typing everything in all the time. Copy and paste the following into a file, name it something.ll2.tns and copy it to your calculator. Make sure you have ext.ll2=linuxloader2 in your ndless.cfg and you can just run the script every time you need to boot Linux. This script assumes your kernel and initrd are all in a folder called linux

Code: [Select]
kernel linux/zImage.tns
initrd linux/initrd.tns
cmdline debug root=/dev/ram console=tty0 console=ttyAMA0,115200n8
boot

(there's a bug in the command line parsing so ensure you have a newline after boot)

I've also attached the latest development kernel and ramdisk. As usual, run at your own risk :)
« Last Edit: October 21, 2012, 05:51:35 am by tangrs »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #78 on: October 21, 2012, 05:53:48 am »
Quote
Can you make it connect to the internet
When USB host support works, Mass Storage Devices and USB network adapters should follow quickly :)

Quote
and do sudo apt-get install gnome? :P
Not only it wouldn't fit into the poor little calculator's memory, but it's way too heavyweight for the underpowered CPU of the Nspire, and additionally, Gnome is not designed for a 320x240 screen :D


I was hoping to try and get an X server running on the frame buffer but X.org is a teensy too big for the ramdisk (~50MB) - not enough RAM to extract even when compressed. :(

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 #79 on: October 21, 2012, 06:14:47 am »
Oh, that much space for X.Org ? I expected somewhat less.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #80 on: October 21, 2012, 06:32:15 pm »
Sorry, does this allow you to run linux programs?
This used to contain a signature.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #81 on: October 21, 2012, 06:54:33 pm »
Sorry, does this allow you to run linux programs?

Yep.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Calling all Linux Kernel developers!
« Reply #82 on: October 21, 2012, 06:59:17 pm »
Oh, that much space for X.Org ? I expected somewhat less.
Of course you could save space by not including the full X installation, as in, only the framebuffer or nspire driver. Even tho, not even sure the nspire one it exists, so someone would have to port it, unless the framebuffer driver works fine.

Anyway there's the framebuffer with SDL, and you can play good games with them.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #83 on: October 21, 2012, 07:00:56 pm »
Oh, that much space for X.Org ? I expected somewhat less.
Of course you could save space by not including the full X installation, as in, only the framebuffer or nspire driver. Even tho, not even sure the nspire one it exists, so someone would have to port it, unless the framebuffer driver works fine.

Anyway there's the framebuffer with SDL, and you can play good games with them.

The framebuffer one should work fine. I just used a default installation provided by buildroot so I'm not sure how much of X.org is being included.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Calling all Linux Kernel developers!
« Reply #84 on: October 21, 2012, 07:17:58 pm »
You could look into getting wayland to work instead. It's suppose to be much lighter weight then X
/e

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Calling all Linux Kernel developers!
« Reply #85 on: October 21, 2012, 07:20:34 pm »
I thought of Wayland as well, it looks pretty promising once it goes stable.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #86 on: October 21, 2012, 07:29:36 pm »
Sorry, does this allow you to run linux programs?

Yep.
Wait, so I could download a linux program and run it on my nspire right now?
This used to contain a signature.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Calling all Linux Kernel developers!
« Reply #87 on: October 21, 2012, 07:43:17 pm »
Sorry, does this allow you to run linux programs?

Yep.
Wait, so I could download a linux program and run it on my nspire right now?
Yup. Well, it depends what's its dependencies (graphical programs are unlikely to work), but basically, yes.
« Last Edit: October 21, 2012, 07:44:13 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #88 on: October 21, 2012, 07:59:48 pm »
Sorry, does this allow you to run linux programs?

Yep.
Wait, so I could download a linux program and run it on my nspire right now?
Yup. Well, it depends what's its dependencies (graphical programs are unlikely to work), but basically, yes.

It's also likely you'd also have to compile it from source too since most Linux binaries aren't compiled for ARM.

Buildroot is very handy as it can build a crosscompiling toolchain and a ramdisk for you to use.
« Last Edit: October 21, 2012, 08:01:00 pm by tangrs »

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #89 on: October 21, 2012, 09:41:22 pm »
hm dang, I was hoping for snes9x
This used to contain a signature.