Installation / Removal > Cowon - Installation/Removal
What to do to get X5 bootloader v4 with dual boot?
(1/1)
cereal_killer:
Hello,
as the Task FS#5289 is closed and the patch is accepted I understand that there is no release of a dual bootloader from this discussion on IRC. Has anything changed since then?
If I want to use the v4 bootloader with dual boot function, I would have to patch the official bootloader myself, right? Or is there an unofficial precompiled version somewhere, because I have no compiling/patching experiences at all.
Any advice is highly appreciated.
Greetings
c_k
cereal_killer:
OK, so I dared to make myself familiar with development environment and compiling and stuff using Linux Mint. Installing the bootloader using Rockbox Utility leads to no dual boot option. Some questions:
If I compile a bootloader from the source, which gives me a bootloader.bin file, is the patch already included, because in FS#5289 it says that
--- Quote --- r30018 implements dual boot support based on the latest version of this patch..
--- End quote ---
Or do I need to patch this file?
If this bootloader.bin file already has dual boot capabilities how to go on? There is this mkboot way, which I partly understand. Is the mkboot version from http://www.rockbox.org/tracker/task/5289#comment19465 the latest? Or is there an other way to create a dual bootloader?
Thanks in advance,
c_k
lebellium:
I guess I finally found out.
1) In firmware/export/config/iaudiox5.h add at the end of the file #define HAVE_DUALBOOT and save
2) ../tools/configure -> target n°30 then type 'B' for (B)ootloader. Then type 'make -j'
3) You get a bootloader.bin file in current directory
4) Add OF firmware file in the current directory. For example fw 2.10e
5) Type something like (adapt according to your file names) ../tools/mkboot -iax5 of_x5_fw_2.10e.bin bootloader.bin dualboot_rockbox_2.10e.bin
6) Put dualboot_rockbox_2.10e.bin (I guess you should rename it to fw_x5.bin) into your FIRMWARE directory on device.
7) Unplug the device, connect the AC charger and the firmware upgrade process should start (once upgraded, the FIRMWARE directory is empty)
Then:
The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.
=> http://git.rockbox.org/?p=rockbox.git;a=commit;h=91ce4b2a60c4cbe8e3568f79c3a73572461ff40d
cereal_killer:
--- Quote from: lebellium on August 24, 2016, 05:12:40 PM ---I guess I finally found out.
--- End quote ---
Yes, everything worked as you described. Thank you.
--- Quote from: lebellium on August 24, 2016, 05:12:40 PM ---The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.
--- End quote ---
Following the suggestions on IRC I changed the boot behavior to a short slide of the power button to boot Rockbox. Same for the remote. The description on git quoted above seems to be wrong.
Thank you again lebellium, now I can enjoy my X5 with the i6 skin of the OF and Rockbox. If only there was no file limit for the OF... :(
Navigation
[0] Message Index
Go to full version