Homebrew DS(i) Mode hacking progress thread

SeanStar555

Member
Newcomer
Joined
Dec 18, 2016
Messages
13
Trophies
0
Age
28
XP
79
Country
United States
Do you know what the problem is here?
Code:
make[1]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine'
cardEngine.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/cardEngine.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c -o cardEngine.o
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c: In function 'runCardEngineCheck':
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c:65:12: warning: passing argument 1 of 'dbg_hexa' makes integer from pointer without a cast [-Wint-conversion]
   dbg_hexa(cardStruct);
            ^
In file included from /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c:22:0:
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/debugToFile.h:27:5: note: expected 'u32 {aka long unsigned int}' but argument is of type 'volatile vu32 * volatile {aka volatile long unsigned int * volatile}'
u32 dbg_hexa(u32 n);
     ^
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c:72:12: warning: passing argument 1 of 'fileRead' makes pointer from integer without a cast [-Wint-conversion]
   fileRead(0x02140000,fileCluster,src,len);
            ^
In file included from /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/cardEngine.c:23:0:
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/fat.h:43:5: note: expected 'char *' but argument is of type 'int'
u32 fileRead (char* buffer, u32 cluster, u32 startOffset, u32 length);
     ^
sdmmc.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/sdmmc.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/sdmmc.c -o sdmmc.o
debugToFile.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/debugToFile.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/debugToFile.c -o debugToFile.o
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/debugToFile.c: In function 'dbg_printf':
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/debugToFile.c:34:2: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
  nocashMessage(message);
  ^
fat.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/fat.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/fat.c -o fat.o
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/fat.c: In function 'FAT_InitFiles':
/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/fat.c:309:3: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
   nocashMessage("!CARD_StartUp()");
   ^
card_engine_header.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/card_engine_header.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/card_engine_header.s -o card_engine_header.o
debugprint.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/debugprint.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/debugprint.s -o debugprint.o
bios.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/build/bios.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/source/bios.s -o bios.o
linking cardengine.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000037c0120
linking cardengine.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000037c0120
built ... cardengine.bin
rm /home/nicolo/Desktop/3ds/nds-bootstrap/cardengine/../data/cardengine.elf
make[1]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/cardengine'
#@[ -d cardengine ] || mkdir -p cardengine
#@make --no-print-directory -C build -f /home/nicolo/Desktop/3ds/nds-bootstrap/Makefile
make[1]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine'
sdmmc.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/sdmmc.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmc.c -o sdmmc.o
debugToFile.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/debugToFile.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/debugToFile.c -o debugToFile.o
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/debugToFile.c: In function 'dbg_printf':
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/debugToFile.c:33:2: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
  nocashMessage(message);
  ^
fat.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/fat.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/fat.c -o fat.o
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/fat.c: In function 'FAT_InitFiles':
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/fat.c:309:3: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
   nocashMessage("!CARD_StartUp()");
   ^
