|
|
Wiki > Main > IriverBoot (compare)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Difference: IriverBoot (r198 vs. r197)The iriver Rockbox Bootloader
Warnings and DisclaimersWARNING 1! The bootloader is still in development. If it malfunctions, you may not be able to restore the flash contents, and your player will be rendered USELESS!. You use Rockbox at your own risk! By installing Rockbox, you agree that Rockbox and its developers are not responsible for any damage to your player or loss of manufacturer's warranty that may result. Installing the Rockbox bootloader from SVNBe careful! Do NOT attempt to build your own bootloader from SVN unless you know for sure what you're doing. NOTE: this page applies only for H100 and H300 series! For Iriver H10 see IriverH10Port. Download and extract a recent version of the Iriver firmwareDirect links for iHP110 and iHP115
Direct links for iHP120, H120, iHP140 and H140None of these URLs work anymore. Consider using the mirror link below instead!
Direct links for H320 and H340
Mirror sitesIf the one you need doesn't work, you could try this page which has most of the above mirrored. You should try and get it from iriver first though. Both for your safety, and for the site's bandwidth's sake. Once you have unzipped the firmware file, you should have a file called "ihp_120.hex" (H120/140), "ihp_100.hex" (H110/115) or "H300.hex" (H320/340). Patching the iriver firmwareDownload bootloader.binYou need to download the appropriate bootloader.bin that fits your model. It's at the bottom of this page. Descramble the original firmwareH110 or H115: $ tools/descramble -iriver ihp_100.hex ihp_100.bin H120 or H140: $ tools/descramble -iriver ihp_120.hex ihp_120.bin H320 or H340: $ tools/descramble -iriver H300.hex H300.bin Merge the firmware and the boot loader into a new firmware fileH110 or H115: $ tools/mkboot ihp_100.bin bootloader/bootloader.bin new.bin H120 or H140: $ tools/mkboot ihp_120.bin bootloader/bootloader.bin new.bin H320 or H340: $ tools/mkboot -h300 H300.bin bootloader/bootloader.bin new.bin Scramble the new firmware file$ tools/scramble -iriver new.bin new.hex ChecksumsIf you used one of the attached bootloader(-version).bin, fwpatcher.exe or fwpatchernu.exe, your new.hex (or ihp_120.hex if you used a fwpatcher) should have one of these MD5 sums: H110/H115
H120/H140
H320/H340
Copy the patched firmware file to your iriverCopy the hex file you patched in Step 2 to the root of the iriver hard drive and make sure it is called "ihp_120.hex" (H120/140) , "ihp_100.hex" (H110/115) or "H300.hex" (H320/340). Linux example: $ mount /mnt/iriver $ cp new.hex /mnt/iriver/ihp_120.hex $ umount /mnt/iriver Install it on the iriverFollow the normal iriver firmware upgrade procedure (details are given below). Once completed, you should have a boot loader that tries to load Rockbox from disk whenever you start the player. iriver Firmware Upgrade procedure:
Once this is completed, when you now start your player up you should initially see a screen saying 'Rockbox Bootloader' at the top before the normal Iriver boot screen appears. You have now successfully installed the bootloader and are ready to install Rockbox itself.
Selecting which firmware boots on start upWhen you have installed Rockbox on your player, you will now be able to choose which firmware you want to use each time you turn on your player. H100: To start the original Iriver firmware, hold the record button down and press Play. To start the Rockbox firmware, simply press Play on its own. H300: Hold the Record button, and press Play/On. Continue holding both until you see a message telling you that it is starting the original firmware. Then, you may release Record but continue holding Play/On. The iRiver firmware detects if Play/On is pressed when it starts, and if it isn't being pressed shuts itself down. Note: When starting the original firmware from the remote with the main unit Hold switch on, you will need to hold the Play button until the iriver firmware has started. Otherwise you will get a "hold" message from the original firmware. Current versionH1xx Bootloader v6
H3xx Bootloader v5
Known issuesH300:
CommentsMatthiasM?: Bootloader v2: make sure that you have only one primary harddisk partition with FAT32 at your H3x0! Otherwise the Rockbox bootloader works but fails to load Rockbox itself. AlexanderSpyridakis: There is a serious Bootloader issue for many users. It seems that for some poeple the USB Bootloader mode failes to work. While the unit confirms that it is in a USB Bootloader mode the computer fails to recognise the device (not OS related). While normal USB detection works (within the firmware) if someone encounters the USB Bootloader failure, then the user has to wait for the player to boot up and wait for the disc to go to idle mode before inserting the USB cable again. Of course there is no problem, USB related, in default iriver firmware. Any ideas? This is fixed in SVN now. -- SteveBavin - 19 Apr 2007 KevinFerrare: Since the beginning of the rockbox port on the H1x0 series, I've always got an "*Panic* ata:-32" error with vanilla bootloaders. The only solution I've found so far is to replace the content of the "check_registers" function in "firmware/drivers/ata.c" by a "return 0;", compile the bootloader, cross my fingers and flash it DavideGentile: On CFModded H1x0 targets USB disk mode does not exit gracefully. Target throws a "ATA error: -80" and a reset is subsequently required. TODO list for the upcoming bootloader revision
r200 - 05 Aug 2009 - 07:54:17 - BertrikSikken
Revision r198 - 02 Nov 2008 - 22:29 - DanielStenbergRevision r197 - 21 Aug 2008 - 03:39 - DavideGentile Copyright © by the contributing authors.
|