Skip to contentSkip to conversation

Raspberry pi 4 recipe and layer issues.

DISCUSSION Ed Vidal 2 participants 2 messages Dec 22, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ed Vidal

author
#1 lore raw

Hi,Testing 1 of the 4 recipes in meta-yosys-tools nextpnr_0.1.bb.I tried testing on target rpi4-64 to determine, EXTRA_OECMAKE = "-DARCH=ice40 -DBUILD_GUI=OFF  ${S} "variable.  In yocto this uses the build directory.  On the target, "cmake -DARACH=ice40 -DBUILD_GUI=OFF ."which is the nextpnr directory.  It appears that yocto uses ninja, while the target uses make.  I have copies of both CMakeError.log files for target & yocto at the links below.
https://github.com/develone/meta-yosys-tools/blob/master/doc-recipes/target/CMakeFiles/CMakeError.log
& https://github.com/develone/meta-yosys-tools/blob/master/doc-recipes/yocto/CMakeFiles/CMakeError.log

The target builds and installs while yocto fails do_configure step. The recipe I am testing with the cmd "bitbake -DDD nextpnr" is
https://github.com/develone/meta-yosys-tools/blob/master/recipes-nextpnr/nextpnr/nextpnr_0.1.bb

This recipe nextpnr_0.1.bb is dependent on a 2nd recipe in meta-yosys-tools layer icestorm_0.1.bb in the same layer.  This recipe creates the RPMs, but is failing in QA step.  I use the "rpm -i icestorm-0.1+git0+041c075e4a-r0.aarch64.rpm" to test on the target. Let me know if I can provide any additional information. Thanks
Regards

Edward Vidal Jr. e-mail [email protected] 915-595-1613

#2 lore raw

Hi Ed

if you are building on target, you need to install glibc-dev package on your target as well. or perhaps you can build your image for target with

IMAGE_INSTALL_append = " packagegroup-core-buildessential"

added to local.conf

Quoted 38 lines · Ed Vidal

Hi,
Testing 1 of the 4 recipes in meta-yosys-tools nextpnr_0.1.bb.
I tried testing on target rpi4-64 to determine, EXTRA_OECMAKE = "-DARCH=ice40 -DBUILD_GUI=OFF ${S} " variable. In yocto this uses the build directory. On the target, "cmake -DARACH=ice40 -DBUILD_GUI=OFF ." which is the nextpnr directory. It appears that yocto uses ninja, while the target uses make. I have copies of both CMakeError.log files for target & yocto at the links below.

https://github.com/develone/meta-yosys-tools/blob/master/doc-recipes/target/CMakeFiles/CMakeError.log

& https://github.com/develone/meta-yosys-tools/blob/master/doc-recipes/yocto/CMakeFiles/CMakeError.log

The target builds and installs while yocto fails do_configure step.

The recipe I am testing with the cmd "bitbake -DDD nextpnr" is

https://github.com/develone/meta-yosys-tools/blob/master/recipes-nextpnr/nextpnr/nextpnr_0.1.bb

This recipe nextpnr_0.1.bb is dependent on a 2nd recipe in meta-yosys-tools layer icestorm_0.1.bb in the same layer. This recipe creates the RPMs, but is failing in QA step. I use the "rpm -i icestorm-0.1+git0+041c075e4a-r0.aarch64.rpm" to test on the target.

Let me know if I can provide any additional information. Thanks

Regards

Edward Vidal Jr. e-mail [email protected] 915-595-1613
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to.

View/Reply Online (#47795): https://lists.yoctoproject.org/g/yocto/message/47795
Mute This Topic: https://lists.yoctoproject.org/mt/68293684/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-