Author Topic: Ndless 1.7 for TI-Nspire  (Read 134868 times)

0 Members and 1 Guest are viewing this topic.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #225 on: November 16, 2010, 05:16:04 pm »
Idk...

does anyone know? I would like to know.
Look underneath the keypad, where you can see it's connections, and check if they've been rubbed away.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #226 on: November 16, 2010, 05:56:06 pm »
I'm guessing it's a spring problem, considering how people describe it as a loose keypad. Fortunately, I don't have the problem myself. They should make it be held in with a better latch, and no spring.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #227 on: November 16, 2010, 06:05:08 pm »
ScoutDavid: I tried with hwti quite a long time to find the JTAG pins on the dock connector without success.

aww, that stinks. Oh well, we will find a solution sooner or later

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #228 on: November 21, 2010, 04:29:10 pm »
I was dedicating my time to the GDB debugging feature of the upcoming release of Ncubate. I will look into the freeze issues of Ndless after the release of Ncubate.

Now that Ncubate has been released, I can get back to Ndless.
And I have good news: the version without the hot reboot now works on real hardware :)
I need to get rid of a few annoying OS popups, and check the stability of this version before a SVN commit.

I am getting closer to a quite stable version :)
Ndless can be installed at least 3 times out of 4 without any crash.
No computer is required during the installation, the theta bug has disappeared, and the program loader is stable.
There are still annoying popups displayed by the OS at installation time, but I should soon merge these changes back to the Subversion trunk to let you try them on your calculators.
« Last Edit: November 21, 2010, 04:29:35 pm by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #229 on: November 21, 2010, 04:36:14 pm »
Cool to hear! Can't wait to see the next version come out! :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 1.7 for TI-Nspire
« Reply #230 on: November 21, 2010, 04:52:04 pm »
but I should soon merge these changes back to the Subversion trunk to let you try them on your calculators.
Arf, can't wait :P
Good Job (God Job as well)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #231 on: November 21, 2010, 05:06:48 pm »
Great news! :D


Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #232 on: November 21, 2010, 05:24:11 pm »
Yaay!

*fb39ca4 buys some blue lobsters to celebrate

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Ndless 1.7 for TI-Nspire - Reworked!
« Reply #233 on: November 23, 2010, 04:18:50 pm »
Well, bring them with you: I am glad to be able to share this major rework of Ndless. Update your SVN working directory, build it and try it!

This version should be much more stable than the previous one. Computer-less installation is now always possible, and is lightning fast.

Prefer a full rebuild with make clean all.

I will consider the following issues (described in the first post) as closed unless some of you can still reproduce them:
- Random black screen after reboot at installation time
- Random crash when running programs on real hardware
- Variables changed to theta
- Broken uninstallation
- Reboot when turning the calculator on
- Broken document sorting

You may still fall in one of the frozen clock cases we can't do much about. Wait for a few seconds (the reboot is now automatic) and retry the installation. Tell us your success rate, it should hopefully be higher than before.

My top priority is now OS 2.x and Touchpad support, now perhaps possible with these changes, which could be brought before the end of the year with your help (try, suggest, fix and hack).
Ndless.me with the finest TI-Nspire programs

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 1.7 for TI-Nspire
« Reply #234 on: November 23, 2010, 04:21:20 pm »
w00t! Awesome to see this updated! :)

