BayLibre contributions to U-Boot v2024.10

The latest version of U-Boot, 2024.10, was released in October 2024. To get all U-Boot 2024.10 release statistics look at the U-Boot documentation.

Mattijs Korpershoek, Julien Masson and Guillaume La Roque tried to give a lot of valuable feedback and reviews to other contributors. Mattijs also spend a lot of time maintaining and picking up patches for the code he maintains.

Android

Boot Flow and Ramdisk

Mattijs Korpershoek fixed a regression introduced by a previous fix. The regression caused the ramdisk to not be copied when using a boot image version 2. This has been resolved. Mattijs also fixed compressed image loading when CONFIG_SYS_BOOTM_LEN cannot fit the uncompressed image.

Bootloader Control Block (BCB)

Mattijs Korpershoek fixed a segfault that could occur when using an invalid block device. The segfault was caused by a printf statement that dereferenced a NULL pointer in the BCB code. Additionally, he fixed a build regression that occurred when building without the BCB command.

Android Boot Flow

Mattijs Korpershoek implemented a boot method for Android as a generic bootflow implementation for bootstd. This functionality was previously typically implemented as complex boot scripts. Having it implemented in U-Boot itself helps avoid unmaintainable scripts. He also added tests and documentation for the Android boot method.

In this release, only boot image v4 is supported but we are planning to contribute boot image v2 support as well. Note that this development collides with Google’s GBL. In the future, this may be converted to use GBL instead.

MMC

Mattijs Korpershoek fixed an issue where the environment was not loading correctly from MMC when the configured partition was not 0.

Mattijs also contributed a couple of fixes for the bootstd documentation.

Summary

Type Count
Authored 11
Reviewed-by 62
Tested-by 26

List of contributions

