Errors rebuilding kernel beaglebone black

I have the TI processor sdk (PROCESSOR-SDK-LINUX-AM335X Software development kit (SDK) | TI.com) installed on linux on a vmware (amd64 or x86_64). I’ve been working through the errors to generate the kernel (running make in /opt/ti-processor-sdk-linux-am335x-evm-09.03.05.02/board-support/ti-linux-kernel-6.1.119+gitAUTOINC+c490f4c0fe-ti). I’m a bit stumped on the following error. Any help would be great.

ERROR: modpost: "pinconf_generic_dt_node_to_map" [drivers/pinctrl/pinctrl-tps6594.ko] undefined!
ERROR: modpost: "pinconf_generic_dt_free_map" [drivers/pinctrl/pinctrl-tps6594.ko] undefined!
ERROR: modpost: "phy_mipi_dphy_get_default_config_for_hsclk" [drivers/media/platform/cadence/cdns-csi2rx.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:127: Module.symvers] Error 1
make: *** [Makefile:1961: modpost] Error 2

None of those drivers are needed for am335x, what config did you try to build?

PS, direct support of TI’s sdk can be found here: https://e2e.ti.com/

I did make menuconfig and then saved that .config right away as asdf.config and then ran the make. All the default settings when running menuconfig is the way the .config is setup atm.

question is still valid, what config or seed did you start with?

asdf.config (266.8 KB)
Here’s the config file I used.

I tried make defconfig and then make and it seems I was able to complete the make to completion (shows Kernel: arch/x86/boot/bzImage is ready (#1))

You built a kernel for your x86 desktop:

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y

Regards,

Mostly likely you skipped this step:

Regards,