Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: TexasRockbox on April 02, 2010, 07:41:59 PM

Title: SOLVED: Cygwin 64bit-Vista 240GB compiling/installing iPod 5.5g 64MB -- error
Post by: TexasRockbox on April 02, 2010, 07:41:59 PM
I'm stuck.

I'm attempting to build Release 3.5.1 rockbox.zip for 240GB Monster build and even trying to install rockbox.ipod into the firmware partition (OSOS fast boot  #4 in the wiki:  http://www.rockbox.org/wiki/IpodPatcher#4_OSOS_contains_only_Rockbox).

The configure, build, make, make zip all seem to run OK.  The resulting .zip *looks* OK -- files are where they are supposed to be, none seem to be missing.  The ipodpatcher -wf rockbox.ipod seems to run OK.

On boot I get :

*PANIC*
Unsupported physical sector size: 4096


I have tried adding & changing in ipodvideo.h with WinVi editor:

/* Add LBA48 for 240GB drive */
#define HAVE_LBA48

/* define this if the device has larger sectors when accessed via USB */
/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
#define MAX_LOG_SECTOR_SIZE 16384

/* define this if the hard drive uses large physical sectors (ATA-7 feature) */
/* and doesn't handle them in the drive firmware */
#define MAX_PHYS_SECTOR_SIZE 4096

I have also  tried:

/* Add LBA48 for 240GB drive */
#define HAVE_LBA48

/* define this if the device has larger sectors when accessed via USB */
/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
#define MAX_LOG_SECTOR_SIZE 2048

/* define this if the hard drive uses large physical sectors (ATA-7 feature) */
/* and doesn't handle them in the drive firmware */
#define MAX_PHYS_SECTOR_SIZE 1024

Also applied r24443 to ata.c to fix the build issue for 3.5.

Compiling with Vista 64-bit -- could that be the issue?

Thank you for your time!

UPDATE: I tried rmanic's 3.3 240GB build and loading the rockbox.ipod directly with no bootloader and it seems to work fine.  I must be doing something wrong.

Any ideas?

UPDATE 2:Went back redid the changes in vim, cleaned out the /build subdirectory of the old build remnants, rebuilt and the problem is resolved!

A 3.5.1 240GB Rockbox, and it boots fast!