PINE64
Looking to commission a new Chromium build (COMMUNITY BOUNTY) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Chromium OS on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=118)
+--- Thread: Looking to commission a new Chromium build (COMMUNITY BOUNTY) (/showthread.php?tid=8676)

Pages: 1 2 3 4 5 6 7 8 9


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - brent.thierens - 02-04-2020

Not really, I don't expect too much to be changed actually. I will try to get crostini working on the image install itself, given the things we discussed above. Widevine doesn't work (yet), of that I'm quite sure.

Okay, so this command
Quote:sudo crosvm run \
--cpus 6 \
--mem 3000 \
--socket /run/crosvm.sock \
-r /run/imageloader/cros-termina/12371.22.0/vm_rootfs.img \
/run/imageloader/cros-termina/12371.22.0/vm_kernel
fails, but it doesn't when we use mem 2000. The socket gives a problem though, I'm stuck at 'failed to notify host system that VM is ready'

(01-04-2020, 05:29 AM)obyknovenius Wrote: From source code of chromium I figured out the command that actually runs to start VM behind the GUI when you install Linux (Beta):
sudo crosvm run \
--cpus 6 \
--mem 3000 \
--socket /run/crosvm.sock \
-r /run/imageloader/cros-termina/12371.22.0/vm_rootfs.img \
/run/imageloader/cros-termina/12371.22.0/vm_kernel

Where mem is the maximum memory vm allowed to use and the value is about 2/3 of all memory the memory. From journalctl output I  found that vm cannot be started with the error: cannot allocate memory errno 12.. If you remove this mem option it actually starts!
I tried to enable compact memory flag like here: https://stackoverflow.com/questions/46464785/cannot-allocate-memory-despite-free-reporting-available. I also tried to play with other kernel flags (don't remember already).

Can you use Mac to build chromium? Or you did install Ubuntu on it?
Can I ask you where you found this? It would be very helpful Smile


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - tophneal - 02-04-2020

Oh shit! The camera works!!!!


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - brent.thierens - 02-05-2020

No way! Awesome, I fixed more than I broke Big Grin


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - tophneal - 02-05-2020

Tried running vm start foo, while looking into Crostini troubleshooting, and gave way more information that vmc start termina:

crosh> vmc start foo
Error: routine at frontends/vmc.rs:151 `vm_start(vm_name,user_id_hash,features)` failed: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - brent.thierens - 02-06-2020

Did you see the memory allocation error in journalctl?


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - tophneal - 02-06-2020

(02-06-2020, 02:48 AM)brent.thierens Wrote: Did you see the memory allocation error in journalctl?

No, I forgot to go into journalctl. I can jump in and grab that, though.


EDIT: Just had a thought while going through journalctl and thinking about the memory allocation error. After a convo with dhivael in IRC about the u-boots that can and can't be used by the CrOS builds, I'm wondering if this may not be related to the Debian kernel having some kind of dependency on the u-boot/ATF files. I recall the older u-boots having issues with rockchip-dmc and setting frequencies. I wonder if after it matures more, switching to mainline kernel may help us resolve parts of this.


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - tophneal - 02-06-2020

Started wondering this morning whether I got a reply from AtB, and started checking my junk folder (nothing good there,) which led me to just try searching "arnoldthebat rk3399" and it led me to this:

Quote:Stuart Naylor
AUGUST 19, 2018 AT 9:48 AM
Is there an image that will work with many of the new RK3399 boards avail as they would seem to be more a less a Arm Chromebook on a board.
I tried with the Rock64pro but it seems to fail to boot?

REPLY
arnoldthebat
AUGUST 28, 2018 AT 12:24 PM
Unlikely at the moment.

I'm going to guess that answer hasn't changed yet.

Oh well. Onward!

EDIT:

I just tried to rerun that command again this morning, to poke around in journalctl, and now /run/imageloader/ is empty. Trying to run sudo crosvm run now gives "unexpected argument: 'KERNEL'".


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - brent.thierens - 02-07-2020

Can you check in your settings and recreate the Linux image? (just turn it off and on)


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - tophneal - 02-07-2020

(02-07-2020, 01:07 AM)brent.thierens Wrote: Can you check in your settings and recreate the Linux image? (just turn it off and on)

Yea, I'll do that. Interesting, I didn't realize CrOs moved those items around when installing the Linux Tools. Good to know, though.

EDIT: Just removed/turned off Linux tools in settings, but i'm still seeing an empty /run/imageloader/cros-termina through ls.


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - brent.thierens - 02-08-2020

No idea how that is caused. Can you recreate the image through vmc?
Btw, camera isn't working here... Did you do anything special?