pinebook Posted February 8, 2022 Posted February 8, 2022 I've just installed armbian to Pinebook Pro's eMCC using the full-disk encryption helper script from https://github.com/mmgen/mmgen-geek-tools The said script was executed inside an armbian installation in an sd card with official Pinebook Pro image. The eMCC installation almost worked - it boots to graphical desktop, however there's no wifi and bluetooth. I don't have any other way to connect the laptop to internet. I guess the way to fix this is to boot the sd card again because it has internet, then open the encrypted disk manually and chroot to its root, then run some command - but I don't know which one! Please help. Board: Pinebook
TRS-80 Posted February 9, 2022 Posted February 9, 2022 I have no idea what that tool does exactly, but maybe try again with armbian-config and see if that works? If it does, maybe study both tools and see what they are doing differently.
Werner Posted February 9, 2022 Posted February 9, 2022 Try to install Armbian without 3rd party tools on eMMC using sata-nand-install and check if wireless/BT works.
Igor Posted February 9, 2022 Posted February 9, 2022 Perhaps @MMGencan tell what his script do? https://github.com/mmgen/mmgen-geek-tools/blob/main/scripts/armbian_rootenc_setup.sh
pinebook Posted February 10, 2022 Author Posted February 10, 2022 Actually the said installation script is distilled from the author's thread in which he laid out the steps in details @Wernerthe official installation script does result in working wifi+bluetooth, but I want full-disk encryption, and can't do better than the script. @TRS-80if I understand correctly, the official script copy everything from running system (sd card) to emcc partition, while MMgen's script copy from the brand new image and generate a new initramfs (step 9.3 in the tutorial) So I tried to reinstall several times. I succeed with manually specifying modules (the script's `-o` argument) instead of automatically (`-m`). Without both `-o` and `-m` the screen is blank. I ended up with `-o` because I saw warnings (see attached `log.txt` file) that said some modules may not be available, so I just remove those modules from the list (generated by `lsmod`) before passing to `-o`. Wifi is working now, which is blessing Bluetooth, however, is still missing. I tried armbian config but got no luck. log.txt
pinebook Posted February 10, 2022 Author Posted February 10, 2022 I will mark the above as solution soon, but would be great if someone can help with the bluetooth issue.
TRS-80 Posted February 15, 2022 Posted February 15, 2022 I misspoke when I said armbian-config. I meant to say nand-sata-install, as Werner correctly pointed out. BTW @Werner, did we change name to sata-nand-install, or was that just a typo?
Werner Posted February 15, 2022 Posted February 15, 2022 2 hours ago, TRS-80 said: did we change name to sata-nand-install, or was that just a typo? typo. Did not remember what the correct name was
Solution pinebook Posted February 16, 2022 Author Solution Posted February 16, 2022 update: both wifi and bluetooth is working now. I went through the file `/etc/initramfs-tools/modules` and remove all bluetooth/wifi modules then `update-initramfs`.
Recommended Posts