![]() |
What's a good image to use now? [tutorial help as well] - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: What's a good image to use now? [tutorial help as well] (/showthread.php?tid=19568) |
RE: What's a good image to use now? [tutorial help as well] - Der Geist der Maschine - 03-09-2025 Quote:In rc.local echo disabled > /sys/devices/platform/dc-charger/power/wakeup If I recall, that value gets reset after replugging the power supply back in. You need an udev rule that fires on every "add". Perhaps double check. Quote:BTW, it had 5.4 on it, STR did NOT work, had to install 5.8.14, works,, I had nothing in /etc/tmpfiles.d/ You do not have a /etc/tmpfiles.d/force-s2idle.config file b/c it gets created in Daniel Thompson's Debian installer's first commit while you run Manjaro. As the file name suggests, that file enforces s2idle which barely saves power. The first Debian installer version was using Kernel 5.4 and, as you pointed out, suspend to memory did not work at that time (well, s2idle worked but that does not count). His most recent Debian installer is using kernel version 5.7. That kernel version supports suspend to memory quite well and so that /etc/tmpfile.d/ should be removed, again. It was an oversight not having done that. Quote:After several sleep/wake cycles it gets a bit slow, needs a reboot (>10?) I never noticed that. Maybe you want to try out Debian Bookworm + Kernel 5.7 from https://github.com/schaecsn/pinebook-pro-debian-installer? In its simplest form you just run ./install-debian from the emmc. It installs Debian onto a blank micro sd which you can then test. If you like that kernel but not Debian, then you maaaaay be able to copy that kernel + modules over to Manjaro. Quote:Are there any later kernels where STR works correctly? I don't know. All this is kept secret by whoever is releasing Pinebook Pro specific kernels. If you want to put a lot of effort into this, then look at the kernel sources. I don't know how to get the kernel source from Manjaro, the kernel sources for Daniel Thompson's kernels are here https://github.com/schaecsn/pinebook-pro-debian-installer/commit/99aed50f17b51360edd251b1212ea7d4124e862f. RE: What's a good image to use now? [tutorial help as well] - wdt - 03-11-2025 So I gave this install tool a try, didn't work Bad vermagic libfdt Maybe because boot (partition) is empty except for a empty efi dir, and no sign of a kernel or Image anywhere (this is with a temporary tow-boot uboot) RE: What's a good image to use now? [tutorial help as well] - Der Geist der Maschine - 03-11-2025 (03-11-2025, 05:30 PM)wdt Wrote: So I gace this install tool a try, didn't work This installer install Mrfixit's uboot (see partition 1, 2 and 3) Code: $ sudo fdisk -l /dev/mmcblk1 and it comes with a kernel, or course: Code: $ dir /boot a) it comes with its own uboot, so I assume your spi tow-boot may do things different? Suspend to sleep will probably only work with Mrfixit's uboot and not tow-boot (at least you said so and I believe I heard that elsewhere as well) b) are you sure the install ran to the end, e.g. it did not abort. The last step is tasksel where you choose your desktop. RE: What's a good image to use now? [tutorial help as well] - wdt - 03-11-2025 To a usb stick, tried both sockets, with a blanked emmc uboot and got a emmc boot, but usb should have priority over emmc (strings uboot.img |grep boot_target) since the emmc uboot was not there I could use ONLY tow-boot on SD and force usb boot It did not work I thought the install was finished, there was no setup, I thought that would be with 1st boot RE: What's a good image to use now? [tutorial help as well] - Der Geist der Maschine - 03-11-2025 (03-11-2025, 10:00 PM)wdt Wrote: To a usb stick, tried both sockets, with a blanked emmc uboot Tow-boot on micro SD to boot Debian from usb. That's not a straightforward setup. There you are on your own. Quote: I thought the install was finished, there was no setup, I thought that would be with 1st boot Then the install aborted. That can happen if you press "enter" in advance so that it takes effect on the next prompt where "enter" means stop. Quite a few folks succeeded in setting up Debian though Daniel Thompson's installer. You can do that, too ![]() RE: What's a good image to use now? [tutorial help as well] - wdt - 03-12-2025 so, I tried again, twice ------ 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 288.64 s, 7.4 MB/s Setting up swapspace version 1, size = 2 GiB (2147479552 bytes) no label, UUID=9bed6eb0-5672-4607-9c21-b58daadebb99 install: cannot create regular file '/home/d/pinebook-pro-debian-installer/sysimage/etc/fstab': No such file or directory >>>> umount umount: /home/d/pinebook-pro-debian-installer/sysimage/dev: no mount point specified. umount: /home/d/pinebook-pro-debian-installer/sysimage/proc: no mount point specified. umount: /home/d/pinebook-pro-debian-installer/sysimage/sys: no mount point specified. [d@farm pinebook-pro-debian-installer]$ also tried as root fatal: detected dubious ownership in repository at '/home/d/pinebook-pro-debian-installer' To add an exception for this directory, call: git config --global --add safe.directory /home/d/pinebook-pro-debian-installer RE: What's a good image to use now? [tutorial help as well] - Der Geist der Maschine - 03-12-2025 (03-12-2025, 10:55 AM)wdt Wrote: so, I tried again, twice You don't have a etc/ directory. That gets created by the installation of all the many Debian packages (they install some files into the etc/ directory thereby creating it). Perhaps something went wrong in do_prep(). The code differs between Debian and Manjaro: Code: do_prep () { Are you sure the "Preparing to install" phase went through fine? I run the debian installer from Debian (initially from Mrfix't Debian 9 ... and nowadays from a debian bootstrap'ed Debian 10, 11 and 12). I never tried to run it from Manjaro. I'm sure many folks did it. There should be hope. Just analyze the output from the do_prep() phase (or from any other previous phase). RE: What's a good image to use now? [tutorial help as well] - wdt - 03-13-2025 OK, I booted mrfixit on sd , and got same results, maybe there needs to be a "clean" command? no errors shown until the fstab line RE: What's a good image to use now? [tutorial help as well] - Der Geist der Maschine - 03-13-2025 (03-13-2025, 04:01 PM)wdt Wrote: OK, I booted mrfixit on sd , and got same results, maybe there needs to be a "clean" command? The clean command is Code: install-debian do_clean Can you please insert "set -x" right after the first line? That makes the shell script very verbose. Post the whole output. Also, how do you call the script, anyway? As mentioned earlier: Der Geist der Maschine Wrote:In its simplest form you just run ./install-debian from the emmc. It installs Debian onto a blank micro sd which you can then test. What arguments do you pass to have it installed on usb? RE: What's a good image to use now? [tutorial help as well] - wdt - 03-13-2025 $ ./install-debian BLKDEV=/dev/sda |