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

0 Members and 2 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #555 on: January 12, 2013, 06:30:19 pm »
But one problem does still exist:
Edit: After reboot in linux the touchpad doesn't work anymore with nucleus, you have to reboot.
But it doesn't boot anymore and you have to run NAND-Tests everytime you reboot in linux.
I'll try disabling access with 1<<7 to 0x900B0018
With 1<<7 it doesn't damage the flash anymore, but the touchpad does still work only after a reboot.
I don't think the touchpad problem is too easy to find, but the flash problem has to be solved asap!
I didn't lose my data yet, but why is linux doing something with the NAND at all?

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #556 on: January 12, 2013, 06:33:11 pm »
But one problem does still exist:
Edit: After reboot in linux the touchpad doesn't work anymore with nucleus, you have to reboot.
But it doesn't boot anymore and you have to run NAND-Tests everytime you reboot in linux.
I'll try disabling access with 1<<7 to 0x900B0018
With 1<<7 it doesn't damage the flash anymore, but the touchpad does still work only after a reboot.
I don't think the touchpad problem is too easy to find, but the flash problem has to be solved asap!
I didn't lose my data yet, but why is linux doing something with the NAND at all?

The 1<<7 to protect the NAND only applies to the classics AFAIK. The CX uses some different ways to access the NAND so 1<<7 is probably undefined on the CX.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #557 on: January 12, 2013, 06:34:03 pm »
But it works! ???
At least there weren't any problems after 1<<7.
« Last Edit: January 12, 2013, 06:34:28 pm by Vogtinator »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #558 on: January 12, 2013, 06:38:34 pm »
But it works! ???
At least there weren't any problems after 1<<7.

Hmmm. I see. In that case, move the disable from classic.c to common.c. I'm in the middle of a huge, unstaged mess at the moment XD
« Last Edit: January 12, 2013, 06:39:57 pm by tangrs »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #559 on: January 12, 2013, 06:40:18 pm »
Quote
Hmmm. I see. In that case, move the disable from classic.c to common.c.
You put "/* Renable bus access to everything in case the OS disabled them */" there already.
I just changed "0" to "1<<7".
Maybe it doesn't work and I was just lucky the last few times?

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #560 on: January 12, 2013, 06:42:59 pm »
There's actually another write that I put into the start of nspire_classic_init.

Now I think about it, it should work because the bits should represent devices rather than addresses (which isn't what I initially thought).

Never mind :P
« Last Edit: January 12, 2013, 06:46:24 pm by tangrs »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #561 on: January 12, 2013, 06:44:41 pm »
My bad luck proves you right.. I just had to test the NAND again -.-
At least it took longer :)
« Last Edit: January 12, 2013, 06:44:52 pm by Vogtinator »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #562 on: January 12, 2013, 06:46:07 pm »
Oh really? Damn...

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #563 on: January 12, 2013, 06:48:04 pm »
Yeah, you should fix that :(
I don't know how, maybe don't map it at all?
« Last Edit: January 12, 2013, 06:48:11 pm by Vogtinator »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #564 on: January 12, 2013, 06:49:00 pm »
Yeah, you should fix that :(
I don't know how, maybe don't map it at all?

Now, I'm stumped. The NAND isn't actually mapped at all.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #565 on: January 12, 2013, 06:50:46 pm »
Did it happen to you, too?
If not, my device really hates me (even the reset-button doesn't work always)

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #566 on: January 12, 2013, 06:52:28 pm »
Did it happen to you, too?
If not, my device really hates me (even the reset-button doesn't work always)

It happens but definitely no where as often as yours o_O (only happened 3 times so far in all of booting Linux)

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #567 on: January 12, 2013, 06:59:29 pm »
Maybe I'm testing too much?
Now I'm worrying about my reset-button and flash..

Oh, now I remember what we have to support, too:
Charging the battery while running linux!
It doesn't work yet.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #568 on: January 12, 2013, 07:00:30 pm »
Maybe I'm testing too much?
Now I'm worrying about my reset-button and flash..

Oh, now I remember what we have to support, too:
Charging the battery while running linux!
It doesn't work yet.

That's part of what I'm working on. I'm still trying to figure out the USB PHY.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Calling all Linux Kernel developers!
« Reply #569 on: January 12, 2013, 07:10:55 pm »
*popcorn*


BTW : just wondering : Vogtinator do you have a USB stick connected to a HUB then your Nspire on your video ?
If not, is there any chance to explain us how to find your build ?
Thanks =)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua