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

0 Members and 4 Guests are viewing this topic.

Offline Mogolecho

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1140 on: September 12, 2014, 04:57:12 am »
Ok, I'm sorry, I wasn't using the old kernel, I probably replaced the old unintentionally. Now USB works perfectly, thanks !


Edit : how to make my rootfs (xconfig) writable ? It is on a USB key, it works, but the partition is readonly.


Edit 2 : If it can help you, output of 'mount' :
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (ro,relatime,size=29488k,nr_inodes=7372,mode=755)

Is it normal to have two things mounted on / ?
« Last Edit: September 12, 2014, 05:17:31 am by Mogolecho »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1141 on: September 12, 2014, 06:43:08 am »
Probably your FS got corrupted somehow, run fsck on your desktop to fix it.

Quote
Is it normal to have two things mounted on / ?
I have no idea why it is shown that way, but a directory can only be mountpoint of one device at a time, the newest mount is what you can see in the directory.
« Last Edit: September 12, 2014, 06:45:11 am by Vogtinator »

Offline Mogolecho

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1142 on: September 12, 2014, 06:47:44 am »
How do you install the filesystem into the USB device ? I formatted the partition in ext4, and uncompressed the .tar.xz with root privileges.Is this the right way ?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1143 on: September 12, 2014, 08:06:35 am »
Yes.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1144 on: September 12, 2014, 10:44: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.

Why not ask on one of the kernel mailing lists?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1145 on: September 14, 2014, 08:27:17 am »
Would it be possible to run Raspbian 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 Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1146 on: September 14, 2014, 09:38:34 am »
Quote
Would it be possible to run Raspbian on the nspire?
If Raspbian is armv5 compatible, yes. But it's probably armv6.

Quote
Why not ask on one of the kernel mailing lists?
You can, if you want to :P

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1147 on: September 14, 2014, 06:15:30 pm »
Yep, it's ARMv6, I thought it was ARMv5. bummer.
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 #1148 on: September 14, 2014, 07:13:20 pm »
Using raspbian makes very little sense. All of its packages are optimized for FPU support, which I don't believe the nspire has. There are ports of debian to armv5 platforms that you could potentially use, though.

Take a look at this page: https://www.debian.org/ports/arm/#about

The Marvell port in particular is ARMv5, and potentially others are as well.

The only real benefit obtained by using debian is the package manager, though, which takes up an impractical amount of space with package caches and such.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1149 on: September 14, 2014, 09:21:34 pm »
Quote
Why not ask on one of the kernel mailing lists?
You can, if you want to :P

I know nothing about kernel dev, either you or tangrs (where is he?) should ask.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #1150 on: January 03, 2015, 07:07:24 am »
Happy new year to everyone :)

I've gotten back into the TI-Nspire scene after a long year of uni and dealing with personal stuff. Currently working on the USB driver and almost getting seamless switching between USB host and gadget working :3

Quote
Why not ask on one of the kernel mailing lists?
You can, if you want to :P

I know nothing about kernel dev, either you or tangrs (where is he?) should ask.

Here :)

You could get Debian or any Linux distro that supports ARM to work on it. Personally, I've succeeded with Debian but I believe Arch Linux should be possible too. Rasbian wouldn't make sense since the TI-Nspire doesn't have hard float support.


Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1151 on: January 05, 2015, 09:06:07 pm »
Great to see you back :)

Hopefully the USB gets working soon.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #1152 on: February 22, 2015, 08:55:56 am »
I can't get my nspire to boot from the usb.. i will not recognise it :( not in a hub nor a mini usb otg cable..
on os 3.6

edit:
should add that I used the new kernel, the old one seems to work :)

edit2:
got python and clang working, takes around 12sec to compile hello world with clang :)
« Last Edit: February 22, 2015, 12:34:56 pm by floris497 »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #1153 on: March 20, 2015, 01:18:03 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.

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Calling all Linux Kernel developers!
« Reply #1154 on: March 20, 2015, 08:26:23 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?
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