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) - tophneal - 08-14-2020

(08-13-2020, 04:35 PM)brent.thierens Wrote: Ok, so here is the image I built, but couldn't test yet:
https://brentthierens.stackstorage.com/s/r4H5COs5GI65JYBI
Probably with flashing a uboot to the SD after flashing the image, we could be fine. However, one does not know for sure untill it actually boots. I also saw issues in the past when a newer version of uboot was on the eMMC. So, if anyone wants to test and doesn't mind wiping the eMMC for the uboot part at least, go ahead! Smile
FYI: this should have 5.8-rc5

Nice! I'll give it a try this weekend!

put it on an SD and added mrfixit's bsp uboot but it wasn't having it. i'll give it another shot from manjaro. maybe mainline uboot will get it going


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - clover - 08-18-2020

I put it on a (crappy) 16GB SD, didnt boot. I have dhivael's upstream uboot on my SPI.


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

i guess if neither bsp or mainline will get it booting, it might be time for a serial cable, to see why


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

I did some more investigation. One of the problems is that the EFI partition is empty. If you mount it and you copy over the files from e.g. a Manjaro boot partition, and change the loglevel to 6 and the console to tty1, you get some output. As we already have had before, ChromeOS believes its ROOT Partition is damaged and will do some stuff that fails and the PBP does not boot. However, if we look back at the original images by @ayufan we can see that there are a lot of hashes over there, that verify the integrity of the image (kernel image?) or whatever. I think we need to find out what these hashes mean and how to adapt them. Can @ayufan himself maybe shed some light here?

This might be interesting as well: https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/42038.pdf
If anyone has some insights here, I feel we could be quite close to a working image Smile


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

good catch!

not sure how to get @ayufan to weigh in. He doesn't seem to be super active on the boards (i've never seen him reply to a user mention, or reply to a pm,) though you can occasionally catch him in the #pine64 and #rock64 channels (though i'm not sure what service he uses for the chat, so it may not be easy to PM him either)


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - clover - 09-03-2020

@brent.thierens ,

When you go to build the image itself, make sure  --noenable_rootfs_verification is set to bypass the verified boot. E.g., 
Code:
./build_image --board=${BOARD} --noenable_rootfs_verification test



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

Thanks for the tip. I did that however, so maybe the reason it fails is something entirely different...


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

(09-07-2020, 10:27 AM)brent.thierens Wrote: Thanks for the tip. I did that however, so maybe the reason it fails is something entirely different...
are you using a custom overlay or just arm64 generic?


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

I tried with arm64-generic, but I added some more options so in the end it is a custom overlay inheriting from arm64-generic.
I can post the files if you're interested Smile


RE: Looking to commission a new Chromium build (COMMUNITY BOUNTY) - clover - 09-08-2020

(09-08-2020, 08:58 AM)brent.thierens Wrote: I tried with arm64-generic, but I added some more options so in the end it is a custom overlay inheriting from arm64-generic.
I can post the files if you're interested Smile
Please do! I tried my own arm64 custom overlay with mainline uboot + manjaro kernel, but hit a wall building the the verified boot tools package. I think this is due to the compiler toolchain being too old.