This version doesn't require re-installing every reboot, right?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #235 on: November 23, 2010, 04:30:02 pm »
It still does, this is another issue currently without solution. Fortunately the faster installation makes this less painful.
(but notice that this is a feature you won't find in any calculator shell. Ndless v1.x got you used to it :))
« Last Edit: November 23, 2010, 04:35:33 pm by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 1.7 for TI-Nspire
« Reply #236 on: November 23, 2010, 04:42:35 pm »
I've got a strange error during compilation :

utils_light_thumb.o: In function `ut_calc_reboot':
utils.c:(.text+0xa0): undefined reference to `__builtin_unreachable'


edit :
here is the complete trackback
Spoiler For Spoiler:
levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk$ cd ./tools/MakeSyscalls/;make;cd ../../;make clean;make
./mksyscalls.sh /media/JA/TI-Nspire/Nspire_IDC ../../include/syscalls.h ncas-1.7 cas-1.7
Generating syscalls_ncas-1.7.c...
..................................
Generating syscalls_cas-1.7.c...
..................................
./mksyscalls.sh /media/JA/TI-Nspire/Nspire_IDC ../../include/syscalls-light.h ncas-1.7 cas-1.7
Generating syscalls-light_ncas-1.7.c...
........
Generating syscalls-light_cas-1.7.c...
........
rm -rf dist
Clearing in tools...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
Clearing in build...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
Clearing in MakeLoader...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
Clearing in libndls...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
rm -rf *.o *.elf *.a
rm -f ../lib/libndls.a
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
Clearing in arm...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
rm -rf *.o *.bin *.elf *.xml *.zip
rm -rf ../calcbin/ndless_installer.tns ../calcbin/ndless_resources.tns
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
rm -rf calcbin
rm -rf bin lib
make all in tools...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
make all in build...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
cp nspire-gcc nspire-ld  nspire-as ../../bin
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
make all in MakeLoader...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
gcc -W -Wall MakeLoader.c -o ../../bin/MakeLoader
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
make all in libndls...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
../bin/nspire-gcc -Os -nostdlib -c sleep.c
'/home/levak/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar' rcs ../lib/libndls.a sleep.o
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
make all in arm...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
../bin/nspire-as -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c bootstrapper.S
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c stage1.c
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c ints.c -o ints_light_thumb.o
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls.c -o syscalls_light_thumb.o
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c utils.c -o utils_light_thumb.o
utils.c: In function 'ut_calc_reboot':
utils.c:83: warning: 'noreturn' function does return
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls-light_ncas-1.7.c
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls-light_cas-1.7.c
../bin/nspire-ld --no-startup -nostdlib bootstrapper.o stage1.o ints_light_thumb.o syscalls_light_thumb.o utils_light_thumb.o syscalls-light_ncas-1.7.o syscalls-light_cas-1.7.o -o ndless_installer.elf
utils_light_thumb.o: In function `ut_calc_reboot':
utils.c:(.text+0xa0): undefined reference to `__builtin_unreachable'
collect2: ld returned 1 exit status
make[1]: *** [ndless_installer.elf] Erreur 1
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
make: *** [subdirs] Erreur 1
levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk$

edit2 : In fact, make is true.
__builtin_unreachable() has never been defined in all the Ndless svn :

levak@levak-i7:~$ grep -Ri unreachable /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk
/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm/utils.c:   __builtin_unreachable();
Fichier binaire /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm/utils_light_thumb.o concordant
/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/include/os.h:   __builtin_unreachable();
levak@levak-i7:~$

edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html

... that doesn't work ?

edit4 :

In ndless-gcc :

# -fno-builtin: We prefer to use syscalls. And GCC's builtins expansion (http://www.ciselant.de/projects/gcc_printf/gcc_printf.html)
# is incompatible with the inline definition of most syscalls.
"$GCC" -mcpu=arm7tdmi -I "$DIRNAME/../include"  -fpic -fno-builtin "$@"

WHAT ?
« Last Edit: November 23, 2010, 05:37:35 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #237 on: November 23, 2010, 05:47:19 pm »
edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Are you sure you are using GCC 4.5.x ? This built-in does not exist in GCC 4.4.x and below.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 1.7 for TI-Nspire
« Reply #238 on: November 23, 2010, 05:49:57 pm »
That is strange.  It compiled fine for me (did you do a make clean all?) ???

One issue:  After installing Ndless on the emulator, it will not let me send files to it (it says "Unknown OS Version")

Also, on hardware, it installed on the second try. :)
« Last Edit: November 23, 2010, 05:50:48 pm by apcalc »


Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 1.7 for TI-Nspire
« Reply #239 on: November 23, 2010, 05:52:23 pm »
edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Are you sure you are using GCC 4.5.x ? This built-in does not exist in GCC 4.4.x and below.
Thank you for your response, and this will surely resolve the problem, cause I'm with the GCC 4.4x .
I'm looking forward to installing GCC 4.5x on ubuntu 10.04, any sugestions ?
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua