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

0 Members and 1 Guest are viewing this topic.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #975 on: August 20, 2013, 05:34:16 pm »
critor, I would be interested to know what the nspire+ keypad returns when it is put through this test attached to a regular clickpad.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #976 on: September 01, 2013, 07:09:46 pm »
How do you compile it from source? There's no nspire_defconfig like there used to be.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #977 on: September 02, 2013, 08:15:50 pm »
I found that there is. did you follow the directions in http://ourl.ca/17131;msg=271031? It is necessary to change the makefile to ARCH:=arm and CROSS_COMPILE:=your-tool-chain Step 4 can be discounted because the patch was added in after the post was made.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #978 on: September 02, 2013, 09:41:05 pm »
I've done that before (I was actually compiling my own kernel since November) with export ARCH=arm (no CROSS_COMPILE was needed), but now I'm using the new version from linux git, and theres no defconfig (which should be in arch/arm/configs). I could compile it, but I don't know exactly what CONFIGs I should enable.
« Last Edit: September 02, 2013, 09:42:19 pm by Legimet »

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #979 on: September 02, 2013, 09:47:51 pm »
You need to change that in the Makefile of the kernel.
It is around line 195.
before it read

ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=<something or other>

and you need to change it to

ARCH := arm
CROSS_COMPILE :=your-arm-prefix-     #mine is arm-none-eabi-



Are you using the kernel directly from Linus, or do you have tangrs's version? I am using Tangrs's version.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #980 on: September 03, 2013, 06:08:33 pm »
I'm using the one from linux git at kernel.org. No defconfig there.

In tangrs's version, you can just run "export ARCH=arm" before, and the nspire_defconfig automatically uses arm-none-eabi. ;)

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #981 on: September 11, 2013, 07:42:34 pm »
For the keypad test, if there is no keypad inserted, the program returns the same values as an Nspire CAS clickpad, around 570-580.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #982 on: October 12, 2013, 12:44:04 pm »
If you're trying to compile the version with DTB support, you have to configure it yourself.
Basically, enable everything with "NSPIRE" or "ZEVIO" in its name and also "SP804" watchdog and "CLCD" LCD driver.
Execute make dtbs and copy the dtb appropriate for your nspire onto the device.

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #983 on: October 12, 2013, 06:31:54 pm »
I don't see any zevio configs. And what are the names of the sp804 and clcd configs?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #984 on: October 12, 2013, 07:00:08 pm »
You have to enable support for them in the kernel config.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #985 on: November 11, 2013, 04:15:54 pm »
I hope this isn't already answered in the 66 pages, but would it be possible to boot an old version of redhat with this?
This used to contain a signature.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #986 on: November 11, 2013, 04:17:49 pm »
Anything which supports the ARM (v5) 3.x-Kernel should run fine.
openSUSE runs, so if redhat also has a special ARM release, it will very likely work.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #987 on: November 11, 2013, 04:23:29 pm »
Can you give a tutorial on how to do this?
This used to contain a signature.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #988 on: November 11, 2013, 04:28:49 pm »
You have to be able to boot from USB and put your redhat arm image onto it. Couldn't be any easier.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #989 on: November 11, 2013, 04:34:11 pm »
Not that, there are a bunch of red hat disk images, also what script would I use to boot?
This used to contain a signature.