up-division / meta-up-board

Other
1 stars 3 forks source link

[kirkstone] UP4000: nothing provides kernel-module-upboard-fpga #3

Closed IvoBCD closed 1 year ago

IvoBCD commented 1 year ago

Attempting to use the kirkstone branch as a layer fails with

nothing provides kernel-module-upboard-fpga needed by packagegroup-machine-base-1.0-r83.up_4000

conf/machine/include/up-common.inc:

:
MACHINE_EXTRA_RDEPENDS += "kernel-module-upboard-fpga"
MACHINE_EXTRA_RDEPENDS += "kernel-module-upboard-ec"
:

recipes-kernel/pinctrl-upboard/pinctrl-upboard.bb:

:
RPROVIDES:${PN} += "kernel-module-upboard-cpld"
RPROVIDES:${PN} += "kernel-module-upboard-ec"
:

There does not seem to by any package providing kernel-module-upboard-fpga in the kirkstone branch.

IvoBCD commented 1 year ago

Applying #4 fixes the build, but I get kernel panics in the cpld module when trying to use the UP4000 built-in UART ports.

IvoBCD commented 1 year ago

Also occurs with MACHINE=up-4000 bitbake upboard-image-sato, exactly following the instructions in https://github.com/up-division/meta-up-board/#downloading-the-meta-up-board-bsp-layer :

$ MACHINE=up-4000 bitbake upboard-image-sato
Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "up-4000"
DISTRO               = "poky"
DISTRO_VERSION       = "4.0.11"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "kirkstone:84dd3d0e6c90656f2a7105aabd303a62fa49eeba"
meta-intel           = "kirkstone:1aacdb4ed1e639cc6e19c541b058264eb17eb093"
:
--> Starting dependency resolution
--> Finished dependency resolution
Error: 
 Problem: package packagegroup-base-extended-1.0-r83.up_4000 requires packagegroup-base, but none of the providers can be installed
  - package packagegroup-base-1.0-r83.up_4000 requires packagegroup-machine-base, but none of the providers can be installed
  - conflicting requests
  - nothing provides kernel-module-upboard-fpga needed by packagegroup-machine-base-1.0-r83.up_4000
(try to add '--skip-broken' to skip uninstallable packages)
: