Author Topic: nspire Linux Questions  (Read 153132 times)

0 Members and 1 Guest are viewing this topic.

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #525 on: September 04, 2014, 06:55:57 pm »
I am thoroughly confused.
I am trying to get USB host to work and I ran "dd if=/*rootfs* of=/media/USB
and got 3 files,
xconfig_20140223_1734.ext2.bz2
xconfig_20140223_1734.tar.xz
and xconfig-latest.tar.xz.
This didn't look right to me but I decided to attempt to boot from it anyway.
Needless to say, it didn't work.
What did I do wrong?

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #526 on: September 04, 2014, 06:57:23 pm »
@Vogtinator Oh, that makes sense... I have gcc and make on my calc, how would I compile and install the module?
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: nspire Linux Questions
« Reply #527 on: September 04, 2014, 07:02:48 pm »
Quote
I am thoroughly confused.
I am trying to get USB host to work and I ran "dd if=/*rootfs* of=/media/USB
and got 3 files,
xconfig_20140223_1734.ext2.bz2
xconfig_20140223_1734.tar.xz
and xconfig-latest.tar.xz.
This didn't look right to me but I decided to attempt to boot from it anyway.
Needless to say, it didn't work.
What did I do wrong?
You need to decompress the files first.

Quote
@Vogtinator Oh, that makes sense... I have gcc and make on my calc, how would I compile and install the module?
No idea. Search for the module name, get the source and read the instructions. Also, don't compile on the calc, it'll take hours.

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #528 on: September 04, 2014, 07:04:46 pm »
All of them?


Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #529 on: September 04, 2014, 07:06:08 pm »
.bz2 is bzip2 compressed and .xz XZ-compressed.

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #530 on: September 04, 2014, 07:07:59 pm »
yeah but I started with only one file and ended up with 3...

Edit: I'm an idiot. tar xf...
« Last Edit: September 04, 2014, 07:12:05 pm by Vsod99 »

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #531 on: September 04, 2014, 07:12:40 pm »
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 Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #532 on: September 04, 2014, 07:17:55 pm »
No idea. Search for the module name, get the source and read the instructions. Also, don't compile on the calc, it'll take hours.


How would I setup a cross-compiler for linux 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 Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #533 on: September 04, 2014, 07:19:12 pm »
Okay I'm now getting a bunch of "operation not permitted" errors despite the fact that I'm root and using Sudo

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #534 on: September 04, 2014, 07:21:02 pm »
Okay I'm now getting a bunch of "operation not permitted" errors despite the fact that I'm root and using Sudo


you shouldn't need to use sudo if you are root...
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 Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #535 on: September 04, 2014, 07:22:42 pm »
Okay I'm now getting a bunch of "operation not permitted" errors despite the fact that I'm root and using Sudo


you shouldn't need to use sudo if you are root...
I still get the errors sudo or no sudo
Edit:

