Hey all,
I have psptoolchain running on both my 10.5 PPC Mac and a Debian machine. It runs without a hitch on my PPC, but on Debian it seems to be pumping out corrupted eboots...
... I compiled a program and put it on my PSP, but it showed up as corrupted data and gave me an 'I/O error' when I tried to delete it on the computer. Trying to delete it from the PSP wiped my memory stick!
Fortunately, my Mac allowed me to delete the file, but this seems to happen with everything I've compiled on the machine so far. I tried copying the eboot to a flash drive, taking it over to the Mac and copying it to the PSP, but the file didn't even show up on the flash drive when I plugged it into my Mac.
Help? Thanks so much!!
corrupted eboots under debian
What is the laptop? If it's a PPC (Mac) laptop you put linux on, the issue is that certain programs used by the toolchain to generate the EBOOT are not endian aware. So on linux on Big Endian systems, they generate bad files. Patches were made for those apps when building on OSX on older PPC systems. You need to apply those same patches to debian on your PPC.
If it's an x86/AMD64 laptop, then debian should work... Ubuntu certainly does, and it's based on debian. Maybe you're using an old toolchain. Be sure to compile the latest toolchain/libs from the psptoolchain/psplibraries scripts in the repo. The tutorial on how to set up the toolchain/libs in linux is here:
http://www.guztech.nl/index.php?view=ca ... &Itemid=56
If it's an x86/AMD64 laptop, then debian should work... Ubuntu certainly does, and it's based on debian. Maybe you're using an old toolchain. Be sure to compile the latest toolchain/libs from the psptoolchain/psplibraries scripts in the repo. The tutorial on how to set up the toolchain/libs in linux is here:
http://www.guztech.nl/index.php?view=ca ... &Itemid=56
It's an x86 laptop, but I've done a little bit of digging-- turns out the problem is not with the toolchain, but with all files I try to copy from the computer!J.F. wrote:What is the laptop? If it's a PPC (Mac) laptop you put linux on, the issue is that certain programs used by the toolchain to generate the EBOOT are not endian aware. So on linux on Big Endian systems, they generate bad files. Patches were made for those apps when building on OSX on older PPC systems. You need to apply those same patches to debian on your PPC.
If it's an x86/AMD64 laptop, then debian should work... Ubuntu certainly does, and it's based on debian. Maybe you're using an old toolchain. Be sure to compile the latest toolchain/libs from the psptoolchain/psplibraries scripts in the repo. The tutorial on how to set up the toolchain/libs in linux is here:
http://www.guztech.nl/index.php?view=ca ... &Itemid=56
It's a new computer, so I wasn't aware of this yet; thanks for your help, though. :D
Sounds like you are removing the memorycard/closing the usb connection on the PSP before a proper unmount in Debian!
Debian, as most distributions so far, do have writecache even for writing to memory cards / usb-drives so it's very important to do a proper unmount before removing it or the filesystem will be trashed!
Debian, as most distributions so far, do have writecache even for writing to memory cards / usb-drives so it's very important to do a proper unmount before removing it or the filesystem will be trashed!
Oh! Okay, thanks SO much! :DGeijer wrote:Sounds like you are removing the memorycard/closing the usb connection on the PSP before a proper unmount in Debian!
Debian, as most distributions so far, do have writecache even for writing to memory cards / usb-drives so it's very important to do a proper unmount before removing it or the filesystem will be trashed!
YAY!
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am