mbox series

[U-Boot,0/7] am57xx: Implement Android 10 boot flow

Message ID 20190919172822.8255-1-semen.protsenko@linaro.org
Headers show
Series am57xx: Implement Android 10 boot flow | expand

Message

Sam Protsenko Sept. 19, 2019, 5:28 p.m. UTC
Android 10 brings a lot of new requirements for bootloaders: [1]. This
patch series attempts to implement such a boot process on BeagleBoard
X15 platform. Some common code is added too, which can be reused later
for other platforms.

[1] https://source.android.com/devices/bootloader


Sam Protsenko (7):
  image: android: Add functions for handling dtb field
  image: android: Add routine to get dtbo params
  cmd: bootimg: Add bootimg command
  configs: am57xx_evm: Enable Android commands
  env: ti: boot: Respect slot_suffix in AVB commands
  env: ti: boot: Boot Android with dynamic partitions
  arm: ti: boot: Use correct dtb and dtbo on Android boot

 cmd/Kconfig                         |   8 +
 cmd/Makefile                        |   1 +
 cmd/bootimg.c                       | 177 ++++++++++++++++++++
 common/Makefile                     |   2 +-
 common/image-android.c              | 245 ++++++++++++++++++++++++++++
 configs/am57xx_evm_defconfig        |   8 +-
 configs/am57xx_hs_evm_defconfig     |   6 +
 configs/am57xx_hs_evm_usb_defconfig |   8 +-
 include/configs/ti_armv7_common.h   |   7 +
 include/environment/ti/boot.h       | 145 ++++++++--------
 include/image.h                     |   7 +
 11 files changed, 546 insertions(+), 68 deletions(-)
 create mode 100644 cmd/bootimg.c

Comments

Eugeniu Rosca Sept. 19, 2019, 6:22 p.m. UTC | #1
Hi Sam,

On Thu, Sep 19, 2019 at 08:28:15PM +0300, Sam Protsenko wrote:
> Android 10 brings a lot of new requirements for bootloaders: [1]. This
> patch series attempts to implement such a boot process on BeagleBoard
> X15 platform. Some common code is added too, which can be reused later
> for other platforms.
> 
> [1] https://source.android.com/devices/bootloader

First, many thanks and true appreciation for making the bring-up of the
same features easier on other platforms. Big thumbs up.

Since I wanted to include some backtraces, I've posted my review
findings (1st round) in https://paste.ubuntu.com/p/jNwYP99kp8/.
Sam Protsenko Oct. 23, 2019, 7:37 p.m. UTC | #2
Hi Eugeniu,

On Thu, Sep 19, 2019 at 9:23 PM Eugeniu Rosca <roscaeugeniu@gmail.com> wrote:
>
> Hi Sam,
>
> On Thu, Sep 19, 2019 at 08:28:15PM +0300, Sam Protsenko wrote:
> > Android 10 brings a lot of new requirements for bootloaders: [1]. This
> > patch series attempts to implement such a boot process on BeagleBoard
> > X15 platform. Some common code is added too, which can be reused later
> > for other platforms.
> >
> > [1] https://source.android.com/devices/bootloader
>
> First, many thanks and true appreciation for making the bring-up of the
> same features easier on other platforms. Big thumbs up.
>
> Since I wanted to include some backtraces, I've posted my review
> findings (1st round) in https://paste.ubuntu.com/p/jNwYP99kp8/.
>

Thanks for your input. All issues you mentioned should be fixed in v2
I sent recently. Can you please check it out too?

> --
> Best Regards,
> Eugeniu
Eugeniu Rosca Oct. 24, 2019, 9:36 a.m. UTC | #3
Hi Sam,

On Wed, Oct 23, 2019 at 10:37:23PM +0300, Sam Protsenko wrote:
[..]
> Thanks for your input. All issues you mentioned should be fixed in v2
> I sent recently. Can you please check it out too?

Thanks for the notification. I will review v2 in the following days.
Congrats with the awesome presentation and slides.