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

0 Members and 3 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1080 on: April 05, 2014, 05:57:41 am »
Quote
I have Linux on my TI-Nspire CX (Non CAS), and it freezes at boot. Any way to get it to boot?
Which files did you use (kernel, initrd, bootscript, linuxloader) and when does it freeze?

Offline DJ Ryan Knutson

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 14
  • Rating: +1/-1
  • Programmer/music producer/DJ/gamer/furry.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1081 on: April 06, 2014, 11:20:23 am »
I use the linux loader, kernel, initrd, and script (minus the 'boot' command; i type it in). It freezes when I type 'boot' and press enter. I then have to hard reset it.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1082 on: April 06, 2014, 02:15:13 pm »
Did you download the DTB?

Offline DJ Ryan Knutson

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 14
  • Rating: +1/-1
  • Programmer/music producer/DJ/gamer/furry.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1083 on: April 06, 2014, 03:39:45 pm »
Whats that?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1084 on: April 06, 2014, 04:21:05 pm »
You got the files from here, did you?
Just download the appropriate dtb for your calc and load it with "dtb <filename>" in your bootscript before "boot"

Offline DJ Ryan Knutson

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 14
  • Rating: +1/-1
  • Programmer/music producer/DJ/gamer/furry.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1085 on: April 06, 2014, 04:41:57 pm »
Ah. I will try this.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1086 on: July 06, 2014, 07:24:28 pm »
I installed linux on my TI-Nspire CX CAS and it all works fine, except for the USB, I used the files here: http://tiplanet.org/nspire-linux-builds/ and I have a powered usb hub connected to my calc, and TI OS gives me the error message about an error with the connected device. lsusb shows nothing, and dmesg doesn't show anything useful. Any help?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

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: Calling all Linux Kernel developers!
« Reply #1087 on: July 06, 2014, 08:52:32 pm »
I just noticed on the wiki: It says "unknown" for the 84+ Link Port. I'm not saying I disagree with the following "do we need this" but I do want to point out that it just hooks into a few I/O pins on the CPU. It should be relatively easy to add support for it.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1088 on: July 07, 2014, 06:46:58 am »
Quote
I installed linux on my TI-Nspire CX CAS and it all works fine, except for the USB, I used the files here: http://tiplanet.org/nspire-linux-builds/ and I have a powered usb hub connected to my calc, and TI OS gives me the error message about an error with the connected device. lsusb shows nothing, and dmesg doesn't show anything useful. Any help?
USB isn't really working in the DTB builds. It should work if you use the "Older kernel" without DTB.

Quote
I just noticed on the wiki: It says "unknown" for the 84+ Link Port. I'm not saying I disagree with the following "do we need this" but I do want to point out that it just hooks into a few I/O pins on the CPU. It should be relatively easy to add support for it.
The GPIO driver is also just setting and clearing some bits, but still >200 lines. Also, which subsystem should it use?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1089 on: July 07, 2014, 08:21:55 am »
Sweet, thanks! Any idea when USB will be supported in the newer builds? Also, what is the difference between the defconfig and expanded builds for the old kernel?
« Last Edit: July 07, 2014, 08:24:16 am by Ivoah »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

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 #1090 on: July 07, 2014, 08:47:36 am »
I wonder if it's possible to have a small, light-weight GUI application with this, like a small menu based file browser. That'd up the functtionality by a lot.
I'm not a nerd but I pretend:

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1091 on: July 07, 2014, 11:15:43 am »
Well yes it is possible. Framebuffer apps exist for linux after all. Also there's midnight commander which is iirc in ncurses or similar.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1092 on: July 07, 2014, 12:27:25 pm »
Quote
Sweet, thanks! Any idea when USB will be supported in the newer builds?
Probably never, I don't know why it doesn't work if I simply tell the DTB the EHCI address and IRQ. Maybe some initialization differences.

Quote
Also, what is the difference between the defconfig and expanded builds for the old kernel?
It's simple: The defconfig has only those options activated which are required for booting. Just use the expanded kernel if you want to use it, it has most required drivers included.

Quote
I wonder if it's possible to have a small, light-weight GUI application with this, like a small menu based file browser. That'd up the functionality by a lot.
Depends which files you want to browse. I reverse-engineerd the highest level of the filesystem (reliance) and have a basic fuse driver ready, but the lower level (flashfx) isn't implemented yet.
« Last Edit: July 07, 2014, 12:29:30 pm by Vogtinator »

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1093 on: July 07, 2014, 10:05:48 pm »
When I boot linucx, the initial boot messages fly past, the USB drive blinks, and then it stops at this screen (attached). Any idea as to what's causing the kernel panic? Also, is the newer DTB build any better than the older one that works with USB?
« Last Edit: July 07, 2014, 10:07:19 pm by Ivoah »
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1094 on: July 08, 2014, 03:26:43 am »
Plug your OTG cable in the calculator while on TIOS without the USB drive, plug that in once the kernel says it's waiting for the rootfs.