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

0 Members and 1 Guest are viewing this topic.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #1155 on: March 22, 2015, 05:32:38 am »
Today is a good day :D

The USB OTG and seamless switching support patch has been accepted and will be merged into the next Linux version.

Does this mean USB will work with the latest kernel?

Yep, it should work out of the box in the next major release 4.1-rc1 onwards.
« Last Edit: March 23, 2015, 08:30:17 pm by tangrs »

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1156 on: March 22, 2015, 08:31:24 am »
Today is a good day :D

The USB OTG and seamless switching support patch has been accepted and will be merged into the next Linux version.

Does this mean USB will work with the latest kernel?

Yep, it should work out of the box in the next major release.

Woo!
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 Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1157 on: March 27, 2015, 03:19:19 pm »
Great to know, tangrs :)

Offline schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1158 on: April 04, 2015, 07:32:00 am »
Yep, it should work out of the box in the next major release 4.1-rc1 onwards.

Wondered how linux on nspire is doing after a year of not looking into it, and just found this.... Awesome!!  :hyper:  :thumbsup:
Hopefully nothing more will prevent Arch Linux from booting then

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1159 on: April 05, 2015, 08:28:31 pm »
If anyone wants a kernel build, I can make one when I have time.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1160 on: April 05, 2015, 08:41:52 pm »
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 schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1161 on: April 06, 2015, 04:20:14 am »
If anyone wants a kernel build, I can make one when I have time.

If you happen to do so, could you enable cgroups please  :)
(Arch won't boot without it, but I reckon it would be nice on the nspire: Small, clean base to start from, fast package manager, prebuilt rootfs on archlinuxarm.org)

Also thought about doing it, but tangrs github repo is only legacy code. (and frankly I'm short on spare time right now :/ ) Where would you take the code from, linux-next?

Is https://tiplanet.org/nspire-linux-builds/ updated?
I don't think so, at least with dtb version downloaded two days ago usb was still broken.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1162 on: April 06, 2015, 03:28:50 pm »
Yay, progress!
I built a kernel using the fairly old config and modified it a bit so it should work with systemd. Highly untested, might work just fine or ignite your calc.
Download

nspire-linux-builds haven't been updated in a long time, but it's being worked on, there are some minor issues.
Automated builds are planned.

Offline schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1163 on: April 06, 2015, 08:07:41 pm »
I built a kernel using the fairly old config and modified it a bit so it should work with systemd. Highly untested, might work just fine or ignite your calc.
Download
Well, it bootet without any smoke or flames :D Actually without any issues at all

uname -a says 4.0.0-rc6, but tangrs states that his code will land in 4.1-rc1 (accordingly I couldn't get any usb action either). But it's nice to see the calculator running the newest kernel of all my linux devices (plenty)   :3

I'm not sure where tangrs' code is right now, but I guess in linux-next. Not certain how adventureous it is to build from that though

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1164 on: April 07, 2015, 07:26:50 am »
Quote
Well, it bootet without any smoke or flames :D Actually without any issues at all
Great, so the config is working for systemd.

Quote
uname -a says 4.0.0-rc6, but tangrs states that his code will land in 4.1-rc1 (accordingly I couldn't get any usb action either). But it's nice to see the calculator running the newest kernel of all my linux devices (plenty)   :3
Whoops, I cloned the wrong repo. Well, the minor nspire-linux-builds issue is now solved, there will be new builds soon.

Quote
I'm not sure where tangrs' code is right now, but I guess in linux-next. Not certain how adventureous it is to build from that though.
It should compile just fine, there are automated tests running. (I know this because my first submission wasn't compatible with a specific arch not defining a macro...)

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #1165 on: April 08, 2015, 10:33:32 am »
I built a kernel using the fairly old config and modified it a bit so it should work with systemd. Highly untested, might work just fine or ignite your calc.
Download
Well, it bootet without any smoke or flames :D Actually without any issues at all

uname -a says 4.0.0-rc6, but tangrs states that his code will land in 4.1-rc1 (accordingly I couldn't get any usb action either). But it's nice to see the calculator running the newest kernel of all my linux devices (plenty)   :3

I'm not sure where tangrs' code is right now, but I guess in linux-next. Not certain how adventureous it is to build from that though

Yeah, it's sitting around in linux-next at the moment. It will (hopefully) get merged when the next merge window opens.

You can download the patches and apply them manually to your tree. It should apply cleanly to the 3.9 or 4.0rc kernel tree.

Patch #1
Patch #2
Patch #3
« Last Edit: April 08, 2015, 10:39:02 am by tangrs »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1166 on: April 11, 2015, 10:17:27 am »
http://tiplanet.org/nspire-linux-builds is running again, with linux-next builds and up-to-date buildroot images.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1167 on: April 11, 2015, 10:25:43 am »
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 #1168 on: April 11, 2015, 07:27:46 pm »

Offline schuhumi

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1169 on: April 17, 2015, 05:46:38 pm »
Mhmm.. Has anyone got usb working with the builds from http://tiplanet.org/nspire-linux-builds ?

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 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

lsmod end with "/proc/modules: No such file or directory"