[U-Boot] [PATCH 0/4] configs and cmd/Kconfig: Re-sync

Tom Rini trini at konsulko.com
Sun Apr 24 21:16:03 CEST 2016


Hey all,

The following series will be applied by me in about 24 hours (to give folks
a chance to scream).  At the end of this series, we have the current
contents of cmd/Kconfig being entirely removed from include/configs* and
done in the defconfig files.  This shows a few things which do need to get
done on top of what we have today.  For example, I'm currently thinking
that we need to add CONFIG_SOMEPREFIX_DISTRO_DEFAULTS to select all of the
options that used to be in include/config_distro_defaults.h that are CONFIG
chocies and now done in Kconfig.

Next, this series is not 100% non-size-changing.  I'm able to build the
world except for arc and nios2 (and I'll take that off-list for arc, Marek
suggested a different toolchain for nios2 already).  In doing a world build
and using buildman -SB (aside: buildman is great! Good job Simon) to see
what the bloat changes are, things break down into:
- keymile boards that are having AUTOBOOT* migrated out grow slightly due
  to some strings being handled differently and padded differently now.  I
  cannot explain _why_ but it's just what it is.  We already accepted this
  when everyone else was migrated.
- The am33xx/am43xx platforms that use network boot in SPL grow as we're no
  longer turning off CMD_NFS in the SPL build.  There is (gut feeling) some
  bug somewhere as to why CMD_NFS is changing some paths such that even
  when the command is discarded we need the infrastructure.  I'd like to
  see this be really fixed and note that at present all boards are still
  within size constraints (when I initially did this work we had to as we
  supported both ethernet and USB-ethernet in the same build, this is no
  longer true and this has given us the needed space back).
- xilinx-ppc440-generic enabled a bunch of commands in the defconfig and
  then turned them off int he config.h file.  They are now on.
- A handful of platforms also suffer from what I'm calling compiler black
  magic.  There are no changes in function contents, merely alignments and
  thus overall section size.

My follow-up to this will be taking Dinh's patch to move more options to
Kconfig and then migrate everyone again.  Once _that_ is done I'm doing a
bit savedefconfig run and going to let a few people know that they've got
some Kconfig issues to fix.

-- 
Tom


More information about the U-Boot mailing list