tar: ./var/tmp: Cannot create symlink to `../tmp': Operation not permitted
tar: ./var/spool: Cannot create symlink to `../tmp': Operation not permitted
tar: ./var/log: Cannot create symlink to `../tmp': Operation not permitted
tar: ./var/lib/pcmcia: Cannot create symlink to `../../tmp': Operation not permitted
tar: ./var/lib/misc: Cannot create symlink to `../../tmp': Operation not permitted
tar: ./var/lib/dbus: Cannot create symlink to `/tmp/dbus': Operation not permitted
tar: ./var/lib/dhcp: Cannot create symlink to `/tmp': Operation not permitted
tar: ./var/run: Cannot create symlink to `../tmp': Operation not permitted
tar: ./var/lock: Cannot create symlink to `../tmp': Operation not permitted
tar: ./var/cache: Cannot create symlink to `../tmp': Operation not permitted
tar: ./etc/mtab: Cannot create symlink to `/proc/mounts': Operation not permitted
tar: ./etc/fonts/conf.d/10-scale-bitmap-fonts.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf': Operation not permitted
tar: ./etc/fonts/conf.d/80-delicious.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/80-delicious.conf': Operation not permitted
tar: ./etc/fonts/conf.d/65-fonts-persian.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/65-fonts-persian.conf': Operation not permitted
tar: ./etc/fonts/conf.d/20-unhint-small-vera.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf': Operation not permitted
tar: ./etc/fonts/conf.d/69-unifont.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/69-unifont.conf': Operation not permitted
tar: ./etc/fonts/conf.d/90-synthetic.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/90-synthetic.conf': Operation not permitted
tar: ./etc/fonts/conf.d/51-local.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/51-local.conf': Operation not permitted
tar: ./etc/fonts/conf.d/50-user.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/50-user.conf': Operation not permitted
tar: ./etc/fonts/conf.d/60-latin.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/60-latin.conf': Operation not permitted
tar: ./etc/fonts/conf.d/45-latin.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/45-latin.conf': Operation not permitted
tar: ./etc/fonts/conf.d/40-nonlatin.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/40-nonlatin.conf': Operation not permitted
tar: ./etc/fonts/conf.d/30-urw-aliases.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/30-urw-aliases.conf': Operation not permitted
tar: ./etc/fonts/conf.d/65-nonlatin.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/65-nonlatin.conf': Operation not permitted
tar: ./etc/fonts/conf.d/30-metric-aliases.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/30-metric-aliases.conf': Operation not permitted
tar: ./etc/fonts/conf.d/49-sansserif.conf: Cannot create symlink to `/usr/share/fontconfig/conf.avail/49-sansserif.conf': Operation not permitted
tar: ./etc/resolv.conf: Cannot create symlink to `../tmp/resolv.conf': Operation not permitted
tar: ./usr/sbin/inetd: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/setlogcons: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/rdate: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/loadfont: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/fdformat: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/deluser: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/dnsd: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/readprofile: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/nandwrite: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/addgroup: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/killall5: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/adduser: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/nanddump: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/arping: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/ether-wake: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/crond: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/chroot: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/sbin/delgroup: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/xz: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/sort: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/tee: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/traceroute: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/renice: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/less: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/find: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/setsid: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/tftp: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/uudecode: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/xargs: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/microcom: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/nslookup: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/wc: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/logname: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/telnet: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/who: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/unzip: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/md5sum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/uniq: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/unxz: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/clear: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/[: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/lsof: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/lzma: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/lspci: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/cut: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/time: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/whoami: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/mesg: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/diff: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/fuser: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/xzcat: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/[[: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/top: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/cmp: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/ipcrm: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/tty: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/head: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/printf: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/sha512sum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/last: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/dos2unix: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/awk: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/chrt: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/vlock: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/unlzma: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/sha256sum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/sha1sum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/tail: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/od: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/reset: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/expr: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/lzcat: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/eject: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/yes: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/patch: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/hexdump: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/mkfifo: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/id: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/uptime: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/hostid: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/cksum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/dc: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/readlink: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/ipcs: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/dirname: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/passwd: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/killall: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/crontab: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/which: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/free: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/unix2dos: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/uuencode: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/ar: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/tr: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/fold: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/realpath: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/sha3sum: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/test: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/strings: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/logger: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/du: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/install: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/nohup: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/env: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/basename: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/bin/seq: Cannot create symlink to `../../bin/busybox': Operation not permitted
tar: ./usr/lib/terminfo: Cannot create symlink to `/usr/share/terminfo': Operation not permitted
tar: ./usr/lib/libuuid.so: Cannot create symlink to `../../lib/libuuid.so.1.3.0': Operation not permitted
tar: ./usr/lib/libblkid.so: Cannot create symlink to `../../lib/libblkid.so.1.1.0': Operation not permitted
tar: ./usr/lib/X11/app-defaults: Cannot create symlink to `../../../etc/X11/app-defaults': Operation not permitted
tar: Exiting with failure status due to previous errors

« Last Edit: September 04, 2014, 07:26:28 pm by Vsod99 »

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #536 on: September 04, 2014, 07:31:57 pm »
Make sure the flash drive is formatted as ext4
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: nspire Linux Questions
« Reply #537 on: September 04, 2014, 07:35:14 pm »
Yes. Also be sure you target the correct folder, otherwise you'll fuck your whole system up.
I accidentially untard it onto "/", requring reinstallation.

Quote
http://www.mediatek.com/AmazonS3/Downloads/linux/DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2
Doesn't look like it'll work, sadly. With some major fiddling you may get it to compile, but the kernel APIs change rapidly.

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: nspire Linux Questions
« Reply #538 on: September 04, 2014, 07:39:13 pm »

LOL that must have SUCKED!
How do you specify a directory?
Also, you do you format a drive in debian?
« Last Edit: September 04, 2014, 07:41:09 pm by Vsod99 »

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: nspire Linux Questions
« Reply #539 on: September 04, 2014, 07:44:10 pm »
@Vogtinator why won't it work?
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