Revert "chromeos-config: Update branch to ToT"

This reverts commit a23e599607a928e89caedae770ad0ffd66891c1c.

Reason for revert:
More changes are needed elsewhere before everything will build correctly.

Original change's description:
> chromeos-config: Update branch to ToT
> 
> This brings the following patches into the grunt firmware branch so
> that the yaml file can be used unchanged.
> 
> b28f6bd6c chromeos-config: Remove unused create_bios_rw_image
> f82770f99 chromeos-config: Change '{main,ec,pd}-image' to '{main,ec,pd}-ro-image'
> e89e072c8 chromeos-config: Remove unused 'extra' and 'tools' properties
> 40f41a430 chromeos-config: Fixing a link that currently 404s.
> d555031f8 chromeos-config: add bread crumbs to cros_config
> 6de63e1f2 chromeos-config: Migrate package to GN
> d9e59e28a chromeos-config: Add runtime integer property support
> bf10ad773 chromeos-config: Add camera count to schema
> 17249c80d chromeos-config: Output generated EC code
> 1c8476370 chromeos-config: Fix issue with dptf-dv param
> 1989ddffe chromeos-config: Support config partials for dump
> e224241fe chromeos-config: Add cras config back to dump
> a69fe2799 chromeos-config: Add bluetooth support
> dc305d03d chromeos-config: Remove unsupported abspath
> 915698e30 chromeos-config: Don't store empty properties
> 1d8fa17db chromeos-config: updating documentation for changing a model.yaml file
> 4c72f9905 chromeos-config: Check build target exists before reading
> 124b652b3 chromeos-config: Better unique error reporting
> 45bae3de7 chromeos-config: Remove device-tree config support
> bb69f09f9 chromeos-config: Remove validate_config support
> 8f7e3b7c6 chromeos-config: Remove device-tree config support
> 2e1d8b5dc chromeos-config: Delete unused v1 readme
> 89a6cafe1 chromeos-config: Fix test schema json format
> 3e368f9fe chromeos-config: Clarify EC code generation
> 5333ccdb9 chromeos-config: Migration mosys bindings compat
> dbcb7a22d chromeos-config: Fix YAML whitelabel logic
> e97bd6bdc chromeos-config: Add brand-code to FirmwareInfo
> aa1a67d8b chromeos-config: Drop RLZ constraint
> eb9ab50bf chromeos-config: Better migration test format
> 832f91b88 chromeos-config: Fix migration test script
> 780385620 chromeos-config: Correct endianness when getting/setting SKU ID
> bdde39845 chromeos-config: Make YAML/DT properties diffable
> 8fdd631ef chromeos-config: FDT backwards compatibility
> ad81a40a1 chromeos-config: FirmwareInfo DT/YAML parity
> 4e8a6f989 chromeos-config: Make error messages easier
> 6d189ce2c chromeos-config: Add runtime bool property support
> 305a41e92 chromeos-config: Add support for named fw payload
> 41fd3fd94 chromeos-config: Add OWNERS file
> da4e6d382 chromeos-config: Delete old test file
> 08a5044b9 chromeos-config: Revert to gyp build
> c8a39de78 chromeos-config: Add firmware name field
> e24e5b5ff chromeos-config: Fix a memory leak
> 99ec4d099 chromeos-config: Add cros_config_test_schema proc
> f14587dd1 chromeos-config: Add ec_config autogen code
> cafdbb1bf chromeos-config: add has-fingerprint-sensor field under hwprops
> acd7566d0 chromeos-config: Add trailing newlines to tests
> 37b802414 chromeos-config: Support sku-id as an identifier for ARM
> d0b2511d5 chromeos-config: Add hwprops field to schema
> 22c4c888f chromeos-config: Support dump of valid properties
> a9f5035f5 chromeos-config: Add merge documentation
> 940021c5f chromeos-config: migrate the package to GN
> bc9c2774e chromeos-config: remove firmware updater script from dtsi config.
> def3eff4a Revert "chromeos-config: Change to regex for ARM DT match"
> 9641b0419 chromeos-config: remove all references to firmware-updater-script, and make firmware/script optional in dtsi script.
> 043978019 chromeos-config: add property for specifying modem firmware variant
> d214b74d8 chromeos-config: Add file equality helper to tests
> af6942c54 chromeos-config: Default --model to CROS_CONFIG_MODEL env variable
> b00b3e753 chromeos-config: Make --model apply to all sub-commands
> f5cdbcbbe chromeos-config: clarify identity docs
> 9504dbe4e chromeos-config: Adjust Fdt implementation for upstream
> 25dbccc7e chromeos-config: Gen all schema properties
> 2fa67a751 chromeos-config: Complete dump fn coverage
> c246cd954 chromeos-config: Remove unused --model flag in test
> ffeeaf004 chromeos-config: Change to regex for ARM DT match
> 359a7aa14 chromeos-config: Remove legacy models reference
> c2448fca8 chromeos-config: Add fw updater script config
> c8b7cf42e chromeos-config: add ec_extras target
> 0134c22a3 chromeos-config: rename unittest to xxx_test.cc
> 11469c112 chromeos-config: parent scope definitions win
> 
> TEST=Build Firmware
> BUG=None
> 
> Change-Id: Ibd729a1e7e8cc28df5b2a5a0a9d0d8ceba1a1395
> Signed-off-by: Martin Roth <martinroth@google.com>
> Reviewed-on: https://chromium-review.googlesource.com/c/1410067
> Reviewed-by: Martin Roth <martinroth@chromium.org>
> Tested-by: Martin Roth <martinroth@chromium.org>

