Author Topic: nspire Linux Questions  (Read 150855 times)

0 Members and 1 Guest are viewing this topic.

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #225 on: December 20, 2012, 09:16:32 am »
Thanks for the link. However, linux still freezes at the same point.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #226 on: December 20, 2012, 09:20:18 am »
Ok..
Then try the kernel with defconfig and use the initrd provided by tangrs in the other thread.

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #227 on: December 20, 2012, 09:27:31 am »
I tried to search for "initrd" using the search tool, but could not found any (except one from you which is way too big to fit on a Clickpad^^).
« Last Edit: December 20, 2012, 09:28:16 am by excale »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #228 on: December 20, 2012, 09:29:32 am »
http://ourl.ca/17131;msg=266194
He referred to it as ramdisk..
« Last Edit: December 20, 2012, 09:29:41 am by Vogtinator »

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #229 on: December 20, 2012, 09:34:06 am »
Thanks, that is way better. It now asks me for the username but... I have got this error every one second or so:
"can't open /dev/ttyAMA0: no such device of address"


EDIT: Same behaviour with the expanded zImage.
« Last Edit: December 20, 2012, 09:42:18 am by excale »

Offline gtugablue

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: nspire Linux Questions
« Reply #230 on: December 20, 2012, 09:37:41 am »
Thanks, that is way better. It now asks me for the username but... I have got some error every one second or so:
"can't open /dev/ttyAMA0: no such device of address"


Same

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #231 on: December 20, 2012, 09:45:18 am »
Ok, you just have to edit your boot script.

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #232 on: December 20, 2012, 09:47:39 am »
Now working, thanks!
Code: [Select]
cmdline root=/dev/ram console=ttyAMA0
« Last Edit: December 20, 2012, 09:48:05 am by excale »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #233 on: December 20, 2012, 09:49:15 am »
I simply use
Code: [Select]
cmdline root=/dev/ram

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #234 on: December 20, 2012, 09:53:22 am »
Well, this is what I was using...

I have just rebooted the Nspire, and I have the error again (did not changed anything).
One again, and no problem this time...

PS: Also, if I make a mistake in the login the first time, the keyboard then acts strangely: I can't only type things such as * or /.

Edit: What the? I was logged, tried a few commands, and it asked me for the login again! (could not type it as described above).
Edit2: Reboot, same problem, typed a dummy login name, and now I just have semi random strings (like P __[ord instead of Password^^).
« Last Edit: December 20, 2012, 09:59:33 am by excale »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #235 on: December 20, 2012, 09:59:17 am »
I think (and hope) it's not a kernel issue.
For me it works without problems (CX CAS).
Could you try http://tiplanet.org/nspire-linux-builds/initrd.tns with defconfig kernel?
« Last Edit: December 20, 2012, 09:59:36 am by Vogtinator »

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #236 on: December 20, 2012, 10:03:57 am »
OK, so, with just cmdline root=/dev/ram, it freezes as described in the first post.
With cmdline root=/dev/ram console=ttyAMA0, it also freezes, but nothing gets printed on the screen (except Tux).
« Last Edit: December 20, 2012, 10:05:01 am by excale »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #237 on: December 20, 2012, 10:04:39 am »
With console=tty0 maybe?
ttyAMA0 is the serial port..
« Last Edit: December 20, 2012, 10:05:13 am by Vogtinator »

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nspire Linux Questions
« Reply #238 on: December 20, 2012, 10:09:33 am »
It gives me the same result as "cmdline root=/dev/ram".

Offline gtugablue

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: nspire Linux Questions
« Reply #239 on: December 20, 2012, 10:38:57 am »
In case it helps, the last message before freezing is:
[<c0254df0>] (kernel_init+0x0/0x2a8) from <c00094f0>] (ret_from_fork+0x14/0x24)