chishm's bootloader in new libnds, tutorial?
chishm's bootloader in new libnds, tutorial?
hello everyone
every time i trie to get this loader working the compiler says likely type-uning may break strict aliasing rules:
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:72: warning: likely type-pun
ning may break strict-aliasing rules: object '*src16' of main type 'short unsign
ed int' is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_
arm9.c:72 and may be aliased to object '_io_dldi' of main type 'unsigned int' wh
ich is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_arm9
.c:72.
template.c
arm-eabi-gcc -MMD -MP -MF /d/devkitPro/combined/arm9/build/template.d -g -Wall -
O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb-inte
rwork -I/d/devkitPro/combined/arm9/include -I/D/devkitPro/libnds/include -I/d/de
vkitPro/combined/arm9/build -DARM9 -c /d/devkitPro/combined/arm9/source/template
.c -o template.o
linking combined.arm9.elf
nds_loader_arm9.o: In function `runNds':
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
collect2: ld returned 1 exit status
make[2]: *** [/d/devkitPro/combined/arm9/combined.arm9.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/devkitPro/combined/arm9'
make: *** [arm9/combined.elf] Error 2
has someone got it to work, and if so, could you please say how?
every time i trie to get this loader working the compiler says likely type-uning may break strict aliasing rules:
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:72: warning: likely type-pun
ning may break strict-aliasing rules: object '*src16' of main type 'short unsign
ed int' is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_
arm9.c:72 and may be aliased to object '_io_dldi' of main type 'unsigned int' wh
ich is referenced at or around d:/devkitPro/combined/arm9/source/nds_loader_arm9
.c:72.
template.c
arm-eabi-gcc -MMD -MP -MF /d/devkitPro/combined/arm9/build/template.d -g -Wall -
O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb-inte
rwork -I/d/devkitPro/combined/arm9/include -I/D/devkitPro/libnds/include -I/d/de
vkitPro/combined/arm9/build -DARM9 -c /d/devkitPro/combined/arm9/source/template
.c -o template.o
linking combined.arm9.elf
nds_loader_arm9.o: In function `runNds':
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
d:/devkitPro/combined/arm9/source/nds_loader_arm9.c:243: undefined reference to
`_io_dldi'
collect2: ld returned 1 exit status
make[2]: *** [/d/devkitPro/combined/arm9/combined.arm9.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/devkitPro/combined/arm9'
make: *** [arm9/combined.elf] Error 2
has someone got it to work, and if so, could you please say how?
Re: chishm's bootloader in new libnds, tutorial?
Been trying to get it to work as well. Having issues mainly because fatlib has changed since he has posted the loader. I will post if i get it figured out.
Re: chishm's bootloader in new libnds, tutorial?
what's actually new in libfat, and who made the update? maybe he knows the problem. and if you solve it, i'm so happy if you could post the solution
Re: chishm's bootloader in new libnds, tutorial?
ok, after i removed that error about type punning i saw the source of boot.bin and I think it isn't compatible with the newest libnds. maybe we have to change it to let it work?
Last edited by Tomdev on Sun Feb 07, 2010 10:11 pm, edited 1 time in total.
-
- Posts: 1
- Joined: Thu Feb 05, 2009 3:35 am
Re: chishm's bootloader in new libnds, tutorial?
"disk io dldi" goes from libfat to libnds 1.3.1
so you should use "io_dldi_data" instead of "&_io_dldi"
you said load.bin is incompatible with newest libnds. could you give more details?
so you should use "io_dldi_data" instead of "&_io_dldi"
you said load.bin is incompatible with newest libnds. could you give more details?
Re: chishm's bootloader in new libnds, tutorial?
i already tried what you said, and the .bin file is incompatible i think because there are irq inits which break your codes, or doesn't this affect you program because it's still not working(although i don't get error's anymore)
Re: chishm's bootloader in new libnds, tutorial?
Chishm lent us an updated loader. I will ask him if he has a public link to it.
Re: chishm's bootloader in new libnds, tutorial?
that would be great , i had also spoken Chism in a post on gbadev where he said something about an updated loader
Re: chishm's bootloader in new libnds, tutorial?
yea, it doesn't work for me either. Which sucks, because I really need it.
Anyone know of another bootloader? (Please dont suggest HomebrewMenu, it doesn't work either (probably cuz its simply an old/modded version of chishms))
Anyone know of another bootloader? (Please dont suggest HomebrewMenu, it doesn't work either (probably cuz its simply an old/modded version of chishms))
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: chishm's bootloader in new libnds, tutorial?
HomebrewMenu works fine, we use it regularly.
Who is online
Users browsing this forum: No registered users and 0 guests