[U-Boot] [PATCH v2 7/8] env: ti: boot: Boot Android with dynamic partitions

Tom Rini trini at konsulko.com
Sun Nov 3 14:35:33 UTC 2019


On Wed, Oct 23, 2019 at 05:34:26PM +0300, Sam Protsenko wrote:

> Changes:
>   - use boot.img instead of boot_fit.img
>   - use .dtb from boot.img v2
>   - implement recovery boot
>   - always boot ramdisk from boot.img, we can't mount system as root
>     now, as system is a logical partition inside of super partition
>   - don't add "skip_initramfs" to cmdline anymore
>   - to boot into recovery, use boot image from recovery partition
>   - prepare partition table:
>     - A/B scheme
>     - use 'super' partition instead of 'system' and 'vendor'
>     - add dtbo partitions
>     - introduce metadata partition
> 
> Not implemented: reading and applying dtbo files from dtbo partition.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>

This breaks at least "dra7xx_evm" building:
       arm:  +   dra7xx_evm
+(dra7xx_evm) In file included from include/configs/ti_omap5_common.h:57:0,
+(dra7xx_evm)                  from include/configs/dra7xx_evm.h:62,
+(dra7xx_evm)                  from include/config.h:5,
+(dra7xx_evm)                  from include/common.h:23,
+(dra7xx_evm)                  from env/common.c:10:
+(dra7xx_evm) include/environment/ti/boot.h:104:3: error: expected '}' before 'AB_SELECT_SLOT'
+(dra7xx_evm)    AB_SELECT_SLOT \
+(dra7xx_evm)    ^
+(dra7xx_evm) include/configs/ti_omap5_common.h:65:2: note: in expansion of macro 'DEFAULT_COMMON_BOOT_TI_ARGS'
+(dra7xx_evm)   DEFAULT_COMMON_BOOT_TI_ARGS \
+(dra7xx_evm)   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
+(dra7xx_evm) include/env_default.h:111:2: note: in expansion of macro 'CONFIG_EXTRA_ENV_SETTINGS'
+(dra7xx_evm)   CONFIG_EXTRA_ENV_SETTINGS
+(dra7xx_evm)   ^~~~~~~~~~~~~~~~~~~~~~~~~
+(dra7xx_evm) make[2]: *** [env/common.o] Error 1
+(dra7xx_evm) make[1]: *** [env] Error 2
+(dra7xx_evm) make[1]: *** wait: No child processes.  Stop.
+(dra7xx_evm) make: *** [sub-make] Error 2

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191103/2e55e259/attachment.sig>


More information about the U-Boot mailing list