Support and General Use > Hardware

CompactFlash based iPod mini

<< < (5/10) > >>

Thingfisher:
I've never written any code, but needing the minicf.diff patch for my 1G Ipod Mini with 4G CF drive, I just tried to compile my own patched version, without any success.  So, I am now resorting to groveling for build of a patched version.  Does anyone have such a build to share?

AlexP:
You are much better doing it yourself, as then you will be able to keep up to date.  It isn't very dificult, so with that in mind:

What happened when you tried to patch?  Can you build an unmodified rockbox?

Personally I'll help you build, but I won't provide it for you. (others may)

bluebrother:

--- Quote from: Thingfisher on September 19, 2007, 11:47:37 PM ---I've never written any code, but needing the minicf.diff patch for my 1G Ipod Mini with 4G CF drive, I just tried to compile my own patched version, without any success.
--- End quote ---
Did patching even worked? The last time I looked the patch on that wiki page was outdated, but readjusting it is quite easy. If you are able compiling you should easily be able to do so.

Thingfisher:
I ran the patch, and it didn't work.   I got an message that the patch failed.  Then I opened up the  source code in Word and did a manual cut of "#ifndef IPOD_NANO" and everything through the next #, and pasted in the patch from the .diff file.  When I went to compile, that failed.    Now, I'm curious:  how can I adjust the patch to make it work if it is outdated?  If I can do that, I can try the patch again.

heinimuecki:
i have a 1st gen mini with a 512MB cf card running
on rockbox.

i did it this way:
open the ata.c file from the firmware/drivers directory
replace the corresponding part of that file with this code:

http://forums.rockbox.org/index.php?topic=9354.msg72211#msg72211

replace the line
#ifndef IPOD_NANO

with this one

#ifndef IPOD_MINI
and with this one

#ifndef IPOD_MINI2G
if you have a 2nd gen

open the config-ipodmini.h file from the firmware/export directory
search for the line

#define HAVE_ADJUSTABLE_CPU_FREQ

and replace it with this one

#undef HAVE_ADJUSTABLE_CPU_FREQ

this is because the 1st gen minis sometimes are affected by
the so called frequency scaling bug
so you have to turn off that feature

after that i just ran

../tools/configure
make
make zip

out of my build directory and that did it for me
 :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version