Linux on CX II CAS Status
17 posts
• Page 1 of 2 • 1, 2
Linux on CX II CAS Status
I have attempted to boot kernel and initrd from https://tiplanet.org/nspire_linux_builds/ using the CX device tree.
It does seem to be "kindof" working but the LCD content is garbled (see my post on GitHub : https://github.com/tangrs/nspire-linux- ... /issues/14)
I am wondering if we have the information for the LCD controller like for the CX II at https://hackspire.org/index.php?title=M ... controller
As far as I can tell, the LCD is PL111 which has not changed since CX1.
I am wondering what is the status of Linux on CXII(CAS) and what else is needed for support ?
It does seem to be "kindof" working but the LCD content is garbled (see my post on GitHub : https://github.com/tangrs/nspire-linux- ... /issues/14)
I am wondering if we have the information for the LCD controller like for the CX II at https://hackspire.org/index.php?title=M ... controller
As far as I can tell, the LCD is PL111 which has not changed since CX1.
I am wondering what is the status of Linux on CXII(CAS) and what else is needed for support ?
-
technogeek48
Niveau 2: MI2 (Membre Initié)- Posts: 9
- Joined: 16 Apr 2021, 05:14
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
It's working just fine with patches 
They are being upstreamed by Vogtinator, so I believe you can find them on the mailing list.

They are being upstreamed by Vogtinator, so I believe you can find them on the mailing list.
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14820
- Images: 1131
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
Re: Linux on CX II CAS Status
I have searched the mail archive and didn't find anything recent, but I will keep an eye on it.
Also wondering if there is any hardware difference between CX2 and CX2CAS ?
Also wondering if there is any hardware difference between CX2 and CX2CAS ?
-
technogeek48
Niveau 2: MI2 (Membre Initié)- Posts: 9
- Joined: 16 Apr 2021, 05:14
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
There are many differences between the CX I and CX II, but not between the CX I non-CAS and CX I CAS, and not the CX II non-CAS and the CX II CAS, AFAIK.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Posts: 6869
- Joined: 23 Dec 2009, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: -
- GitHub: debrouxl
Re: Linux on CX II CAS Status
You can try with kernel and device tree from https://github.com/Vogtinator/linux, cxII-clean branch. Most USB fixes and the keypad IRQ fix landed upstream already, I didn't get around to submit the rest yet.
The commits relevant for the LCD are "drm/panel-simple: Add TI-Nspire CX II panel" and the device tree which makes use of the new panel type.
The commits relevant for the LCD are "drm/panel-simple: Add TI-Nspire CX II panel" and the device tree which makes use of the new panel type.
-
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)- Posts: 217
- Joined: 29 Mar 2014, 15:55
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
Oh nice! I didn't think to look at the branches on your fork.
I have compiled it a couple times now with .config from https://github.com/Vogtinator/nspire-li ... ree.config and various cross compilers. I'm also using the new nspire-cx2.dts . However it just hangs on the linuxloader2 screen with some display corruption appearing after a while. This is actually the same behavior as the mainline kernel I compiled yesterday.
Which compiler are you using and is there any different config options needed ?
I have compiled it a couple times now with .config from https://github.com/Vogtinator/nspire-li ... ree.config and various cross compilers. I'm also using the new nspire-cx2.dts . However it just hangs on the linuxloader2 screen with some display corruption appearing after a while. This is actually the same behavior as the mainline kernel I compiled yesterday.
Which compiler are you using and is there any different config options needed ?
-
technogeek48
Niveau 2: MI2 (Membre Initié)- Posts: 9
- Joined: 16 Apr 2021, 05:14
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
Indeed, that config won't work. I put the config I'm using into a cxII branch: https://github.com/Vogtinator/nspire-li ... ean.config
-
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)- Posts: 217
- Joined: 29 Mar 2014, 15:55
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
Nice, that config boots! However, LCD is rotated and corrupted. I can also confirm that the keypad is working. I'm going to try to get a newer busybox next.
(screenshot : https://drive.google.com/file/d/1zHzOWE ... sp=sharing)
(edit: USB seems to work too)
(edit2: can successfully ping calculator over usb gadget cdc-eem)
(screenshot : https://drive.google.com/file/d/1zHzOWE ... sp=sharing)
(edit: USB seems to work too)
(edit2: can successfully ping calculator over usb gadget cdc-eem)
-
technogeek48
Niveau 2: MI2 (Membre Initié)- Posts: 9
- Joined: 16 Apr 2021, 05:14
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
Update: I compiled a small busybox userspace with buildroot and dropbear sshd, the system seems to be working fine except for LCD.
There is some drm related error in dmesg : https://gist.github.com/mj-sakellaropou ... 66c4d4f675
I have also noticed SPI address from hackspire wiki does not match device tree, although changing it does nothing.
There is some drm related error in dmesg : https://gist.github.com/mj-sakellaropou ... 66c4d4f675
I have also noticed SPI address from hackspire wiki does not match device tree, although changing it does nothing.
-
technogeek48
Niveau 2: MI2 (Membre Initié)- Posts: 9
- Joined: 16 Apr 2021, 05:14
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Linux on CX II CAS Status
technogeek48 wrote:Update: I compiled a small busybox userspace with buildroot and dropbear sshd, the system seems to be working fine except for LCD.
There is some drm related error in dmesg : https://gist.github.com/mj-sakellaropou ... 66c4d4f675
I have also noticed SPI address from hackspire wiki does not match device tree, although changing it does nothing.
My suspicion is that you're using a prebuilt linuxloader2 which still triggers LCD compatibility mode. That isn't reset when linux boots and causes a conflict. It should work after rebuilding it with a recent version of the SDK.
I pushed a clean rebuild of the latest git version to https://tiplanet.org/nspire-linux-builds/.
-
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)- Posts: 217
- Joined: 29 Mar 2014, 15:55
- Gender:
- Calculator(s):→ MyCalcs profile
17 posts
• Page 1 of 2 • 1, 2
Return to Native: Ndless, Linux, ...
Who is online
Users browsing this forum: ClaudeBot [spider] and 4 guests