Sebastian, U-Boot has a fantastic mailing list. You may want to check that out and pose the same question as I am sure they can help you get it knocked out. I know U-Boot does work with Android as the Galaxy Nexus model was modified to support it to allow for a quad boot of different ROM's
https://forum.xda-developers.com/galaxy-nexus/development/kernel-dual-boot-powered-boot-custom-t2204705 On Thu, Sep 21, 2017 at 8:55 AM 'Sebastian Priebe' via android-porting < android-porting@googlegroups.com> wrote: > Hi Joey, > > no, I'm not writing my own bootloader, but I have to adapt the bootloader > used in our project (U-Boot) for the use with Android. > > I will have a look at the link. Thanks a lot. > > We are using a NXP (Freescale) SOC and the BSP for Android by NXP uses > U-Boot. > There are already some parts from NXP for supporting Android with U-Boot, > but there are many things missing. > Especially we want to use the Android A/B update schema that has no > support in U-Boot yet. > > > Am Mittwoch, 20. September 2017 20:30:54 UTC+2 schrieb Joey Troy: > >> Sebastian, >> >> Are you writing your own bootloader? If not each bootloader has a set of >> commands that the OEM writes. From Samsung to HTC to vendor X each does it >> different. Most boootloaders are based on the little Kernel >> >> https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader >> >> To find more in depth fastboot commands here is a slick post from XDA >> >> https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/ >> >> >> On Tue, Sep 19, 2017 at 11:26 AM 'Sebastian Priebe' via android-porting < >> android...@googlegroups.com> wrote: >> > Hello, >>> >>> I'm searching for information abound bootloader requirements for Android. >>> What are the duties and responsibilities of the bootloader? >>> >>> I have found the following topics but I'm lacking the details: >>> 1. bootloader shall support fastboot protocol >>> * which commands shall be supported (e.g. flash, unlock, ...)? >>> 2. bootloader shall handle commands from the BCB (bootloader control >>> block) >>> * which commands must be supported (e.g. wipe data)? >>> * does the bootloader perform the factory-reset (i.e. wipe the userdata >>> partition)? >>> 3. for A/B updates: >>> * bootloader shall mark partitions unbootable >>> * bootloader shall provide a slot suffix in the kernel command line >>> * what else? >>> 4. bootloader shall support booting into recovery >>> >>> Where can I find documentation or examples for all these things? >>> >>> Am I missing some duties or responsibilities of the bootloader? >>> >>> Thx. >>> Sebastian >>> >>> -- >>> -- >>> >> unsubscribe: android-porti...@googlegroups.com >> >> >>> website: http://groups.google.com/group/android-porting >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "android-porting" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to android-porti...@googlegroups.com. >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.