Possible to build chromeos without chrome

108 views
Skip to first unread message

Tien Hock Loh

unread,
Mar 13, 2022, 11:31:20 PM3/13/22
to Chromium OS Development
Hi

I'm trying to port/enable a minimal version of ChromiumOS without Chrome/Chromium that runs on RISC-V target. Would it be possible to skip chrome/chromium browser build and still able to build and boot the target?

I saw the chromeless_tty USE flag, but couldn't really figure out what that is. 

Thanks

Mike Frysinger

unread,
Mar 14, 2022, 12:17:33 AM3/14/22
to Tien Hock Loh, Chromium OS Development
did you create a board overlay and then set USE=chromeless_tty in it ?

you're going to run into a lot of failures due to missing seccomp failures for riscv64.
-mike

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev

Tienhock Loh

unread,
Mar 14, 2022, 3:32:14 AM3/14/22
to Mike Frysinger, Chromium OS Development

Yeah I just followed FydeOS’s pi4 setup and use chromeless_tty. It looks like it can proceed without chrome browser.

 

Yes a lot of seccomp failures, but temporarily, I have mode duplication of arm64’s policy and use it as riscv’s. Any issues you see reusing arm64’s seccomp policy?

 

Tien Hock

 

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.

Mike Frysinger

unread,
Mar 14, 2022, 3:47:25 AM3/14/22
to Tienhock Loh, Chromium OS Development
i've never compared the two syscall tables.  they would have to use the same set of syscalls and use the same signatures.  you could prob use docs/constants/syscalls.py to generate tables to see what ones arm64 has that riscv doesn't.

i'm assuming you're only testing riscv64.
-mike

Tienhock Loh

unread,
Mar 14, 2022, 3:49:29 AM3/14/22
to Mike Frysinger, Chromium OS Development

I see, I’ll take a look at the syscalls.py. Yes I’m currently testing riscv64, and will try to enable it and start upstreaming the code if possible.

 

Thanks

ggg

unread,
Mar 14, 2022, 1:48:01 PM3/14/22
to Chromium OS Development, tienho...@starfivetech.com
On Sunday, March 13, 2022 at 8:31:20 PM UTC-7 tienho...@starfivetech.com wrote:
Hi

I'm trying to port/enable a minimal version of ChromiumOS without Chrome/Chromium that runs on RISC-V target. Would it be possible to skip chrome/chromium browser build and still able to build and boot the target?

You might find this CL helpful to build a "headless" server:

It's very much out of date but should provide outlines on how to build w/o chromium.

cheers,
grant

Tien Hock Loh

unread,
Mar 16, 2022, 2:50:42 AM3/16/22
to Chromium OS Development, ggg, Tien Hock Loh
Sorry for the late reply. Seems like a good information for me. Thanks! 
Reply all
Reply to author
Forward
0 new messages