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

0 Members and 1 Guest are viewing this topic.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Calling all Linux Kernel developers!
« Reply #1125 on: July 13, 2014, 01:19:46 am »
I used these files:
<screenshot>
Off topic, but: UHC! :D
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

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 #1126 on: July 13, 2014, 02:16:39 am »
So, I had this crazy idea to save space in linux on the nspire: replace glibc with uclibc. (I'm assuming that's what's in use right now)

glibc is quite slow and large. On my system (64-bit x86) it comes to 2 MB just in the /lib/libc-version.so, which is a significant portion of the available space on gs nspires. (Yes, I know the size will vary a lot between architectures but it's still big.)

uclibc size varies widely, based on the configuration you choose. (you can disable float support ENTIRELY if you want)

Here's a chart comparing several different libc implementations. I think the difference is fairly obvious. http://www.etalabs.net/compare_libcs.html

Here's a handy list of differences to note between glibc and uclibc: https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt

Let me know what you think!

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1127 on: July 13, 2014, 06:31:00 am »
Um, buildroot uses uclibc by default and I didn't change that :P

@Ivoah: Could you try some older versions of xconfig then and tell me which one works?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1128 on: July 13, 2014, 07:43:55 am »
@Vogtinator I won't be home for the next week, but I will try as soon as I can.
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 #1129 on: July 13, 2014, 02:22:07 pm »
Well never mind then. :P Carry on. You're doing good work.

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1130 on: August 19, 2014, 12:00:45 am »
How does one get usb peripherals to work? If I plug in my usb hub while on the Nspire home screen it tells me the peripheral is malfunctioning. If I attempt to do so inside the bootloader or inside linux nothing happens. I am very confused! D:

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1131 on: August 19, 2014, 09:30:01 am »
For questions, we have a seperate thread:
Quote
http://www.omnimaga.org/ti-nspire-projects/nspire-linux-questions/
Which kernel are you using?

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1132 on: August 19, 2014, 06:18:17 pm »
For questions, we have a seperate thread:
Quote
http://www.omnimaga.org/ti-nspire-projects/nspire-linux-questions/
Which kernel are you using?
Thanks for the thread link, I'll be sure to use that when/if I have further questions.
The kernel I am using is the newest one from the nightly builds on TI-Planet (http://tiplanet.org/nspire-linux-builds/kernel.html)(v3.6-26201-g341712f)

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1133 on: September 08, 2014, 10:27:52 pm »
I wrote a tutorial on how to install Debian on the calculator: http://wp.me/p4zkUM-1j
Please leave comments with any suggestions or things I might have missed.
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 Mogolecho

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1134 on: September 11, 2014, 01:01:43 pm »
Hello all,

I have problems with Linux on CX CAS, USB is not working. It was working in the past but I encountered some issues with the kernel (not related to USB).
A few days ago, I tried to reinstall Linux on my calculator, but it seems USB isn't working at all. Firstly, I suspected my cable (actually it was two cables connected by a homemade weld). I bought a new cable.
But it still not works. My USB Hub is powered by the sector and it works with the computer.

Nothing in dmesg, lsusb outputs nothing.
Any idea ? :/


PS : @Ivoah : broken link.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1135 on: September 11, 2014, 01:14:10 pm »
Has anything changed, boot cmdline, kernel version, initrd, linuxloader2?

Offline Mogolecho

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1136 on: September 11, 2014, 02:26:21 pm »
In theory, nothing has changed but my two Linux "packages" aren't working. I could try to re-download all the stuff and make another test.
The USB port of my calculator works when I'm using TILP or the TI proprietary software so I don't think that's a hardware problem.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1137 on: September 11, 2014, 03:44:46 pm »
Are you sure you are using the old kernel? The new one doesn't support USB.
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 #1138 on: September 11, 2014, 07:38:05 pm »
Why doesn't USB work in the new kernel? Are you working on it?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1139 on: September 11, 2014, 07:41:13 pm »
I don't know actually. I tried various devicetree options, but none of it seem to work as expected. I only tried OTG, though, as the host controller doesn't work reliable with "high speed" and the OTG one can switch to high speed without disconnecting.