[PATCH v2 0/8] bootstd: sunxi: Migrate to standard boot

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Oct 1 19:15:53 CEST 2024


On 01.10.24 13:18, Simon Glass wrote:
> Hi,
>
> On Fri, 23 Aug 2024 at 14:48, Simon Glass <sjg at chromium.org> wrote:
>>
>> This series attempts to migrate all sunxi boards to use standard boot,
>> along with a text environment.
>>
>> Changes in v2:
>> - Add new patch to resolve BOOTSTD->BLK recursion with Kconfig
>> - Put the FEL bootmeth before all other global bootmeths
>> - Convert the other DISTRO_DEFAULTS in the Kconfig too
>> - Keep BOOTCMD_SUNXI_COMPAT
>> - Keep bootcmd_sunxi_compat if OLD_SUNXI_KERNEL_COMPAT is enabled
>>
>> Simon Glass (8):
>>    blk: Make functions available unconditionally
>>    bootstd: Avoid calling unavailable block functions
>>    bootstd: Avoid depending on BLK
>>    sunxi: Add a bootmeth for FEL
>>    sunxi: Move to bootstd
>>    sunxi: Drop old distro boot variables
>>    env: Provide a work-around for unquoting fdtfile
>>    sunxi: Move to text environment
>>
>>   Makefile                                      |   1 +
>>   arch/arm/Kconfig                              |  10 +-
>>   board/sunxi/sunxi.env                         | 152 +++++++++++
>>   boot/Kconfig                                  |  16 +-
>>   boot/Makefile                                 |   1 +
>>   boot/bootdev-uclass.c                         |   3 +
>>   boot/bootmeth_fel.c                           |  81 ++++++
>>   .../gardena-smart-gateway-mt7688_defconfig    |   1 +
>>   doc/usage/environment.rst                     |  12 +
>>   include/blk.h                                 |   9 +-
>>   include/configs/sunxi-common.h                | 238 ------------------
>>   11 files changed, 278 insertions(+), 246 deletions(-)
>>   create mode 100644 board/sunxi/sunxi.env
>>   create mode 100644 boot/bootmeth_fel.c
>>
>> --
>> 2.34.1
>>
>
> I'm just checking on this series. Are there any comments, or can it be applied?
>
> Regards,
> Simon

Hello Simon,

My OrangePi PC still shows bootcmd='run distro_bootcmd'. This does not
look like standard boot.

My Pine64-LTS boots fine with this series applied on top of origin/next.
bootcmd='bootflow scan'. The EFI boot manager method is called
successfully to start Ubuntu.

Best regards

Heinrich


More information about the U-Boot mailing list