π
<-

[Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Regroupement de tous les tutoriaux Nspire.

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby parrotgeek1 » 30 Aug 2018, 00:44

critor wrote:I think it's been reported to work perfectly up to hardware revision AC.
Not sure about AD (manufacturing did start around January 2018), and no news since then.

It works.
User avatar
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 88.2%
 
Posts: 748
Joined: 29 Mar 2016, 01:22
Location: This account is no longer used.
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby critor » 30 Aug 2018, 09:29

Thanks. :)
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.9%
 
Posts: 41980
Images: 15839
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby Shirotaku » 01 Sep 2018, 23:31

Hello,

I've tried to compile nLoader myself, but I'm not really into this. When I try running the make_for_nMaker.sh script (no files modified, just downloaded from github), I get the following errors:

Show/Hide spoilerAfficher/Masquer le spoiler
sh .\make_for_nMaker.sh
CAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory
CAS_OS_no_patches
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory
NONCAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory


Maybe you can help me out a little bit? :)
User avatar
Shirotaku
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 0%
 
Posts: 25
Joined: 03 May 2018, 15:42
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby dfgdysd » 02 Sep 2018, 17:02

Has anyone successfully generated their own nLoader images with source? The images I generated were much smaller than the ones provided.

The one's I generated (nLoader_CAS_OS.bin.tns) are 57KB and do not work in emulator.

The pre-generated images (nLoader_CAS_OS.bin.tns) provided are 224KB and they DO work in emulator.

EDIT: ah nevermind I figured it out. it was OS related.
Last edited by dfgdysd on 02 Sep 2018, 19:22, edited 1 time in total.
User avatar
dfgdysd
Niveau 1: MD (Membre Débutant)
Niveau 1: MD (Membre Débutant)
Level up: 60%
 
Posts: 2
Joined: 02 Sep 2018, 16:56
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby parrotgeek1 » 02 Sep 2018, 18:40

Shirotaku wrote:Hello,

I've tried to compile nLoader myself, but I'm not really into this. When I try running the make_for_nMaker.sh script (no files modified, just downloaded from github), I get the following errors:

