Rockbox Development > Starting Development and Compiling
Compiling Rockbox and the bootloader for h140?
spazz:
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.0
My adventure so far is pretty well describe in that topic:
http://forums.rockbox.org/index.php?topic=21020.0
Btw. 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
DTSyX:
Hi,
I have exactly the same goal as You have. I also want to be able to use a hdd that has 240GB on my H140.
Did You succeed?
I guess many users would like to have an bootloader/rockbox version that enables their device to take larger hdds. I wonder: Would smaller hdds suffer from such an change? Because, if not, why isn't that feature implemented in the bootloader/Software in general?
Thanks for any answer.
DTSyX
Chronon:
Support for large disks is included in Rockbox 3.6 and current builds.
nathanpc:
Remember to put the code tags for the messages that you got. Help the forum to be more organized. ;)
torne:
Remember not to reply to threads that are six months old with vague advice where the problem in question has already been fixed in the current release. Help the forum to be less filled with useless posts. ;)
Navigation
[0] Message Index
[#] Next page
Go to full version