PS2 not recognizing ELF??
Posted: Wed Feb 23, 2005 11:11 pm
Hi everyone, I've read through most of the forums and still cannot find a good answer to my problem/question... I'm hoping someone can point it out to me what went wrong...
I've downloaded the demo1 from the tutorial, and used the makefile to make a demo1.elf file.
I burnt this file on my DUO2 modded PS2 ver. 2. however the PS2 doesn't recognized it as a PS1 or PS2 disc and returns a disc read error. I've tried booting in both the PS1/PSX and PS2 mode.
Next I added a system.conf file along with the demo1.elf and insert it into the PS2 again.. it returns the same disc read error... now, a friend of mine has a DMS3 and he boots it into the DEV mode, and it actually ran the CD and displayed stuffs in demo1.elf
My question is am i missing something from that CD and DMS3 DEV mode just happened to fill it in for me, so that PS2 can read the disc I made?
In short, what other files do I need to insert into my disc as well as the demo1.elf to make it a complete disc so that I can boot off it normally and get the same result?
Anyone else has this same issue?
Below is how I burnt my CD...
-----------------------------------------------------------------------
NERO ver 6.6.0.0
-----------------------------------------------------------------------
NEW -> CD-ROM[ISO]
Multisession = No multisession
ISO = Data Mode [Mode 2 / XA]
File System = ISO 9660 only
File Name Length [ISO] = Max. of 31 Char (level 2)
Character Set [ISO] = ISO 9660 (standard ISO CD-ROM)
Relax Restriction: (box checked)
Allow path depth of more than 8 directories
Allow more than 255 characters in path
Relax Restriction: (box unchecked)
Do not add ';1' ISO file version extension
Burn: (box checked)
Determine maximum speed
Simulation
Write
Finalize CD (No further writing possible!)
Write Speed: 10x
Write Method: Track-at-once
Number of copies: 1
Buffer underun protection (box checked)
Burn: (box unchecked)
Use multiple recorders
Do a virus check before burning
-----------------------------------------------------------------------
Here is my MakeFile
-----------------------------------------------------------------------
CC=ee-gcc
AS=ee-as
LD=ee-elf-ld
OBJ_DIR = obj
CFLAGS = -Wall -W -EL -G0 -O0 -mips3 -nostdlib -DPS2_EE
C_SRC = g2.c demo1.c
S_SRC = crt0.s ps2_asm.s dma_asm.s gs_asm.s
C_OBJ = $(addprefix $(OBJ_DIR)/, $(C_SRC:.c=.o))
S_OBJ = $(addprefix $(OBJ_DIR)/, $(S_SRC:.s=.o))
demo1.elf: $(C_OBJ) $(S_OBJ)
@echo "-------------------------------------------------"
$(CC) $(CFLAGS) -Tlinkfile -o demo1.elf $(C_OBJ) $(S_OBJ) -Wl,-Map,demo1.map
$(OBJ_DIR)/%.o: %.c
@echo "-------------------------------------------------"
$(CC) -c $(CFLAGS) $< -o $@
$(OBJ_DIR)/%.o: %.s
@echo "-------------------------------------------------"
$(CC) -xassembler-with-cpp -c $(CFLAGS) $< -o $@
clean:
rm -f $(C_OBJ) $(S_OBJ) *.map *.elf
-----------------------------------------------------------------------
Here is my System.cnf file
-----------------------------------------------------------------------
BOOT2 = cdrom0:\DEMO1.ELF;1
VER = 1.10
VMODE = NTSC
-----------------------------------------------------------------------
I really appreciate anyone filling in for me here...
I tried to burn another disc using the .iso file from aura_for_laura_cd_version and it works fine from the CD and I don't even have to boot the PS2 in any mode...
I'm also wondering if my make file has errors?? anyways, really glad if someone can help me fill in these blanks...
I've also downloaded and installed the newest cygwin and compilers as well as all other gcc that are included... actually I followed one of the links here in the forum and get that installed...
can someone tell me how do I check if my downloads are the latest yet? i saw someone says to type "ee .... -v" or something in cygwin to see if it runs right, but then my cygwin says this command doesn't exists...
I shall end this lengthy help at this point...
Please if anyone can contribute, I'd really appreciate it...
thanks
I've downloaded the demo1 from the tutorial, and used the makefile to make a demo1.elf file.
I burnt this file on my DUO2 modded PS2 ver. 2. however the PS2 doesn't recognized it as a PS1 or PS2 disc and returns a disc read error. I've tried booting in both the PS1/PSX and PS2 mode.
Next I added a system.conf file along with the demo1.elf and insert it into the PS2 again.. it returns the same disc read error... now, a friend of mine has a DMS3 and he boots it into the DEV mode, and it actually ran the CD and displayed stuffs in demo1.elf
My question is am i missing something from that CD and DMS3 DEV mode just happened to fill it in for me, so that PS2 can read the disc I made?
In short, what other files do I need to insert into my disc as well as the demo1.elf to make it a complete disc so that I can boot off it normally and get the same result?
Anyone else has this same issue?
Below is how I burnt my CD...
-----------------------------------------------------------------------
NERO ver 6.6.0.0
-----------------------------------------------------------------------
NEW -> CD-ROM[ISO]
Multisession = No multisession
ISO = Data Mode [Mode 2 / XA]
File System = ISO 9660 only
File Name Length [ISO] = Max. of 31 Char (level 2)
Character Set [ISO] = ISO 9660 (standard ISO CD-ROM)
Relax Restriction: (box checked)
Allow path depth of more than 8 directories
Allow more than 255 characters in path
Relax Restriction: (box unchecked)
Do not add ';1' ISO file version extension
Burn: (box checked)
Determine maximum speed
Simulation
Write
Finalize CD (No further writing possible!)
Write Speed: 10x
Write Method: Track-at-once
Number of copies: 1
Buffer underun protection (box checked)
Burn: (box unchecked)
Use multiple recorders
Do a virus check before burning
-----------------------------------------------------------------------
Here is my MakeFile
-----------------------------------------------------------------------
CC=ee-gcc
AS=ee-as
LD=ee-elf-ld
OBJ_DIR = obj
CFLAGS = -Wall -W -EL -G0 -O0 -mips3 -nostdlib -DPS2_EE
C_SRC = g2.c demo1.c
S_SRC = crt0.s ps2_asm.s dma_asm.s gs_asm.s
C_OBJ = $(addprefix $(OBJ_DIR)/, $(C_SRC:.c=.o))
S_OBJ = $(addprefix $(OBJ_DIR)/, $(S_SRC:.s=.o))
demo1.elf: $(C_OBJ) $(S_OBJ)
@echo "-------------------------------------------------"
$(CC) $(CFLAGS) -Tlinkfile -o demo1.elf $(C_OBJ) $(S_OBJ) -Wl,-Map,demo1.map
$(OBJ_DIR)/%.o: %.c
@echo "-------------------------------------------------"
$(CC) -c $(CFLAGS) $< -o $@
$(OBJ_DIR)/%.o: %.s
@echo "-------------------------------------------------"
$(CC) -xassembler-with-cpp -c $(CFLAGS) $< -o $@
clean:
rm -f $(C_OBJ) $(S_OBJ) *.map *.elf
-----------------------------------------------------------------------
Here is my System.cnf file
-----------------------------------------------------------------------
BOOT2 = cdrom0:\DEMO1.ELF;1
VER = 1.10
VMODE = NTSC
-----------------------------------------------------------------------
I really appreciate anyone filling in for me here...
I tried to burn another disc using the .iso file from aura_for_laura_cd_version and it works fine from the CD and I don't even have to boot the PS2 in any mode...
I'm also wondering if my make file has errors?? anyways, really glad if someone can help me fill in these blanks...
I've also downloaded and installed the newest cygwin and compilers as well as all other gcc that are included... actually I followed one of the links here in the forum and get that installed...
can someone tell me how do I check if my downloads are the latest yet? i saw someone says to type "ee .... -v" or something in cygwin to see if it runs right, but then my cygwin says this command doesn't exists...
I shall end this lengthy help at this point...
Please if anyone can contribute, I'd really appreciate it...
thanks