Author Topic: nspire Linux Questions  (Read 156462 times)

0 Members and 1 Guest are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #345 on: January 24, 2013, 03:52:03 am »
I removed the logo in expandedconfig, if you can see it, you're using the wrong version.

Quote
To get a shell on the Gadget Serial device through putty, you need Nspire Linux to attach a shell to /dev/ttyGS0
Yup, edit /etc/inittab and copy the line tty0::respawn... and replace respawn with askfirst and tty0 with ttyGS0.

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: nspire Linux Questions
« Reply #346 on: January 24, 2013, 04:04:44 am »
I removed the logo in expandedconfig, if you can see it, you're using the wrong version.

I just got an idea from this. How about we add "-defconfig" and "-expandedconfig" to CONFIG_LOCALVERSION on the different builds so users can work out which config they're on by running uname -a?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nspire Linux Questions
« Reply #347 on: January 24, 2013, 04:24:01 am »
Quote
I just got an idea from this. How about we add "-defconfig" and "-expandedconfig" to CONFIG_LOCALVERSION on the different builds so users can work out which config they're on by running uname -a?
+1.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #348 on: January 24, 2013, 05:36:59 am »
I forgot that while searching through menuconfig.

But do we really need a small kernel?
They're only 0.2 MB in difference and they're almost the same but with more drivers.
Also, there's an option to include b43-firmware in buildroot.
Should I include it in xconfig only or in smallconfig, too?

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: nspire Linux Questions
« Reply #349 on: January 24, 2013, 05:44:30 am »
I forgot that while searching through menuconfig.

But do we really need a small kernel?
They're only 0.2 MB in difference and they're almost the same but with more drivers.
Also, there's an option to include b43-firmware in buildroot.
Should I include it in xconfig only or in smallconfig, too?

IMHO, the defconfig should be kept minimal - basically enough to get the system to boot. That way everyone is happy - people who want the smallest working kernel doesn't have headaches working out which options can be disabled from the defconfig and people wanting more features can opt-in the ones they want.

In other news, I have a little surprise to demonstrate a potential use for the USB gadget framework.

Attached is a special kernel that acts as a mass storage device to dump the boot1 ROM - because dumping boot1 using polydumper is so mainstream :P

No initrd required, it's all included in the kernel. Just boot with cx_use_otg if you're using a CX model.

http://tangrs.id.au/linux_snapshots/zImage.tns
« Last Edit: January 24, 2013, 05:56:19 am by tangrs »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #350 on: January 24, 2013, 09:41:27 am »
Quote
In other news, I have a little surprise to demonstrate a potential use for the USB gadget framework.
Why not everything together? CDC composite combindes storage, serial and ethernet ;)

Quote
IMHO, the defconfig should be kept minimal - basically enough to get the system to boot. That way everyone is happy - people who want the smallest working kernel doesn't have headaches working out which options can be disabled from the defconfig and people wanting more features can opt-in the ones they want.
Yes, that's the reason make *_defconfig exists. But we don't really need to provide builds, you can do more with expanded than with defconfig with only 0.2MB less free space on your device.
« Last Edit: January 24, 2013, 10:17:42 am by Vogtinator »

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: nspire Linux Questions
« Reply #351 on: January 29, 2013, 01:17:29 pm »
Vogtinator: the error you asked for
xauth:  file /root/.serverauth.2050 does not exist


X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol version 11
...don't have computer only phone

(==) Log file: "/var/log/Xauthority.0.log
Primary device is not PCI
(==) using default built-in configuration (12 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No drivers available.
Fatal server error: no screens found
...
"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: nspire Linux Questions
« Reply #352 on: January 29, 2013, 01:20:39 pm »
When did you download it? I thought I resolved this issue..
Also, your read-only '/' would be interesting, too.

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: nspire Linux Questions
« Reply #353 on: January 29, 2013, 01:25:02 pm »
probably a mistype
I think it is the most recent one, but I could be wrong. I'll try again when I get home.
"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: nspire Linux Questions
« Reply #354 on: January 29, 2013, 01:25:55 pm »
Ok, I'll try to build a new image. Should be ready in about an hour.

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #355 on: January 29, 2013, 02:48:59 pm »
I had that issue with all tiplanet builds, the only x server that worked for me is the one in vogtinators earlier build posted here.
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nspire Linux Questions
« Reply #356 on: January 29, 2013, 02:59:03 pm »
The buildroot builds on the TI-Planet server are handled by Vogtinator :)
But there must be a difference between the build posted here and the builds on the TI-Planet server, if one works for you and the others do not.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #357 on: January 29, 2013, 03:03:08 pm »
It should work now.
At "20130112_1221 for version 2012.11-460-gec394d6" they changed the config option names for X, I forgot to
enable mouse, keyboard and fbdev again  ::)
« Last Edit: January 29, 2013, 03:06:39 pm by Vogtinator »

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Re: nspire Linux Questions
« Reply #358 on: March 06, 2013, 09:33:00 pm »
I'm using a touchpad noncas, and I'm trying to get the USB builds to work. I'm using the kernel that I downloaded tonight and the rootfs that I downloaded tonight. I extracted the rootfs to a ext3 4GB flash drive, which I have as the only device on a USB hub. My bootscript is

kernel linux/zImage.tns
cmdline root=/dev/sda1 earlyprintk debug console=tty0 console=ttyAMA0,115200n8 rootdelay=10
boot

If anybody could help me with this I would greatly appreciate it.
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: nspire Linux Questions
« Reply #359 on: March 17, 2013, 08:06:51 pm »
Bump
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)