[PATCH 0/4] A series of patch for enable sc7180 android boot
George Chan via B4 Relay
devnull+gchan9527.gmail.com at kernel.org
Tue May 20 16:25:55 CEST 2025
Since attempt[1] to embed android specific boot param into fdt bootargs,
a new idea is formed as to make use of env file to contain default param
value. Current code logic is already working fine, unless the priority
of param at begining is higher than at tail. From env file, bootargs is
treated important, and prepend at begining. So there is a need to
reverse the logic, and make sure default bootargs value at the end, and
let androidboot img bootargs value sit at begining.
So a new kconfig item is introduced. Once enabled, the bootargs strcat
param will get reversed.
Some one-liners patch is included to enable device driver for sc7180
soc. It is about iommu for usb, usb gadget vendor/product id, and
abootimg dependency.
Worth mentioning is as always, the EL1 jump_linux[2] logic to boot.
[1]https://lists.denx.de/pipermail/u-boot/2025-May/588828.html
[2]https://lists.denx.de/pipermail/u-boot/2025-April/585995.html
Signed-off-by: George Chan <gchan9527 at gmail.com>
---
George Chan (4):
image-android: Prepend/postpend default bootargs value with given bootcmd
iommu: qcom-smmu: Introduce sc7180 compatible string
boot: bootmeth_android: Conditionally dependent on abootimg
usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM
boot/Kconfig | 8 ++++++++
boot/bootmeth_android.c | 4 +++-
boot/image-android.c | 10 ++++++++--
drivers/iommu/qcom-hyp-smmu.c | 1 +
drivers/usb/gadget/Kconfig | 2 ++
5 files changed, 22 insertions(+), 3 deletions(-)
---
base-commit: 126a88d49bcae04bbfc0d6723097cd6341355ade
change-id: 20250520-sc7180-android-boot-a845ecf48a48
Best regards,
--
George Chan <gchan9527 at gmail.com>
More information about the U-Boot
mailing list