All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 0/4] Add SHA256 encrypted stop string for autobooting
@ 2015-05-07 12:13 Stefan Roese
  2015-05-07 12:13 ` [U-Boot] [PATCH v1 1/4] Kconfig: Enable usage of escape char '\' in string values Stefan Roese
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Stefan Roese @ 2015-05-07 12:13 UTC (permalink / raw)
  To: u-boot


The main task for this patch series is to add the new feature to abort
autobooting via a SHA256 encrypted password. For this, some of the old
autobooting related config macros have been moved to Kconfig. This was a bit
more complicated, since Kconfig currently apparently doesn't support using
escape characters '\' as used in printf format strings like "foo %s bar\n".
And this is needed for some of these new Kconfig options. So I needed to
make some changes to the Kconfig sources as well. If nobody complains about
these Kconfig stuff, I'll try to push this into the Linux Kconfig source as
well.

There should be no functional change introduced. Please let me know if you
find any problems.

Thanks,
Stefan


Stefan Roese (4):
  Kconfig: Enable usage of escape char '\' in string values
  autoboot.c: Remove CONFIG_AUTOBOOT_STOP_STR2 and
    CONFIG_AUTOBOOT_DELAY_STR2
  autoboot.c: Move config options to Kconfig
  autoboot.c: Add feature to stop autobooting via SHA256 encrypted
    password

 README                                   |  2 -
 common/Kconfig                           | 78 ++++++++++++++++++++++++++
 common/autoboot.c                        | 94 ++++++++++++++++++++++++++------
 configs/CPCI4052_defconfig               |  3 +
 configs/O2DNT2_RAMBOOT_defconfig         |  3 +
 configs/O2DNT2_defconfig                 |  3 +
 configs/PLU405_defconfig                 |  3 +
 configs/PMC405DE_defconfig               |  3 +
 configs/PMC440_defconfig                 |  3 +
 configs/UCP1020_SPIFLASH_defconfig       |  3 +
 configs/UCP1020_defconfig                |  3 +
 configs/a4m072_defconfig                 |  3 +
 configs/atngw100_defconfig               |  4 ++
 configs/atngw100mkii_defconfig           |  4 ++
 configs/atstk1002_defconfig              |  4 ++
 configs/atstk1003_defconfig              |  4 ++
 configs/atstk1004_defconfig              |  4 ++
 configs/atstk1006_defconfig              |  4 ++
 configs/calimain_defconfig               |  2 +
 configs/cpuat91_defconfig                |  4 ++
 configs/cpuat91_ram_defconfig            |  3 +
 configs/digsy_mtc_RAMBOOT_defconfig      |  3 +
 configs/digsy_mtc_defconfig              |  3 +
 configs/digsy_mtc_rev5_RAMBOOT_defconfig |  3 +
 configs/digsy_mtc_rev5_defconfig         |  3 +
 configs/dlvision-10g_defconfig           |  2 +
 configs/draco_defconfig                  |  3 +
 configs/dxr2_defconfig                   |  3 +
 configs/favr-32-ezkit_defconfig          |  4 ++
 configs/gdppc440etx_defconfig            |  2 +
 configs/grasshopper_defconfig            |  4 ++
 configs/hammerhead_defconfig             |  4 ++
 configs/highbank_defconfig               |  3 +
 configs/hrcon_defconfig                  |  2 +
 configs/ids8313_defconfig                |  3 +
 configs/intip_defconfig                  |  2 +
 configs/io64_defconfig                   |  2 +
 configs/io_defconfig                     |  2 +
 configs/iocon_defconfig                  |  2 +
 configs/ip04_defconfig                   |  1 +
 configs/motionpro_defconfig              |  3 +
 configs/nokia_rx51_defconfig             |  1 +
 configs/omap3_mvblx_defconfig            |  2 +
 configs/ph1_ld4_defconfig                |  4 ++
 configs/ph1_pro4_defconfig               |  4 ++
 configs/ph1_sld8_defconfig               |  4 ++
 configs/pm9263_defconfig                 |  1 +
 configs/pxm2_defconfig                   |  3 +
 configs/rut_defconfig                    |  3 +
 configs/spear600_defconfig               |  3 +
 configs/stv0991_defconfig                |  3 +
 configs/x600_defconfig                   |  3 +
 configs/zmx25_defconfig                  |  4 ++
 doc/README.autoboot                      | 10 ----
 include/configs/CPCI4052.h               |  6 --
 include/configs/PLU405.h                 |  9 ---
 include/configs/PMC405DE.h               |  6 --
 include/configs/PMC440.h                 |  6 --
 include/configs/UCP1020.h                | 11 ----
 include/configs/a4m072.h                 |  4 --
 include/configs/atngw100.h               | 10 ----
 include/configs/atngw100mkii.h           | 10 ----
 include/configs/atstk1002.h              | 10 ----
 include/configs/atstk1003.h              | 10 ----
 include/configs/atstk1004.h              | 10 ----
 include/configs/atstk1006.h              | 10 ----
 include/configs/bf537-stamp.h            |  4 --
 include/configs/calimain.h               |  2 -
 include/configs/cpuat91.h                |  6 --
 include/configs/digsy_mtc.h              |  4 --
 include/configs/dlvision-10g.h           |  2 -
 include/configs/favr-32-ezkit.h          | 10 ----
 include/configs/gdppc440etx.h            |  2 -
 include/configs/grasshopper.h            | 10 ----
 include/configs/hammerhead.h             | 10 ----
 include/configs/highbank.h               |  4 +-
 include/configs/hrcon.h                  |  2 -
 include/configs/ids8313.h                |  4 --
 include/configs/intip.h                  |  2 -
 include/configs/io.h                     |  2 -
 include/configs/io64.h                   |  2 -
 include/configs/iocon.h                  |  2 -
 include/configs/ip04.h                   |  1 -
 include/configs/motionpro.h              |  6 --
 include/configs/nokia_rx51.h             |  1 -
 include/configs/o2dnt-common.h           | 12 ----
 include/configs/omap3_mvblx.h            |  2 -
 include/configs/pm9263.h                 |  1 -
 include/configs/siemens-am33x-common.h   |  6 --
 include/configs/spear-common.h           |  4 --
 include/configs/stv0991.h                |  4 --
 include/configs/uniphier.h               |  5 --
 include/configs/x600.h                   |  4 --
 include/configs/zmx25.h                  |  4 --
 scripts/kconfig/confdata.c               | 20 +++----
 scripts/kconfig/symbol.c                 | 43 ---------------
 96 files changed, 315 insertions(+), 301 deletions(-)

-- 
2.4.0

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2015-05-15  8:44 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 12:13 [U-Boot] [PATCH v1 0/4] Add SHA256 encrypted stop string for autobooting Stefan Roese
2015-05-07 12:13 ` [U-Boot] [PATCH v1 1/4] Kconfig: Enable usage of escape char '\' in string values Stefan Roese
2015-05-07 12:41   ` Masahiro Yamada
2015-05-07 12:46     ` Stefan Roese
2015-05-07 12:53       ` Masahiro Yamada
2015-05-10 14:48   ` Simon Glass
2015-05-11  7:58     ` Stefan Roese
2015-05-11 13:27       ` Stefan Roese
2015-05-11 22:41         ` Simon Glass
2015-05-13  1:34           ` Masahiro Yamada
2015-05-15  7:13             ` Stefan Roese
2015-05-15  7:49               ` Masahiro Yamada
2015-05-07 12:13 ` [U-Boot] [PATCH v1 2/4] autoboot.c: Remove CONFIG_AUTOBOOT_STOP_STR2 and CONFIG_AUTOBOOT_DELAY_STR2 Stefan Roese
2015-05-07 23:47   ` Simon Glass
2015-05-11 12:38   ` Tom Rini
2015-05-07 12:13 ` [U-Boot] [PATCH v1 3/4] autoboot.c: Move config options to Kconfig Stefan Roese
2015-05-07 23:51   ` Simon Glass
2015-05-08  3:30     ` Masahiro Yamada
2015-05-08  6:00       ` Stefan Roese
2015-05-08  5:55     ` Stefan Roese
2015-05-10 14:49       ` Simon Glass
2015-05-07 12:13 ` [U-Boot] [PATCH v1 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password Stefan Roese
2015-05-07 20:56   ` Magnus Lilja
2015-05-08  7:52   ` [U-Boot] [PATCH v2 " Stefan Roese
2015-05-10 14:49     ` Simon Glass
2015-05-11  7:16     ` Andreas Bießmann
2015-05-11  7:44       ` Stefan Roese
2015-05-15  7:44     ` Magnus Lilja
2015-05-15  8:44       ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.