Tiny Core Base > Micro Core

AMD XDNA device driver is missing

<< < (2/2)

Rich:
Hi xLeaves
Editing the  .config  manually is discouraged:
1. Some options interact with other options.
2. Saying Y to some options may require some other options to be set to Y.
3. Saying M to some options may require some other options to be set to M.
4. Some  CONFIG_  options only become visible when options they depend on are enabled.

These interactions and dependencies get resolved by the many Kconfig files
in the kernel tree.

Use the correct tools for your project:

--- Code: ---tce-load -i compiletc perl5 bash bc ncursesw-dev elfutils-dev

# Change these (and others) to match the version and architecture you are compiling for:
wget http://tinycorelinux.net/16.x/x86/release/src/kernel/linux-6.12.11-patched.tar.xz
wget http://tinycorelinux.net/16.x/x86/release/src/kernel/config-6.12.11-tinycore

tar xf linux-6.12.11-patched.tar.xz

cd linux-6.12.11

make mrproper

cp ../config-6.12.11-tinycore ./.config
make oldconfig

# This next step presents you with a menu driven way to make your changes correctly.

make menuconfig

# It also has a search function.
# Once the  menuconfig  menu is up, press  /  to call up the (case insensitive) search dialog.

# When you are done, select  Save  using the  right arrow  key and hit enter enter enter
# select  Exit  using the  right arrow  key and hit enter enter

# Then start you compilation.
--- End code ---

Juanito:
I built amdxdna - it took 3h15m on my ancient laptop - see http://tinycorelinux.net/17.x/x86_64/release/src/kernel/amdxdna/

Boot bzImage instead of vmlinuz64 and then:

Copy the module to /usr/local/lib/modules/6.18.2-tinycore64/kernel/drivers/accel or similar
"sudo depmod -a"
Load graphics-KERNEL if not already loaded
"sudo modprobe amdxdna"

Navigation

[0] Message Index

[*] Previous page

Go to full version