Author Topic: Calling all Linux Kernel developers!  (Read 400443 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: Calling all Linux Kernel developers!
« Reply #1170 on: April 18, 2015, 10:54:20 am »
Quote
Uname says 4.0.0-rc7-next-20150410, but my usb thumbkeys won't work for some reason. lsusb ends without any output, no reaction on dmesg and no new device in /dev either.. (doesn't matter whether I connect otg before or after linux  boot)
I started a new kernel build with some more options activated, but there was no obvious USB-related option missing.
Are you using a CX or classic?

Edit: http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150418_1650.tns

Quote
I can't guarantee that my otg adapter works (a little wonky construction), but it did with the old kernel and when pluggin it in while in Nspire OS it complains properly about a device connected it can't handle
That's a good sign that it's at least enumerating properly, so it should leave a linux syslog message.

Quote
lsmod end with "/proc/modules: No such file or directory"
Modules aren't enabled.

Offline schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1171 on: April 18, 2015, 03:07:56 pm »
Quote
Uname says 4.0.0-rc7-next-20150410, but my usb thumbkeys won't work for some reason. lsusb ends without any output, no reaction on dmesg and no new device in /dev either.. (doesn't matter whether I connect otg before or after linux  boot)
I started a new kernel build with some more options activated, but there was no obvious USB-related option missing.
Are you using a CX or classic?
CX
Quote
Edit: http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150418_1650.tns

Quote
I can't guarantee that my otg adapter works (a little wonky construction), but it did with the old kernel and when pluggin it in while in Nspire OS it complains properly about a device connected it can't handle
That's a good sign that it's at least enumerating properly,
Yeah. Additionally to make absolutely sure the otg adapter works, I put the old kernel on it again -> otg works flawlessly
Quote
so it should leave a linux syslog message.

Both for otg connected before and after Linux boot. (only difference in that regard is, that the usb key's led is off when connected before boot, and on when connected after boot).

What commands could give more useful information about the issue?

One thing your new build solved though: Before the display got spammed with these (~1/sec):
Code: [Select]
cfg80211: Calling CRDA to update world regulatory domainNow it gives up with this by the time it finishes booting:
Code: [Select]
cfg80211: Exceeded CRDA call max attempts. Not calling CRDA

Offline schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1172 on: April 27, 2015, 05:58:12 am »
Built 4.1-rc1 with config from https://github.com/Vogtinator/nspire-linux-configs/blob/master/kernel/devicetree.config

It boots but the problem remains: No device in sight on either dmesg nor lsusb  ???

tangrs, would you be so kind and post the .config you used? :) Just would like to rule out that there's something misconfigured in Vogtinators one

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1173 on: April 27, 2015, 10:47:45 am »
I'd also guess that configuration is the issue, but in the last build "CC      drivers/usb/chipidea/ci_hdrc_zevio.o" is in the build log, so the right driver is built.

Quote
Built 4.1-rc1 with config from https://github.com/Vogtinator/nspire-linux-configs/blob/master/kernel/devicetree.config
That file isn't the latest version, it doesn't have all options enabled. I just pushed an updated one with the chipidea stuff enabled.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #1174 on: May 30, 2015, 06:51:52 am »
Built 4.1-rc1 with config from https://github.com/Vogtinator/nspire-linux-configs/blob/master/kernel/devicetree.config

It boots but the problem remains: No device in sight on either dmesg nor lsusb  ???

tangrs, would you be so kind and post the .config you used? :) Just would like to rule out that there's something misconfigured in Vogtinators one

You need to enable a few drivers to get USB fully working. I believe if any of those are missing, the USB driver won't load successfully.

  • Zevio GPIO driver - CONFIG_GPIO_ZEVIO
  • USB NOP transceiver - CONFIG_NOP_USB_XCEIV
  • Fixed voltage regulator driver - CONFIG_REGULATOR_FIXED_VOLTAGE

I will update the Hackspire wiki accordingly

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1175 on: May 31, 2015, 04:38:06 pm »
Quote
You need to enable a few drivers to get USB fully working. I believe if any of those are missing, the USB driver won't load successfully.
Wouldn't it be better to have them as dependencies, then?

Anyway, I started a build on tiplanet.org now, should be available in 10 minutes.

Edit: Finished: http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150531_2237.tns
« Last Edit: May 31, 2015, 05:02:47 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 #1176 on: June 01, 2015, 04:06:37 pm »
Quote
You need to enable a few drivers to get USB fully working. I believe if any of those are missing, the USB driver won't load successfully.
Wouldn't it be better to have them as dependencies, then?

Anyway, I started a build on tiplanet.org now, should be available in 10 minutes.

Edit: Finished: http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150531_2237.tns

Is that the same as http://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_latest.tns
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 Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1177 on: June 01, 2015, 06:42:49 pm »
It should be, it's a symlink pointing to the latest build.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1178 on: June 02, 2015, 10:21:56 am »
So would updating from the old kernel to the new dtb kernel be as simple as swapping out kernels and adding the dtb part to the .ll2 script?
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 Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1179 on: June 02, 2015, 07:07:19 pm »
In theory, yes, but there may be some breakages.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1180 on: June 05, 2015, 02:30:33 pm »
I tried updating my kernel, and it seemed to boot fine, but the keyboard wasn't working. Also, is there an IRC channel for nspire linux? If not, one should be created, eg. #nspire-linux
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 joshumax

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1181 on: June 21, 2015, 05:11:51 pm »
Updated at 7th Feb 2013

Can this run Android?

Theoretically, yes but it's too much work for it to be worth it.

Oops


Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1182 on: June 21, 2015, 09:42:49 pm »
Updated at 7th Feb 2013

Can this run Android?

Theoretically, yes but it's too much work for it to be worth it.

Oops



I hope this is legit and not just a screenshot of android being displayed on the Nspire.
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 c4ooo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1183 on: June 21, 2015, 09:48:41 pm »
Updated at 7th Feb 2013

Can this run Android?

Theoretically, yes but it's too much work for it to be worth it.

Oops


I hope this is legit and not just a screenshot of android being displayed on the Nspire.
Its probably a joke.
-German Kuznetsov
The impossible chemical compound.

Offline joshumax

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +3/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1184 on: June 22, 2015, 12:09:56 am »
Updated at 7th Feb 2013

Can this run Android?

Theoretically, yes but it's too much work for it to be worth it.

Oops


I hope this is legit and not just a screenshot of android being displayed on the Nspire.
Its probably a joke.

It's not a joke... I just don't have a life ;) I hope to release the completed port by tomorrow over at https://github.com/nDroidProject

Here's some more screenshots:



*update: huh, it looks like somebody even wrote an article about this: http://www.androidworld.it/2015/06/21/android-calcolatrice-texas-instruments-310800/