Hash Subject Role Person
1b1ffda42071 boot: android: Fix ramdisk loading for v2 header Author Mattijs Korpershoek
2f9c472dd7a9 dfu: fix Kconfig dependencies Committer Mattijs Korpershoek
cc2f60c13f6a android_ab: Fixes: Fix backup offset calculation Committer Mattijs Korpershoek
e49eeb657515 usb: gadget: ux500: Do not redefine ops if CONFIG_USB_MUSB_HOST set Committer Mattijs Korpershoek
6509c3fe1c7d boot: android: fix booting without a ramdisk Committer Mattijs Korpershoek
61faa6dd21f6 cmd: bcb: Fix segfault on invalid block device Author Mattijs Korpershoek
ef1e322f3e1d usb: dwc3: support USB 3.1 controllers reviewed-by Mattijs Korpershoek
ed3ce65958ce boot: set correct block device name in set_efi_bootdev() reviewed-by Mattijs Korpershoek
59ca3a2f20f3 usb: bootm: Drop old USB-device-removal code reviewed-by Mattijs Korpershoek
b2345dbdaa86 env: mmc: Fix env loading with CONFIG_SYS_MMC_ENV_PART Author Mattijs Korpershoek
93767c5a8f7b doc: Add a description for bootmeth_android Author Mattijs Korpershoek
84e000c9ab68 cmd: move CMD_DHCP6 options beneath CMD_DHCP6 reviewed-by Mattijs Korpershoek
38b000881ebc doc: Describe the bootstd settings reviewed-by Mattijs Korpershoek
6b387c9396f8 boot: Correct indentation in efi bootmeth reviewed-by Mattijs Korpershoek
1c930686ca09 doc: Add a link to VBE from the bootstd docs reviewed-by Mattijs Korpershoek
87d00856df35 doc: Add a description for bootmeth_script reviewed-by Mattijs Korpershoek
60b180fdba1b bootstd: Correct handling of script from network reviewed-by Mattijs Korpershoek
cfed2219e369 bootstd: Tidy up comments on the boothmeth drivers reviewed-by Mattijs Korpershoek
95403023cfa8 doc: Add a description for bootmeth_sandbox reviewed-by Mattijs Korpershoek
56418511e9fd doc: Add a description for bootmeth_cros reviewed-by Mattijs Korpershoek
70a4982d4fd8 doc: Add a description for bootmeth_qfw reviewed-by Mattijs Korpershoek
64a1446bd09e doc: Add a description for bootmeth_pxe reviewed-by Mattijs Korpershoek
b1bb34fecd84 doc: Add a description for bootmeth_extlinux reviewed-by Mattijs Korpershoek
1426f672d254 doc: Mention automatic binding of bootmeths reviewed-by Mattijs Korpershoek
c684db989e86 doc: Move bootstd into its own directory reviewed-by Mattijs Korpershoek
d5b6800374e7 MAINTAINERS: Rename BOOTDEVICE reviewed-by Mattijs Korpershoek
c2a2a06e0165 bootstd: Add test for bootmeth_android Author Mattijs Korpershoek
125d9f3306ea bootstd: Add a bootmeth for Android Author Mattijs Korpershoek
a525656c5ba6 android: boot: Add set_abootimg_addr() and set_avendor_bootimg_addr() Author Mattijs Korpershoek
be0b076c55a3 bootstd: Add bootflow_iter_check_mmc() helper Author Mattijs Korpershoek
58fed99f4611 boot: android: Provide vendor_bootimg_addr in boot_get_fdt() Author Mattijs Korpershoek
1bd136715a4d eth: asix88179: reset during probe reviewed-by Mattijs Korpershoek
b091d3872833 include/fastboot.h: add missing types.h include Committer Mattijs Korpershoek
9e2c14804e4a usb: gadget: Mark dm_usb_gadget_handle_interrupts as non-weak for DM_USB_GADGET Committer Mattijs Korpershoek
ed8e638de1ef usb: gadget: sandbox: Drop dm_usb_gadget_handle_interrupts() Committer Mattijs Korpershoek
ac4bf5d48a9e usb: gadget: ux500: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
281eaf1ed83a usb: gadget: musb: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
521bc756cb5f usb: gadget: omap2430: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
2c2d7c2bab0e usb: gadget: mtu3: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
a75753327399 usb: gadget: max3420: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
75f94ed82ff0 usb: gadget: dwc3: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
2329109fbd7e usb: gadget: dwc2: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
356542d6dd72 usb: gadget: cdns3: Convert interrupt handling to usb_gadget_generic_ops Committer Mattijs Korpershoek
d36ef5cbedd0 usb: gadget: Introduce handle_interrupts ops to USB_GADGET_GENERIC uclass Committer Mattijs Korpershoek
1918b8010c32 usb: dwc3: gadget: Convert epautoconf workaround to match_ep callback Committer Mattijs Korpershoek
bd7ec7b04f87 usb: gadget: Add full ep_matches() check past .match_ep() callback Committer Mattijs Korpershoek
db62b6a0a016 usb: gadget: Drop all gadgetis*() functions Committer Mattijs Korpershoek
2cee3bc6abc5 usb: gadget: Drop usb_gadget_controller_number() Committer Mattijs Korpershoek
7f1b062ca4f2 usb: gadget: ether: Drop usb_gadget_controller_number() Committer Mattijs Korpershoek
0fca00114a80 usb: gadget: g_dnl: Drop usb_gadget_controller_number() Committer Mattijs Korpershoek
bf240862a8bf doc: ti: k3: Correct spelling mistakes and improve clarity reviewed-by Mattijs Korpershoek
4d0adab95958 arm: dts: am625_sk: Switch to OF_UPSTREAM tested-by reviewed-by Mattijs Korpershoek
e9bffedf3a5d arm: dts: am625_beagleplay: Switch to OF_UPSTREAM reviewed-by Mattijs Korpershoek
065ed551e332 cmd: bcb: Fix bcb compilation when CONFIG_CMD_BCB=n Author Mattijs Korpershoek
17b1656dcd07 abootimg: Add init_boot image support reviewed-by Mattijs Korpershoek
da3447d09fa0 android: Fix ramdisk loading for bootimage v3+ reviewed-by Mattijs Korpershoek
3078766134ae image: Set load_end on partial loads Author Mattijs Korpershoek
def64b493748 doc: board: Add document for DFU boot on am62x SoCs tested-by reviewed-by Mattijs Korpershoek
b00c2fe70ae5 beagleplay: Add DFU support tested-by reviewed-by Mattijs Korpershoek
dfc2dff5a844 configs: am62xevm*: Enable USB and DFU support reviewed-by Mattijs Korpershoek
6165b923e89c arm: dts: k3-am625-sk: Enable usb port in u-boot reviewed-by Mattijs Korpershoek
6c33a83e80e4 board: ti: am62x: am62x: include env for DFU tested-by reviewed-by Mattijs Korpershoek
92114d7c0a19 usb: dwc3: Add dwc3 glue driver for am62 tested-by reviewed-by Mattijs Korpershoek
c2a2a06e0165 bootstd: Add test for bootmeth_android reviewed-by Julien Masson
125d9f3306ea bootstd: Add a bootmeth for Android reviewed-by Julien Masson
a525656c5ba6 android: boot: Add set_abootimg_addr() and set_avendor_bootimg_addr() reviewed-by Julien Masson
be0b076c55a3 bootstd: Add bootflow_iter_check_mmc() helper reviewed-by Julien Masson
58fed99f4611 boot: android: Provide vendor_bootimg_addr in boot_get_fdt() reviewed-by Julien Masson
065ed551e332 cmd: bcb: Fix bcb compilation when CONFIG_CMD_BCB=n reviewed-by Julien Masson
c2a2a06e0165 bootstd: Add test for bootmeth_android reviewed-by Guillaume La Roque
125d9f3306ea bootstd: Add a bootmeth for Android tested-by Guillaume La Roque
a525656c5ba6 android: boot: Add set_abootimg_addr() and set_avendor_bootimg_addr() tested-by reviewed-by Guillaume La Roque
be0b076c55a3 bootstd: Add bootflow_iter_check_mmc() helper tested-by reviewed-by Guillaume La Roque
58fed99f4611 boot: android: Provide vendor_bootimg_addr in boot_get_fdt() tested-by reviewed-by Guillaume La Roque
065ed551e332 cmd: bcb: Fix bcb compilation when CONFIG_CMD_BCB=n reviewed-by Guillaume La Roque