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

0 Members and 6 Guests are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Calling all Linux Kernel developers!
« Reply #60 on: October 09, 2012, 12:40:01 pm »
Goplat has been pretty silent for the past few months...

And there remains a major unresolved problem with Nspire emulation, which is preventing forward progress: your closed-source fork of nspire_emu, based on an outdated version of nspire_emu ;)

What? It still hasn't been updated to the latest version of nspire_emu after all those months and especially after all those posts about it?...
« Last Edit: October 09, 2012, 01:01:52 pm by critor »
TI-Planet co-admin.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #61 on: October 13, 2012, 05:32:28 am »
Lately, I've been working on a USB host driver. I must say, I really hate working with USB.
« Last Edit: October 13, 2012, 05:36:16 am by tangrs »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Calling all Linux Kernel developers!
« Reply #62 on: October 13, 2012, 05:54:54 am »
Ah well, good luck !

(Isn't there some official driver or at least documentation for the usb hardware btw ?)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

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 #63 on: October 13, 2012, 05:58:04 am »
I was under the impression it used a standard USB chip, meaning there's probably already a linux driver floating around somewhere.

Now, whether that driver is going to be a drop-in replacement or more work than it's worth is a different story.
« Last Edit: October 13, 2012, 06:03:20 am by willrandship »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #64 on: October 13, 2012, 06:28:58 am »
There is a generic EHCI platform driver which is what I'm using at the moment. Unfortunately that doesn't work well with the OTG controller since the generic driver was made for host-only controllers.

As of yet, I haven't found a way to configure the controller in a way which to completely disable device mode and become host-only which somewhat complicates things.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #65 on: October 14, 2012, 06:58:38 pm »
Extremely interesting :)
Of course you should upload the source code (of the kernel, device tree definitions, U-Boot, etc.) somewhere in public, tangrs ;)

Note that a Linux port for the Clickpad series would be even much more interesting than a port for the CX series, because on the Clickpad series, it is certainly possible to install Linux permanently (because it is definitely possible to change the contents of the boot1), and thereby be completely free of whatever lockdown TI will try - and fail, as usual - to put forth (instead of embracing developers and making its calculator more useful as a result) :)

And indeed, CAS vs. non-CAS (especially on the CX, which does not have interchangeable keyboards) is, for all practical purposes, only a difference of several bits in the ASIC ("CAS bit" and two leading hex digits of the product ID), as shown by RunOS (never released, in 2010) and OSLauncher (independently reimplemented, and released, in 2011).
Oh wow I didn't know we could replace Boot1 on the first OS or at least didn't remember. I guess that's a nice workaround to having to crack the RSA keys, but too bad the clickpad is discontinued...

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 #66 on: October 15, 2012, 02:21:21 am »
Quote
Oh wow I didn't know we could replace Boot1 on the first OS or at least didn't remember.
It's a recent development, though it predates tangrs' Linux port :)
An easy, temporary hardware modification turns production Clickpad calculators into prototype Clickpad calculators.

Modifying the boot1 in arbitrary ways opens the door to permanent install of arbitrary boot1, boot2 and OS (official in pristine state, modified official, or third-party). With more changes, we could sign stuff with our own RSA keys, and refuse official software if it hasn't been resigned ^^
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #67 on: October 16, 2012, 07:46:41 am »
Hands up for new, sexy bootloader! Woooo :P



This bootloader is a lot more stable and can load bigger ramdisks now (up to ~40MB on CX). It also uses nspireio to give the user a shell for changing various options before booting.

This version does no relocating by default which means the bootloader won't trash the Nspire OS at all (until Linux is booted of course).

Binary is attached.
Source code and documentation on Github
« Last Edit: October 16, 2012, 07:50:37 am by tangrs »

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 #68 on: October 16, 2012, 08:06:02 am »
Good job, as usual ;)

EDIT: one of the ways to detect the calculator model is the leading byte / leading two hex digits of the calculator's serial ID.
* CAS+, Clickpad CAS and Touchpad CAS: 0C;
* (Lab Cradle: 0D)
* Clickpad non-CAS, Touchpad non-CAS: 0E;
* CX CAS: 0F;
* CX non-CAS: 10;
* CM CAS: 11;
* CM non-CAS: 12.
« Last Edit: October 16, 2012, 08:41:33 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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 #69 on: October 16, 2012, 08:25:25 am »
Very nice :)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Calling all Linux Kernel developers!
« Reply #70 on: October 16, 2012, 01:31:11 pm »
Congratulations indeed :D
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #71 on: October 16, 2012, 02:05:29 pm »
 :thumbsup:
So how can I use it? I'm not familiar with setting these kind of thins up  ???

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

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 #72 on: October 16, 2012, 02:19:18 pm »
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)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Calling all Linux Kernel developers!
« Reply #73 on: October 16, 2012, 08:42:37 pm »
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)
I guess I'm not most users lol. I can't survive without a terminal on linux :P
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Calling all Linux Kernel developers!
« Reply #74 on: October 16, 2012, 09:39:13 pm »
Woo, looking nice!
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)
Can you make it connect to the internet and do sudo apt-get install gnome? :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!