setup_board --board=mistral failed with board not found in _ListOverlays

Skip to first unread message

Adarsh Singh

Jan 30, 2024, 8:49:04 AMJan 30
to ChromiumOS Development
I am trying to build the codebase chromiumos for mistral board. 
followed the steps to build it as mentioned on the guidelines. repo sync done successfully. While doing cros_sdk it's also completed successfully but  some file conflict was there but I don't think that will cause any issue. The error was like: 

This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at unless you report exactly
* which two packages install the same file(s). See
* for tips on how
* to solve the problem. And once again, please do NOT file a bug report
* unless you have completely understood the above message.
* Detected file collision(s):
*    /usr/share/fonts/monotype/.uuid
*    /usr/share/fonts/google-sans/.uuid
* Searching all installed packages for file collisions...
* Press Ctrl-C to Stop
* None of the installed packages claim the file(s).
* Package 'chromeos-base/chromeos-fonts-0.0.1-r49' merged despite file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.

* Regenerating GNU info directory index...
* Processed 93 info files.
14:14:44.377: INFO: Running: emerge -uNv '--with-bdeps=y' --oneshot --getbinpkg --deep --usepkgonly dev-lang/rust dev-lang/rust-bootstrap virtual/target-sdk-post-cross dev-embedded/coreboot-sdk dev-embedded/ti50-sdk --root-deps '--jobs=4' '--rebuild-exclude=chromeos-base/chromeos-chrome' '--rebuild-exclude=chromeos-base/chromium-source' '--rebuild-exclude=chromeos-base/chrome-icu'

After this step I tried to run setup_board --board=mistral inside the chroot. but this command is also failing with the below error. 
~/chromiumos/src/scripts $ setup_board --board=mistral
14:22:02.086: INFO: Updating chroot.
14:22:02.086: INFO: run: /mnt/host/source/src/scripts/update_chroot --toolchain_boards mistral --usepkg
14:22:02 INFO    : Updating chroot
14:22:02 INFO    : Clearing shadow utils lockfiles under /
14:22:02 INFO    : Updating cross-compilers
14:22:02 INFO    : Running: sudo -E /mnt/host/source/chromite/bin/cros_setup_toolchains --targets=boards --include-boards=mistral
cros_setup_toolchains: Unhandled exception:
Traceback (most recent call last):
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 208, in <module>
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 204, in DoMain
  File "/mnt/host/source/chromite/lib/", line 1037, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/mnt/host/source/chromite/scripts/", line 1372, in main
  File "/mnt/host/source/chromite/scripts/", line 728, in UpdateToolchains
  File "/mnt/host/source/chromite/lib/", line 90, in GetToolchainsForBoard
  File "/mnt/host/source/chromite/lib/", line 211, in FindOverlays
    overlays = _ListOverlays(board=board, buildroot=buildroot)
  File "/mnt/host/source/chromite/lib/", line 193, in _ListOverlays
    raise MissingOverlayError('board overlay not found: %s' % board)
chromite.lib.portage_util.MissingOverlayError: board overlay not found: mistral
14:22:02.968: ERROR: Error occurred while updating the chroot. See the logs for more information.

PTAL and help me to fix this issue. 

thanks & regards,
Adarsh Singh

Mike Frysinger

Jan 30, 2024, 11:23:45 AMJan 30
to Adarsh Singh, ChromiumOS Development
Google WiFi projects (e.g. mistral) are on the R94 branch, not the latest ToT

that said, they never made their board overlays public.  i tried to push on them for a bit, and even posted a few CLs, but it was never a priority for them.  so unfortunately, you won't really be able to build CrOS for a Google WiFi device using public sources.

Chromium OS Developers mailing list:
View archives, change email options, or unsubscribe:

Adarsh Singh

Feb 1, 2024, 1:05:04 AMFeb 1
to ChromiumOS Development, Mike Frysinger, ChromiumOS Development
Thanks mike for your quick response.
Reply all
Reply to author
0 new messages