On Fri, Sep 11, 2026 at 08:59:06PM +0200, Marek Vasut wrote: > On 9/11/26 8:53 PM, Tom Rini wrote: > > On Fri, Sep 11, 2026 at 08:46:30PM +0200, Marek Vasut wrote: > > > On 9/11/26 8:39 PM, phodina wrote: > > > > On Friday, September 11th, 2026 at 8:30 PM, Marek Vasut > > > > <[email protected]> wrote: > > > > > > > > > On 9/11/26 8:18 PM, Petr Hodina via B4 Relay wrote: > > > > > > From: Petr Hodina <[email protected]> > > > > > > > > > > > > Add a new utility library for parsing command line parameters in > > > > > > key=value format. > > > > > Is this reinventing environment or UPL ? > > > > > > > > > > > > > The target is a chainloaded environment. In this case u-boot running on > > > > Android devices where you unfortunately don't have the possibility to > > > > use UPL. > > > > > > > > As stated above it's purpose is to simplify the operations on the > > > > command line arguments from the previous stage and pass them to the > > > > next. > > > > > > > > Typical example is to remove the skip initramfs or extract the value > > > > for the panel to pick the right dtb (not part of this patch series) > > > > > > Is this something you could do in an U-Boot script using setexpr sub/gsub > > > instead ? > > > > Yes, I would like to see how this gets used in implementation too, as > > I'm wondering if we shouldn't just be also saving off something like > > "prev_bl_bootargs" and leaving the rest to the board code to deal with. > > Maybe we should also add the android-specific helpers in a new file > > under an Android-related Kconfig as well. > If this is key=value pairs that get passed in in some chunk of memory, can > 'env import' help here ?
No, from the whole series it's that we're being passed https://www.kernel.org/doc/html/latest/arch/arm64/booting.html and then dealing with parts of it. Some platforms do this today, even: $ ./tools/qconfig.py -f SAVE_PREV_BL_FDT_ADDR 15 matches a3y17lte a5y17lte a7y17lte coreprimevelte exynos-mobile qcm6490 qcom qcom_dragonboard820c qcom_ipq5424_mmc qcom_ipq9574_mmc qcom_qcs615 qcom_qcs6490_rubikpi3 qcom_qcs8300 qcom_qcs9100 qcom_sm8650 -- Tom
signature.asc
Description: PGP signature
