Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: 007quick on March 13, 2007, 01:12:47 PM

Title: Compiling Bootloaders (H10 5g MTP ver)
Post by: 007quick on March 13, 2007, 01:12:47 PM
Hello, I just saw that some new stuff was added to the bootloader for my H10 5g but I find that I can't download an updated one off the website. Are the bootloaders not compiled every day like the daily versions? If they are one might want to put it under extras or something.
But anyways I tried to compile my own but am probably doing something wrong. I do the ../tools/configure and hit 15 (H10 5g) and it makes a make file.
Then I hit make.
Then it makes.
I then take the H10.mi4 file that it creates and replace it on my h10.
This is were the error comes in. It gives the famous "System file missing" error.
What am I doing wrong?
Do I have to make a zip like I do for the normal builds?
Do I have to make an install?
Thanks ???
Title: Re: Compiling Bootloaders
Post by: Llorean on March 13, 2007, 01:21:34 PM
We don't make bootloaders part of the daily because on some players a bad bootloader can permanently disable the player. Because of this, and because bootloaders handle hardware initialization anyway, we like to have an "Official" version of the bootloader as the recommended download, so we make new version of bootloaders available from time to time, rather than having a daily download.
Title: Re: Compiling Bootloaders
Post by: 007quick on March 13, 2007, 01:24:11 PM
Sounds like a good reason but if I want to make my own, how would I compile it? There are no guides that I could find about compiling bootloaders which is why I am asking.
Title: Re: Compiling Bootloaders
Post by: Llorean on March 13, 2007, 01:25:12 PM
Usually, just choosing the Bootloader build option is enough, but I don't have any first hand experience with the H10, so I don't know what hurdles exist for it. It could just be that the current state of the code results in a bootloader that doesn't work, I really don't know.
Title: Re: Compiling Bootloaders
Post by: 007quick on March 13, 2007, 01:26:39 PM
Ok, I will have to wait then for someone with experience with the H10, becasue I have tried to just choose bootloader, but it didn't work. Thanks for the help so far!
Title: Re: Compiling Bootloaders (H10 5g)
Post by: 007quick on March 14, 2007, 10:57:41 AM
Ok, I found out how to make the bootloader for my deviece. The problem is that mine is a MTP device which requires one extra step as compared to the UMS version. So, after you run 'make' you need to run this command:
../tools/scramble -mi4v3 bootloader/bootloader.bin H10.mi4
Then the file works correctly. Just thought that this step should be somewere in the forums!
Thanks to BarreyWardel for replying to my question over at misticriver!