OE4T / meta-tegra

BSP layer for NVIDIA Jetson platforms, based on L4T
MIT License
419 stars 230 forks source link

linux-tegra kernel modify problem #1385

Closed durmaz54 closed 8 months ago

durmaz54 commented 1 year ago

I am utilizing the bitbake -c menuconfig virtual/kernel command to make kernel configuration adjustments (such as hostname, i2c changes, etc.), followed by generating my fragment file using bitbake -c diffconfig virtual/kernel. I then add the following code to the linux-tegra_%.bbappend file I have created:

FILESEXTRAPATHS_prepend := "${THISDIR}/linux-tegra:"
SRC_URI += "file://fragment.cfg"

My appends tree: workspace/appends/ linux-tegra/fragment.cfg linux-tegra_%.bbappend

ichergui commented 1 year ago

Hi @durmaz54 Could you please provide details about your issue (Linux kernel version, logs, ...) ?

ichergui commented 1 year ago

Could you please share the result of the following command ?

$ bitbake -e linux-tegra | grep -i "^SRC_"

also, Could you share the contents of the fragment file ?

durmaz54 commented 1 year ago

My output

SRC_REPO="github.com/OE4T/linux-tegra-4.9;protocol=https"
SRC_URI="git://github.com/OE4T/linux-tegra-4.9;protocol=https;name=machine;branch=oe4t-patches-l4t-r32.5            file://localversion_auto.cfg                          file://fragment.cfg"

fragment file

CONFIG_LOCALVERSION="-l4t-r32.5-durmazend" CONFIG_DEFAULT_HOSTNAME="durmazend"

ichergui commented 1 year ago

What was the issue ? could you please share the logs ?