Hi everybody, It's my first time compiling and I want to make sure I wont brick my Iriver cause I didn't compiled RB and especially the bootloader properly. I know, compiling the bootloader is something that is really not suggested especially for a newbie like me but since I didn't find any help so far I decided to take the bull by the horns and do it my self
Ok, so first thing first, I need a recompiled RB and BL because I installed a mk2431gah disk(250GB) in my Iriver and I have a error message (ATA error: -32) when I boot it up. So from what I read in this topic
http://forums.rockbox.org/index.php?topic=16423.0 I had to "...remove the call to check_registers() in ata.c".
I also had to add in my firmware/export/config-h120.h
/* Add LBA48 for my 240GB */
#define HAVE_LBA48
Got the info from that topic
http://forums.rockbox.org/index.php?topic=20493.0My adventure so far is pretty well describe in that topic:
http://forums.rockbox.org/index.php?topic=21020.0Btw. I tryed to contact LinusN(I know he is very busy...) and nlak for help for a couple months but no succes.
Alright, about compiling, please tell me if what I do is ok.
1- I fallowed "The Simplified Guide To Compiling The Rockbox Source Code" with succes for Rockbox after applying the changes I talked about.
2- With the ../tools/configure in B mode I typed make in the bootloader folder and got a bootloader.bin
3- Typed make in tools(to be able to use descramble...I'm not sure if I had to do this???)
4- Typed: ../tools/descramble -iriver ihp_120.hex ihp_120.bin
Got this message: "Model iHP-120/ihp140
File decoded correctly and all checksum matched!
Output file contains all header and checksums"
5- Typed: ../tools/mkboot ihp_120.bin bootloader.bin new.bin
Got this message: "Wrote 0x1fc5da bytes in new.bin"
6-Typed: ../tools/scramble -iriver new.bin new.hex
Got this message: "Model Model iHP-120/ihp140
File encoded successfully and checksum table built!"
7-I renamed the new.hex into ihp_120.hex and now I just have to put it in the main directory in my h140 and upgrade the firmware...
Did I forget anything? Do I have to use the fwpatcher?
Thanks in advance and sorry for the long post
Carl