Closed tag4lucy closed 1 year ago
Hi, this is an issue building host-systemd
which I suppose means there's a duplicate definition of statx
to your headers at /usr/include
I've updated systemd to v251, the Pinephone kernel to 5.19.1, and Buildroot to latest.
Please rebuild and see if your issue is fixed:
make clean
make compile
Please select "y" for both options in "make clean"
Thank you for the fast reply, I gave it a go by dooing git pull them your instructions and kept getting the error, I jumped on my laptop which has the latest Fedora with the following details Linux 2403-580e-2fd8--9f04-d6df-51a-9ee3.ip6.aussiebb.net 5.18.16-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 3 15:44:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux on it and I followed you instructions. This time I got this far, Checking if your kit is complete... Looks good Warning: prerequisite LWP::UserAgent 0 not found. Warning: prerequisite Test::More 0 not found. ERROR from evaluation of /home/thor/Downloads/SkiffOS/workspaces/default/build/host-libxml-parser-perl-2.46/Expat/Makefile.PL: Can't locate English.pm in @INC (you may need to install the English module) (@INC contains: /home/thor/Downloads/SkiffOS/workspaces/default/build/host-libxml-parser-perl-2.46/inc /home/thor/Downloads/SkiffOS/workspaces/default/host/lib/perl /usr/local/lib64/perl5/5.34 /usr/local/share/perl5/5.34 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./Makefile.PL line 3. BEGIN failed--compilation aborted at ./Makefile.PL line 3. make[3]: [package/pkg-generic.mk:283: /home/thor/Downloads/SkiffOS/workspaces/default/build/host-libxml-parser-perl-2.46/.stamp_configured] Error 2 make[2]: [Makefile:23: _all] Error 2 make[2]: Leaving directory '/home/thor/Downloads/SkiffOS/workspaces/default' make[1]: [Makefile:64: compile] Error 2 make[1]: Leaving directory '/home/thor/Downloads/SkiffOS/build' make: [Makefile:2: compile] Error 2 Is there more info I can give
I think you might be missing some perl dependencies?
Based on a Google of that error: sudo dnf install perl-core
Does this fix it?
For reference: https://buildroot.org/downloads/manual/manual.html#requirement
Dependencies:
which
sed
make (version 3.81 or any later)
binutils
build-essential (only for Debian based systems)
diffutils
gcc (version 4.8 or any later)
g++ (version 4.8 or any later)
bash
patch
gzip
bzip2
perl (version 5.8.7 or any later)
tar
cpio
unzip
rsync
file (must be in /usr/bin/file)
bc
You probably already have most of this, except for perl-core
Thank you for all the help so far, I was able to compile successfully ln -snf /home/thor/Downloads/SkiffOS/workspaces/default/host/aarch64-buildroot-linux-gnu/sysroot /home/thor/Downloads/SkiffOS/workspaces/default/staging
Executing post-image script /home/thor/Downloads/SkiffOS/workspaces/.config_default//post_build.sh make[2]: Leaving directory '/home/thor/Downloads/SkiffOS/workspaces/default' Compilation complete!
but when I go to format the build onto an sd card it couldn't find the u-boot file. [thor@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]$ sudo bash [sudo] password for thor: [root@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]# export SKIFF_WORKSPACE=myworkspace [root@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]# export PINE64_SD=/dev/sdc [root@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]# make cmd/pine64/common/format make[1]: Entering directory '/home/thor/Downloads/SkiffOS/build' make[2]: Entering directory '/home/thor/Downloads/SkiffOS/configs/pine64/common/extensions' can't find u-boot image at /home/thor/Downloads/SkiffOS/workspaces/myworkspace/output/images/u-boot.itb make[2]: [Makefile:2: format] Error 1 make[2]: Leaving directory '/home/thor/Downloads/SkiffOS/configs/pine64/common/extensions' make[1]: [Makefile:10: cmd/pine64/common/format] Error 2 make[1]: Leaving directory '/home/thor/Downloads/SkiffOS/build' make: *** [Makefile:2: cmd/pine64/common/format] Error 2 [root@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]#
@tag4lucy It looks like your compilation that succeeded was with SKIFF_WORKSPACE=default
(which is the value if SKIFF_WORKSPACE is unset).
But when you tried to install you used SKIFF_WORKSPACE=myworkspace
.
Please try again but this time don't set SKIFF_WORKSPACE
(the default is default
).
thank you for the help i was able to format and install to an sd card. Something I probably should have said in the beginning is I have a pinephone pro hoping this would work and it not booting, so i will see if any other os is working
@tag4lucy Pinephone Pro is a bit different, I think you're stuck with whatever bootloader is on emmc.
@tag4lucy I added a branch pinephone-pro
with a config pine64/phone_pro
- could you try that one out?
https://github.com/skiffos/SkiffOS/pull/234
You probably will need to rebuild by deleting workspaces/default
before running make compile
again.
I gave it a go and got this message [thor@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]$ export SKIFF_CONFIG=pine64/phone_pro,core/pinephone_manjaro_kde [thor@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]$ make configure ! [pine64/phone_pro] Unknown path! SKIFF_CONFIG_PATH_PINE64_PHONE_PRO not set. make: *** [Makefile:2: configure] Error 1 [thor@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]$ I tried deleting the folder and doing a new git clone and git pull and I cant seem to find the path
@tag4lucy did you git checkout pinephone-pro
?
I'm getting a few 404 errors Resolving github.com (github.com)... 20.248.137.48 Connecting to github.com (github.com)|20.248.137.48|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2022-08-18 12:23:09 ERROR 404: Not Found.
wget --passive-ftp -nd -t 3 -O '/home/thor/Downloads/SkiffOS/workspaces/default/build/.lzo-2.10.tar.gz.vZg84v/output' 'https://github.com/skiffos/mirror/raw/master/lzo-2.10.tar.gz' --2022-08-18 12:23:09-- https://github.com/skiffos/mirror/raw/master/lzo-2.10.tar.gz Resolving github.com (github.com)... 20.248.137.48 Connecting to github.com (github.com)|20.248.137.48|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2022-08-18 12:23:10 ERROR 404: Not Found.
@tag4lucy please try again, the lzo download servers were temporarily unreachable
compiling now
The compiling has finished and took a couple of hours. Now I'm trying to flash using the export SKIFF_WORKSPACE=default and getting this error
[root@2403-580e-2fd8--9f04-d6df-51a-9ee3 SkiffOS]# make cmd/pine64/common/format make[1]: Entering directory '/home/thor/Downloads/SkiffOS/build' make[2]: Entering directory '/home/thor/Downloads/SkiffOS/configs/pine64/common/extensions' Are you sure? This will completely destroy all data. [y/N] y Verify that '/dev/sdc' is the correct device. Be sure. [y/N] y
I followed the instruction and rebooted, this allowed me to continue and was able to install on a sd card and i will tr the emmc I flashed the sd and emmc the phone wont boot from either, i get a yellow led and that's it
I think the issue is that the pinephone is booting from the uboot on the emmc which probably isn't recognizing the boot.txt skiff uses. I don't have a pinephone to test right now so trying to figure out what is broken is really a guessing game.
I've read that tow-boot might be needed to be installed to the SPI
Ive also read that in general the pinephone pro way messed up the ability to just boot a SD card without extra work by changing how uboot is read. The regular pinephone was able to boot uboot from a SD card.
@tag4lucy Sorry to ask you this (I usually have a device and can debug on this end) but do you by any chance have a serial debug monitor that you could use to monitor the boot process?
I have garbed your email of your profile to communicate with you and I will do everything within my scope to help, Ill get my hand on a serial port cable and send the files to you.
Great sounds good, thanks!
Update on this: the Pinephone Pro currently makes it past U-boot but the kernel freezes / doesn't output anything. Most likely the load addresses are wrong, and/or the kernel is incompatible somehow. Looking into it further
(thanks @tag4lucy for debugging)
I think it might be working now, if pinephone-pro has any issues feel free to open a new issue & link this one. Thanks!
Hello, I have been trying to compile skiffos for pinephone and have been following the sets on the github page and I need to trouble shoot this one with my noob skills and can't find anything on the interzones, my system is -
and the error I'm getting is,
I'm not sure if any more information is required.