[U-Boot] [PATCH v3] Convert CONFIG_SUPPORT_EMMC_BOOT to Kconfig

Tom Rini trini at konsulko.com
Wed May 1 14:49:26 UTC 2019


On Wed, May 01, 2019 at 07:58:27AM +0000, Alex Kiernan wrote:
> This converts the following to Kconfig:
>    CONFIG_SUPPORT_EMMC_BOOT
> 
> As requested by Michal Simek <michal.simek at xilinx.com>, these boards
> have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated:
> 
>   xilinx_zynqmp_zc1275_revB
>   xilinx_zynqmp_zc1751_xm018_dc4
>   xilinx_zynqmp_zc1751_xm019_dc5
>   xilinx_zynqmp_zcu100_revC
>   xilinx_zynqmp_zcu102_rev1_0
>   xilinx_zynqmp_zcu102_revA
>   xilinx_zynqmp_zcu102_revB
>   xilinx_zynqmp_zcu104_revA
>   xilinx_zynqmp_zcu104_revC
>   xilinx_zynqmp_zcu106_revA
>   xilinx_zynqmp_zcu111_revA
> 
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
> Acked-by: Lukasz Majewski <lukma at denx.de>
> Acked-by: Patrick Delaunay <patrick.delaunay at st.com>
> Acked-by: Ramon Fried <ramon.fried at gmail.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Tested-by: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
> ---
> Green travis build:
> 
> https://travis-ci.org/akiernan/u-boot/builds/526591535
> 
> Testing for configuration changes shows just the expected xilinx_zynqmp
> boards:

So, FWIW, what I do (and will do for this patch when I check it out
before pushing) ends up as:
$ export SOURCE_DATE_EPOCH=`date +%s`
$ ./tools/buildman/buildman -o /tmp/test -b master --force-build --step 0 \
  -SCdvel \
  'arc|arm|sandbox|x86|aarch64|powerpc|m68k|nios2|nds32|sh|mips|xtensa|riscv'
$ ./tools/buildman/buildman -o /tmp/test -b master --step 0 -Ssdel \
  'arc|arm|sandbox|x86|aarch64|powerpc|m68k|nios2|nds32|sh|mips|xtensa|riscv'

With the patch applied in some branch that has 'master' as the upstream.
This is basically a world-build and will size compare before/after,
noting changes.  If I see a size difference (outside of a few boards
that include the config in the binary and so grow slightly on
conversions), I use:
$ export SOURCE_DATE_EPOCH=`date +%s`
$ ./tools/buildman/buildman -o /tmp/brd -b master --step 0 -SBCdevlk BOARD
$ ./tools/buildman/buildman -o /tmp/brd -b master --step 0 -SsBdevlk BOARD

Which probably has a few more flags than required but will also tell
which functions within the binary have changed and so a good place to
hunt down what didn't convert correctly and why.

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


More information about the U-Boot mailing list