Rockbox Development > Starting Development and Compiling

Any easier way to compile?

(1/4) > >>

Obstinate:
I simply want to add the definition #define MAX_PHYS_SECTOR_SIZE 4096 to the iAudio X5 build, any of them, yet for some reason it won't allow me to compile. It says that certain definitions and makefiles are missing. I'm trying to make my MK1634GAL work, and apparently doing this worked for another person with an iPod-only hard drive. Anyone willing to lend a hand, or add the definition in and send me the compiled file by any chance? Thank you.

torne:
You shouldn't need to do that. Some time ago, I fixed the ATA implementation so that it will work with large-sector drives without requiring a custom build. The only drive that should require a custom build is if you use the drive from the 80GB iPod Video in a player other than the iPod Video. Later models of the Toshiba drives, as far as I know, emulate small-sector accesses correctly and thus will work with current builds of Rockbox (or the 3.6 release).

However, I only released new versions of the bootloader for iPods. What happens when you try? Is it the bootloader which fails with the "unsupported physical sector size" message? If so, then I suspect the X5 needs to have a new bootloader released...

Obstinate:
The drive I am using is essentially like using an iPod Video drive in anything but an iPod Video. The MK1634GAL is used in iPod Classics and has the iPod logo. I believe it needs a custom build to work, as it doesn't boot up natively, though a few users on here have gotten the iPod classic series drives to work.

I think the program cgwin didn't install correctly. It keeps saying that it is missing components. Then it isn't making the necessary components to build correctly.

torne:
No, as far as I know the iPod video 80gb drive is unique. It's extremely unlikely that the drive you have has the same defect (inability to emulate small sector accesses). The MAX_PHYS_SECTOR_SIZE change used to be needed for some upgraded drives to be used on an iPod video, because the wokaround for the standard drive's defect stopped them working. This was never needed on any other player and has now been fixed in any case.

If the drive is larger than 128GiB, you will need an updated bootloader, as the existing bootloader for the iaudio does not support the LBA48 access method needed for larger drives. No changes to the code are required, since LBA48 has already been enabled, but an updated bootloader has not been released. The main Rockbox build for your player already supports it.

I don't have an iaudio so can't test and release a new bootloader for it.

Obstinate:
I have the most updated bootloader on this. Just the drives with iPod icons have a strange firmware on it or something.

http://www.rapidrepair.com/phpbb/viewtopic.php?f=13&t=2186

No one knows for sure.

Navigation

[0] Message Index

[#] Next page

Go to full version