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 < > [email protected] <javascript:>> 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: [email protected] <javascript:> >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- unsubscribe: [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
