PinePhone Sculpt Build Problems - Almost There
Norman Feske
norman.feske at genode-labs.com
Thu Mar 16 12:14:48 CET 2023
Hi John,
note that the instructions at [1] refer to my 'pinephone' topic
branches. I suspect that you are trying to build the PinePhone version
of Sculpt using the release tag or master?
[1]
http://genodians.org/nfeske/2023-02-01-mobile-sculpt#Building_the_image_from_source
> created genodelabs/pkg/sculpt/2023-03-14
> make[1]: Leaving directory
> '/home/mainuser/Devel/genode_main/genode/build/arm_v8a'
> Error: sculpt/launcher/report_dump not present in any repository
> make: *** [Makefile:431: run/sculpt_image] Error 248
>
> I've done some rudimentary poking around to see it I could either remove
> "report_dump" from the Sculpt configuration or add it, but I don't know
> enough to accomplish either yet.
>
> Could someone give me a quick pointer to how this is configured? Also,
> any thoughts on why "report_dump" would be "not present"?
This launcher got added with the following commit that still resides on
the 'pinephone' topic branch and was not merged to master yet.
https://github.com/nfeske/genode/commit/2c02c26f48c36c3ffe594d0ff4728f6ab563bb45
Please also note the other commit on the topic branches (at
nfeske/genode and nfeske/genode-allwinner).
As a heads-up, the 'pinephone' branch is volatile because it is my
active working branch. If you want to use stable branches instead of
living on the edge, you may find the 'pinephone_fosdem_2023' [2,3]
branches more appropriate.
[2] https://github.com/nfeske/genode-allwinner/commits/pinephone_fosdem_2023
[3] https://github.com/nfeske/genode/commits/pinephone_fosdem_2023
> And while on the topic, the "SCULPT=phone" item of the make command is
> intriguing - if one wants to create a customized Sculpt variant, how
> does one go about that?
The BOARD and SCULPT arguments are used to form the path to a sculpt
system description file like this:
<SCULPT>-<BOARD>.sculpt
The sculpt.run script looks up this file in the sculpt/ sub directories
of all repositories. In the case of BOARD=pinephone SCULPT=phone, it
finds the file [4] at:
repos/allwinner/sculpt/phone-pinephone.sculpt
[4]
https://github.com/nfeske/genode-allwinner/blob/pinephone/sculpt/phone-pinephone.sculpt
This file describes the ingredients of the Sculpt system. You can find
more information about the various customization options documented at
[5]. E.g. should you want to keep using the master branches, you may
remove the 'report_dump' launcher in the .sculpt file as a quick fix.
[5]
https://genode.org/documentation/release-notes/22.02#Framework_for_special-purpose_Sculpt-based_operating_systems
As one interesting tidbit, you can run the phone UI on your host Linux
system using the 'phone-linux.sculpt' variant [6], which is picked when
specifying BOARD=linux SCULPT=phone to the sculpt.run script.
[6]
https://github.com/nfeske/genode-allwinner/blob/pinephone_fosdem_2023/sculpt/phone-linux.sculpt
You are indeed almost there. Good luck!
Norman
--
Dr.-Ing. Norman Feske
Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users
mailing list