background: i've been an embedded systems firmware engineer for 25+ years, so familiar with cross compilation, etc. experienced with linux, bootloaders, initialization code, hardware, etc. so i must be missing something fairly basic here, since i'm new to yocto (4 months)..
current customer has a Xilinx Zynq 7000 board built with support from krogoth, i'm in the process of upgrading everything to zeus. i've cloned zeus and the Xilinx meta layers to support the creation of a new meta bsp layer for the system. new version of u-boot, linux-4.19.0-xilinx and all the boot-bin components needed to boot the system are all working fine. booting linux, if i point it to mount the krogoth-built rootfs via nfs it all works fine. if it try to boot a core-image-(minimal/base) that's built with zeus, it crashes during init (sysvinit init). either root over nfs (nfstrace shows everything seems to be working) or building as initramfs. if i built core-image-base with INIT_MANAGER set to mdev-busybox and built as initramfs, it boots, everything seems to work (mounting filesystems over NFS is fine too, just not root). i'm not using a prebuilt toolchain, i let poky build the toolchain for me (5.2). is this a problem with the user land not being built correctly somehow when using dynamically loaded libraries? (i debugged enough of init.c from sysvinit to know that it crashes when it gets to calling fgets to read /etc/inittab). weird that everything else works great. i've tried building with GCCPIE= --enable-default-no-pie and both with and without mklib/prelink set in USER_EXTRAs in my local.conf. the only rootfs built with zeus that works is core-image-base as an initramfs. i suspect it's something dumb, i'm afraid i'm just new enough at yocto that i don't know what i don't know yet.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4701): https://lists.yoctoproject.org/g/meta-xilinx/message/4701 Mute This Topic: https://lists.yoctoproject.org/mt/74882322/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