Show/Hide spoilerAfficher/Masquer le spoiler
sh .\make_for_nMaker.sh
CAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory
CAS_OS_no_patches
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory
NONCAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
ndless_loader.c: In function 'ndless_loader':
ndless_loader.c:79:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:80:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:82:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:83:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:85:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:86:6: note: here
case CX440_532:
^~~~
ndless_loader.c:89:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(cas == 1 && asicflags != 1) {
^
ndless_loader.c:98:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:100:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:101:6: note: here
case CX360_5XX:
^~~~
ndless_loader.c:149:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:150:6: note: here
case CX450_1180:
^~~~
ndless_loader.c:151:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:152:6: note: here
case CXC440_532:
^~~~
ndless_loader.c:153:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:154:6: note: here
case CX440_532:
^~~~
ndless_loader.c:155:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:156:6: note: here
case CXC360_546_550:
^~~~
ndless_loader.c:157:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
os_misc++;
~~~~~~~^~
ndless_loader.c:158:6: note: here
case CX360_5XX:
^~~~
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
find: paths must precede expression
Usage: find [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
C:/SH/sh.exe: D:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\bin/arm-none-eabi-ld.exe: cannot execute binary file
C:\SH\make.exe: *** [loader.elf] Error 126
C:\SH\mv.exe: loader.bin: No such file or directory


Maybe you can help me out a little bit? :)

You can't use Cygwin (or whatever you are using that has backslashes in paths), either use Linux, Mac or Ubuntu for Windows/WSL
User avatar
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 88.2%
 
Posts: 748
Joined: 29 Mar 2016, 01:22
Location: This account is no longer used.
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby parrotgeek1 » 02 Sep 2018, 18:41

dfgdysd wrote:Has anyone successfully generated their own nLoader images with source? The images I generated were much smaller than the ones provided.

The one's I generated (nLoader_CAS_OS.bin.tns) are 57KB and do not work in emulator.

The pre-generated images (nLoader_CAS_OS.bin.tns) provided are 224KB and they DO work in emulator.

Odd. What OS are you compiling on?
User avatar
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 88.2%
 
Posts: 748
Joined: 29 Mar 2016, 01:22
Location: This account is no longer used.
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby Shirotaku » 02 Sep 2018, 20:04

parrotgeek1 wrote:You can't use Cygwin (or whatever you are using that has backslashes in paths), either use Linux, Mac or Ubuntu for Windows/WSL


Have tried that in Ubuntu Subsystem:

Show/Hide spoilerAfficher/Masquer le spoiler
sh make_for_nMaker.sh
CAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
libgcc/_absvdi2.o: In function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
libgcc/_absvsi2.o: In function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
libgcc/_addvdi3.o: In function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
libgcc/_addvsi3.o: In function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
libgcc/_mulvdi3.o: In function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [loader.elf] Error 1
mv: cannot stat ‘loader.bin’: No such file or directory
CAS_OS_no_patches
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
libgcc/_absvdi2.o: In function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
libgcc/_absvsi2.o: In function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
libgcc/_addvdi3.o: In function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
libgcc/_addvsi3.o: In function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
libgcc/_mulvdi3.o: In function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [loader.elf] Error 1
mv: cannot stat ‘loader.bin’: No such file or directory
NONCAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
rm -f loader.bin loader.elf
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
libgcc/_absvdi2.o: In function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
libgcc/_absvsi2.o: In function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
libgcc/_addvdi3.o: In function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
libgcc/_addvsi3.o: In function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
libgcc/_mulvdi3.o: In function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [loader.elf] Error 1
mv: cannot stat ‘loader.bin’: No such file or directory


Pretty much the same in Kali Linux Subsystem:

Show/Hide spoilerAfficher/Masquer le spoiler
sh make_for_nMaker.sh
CAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
rm -f loader.bin loader.elf
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
arm-none-eabi-ld: libgcc/_absvdi2.o: in function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_absvsi2.o: in function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvdi3.o: in function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvsi3.o: in function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvdi3.o: in function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [_Makefile:18: loader.elf] Error 1
mv: cannot stat 'loader.bin': No such file or directory
CAS_OS_no_patches
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
rm -f loader.bin loader.elf
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
arm-none-eabi-ld: libgcc/_absvdi2.o: in function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_absvsi2.o: in function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvdi3.o: in function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvsi3.o: in function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvdi3.o: in function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [_Makefile:18: loader.elf] Error 1
mv: cannot stat 'loader.bin': No such file or directory
NONCAS_OS
rm -f *.o *.elf
rm -f ../ndless_loader.bin
arm-none-eabi-gcc -Os -Wall -W -marm -mcpu=arm926ej-s -nostdlib -nostartfiles -s -fPIE -ffreestanding -std=c11 -o ndless_loader.o -c ndless_loader.c
arm-none-eabi-ld -nostdlib -nostartfiles -e ndless_loader -PIE -T ldscript ndless_loader.o -o ndless_loader.elf
arm-none-eabi-objcopy -O binary ndless_loader.elf ../ndless_loader.bin
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
rm -f loader.bin loader.elf
find: paths must precede expression: `1'
find: paths must precede expression: `1'
find: paths must precede expression: `1'
arm-none-eabi-ld -nostdlib -nostartfiles -T ldscript -PIE -flto libgcc/*.o -o loader.elf
arm-none-eabi-ld: libgcc/_absvdi2.o: in function `__absvdi2':
libgcc2.c:(.text+0x28): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_absvsi2.o: in function `__absvsi2':
libgcc2.c:(.text+0x1c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvdi3.o: in function `__addvdi3':
libgcc2.c:(.text+0x54): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_addvsi3.o: in function `__addvsi3':
libgcc2.c:(.text+0x3c): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvdi3.o: in function `__mulvdi3':
libgcc2.c:(.text+0xd0): undefined reference to `abort'
arm-none-eabi-ld: libgcc/_mulvsi3.o:libgcc2.c:(.text+0x18): more undefined references to `abort' follow
make: *** [_Makefile:18: loader.elf] Error 1
mv: cannot stat 'loader.bin': No such file or directory
User avatar
Shirotaku
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 0%
 
Posts: 25
Joined: 03 May 2018, 15:42
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby shanecantrell11@yahoo.com » 14 Sep 2018, 05:40

I finished installing the nloader image. when i reset im stuck at loading screen with the bar about 10mm full and a red circle with an X in the middle under the loading bar. please help.
User avatar
shanecantrell11@yahoo.com
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 4
Joined: 14 Sep 2018, 05:37
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby critor » 14 Sep 2018, 11:35

Seems you didn't select the right files, and thus did generate and flash an unbootable image.

Try holding :nses: :nsme: :nsmo: while pressing and releasing the reset button on the back.
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.9%
 
Posts: 41980
Images: 15839
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: [Tuto] [EN/FR] Install nLoader / TI-Nspire CX

Unread postby Shirotaku » 14 Sep 2018, 15:06

parrotgeek1 wrote:You can't use Cygwin (or whatever you are using that has backslashes in paths), either use Linux, Mac or Ubuntu for Windows/WSL

Help pls :(
User avatar
Shirotaku
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 0%
 
Posts: 25
Joined: 03 May 2018, 15:42
Gender: Not specified
Calculator(s):
MyCalcs profile

PreviousNext

Return to Tutoriaux

Who is online

Users browsing this forum: No registered users and 2 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
831 utilisateurs:
>786 invités
>36 membres
>9 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)