From: ZhayTee <zh...@zh...> - 2002-09-16 18:46:33
|
Using the kernel-boot and sh4-cross-tools package provided on the sourceforge linuxdc project page, I managed to create a working 1ST_READ.BIN, or so I thought. Unfortunately, my dreamcast reboots after showing the SEGA license screen, so it's obviously not working properly. I can successfully burn and boot a disc featuring a 1ST_READ.BIN which hasn't been created on my system (such as the one which exists on the distribution by the cool and froody guys at m17n.org; it's just the ecos bootloader, but it does load properly), so it's rather obvious that I'm doing something wrong at some point when building my 1ST_READ.BIN. The only place I can see an error is here: [root@slartibartfast] ~/dc/kernel-boot# make kernel-boot.bin sh4-linux-objcopy -I binary -O elf32-sh-linux zImage.bin zImage.o sh4-linux-objcopy: Warning: Output file cannot represent architecture UNKNOWN! sh4-linux-objcopy -I binary -O elf32-sh-linux initrd.bin initrd.o sh4-linux-objcopy: Warning: Output file cannot represent architecture UNKNOWN! sh4-linux-gcc -ml -m4 -o kernel-boot.elf kernel-boot.S zImage.o initrd.o -nostdlib -nostartfiles -T boot.lds sh4-linux-objcopy -O binary kernel-boot.elf kernel-boot.bin [root@slartibartfast] ~/dc/kernel-boot# The kernel-boot.bin file is created, but those warnings from objcopy don't exactly look healthy. Any help would be appreciated. I'm so close, yet so far. :P --JT http://zhaymusic.com/ |