More hassle dealing with vendor supplied yocto distro.

In the original "sumo" yocto release that the vendor sent us I could easily change their static flash image to a rootnfs image and tftpboot the kernel, bitstream, and DTB, and use nfs as a root filesystem. This works great for development and not having to constantly go thru the slow flash update process.

Problem is that their updated release (also sumo) breaks any time I introduce a new kernel fragment like turning on rootnfs. The resulting image will boot but all attempts to modprobe or insmod any modules result in the error

[    8.237421] xxx_dev: disagrees about version of symbol module_layout

and an modprobe says

xxx: disagrees about version of symbol module_layout
modprobe: ERROR: could not insert 'xxx': Exec format error


In the bbappend I APPEND the new config filepath and add the cfg file to SRC_URI...and it seemingly finds the config file just fine.

# -----------------------------------------------------------
FILESEXTRAPATHS_append := "${THISDIR}/cfg:"


SRC_URI += "file://rootnfs.cfg"

#SRC_URI += "file://debug.cfg"
#SRC_URI += "file://networking.cfg"


The fragment itself just allows for IP autoconfig, enables NFS filesystem (in kernel, not modules), and brings in the DNS resolver.

# -------------------------------------------------------
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y

CONFIG_DNS_RESOLVER=y

CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y

CONFIG_PNFS_FILE_LAYOUT=y

CONFIG_ROOT_NFS=y

CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y

CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y


Where in the process would the kernel modules and the kernel be getting out of sync when I make a change? Even forced modules loading fails.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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

Reply via email to