On 4/13/23 1:29 AM, Mike Looijmans wrote:
One issue that now pops up is the MACHINE_ESSENTIAL_EXTRA_RDEPENDS scripting,
in meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES',
'boot.bin', ' ${PREFERRED_PROVIDER_virtual/boot-bin}', '', d)}"
Some boards DO boot from boot.bin in a fat filesystem (/boot). This is why that
was done. The additional files were placed there as well (firmwares) so it can
be reconstructed on the target, if necessary, or again some boot methods allow a
chained boot where parts can be loaded from the filesystem.
All this is broken. This particular line will put "boot.bin" into the root
filesystem. Boot files should NOT be in the root filesystem.
If you go back to the Poky WKS:
https://git.yoctoproject.org/poky/tree/scripts/lib/wic/canned-wks/sdimage-bootpart.wks
Then that file disappears as the /boot partition is generated vs installed from
packages. (There are other ways of handling this through wic as well.)
But with that said, I'll look at what can be done to better control this
behavior, in a follow up. I don't want to hold off moving this to
langdale/mickledore much longer -- it's already taken me months to get it to
this point.
--Mark
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: [email protected]
W: www.topic.nl
Please consider the environment before printing this e-mail
On 13-04-2023 00:00, Mark Hatle via lists.yoctoproject.org wrote:
I've just published our internal work on github for langdale-next and
mickledore-next. Due to the size, I wanted to put them in a -next for a few
days for comments before I move them to the stable branches.
As usual, if you have feedback, find problems or have questions, please let us
know.
The following cover the langdale-next and mickledore-next branches of:
https://github.com/xilinx/meta-xilinx
https://github.com/xilinx/meta-xilinx-tools
Langdale Release Notes:
* Updated README files
- new docs directory to contain targeted docs and READMEs
- Revise README to make it clear meta-xilinx-tools is recommended
- meta-xilinx-tools: Revised YAML configuration settings and overrides
* Deprecated "BOARD" and "BOARD_VARIANT" are now obsolete and removed
* fpgamanager
- Classes updated
- See meta-xilinx-tools/docs directory
* machines:
- Add additionmal "generic" machine variants
- microblaze, enabling 'systemd' should work
+ lightly tested (poky-altcfg)
+ Add 10+ MB to the filesystem image
- meta-xilinx/meta-xilinx-bsp:
+ All BSPs have been updated and should work as documented in the
layer's README.md
+ These BSPs are programmatically generated and follow the format
of the README in meta-xilinx/meta-xilinx-core/conf/machine. The
program to generate these will be released soon.
- IMAGE_BOOT_FILES are used to set WKS_FILE_DEPENDS and
MACHINE_ESSENTIAL_EXTRA_RDEPENDS automatically
- New 'cortexa72-cortexa53-crypto' tune has been added, NOT on by default
+ See meta-xilinx-core/conf/machine/include/soc-tune-include.inc
- VCU and Mali400 are now MACHINE_FEATURES, automatically enabled with the
when using zynqmp-ev-generic, and zynqmp-eg-generic (no VCU on eg)
* mali400 / lima support
- Generated device-tree has been updated to provide standard device-nodes
- Proprietary mali400
+ Enabled by adding 'libmali' to DISTRO_FEATURES
+ Does not work properly with Weston 10, runtime failures
(revert to Weston 9 if needed)
+ Any recipe linking to libmali should be PACKAGE_ARCH = ${MACHINE_ARCH}
- LIMA is enabled by default
- LIMA has lower performance then libmali in a number of benchmarks
* QEMU:
- qemu-xilinx, and related now use PREFERRED_PROVIDER syntax
+ Should make it easier to default to Yocto Project QEMU if desired
+ (target) qemu is default (qemu)
+ qemu-native, qemu-system-natve and nativesdk-qemu default to qemu-xilinx
- Drop qemu-xilinx-helper-native for bbappend to standard qemu-helper-native
- Version updated to 7.1.0 to match Langdale
- Note shared memory is allocated on the system's /tmp partition, crash
if /tmp runs out of space!
+ Microblaze 2GB
+ Zynq: 1 GB
+ ZynqMP: 4GB
+ Versal: 8GB (or 16GB)
* WIC:
- meta-xilinx-core, default WIC type now uses a labeled partition
+ xilinx-default-sd.wks
- Moved away from using a 'boot' format partition as it makes field upgrade
more difficult. Older WIC partition files are expected to continue to
work.
* Recipes:
- ai-engine and aiefal moved to meta-xilinx/meta-xilinx-core
- core-image-ptest-all and core-image-ptest-fast should allow YP style
testing
- u-boot and u-boot-tools controlled via PREFERRED_PROVIDER
+ defaults to u-boot-xlnx
- u-boot-zynq-scr rename to u-boot-xlnx-scr (not Zynq specific)
- qemu-xilinx (see above)
- XRT, updated to current 2023 in-progress version
+ versal ai-core and ai-edge does not work, ai-engine incompatible
Mickledore Release Notes:
* Based on Langdale version
* Synced to Mickledore as of April 7th
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5221):
https://lists.yoctoproject.org/g/meta-xilinx/message/5221
Mute This Topic: https://lists.yoctoproject.org/mt/98229455/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-