Bug: None
Change-Id: Iceadafa60de35f0c1b7d4efd46551a780147d641
Reviewed-on: https://chromium-review.googlesource.com/c/1409855
Reviewed-by: Martin Roth <martinroth@chromium.org>
Commit-Queue: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
73 files changed
tree: a1e8cb6a3cd3bd3ef554a8c4289306f3fcafbbbd
  1. apmanager/
  2. arc/
  3. attestation/
  4. authpolicy/
  5. avtest_label_detect/
  6. biod/
  7. bluetooth/
  8. bootstat/
  9. buffet/
  10. cecservice/
  11. cfm-device-updater/
  12. chaps/
  13. chromeos-common-script/
  14. chromeos-config/
  15. chromeos-dbus-bindings/
  16. common-mk/
  17. container_utils/
  18. crash-reporter/
  19. cromo/
  20. cros-disks/
  21. cros_component/
  22. crosdns/
  23. crosh/
  24. cryptohome/
  25. debugd/
  26. diagnostics/
  27. disk_updater/
  28. dlcservice/
  29. easy-unlock/
  30. feedback/
  31. fitpicker/
  32. gobi-cromo-plugin/
  33. goldfishd/
  34. hammerd/
  35. hermes/
  36. image-burner/
  37. imageloader/
  38. init/
  39. installer/
  40. ippusb_manager/
  41. libbrillo/
  42. libchromeos-ui/
  43. libcontainer/
  44. libpasswordprovider/
  45. login_manager/
  46. lorgnette/
  47. media_perception/
  48. metrics/
  49. midis/
  50. mist/
  51. ml/
  52. modem-utilities/
  53. modemfwd/
  54. mtpd/
  55. oobe_config/
  56. p2p/
  57. peerd/
  58. permission_broker/
  59. portier/
  60. power_manager/
  61. regions/
  62. run_oci/
  63. salsa/
  64. screenshot/
  65. secure_erase_file/
  66. sepolicy/
  67. smbprovider/
  68. smogcheck/
  69. st_flash/
  70. storage_info/
  71. thd/
  72. timberslide/
  73. touch_firmware_calibration/
  74. touch_keyboard/
  75. tpm2-simulator/
  76. tpm_manager/
  77. trim/
  78. trunks/
  79. u2fd/
  80. userfeedback/
  81. userspace_touchpad/
  82. virtual_file_provider/
  83. vm_tools/
  84. vpn-manager/
  85. webserver/
  86. wifi-testbed/
  87. wimax_manager/
  88. .clang-format
  89. .gitignore
  90. .gn
  91. CPPLINT.cfg
  92. LICENSE
  93. PRESUBMIT.cfg
  94. README.md
README.md

The Chromium OS Platform

This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.

Local Project Directory

ProjectDescription
apmanagerService for managing a WiFi Access Point (AP)
arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bluetoothBluetooth Service and tools
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
cecserviceService for switching CEC enabled TVs on and off
cfm-device-updaterFirmware updaters for CFM peripherals
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
common-mkCommon build & test logic for platform2 projects
container_utilsSupport tools for containers (e.g. device-jail)
crash-reporterThe system crash handler & reporter
cromomodemmanager compatible D-Bus interface to support closed source modem drivers
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
cros_component
crosdnsHostname resolution service for Chrome OS
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
debugdCentralized debug daemon for random tools
diagnosticsDevice telemetry and diagnostics daemons
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
dlcserviceDownloadable Content (DLC) Service daemon
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
fitpicker
gobi-cromo-pluginplugin for supporting gobi3k modems with cromo
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
hermesChrome OS LPA implementation for eSIM hardware support
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_manager“Service” for ipp-over-usb printing
libbrilloCommon platform utility library
libchromeos-ui
libcontainer
libpasswordproviderPassword Provider library for securely managing credentials with system services
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
media_perceptionMedia perception service for select platforms
memdDaemon that logs memory-related data and events
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
mlMachine learning service
modem-utilities
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
oobe_configUtilities for saving and restoring OOBE config state
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
permission_broker
portierMulti-Network Neighbor Discovery Proxy service for Chrome OS
power_managerUserspace power management daemon and associated tools
regions
run_ociMinimalistic container runtime
salsaTouchpad experimentation framework
screenshotTiny command to take a screenshot
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for Chrome OS
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
st_flash
storage_infoHelper shell functions for retrieving disk information)
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_firmware_calibration
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
userfeedbackVarious utilities to gather extended data for user feedback reports
userspace_touchpad
virtual_file_provider
vm_toolsUtilities for Virtual Machine (VM) orchestration
vpn-manager
webserverSmall web server with D-Bus client backends
wifi-testbedTools for creating a WiFi testbed image
wimax_manager

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/