(11-08-2019, 05:52 PM)Arglebargle Wrote: RE u-boot: The script to patch u-boot on the eMMC is simple enough that it should just work, I don't think it's doing anything that would fail on chromeOS.
If for some reason it does fail I hacked a copy so I could flash to a specified device instead of the detected root; I used this to patch loopback mounted copies of ayufan's images so they're ready to use again if I need them. Just edit DEVID to point at the device you want to flash updated u-boot onto: https://pastebin.com/raw/EeK074XB.
You don't want to be working in crosh, either switch to the debug shell (ctrl+alt+f2) or drop to a proper shell from crosh by running "shell" and then switch to root. I usually just "sudo -i bash" as cronos (default password is "cronos") and away you go.
--
I tried the ChromeOS build out for a bit last night and it seemed to work well. Netflix video playback seemed significantly smoother compared to Linux, is there better support for hardware accelerated video here vs the Linux builds? My only real gripe with the experience was the touchpad, otherwise the PBP makes a pretty decent chromebook.
I decided to write R76 the other day to compare it to R77 (and see if Linux VM would install) and I learned some things that may be handy to others down the line.
First, no, R76 VMs don't install, and in general R77 runs better. Ignore R76.
When I switched back to R77, I needed to reapply this uboot patch. There's an issue with using MrFixit's script, from a powered down state I could not get the PBP to boot unless I inserted an SD card. So in order to boot into CrOS, I first had to insert my Manjaro SD, then remove it once I saw the backlight come on.
This part is a bit of a facepalm learning experience. Once R77 was back on my PBP I downloaded the uboot .imgs and the modifiied script provided by Arglebargle. However whenever I tried to run the modified script, I kept getting problems, namely warnings about noexec, unexpected fi, and $'\r': command not found. After a bit of digging I realized the script file is saved with DOS-style endings. While looking for a way to resolve this (I don't suggest Text from the Web Store) I came across
Chromebrew.
For anyone running CrOS on their PBP, I highly recommend it, since the default Linux tools don't work. With it, I was able to install dos2unix to quickly fix the script file (it ran correctly afterward,) and nano, because I hate vim and wanted a simple text editor that isn't likely to repeat this issue. I haven't dived too deep yet into what apps are and are not available through it, though.