critor a écrit: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.
critor a écrit: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.
Shirotaku a écrit: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?
dfgdysd a écrit: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.
parrotgeek1 a écrit:You can't use Cygwin (or whatever you are using that has backslashes in paths), either use Linux, Mac or Ubuntu for Windows/WSL
parrotgeek1 a écrit:You can't use Cygwin (or whatever you are using that has backslashes in paths), either use Linux, Mac or Ubuntu for Windows/WSL
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 73 invités