summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot/dualboot/dualboot.S
AgeCommit message (Collapse)AuthorFilesLines
2013-07-07mkimxboot: rewrite dualbootAmaury Pouly1-118/+0
Rewrite dualboot in C code instead of assembly. Also properly handle subtarget and simply Makefile. This should make the dualboot stub more readable and easier to extend. The new code also gracefully handles power up from RTC alarm on imx233. Change-Id: I7c225254b1463a97e76b6cb4de476aa2d2c9d2f9
2013-01-28zenxfi2: rework dualbootAmaury Pouly1-0/+28
The previous dualboot scheme had a major flow: it needed to hold menu to boot OF but the X-Fi2 boot in recovery mode with menu! It was possible but very trick to enter the OF with USB plugged. This code provides a new scheme: - no USB plugged: boot to OF when menu is pressed - USB plugged: boot to OF when power is pressed Change-Id: Ia6e76d3ada1f67137b727daa050cf6c77afbbfb9
2012-05-19mkimxboot: add support for more target and variantsAmaury Pouly1-0/+20
Add creative zen x-fi 2/3 and add a variant mechanism Change-Id: Ic2ee82a4238a87c2eb5d72b8309650d9a280325f
2012-02-29imx233: always boot when powered up from 5vAmaury Pouly1-1/+10
Change-Id: I3adb901d293c801f0a8493ae4f0b23af4fa535e8
2012-02-28mkimxboot/fuze+: fix booting to the OFAmaury Pouly1-1/+1
Change-Id: I51db192d9c88952173acac6558941ba6421a31dd
2012-02-28mkximxboot/fuze+: add power button delay to power onAmaury Pouly1-2/+24
Only boot to rockbox if the power button is hold sufficiently long. For consistency, use the same mechanism as the OF: - read PSWITCH 550000 times - boot if PSWITCH=1 at least 400000 out of 550000 times Only apply the delay if Volume Down is not hold, so that the OF and RB delay don't cumulate. Change-Id: I1e8a4cd108c56bf784fcf1c320f7a001ef161701
2011-11-06Introduce mkimxboot to build bootloader images for the i.MX (only the fuze+ ↵Amaury Pouly1-0/+39
currently). Still not integrated in rbutil git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30920 a1c6a512-1295-4272-9138-f99709370657