[PATCH v1 00/30] Cleanups, ARM64 support

Geoff Levand geoff at infradead.org
Wed Jul 25 08:15:39 AEST 2018


Hi Sam,

This series adds arm64 platform support to the cleanups series I posted
previously.  Included are re-worked and cleaned up versions of the
EFI and arm64 patches Ge has posted.

Please consider.  I can split the patches up in whatever way makes your
review easier.  Just let me know.

-Geoff


The following changes since commit 99a1f905f585480cca2c9a43ab18ed8e37365192:

  ui/ncurses: Implement F10-F12 for autoboot device control (2018-07-10 13:46:12 +1000)

are available in the git repository at:

  https://github.com/glevand/petitboot--petitboot.git for-merge-arm64-1

for you to fetch changes up to e1bb37c2d95ca796eebd2f0b58031ae206f8e08b:

  docker: Update build-pb with platforms (2018-07-24 15:03:16 -0700)

----------------------------------------------------------------
Ge Song (6):
      lib/efi: Add new routines to access efi variables
      discover: Move generic ipmi routines to ipmi
      discover/powerpc: Rearange save_config
      discover: Move generic config routines to platform
      discover: Move generic params routines to platform
      discover: Add platform-arm64

Geoff Levand (24):
      docker: Add libfdt-dev
      configure: Add check for UI build
      configure: Remove unused ENABLE_DEBUG
      lib/log: Add verbose logging routines
      lib/log: Switch to pb_log_fn
      discover: Add --debug to kexec
      discover/kboot-parser: Look in /boot
      discover: Add some debug print messages
      discover/parser: Add new parser_is_unique
      test/parser: Add parser_is_unique
      discover/parser: Hookup parser_is_unique
      lib/process: Cleanup stdout callback
      lib/process: Add process_get_stdout
      discover/powerpc: Use process_get_stdout
      lib/efi: Cleanup read/write routines
      discover/event: Rename param -> event_param
      lib/param_list: Add new parameter list routines
      discover/powerpc: Add param_name arg
      discover/powerpc: Switch to new param_list
      configure: Rename ENABLE_PS3 to PLATFORM_PS3
      discover: Add platform-dummy
      configure: Add conditional platform builds
      lib/system: Add dmidecode as system app
      docker: Update build-pb with platforms

 configure.ac                  |  64 +++-
 discover/Makefile.am          |  18 +-
 discover/boot.c               |  30 +-
 discover/device-handler.c     |   9 +-
 discover/devmapper.c          |  14 +-
 discover/discover-server.c    |   6 +-
 discover/event.c              |  16 +-
 discover/event.h              |   2 +-
 discover/ipmi.c               | 125 ++++++-
 discover/ipmi.h               |   4 +
 discover/kboot-parser.c       |  19 +-
 discover/parser.c             |  30 ++
 discover/parser.h             |  14 +
 discover/paths.c              |   2 +-
 discover/platform-arm64.c     | 278 ++++++++++++++++
 discover/platform-dummy.c     |  16 +
 discover/platform-powerpc.c   | 738 +++---------------------------------------
 discover/platform.c           | 417 +++++++++++++++++++++++-
 discover/platform.h           |   9 +-
 discover/pxe-parser.c         |   2 +-
 discover/resource.c           |   2 +-
 discover/syslinux-parser.c    |  47 +--
 discover/udev.c               |   4 +-
 discover/user-event.c         |  16 +-
 docker/Dockerfile.builder     |   1 +
 docker/build-pb               |   2 +-
 docker/builder-include        |   2 +-
 lib/Makefile.am               |   6 +-
 lib/efi/efivar.c              | 192 +++++++++++
 lib/efi/efivar.h              |  53 +++
 lib/file/file.c               |   6 +-
 lib/flash/flash.c             |   8 +-
 lib/log/log.c                 |  36 +++
 lib/log/log.h                 |  11 +
 lib/param_list/param_list.c   | 118 +++++++
 lib/param_list/param_list.h   |  48 +++
 lib/pb-protocol/pb-protocol.c |   8 +-
 lib/process/process.c         |  98 +++---
 lib/process/process.h         |  28 +-
 lib/security/common.c         |   2 +-
 lib/security/gpg.c            |  26 +-
 lib/security/openssl.c        |  18 +-
 lib/system/system.c           |   1 +
 lib/system/system.h           |   1 +
 lib/url/url.c                 |   2 +-
 s                             |   0
 test/lib/test-efivar.c        | 127 ++++++++
 test/parser/utils.c           |  12 +
 ui/common/Makefile.am         |   2 +-
 ui/common/discover-client.c   |  20 +-
 ui/common/joystick.c          |   4 +-
 ui/common/ps3.c               |  18 +-
 ui/common/timer.c             |   2 +-
 ui/common/ui-system.c         |   2 +-
 ui/ncurses/Makefile.am        |   2 +-
 ui/ncurses/generic-main.c     |   2 +-
 ui/ncurses/nc-cui.c           |  36 +--
 ui/ncurses/nc-menu.c          |   8 +-
 ui/ncurses/ps3-main.c         |   8 +-
 ui/twin/Makefile.am           |   2 +-
 ui/twin/main-generic.c        |   4 +-
 ui/twin/main-ps3.c            |   2 +-
 ui/twin/pbt-client.c          |  12 +-
 ui/twin/pbt-scr.c             |  16 +-
 64 files changed, 1879 insertions(+), 949 deletions(-)
 create mode 100644 discover/platform-arm64.c
 create mode 100644 discover/platform-dummy.c
 create mode 100644 lib/efi/efivar.c
 create mode 100644 lib/efi/efivar.h
 create mode 100644 lib/param_list/param_list.c
 create mode 100644 lib/param_list/param_list.h
 create mode 100644 s
 create mode 100644 test/lib/test-efivar.c

-- 
2.14.1



More information about the Petitboot mailing list