sdmmcEngine.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/sdmmcEngine.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/include -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c -o sdmmcEngine.o
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c: In function 'checkIRQ_IPC_SYNC':
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c:188:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
   u32* current=irqHandler+1;
                ^
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c:193:13: warning: comparison between pointer and integer
   if(current==IRQ_IPC_SYNC) {
             ^
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c: At top level:
/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmcEngine.c:140:13: warning: 'restoreInterruptHandlerHomebrew' defined but not used [-Wunused-function]
static u32* restoreInterruptHandlerHomebrew (u32* addr, u32 size) {
             ^
bios.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/bios.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/bios.s -o bios.o
debugprint.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/debugprint.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/debugprint.s -o debugprint.o
sdmmc_engine_header.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/build/sdmmc_engine_header.d -x assembler-with-cpp -g -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/source/sdmmc_engine_header.s -o sdmmc_engine_header.o
linking sdengine.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000037c00a0
linking sdengine.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000037c00a0
built ... sdengine.bin
rm /home/nicolo/Desktop/3ds/nds-bootstrap/sdengine/../data/sdengine.elf
make[1]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/sdengine'
make[1]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader'
make[2]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build'
cp /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/../../data/cardengine.bin cardengine.bin
cardengine.bin
bin2s cardengine.bin | arm-none-eabi-as -o cardengine.bin.o
echo "extern const u8" `(echo cardengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo cardengine.bin | tr . _)`.h
echo "extern const u8" `(echo cardengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo cardengine.bin | tr . _)`.h
echo "extern const u32" `(echo cardengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo cardengine.bin | tr . _)`.h
cp /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/../../data/sdengine.bin sdengine.bin
sdengine.bin
bin2s sdengine.bin | arm-none-eabi-as -o sdengine.bin.o
echo "extern const u8" `(echo sdengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo sdengine.bin | tr . _)`.h
echo "extern const u8" `(echo sdengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo sdengine.bin | tr . _)`.h
echo "extern const u32" `(echo sdengine.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo sdengine.bin | tr . _)`.h
sdmmc.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/sdmmc.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/sdmmc.c -o sdmmc.o
hook.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/hook.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c -o hook.o
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c: In function 'hookNds':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:247:2: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
  nocashMessage("hookNds");
  ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:279:24: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  cardEngineLocation[3] = wordCommandAddr;
                        ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:245:7: warning: unused variable 'hookAccel' [-Wunused-variable]
  u32* hookAccel = NULL;
       ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c: At top level:
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:102:13: warning: 'hookInterruptHandlerHomebrew' defined but not used [-Wunused-function]
static u32* hookInterruptHandlerHomebrew (u32* addr, size_t size) {
             ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:133:13: warning: 'hookAccelIPCHomebrew2007' defined but not used [-Wunused-function]
static u32* hookAccelIPCHomebrew2007 (u32* addr, size_t size) {
             ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.c:163:13: warning: 'hookAccelIPCHomebrew2010' defined but not used [-Wunused-function]
static u32* hookAccelIPCHomebrew2010 (u32* addr, size_t size) {
             ^
arm9clear.arm.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/arm9clear.arm.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -marm -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/arm9clear.arm.c -o arm9clear.arm.o
encryption.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/encryption.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/encryption.c -o encryption.o
card_patcher.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/card_patcher.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c -o card_patcher.o
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c: In function 'getOffsetA9':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:46:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  debug[3] = end;
           ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:64:10: warning: return makes integer from pointer without a cast [-Wint-conversion]
   return NULL;
          ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:67:9: warning: return makes integer from pointer without a cast [-Wint-conversion]
  return addr;
         ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:48:9: warning: unused variable 'result' [-Wunused-variable]
     u32 result = 0;
         ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c: In function 'patchCardNds':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:72:2: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
  nocashMessage("patchCardNds");
  ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:135:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  debug[2] = cardEngineLocation;
           ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:143:11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  debug[5] = patches;
           ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.c:141:7: warning: unused variable 'cardPullOutPatch' [-Wunused-variable]
  u32* cardPullOutPatch = (u32*) patches[1];
       ^
fat.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/fat.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/fat.c -o fat.o
dldi_patcher.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/dldi_patcher.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/dldi_patcher.c -o dldi_patcher.o
boot.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/boot.d -g -Wall -Os -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c -o boot.o
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c: In function 'loadBinary_ARM7':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:211:2: warning: implicit declaration of function 'nocashMessage' [-Wimplicit-function-declaration]
  nocashMessage("loadBinary_ARM7");
  ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c: In function 'quickFind':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:281:8: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
    if (memcmp (&data[i*sizeof(int)], search, searchLen) == 0) {
        ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c: In function 'main':
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:71:30: warning: passing argument 1 of 'copyLoop' makes pointer from integer without a cast [-Wint-conversion]
#define SD_ENGINE_LOCATION   0x037C0000
                              ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:344:12: note: in expansion of macro 'SD_ENGINE_LOCATION'
  copyLoop (SD_ENGINE_LOCATION, (u32*)cardengine_bin, cardengine_bin_size);
            ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:114:20: note: expected 'u32 * {aka long unsigned int *}' but argument is of type 'int'
static inline void copyLoop (u32* dest, const u32* src, u32 size) {
                    ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:66:18: warning: passing argument 1 of 'patchCardNds' makes pointer from integer without a cast [-Wint-conversion]
#define NDS_HEAD 0x02FFFE00
                  ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:346:15: note: in expansion of macro 'NDS_HEAD'
  patchCardNds(NDS_HEAD,SD_ENGINE_LOCATION);
               ^
In file included from /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:53:0:
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.h:29:5: note: expected 'const tNDSHeader * {aka const struct sNDSHeader *}' but argument is of type 'int'
u32 patchCardNds (const tNDSHeader* ndsHeader, u32* cardEngineLocation);
     ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:71:30: warning: passing argument 2 of 'patchCardNds' makes pointer from integer without a cast [-Wint-conversion]
#define SD_ENGINE_LOCATION   0x037C0000
                              ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:346:24: note: in expansion of macro 'SD_ENGINE_LOCATION'
  patchCardNds(NDS_HEAD,SD_ENGINE_LOCATION);
                        ^
In file included from /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:53:0:
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/card_patcher.h:29:5: note: expected 'u32 * {aka long unsigned int *}' but argument is of type 'int'
u32 patchCardNds (const tNDSHeader* ndsHeader, u32* cardEngineLocation);
     ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:66:18: warning: passing argument 1 of 'hookNds' makes pointer from integer without a cast [-Wint-conversion]
#define NDS_HEAD 0x02FFFE00
                  ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:352:10: note: in expansion of macro 'NDS_HEAD'
  hookNds(NDS_HEAD, fileCluster, (const u32*)CHEAT_DATA_LOCATION, (u32*)CHEAT_EN
          ^
In file included from /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:56:0:
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/hook.h:26:5: note: expected 'const tNDSHeader * {aka const struct sNDSHeader *}' but argument is of type 'int'
int hookNds (const tNDSHeader* ndsHeader, u32 fileCluster, const u32* cheatData
     ^
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c: At top level:
/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/boot.c:270:12: warning: 'quickFind' defined but not used [-Wunused-function]
static u32 quickFind (const unsigned char* data, const unsigned char* search, u
            ^
read_bios.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/read_bios.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/read_bios.s -o read_bios.o
mpu_setup.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/mpu_setup.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/mpu_setup.s -o mpu_setup.o
load_crt0.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/load_crt0.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/load_crt0.s -o load_crt0.o
cheat_engine.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/cheat_engine.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/cheat_engine.s -o cheat_engine.o
bios.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/bios.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/bios.s -o bios.o
arm7clear.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/arm7clear.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/arm7clear.s -o arm7clear.o
debugprint.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/debugprint.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/debugprint.s -o debugprint.o
io_dldi.s
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build/io_dldi.d -x assembler-with-cpp -g -mthumb -mthumb-interwork -c /home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/source/io_dldi.s -o io_dldi.o
linking load.elf
built ... load.bin
make[2]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader/build'
make[1]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootloader'
make[1]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootstub'
arm-none-eabi-gcc -Wl,-Ttext=0 -x assembler-with-cpp -nostartfiles -nostdlib bootstub.s -o bootstub.elf
arm-none-eabi-objcopy -O binary bootstub.elf ../data/bootstub.bin
make[1]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/bootstub'
make[1]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/arm7'
make[2]: Entering directory '/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/build'
fifocheck.c
arm-none-eabi-gcc -MMD -MP -MF /home/nicolo/Desktop/3ds/nds-bootstrap/arm7/build/fifocheck.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -march=armv4t -mthumb -mthumb-interwork -I/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/build -I/opt/devkitpro/libnds/include -I/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/build -DARM7 -c /home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c -o fifocheck.o
/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c: In function 'fifocheck':
/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c:6:3: error: 'REG_SCFG_ROM' undeclared (first use in this function)
   REG_SCFG_ROM = 0x703;
   ^
/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c:6:3: note: each undeclared identifier is reported only once for each function it appears in
/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c:7:40: error: 'REG_SCFG_CLK' undeclared (first use in this function)
   if(fifoCheckValue32(FIFO_USER_07)) { REG_SCFG_CLK=0x0181; }
                                        ^
/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/source/fifocheck.c:8:3: error: 'REG_SCFG_EXT' undeclared (first use in this function)
   REG_SCFG_EXT = 0x93A40000; // NAND/SD Access
   ^
/opt/devkitpro/devkitARM/base_rules:84: recipe for target 'fifocheck.o' failed
make[2]: *** [fifocheck.o] Error 1
make[2]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/arm7/build'
Makefile:99: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/nicolo/Desktop/3ds/nds-bootstrap/arm7'
Makefile:140: recipe for target 'arm7/nds-bootstrap.elf' failed
make: *** [arm7/nds-bootstrap.elf] Error 2

You need ahezard's fork of libnds: https://github.com/ahezard/libnds

Compile it and stick it in with devkitPro.

This:
Code:
  File "patch_ndsheader_dsiware.py", line 195, in <module>
    srlHeader=SrlHeader._make(unpack_from(srlHeaderFormat, data))
struct.error: unpack_from requires a buffer of at least 384 bytes

Also, here the log if you'd like it.
C:\Users\Slattz\Desktop\nds-bootstrap-card>bash build_cia.sh
Nintendo DS rom tool 1.50.3 - Dec 12 2015
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
failed to open input file: 'nds-bootstrap.arm9.elf'
Dynamically Linked Disk Interface patch tool 1.24.0 by Michael Chisholm (Chishm)

Trying "dldi/dsisd.dldi"
Cannot open "dldi/dsisd.dldi" - No such file or directory
Dynamically Linked Disk Interface patch tool 1.24.0 by Michael Chisholm (Chishm)

Trying "dldi/dsisd.dldi"
Cannot open "dldi/dsisd.dldi" - No such file or directory
Patching file : bootstrap.nds
Traceback (most recent call last):
File "patch_ndsheader_dsiware.py", line 195, in <module>
srlHeader=SrlHeader._make(unpack_from(srlHeaderFormat, data))
struct.error: unpack_from requires a buffer of at least 384 bytes
Patching file : bootstrap-dldi.nds
Traceback (most recent call last):
File "patch_ndsheader_dsiware.py", line 195, in <module>
srlHeader=SrlHeader._make(unpack_from(srlHeaderFormat, data))
struct.error: unpack_from requires a buffer of at least 384 bytes
Patching file : bootstrap-nogba.nds
Traceback (most recent call last):
File "patch_ndsheader_dsiware.py", line 195, in <module>
srlHeader=SrlHeader._make(unpack_from(srlHeaderFormat, data))
struct.error: unpack_from requires a buffer of at least 384 bytes
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: bootstrap.nds
[!] Input Error, see 'c:\Users\Slattz\Desktop\nds-bootstrap-card\make_cia.exe -h' for more info
[!] Failed to generate cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: bootstrap-dldi.nds
[!] Input Error, see 'c:\Users\Slattz\Desktop\nds-bootstrap-card\make_cia.exe -h' for more info
[!] Failed to generate cia

You need to compile it first..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nice. Which operating system are you installing?
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, windows 10 and some linux distro like linux mint
  • Xdqwerty @ Xdqwerty:
    dualbooth
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yeah, I'd recommend having another OS just in-case you want to play games.
  • SylverReZ @ SylverReZ:
    At least Linux doesn't contain spyware than what Windows has.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, cuz of lag?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No. Whenever you use the internet on Windows, Microsoft collects personal data and installs bloatware that isn't necessarily needed, such as Edge.
  • SylverReZ @ SylverReZ:
    Speaking of which
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I recall @impeeza mentioned some trick about not having bloatware when installing windows where you set up your country to "world" or smh like that
    +1
  • SylverReZ @ SylverReZ:
    Yes, you can debloat the operating system, but in some cases for me it just reinstalls them.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I also recall my brother downloded a "non bloated" version of windows 11 on his pc
    +1
  • BigOnYa @ BigOnYa:
    "Why debloat? Why not embrace and enjoy my bloat?" - Gates
    +3
  • impeeza @ impeeza:
    @Xdqwerty yes, when you are installing Windows on the first steps you are asked for your current location, you MUST to select «international» so no bloatware is installed, because the bloatware is location based. if this night I have some time I will setup a VM and take screenshots.
    +2
  • BigOnYa @ BigOnYa:
    User Gates "Disliked" your answer.
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    Damn cleaned up 348GB's of crap I wasn't using with that lol
    +2
  • BigOnYa @ BigOnYa:
    But can it completely remove RealPlayer? Lol jk
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I remember at one point it being pretty much labeled as malware lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think my favorite one was that dancing purple gorilla... I uninstalled that thing from sooo many machine people would be like "Why is my computer so slow?" lol because this thing is using like 30% of your system resources.....
  • Psionic Roshambo @ Psionic Roshambo:
    This one lady... her son kept installing Kazaa... OK no problem the issue is he would download DBZ movies and they where amazing usually like 2-8KB in size lol can't remember how many times I had to format and reinstall windows over his stupidity. I even explained to him about file sizes multiple times...
    Xdqwerty @ Xdqwerty: @Psionic Roshambo, bonzibuddy?