View previous topic :: View next topic |
Author |
Message |
rupeshforu3 n00b

Joined: 19 Aug 2024 Posts: 69
|
Posted: Sat Mar 01, 2025 1:42 am Post subject: |
|
|
I think that we must copy some files local file system to the kernel source code.
In your tutorial you specified the word INTO.
Now my question is which files are to be copied from local file system to the kernel source code. _________________ Regards,
Rupesh. |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5450 Location: Bavaria
|
Posted: Sat Mar 01, 2025 2:30 am Post subject: |
|
|
rupeshforu3 wrote: | [...] In your tutorial you specified the word INTO. [...] |
I have specified this word because it is technical not quite correct. Yes, the fiirmware files (and also the CPU microcode) are part of the kernel IMAGE ... but not IN the kernel.
rupeshforu3 wrote: | [...] Now my question is which files are to be copied from local file system to the kernel source code. |
Okay ... you dont want to read this:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Before_you_start
so I must tell you:
1. Boot your computer with our GentooLiveCD (either CD or copied to USB stick)
2. Change with CTRL-ALT-F1 to the console (and login as root)
3. do this command: dmesg | grep "Loading firmware"
For my INTEL system I have:
Code: | # dmesg | grep "Loading firmware"
[ 8.895831] Loading firmware: i915/adls_dmc_ver2_01.bin
[ 8.910450] Loading firmware: i915/tgl_guc_70.bin
[ 8.910552] Loading firmware: i915/tgl_huc.bin
[ 14.504934] Loading firmware: rtl_nic/rtl8125b-2.fw
# grep "EXTRA_FIRMWARE" /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="i915/adls_dmc_ver2_01.bin intel-ucode/06-b7-01 rtl_nic/rtl8125b-2.fw i915/tgl_guc_70.bin i915/tgl_huc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" |
If you ask who (or how) copies this files "INTO" the kernel IMAGE, the answer is: This is done automatically when you compile the kernel with "make". _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
rupeshforu3 n00b

Joined: 19 Aug 2024 Posts: 69
|
Posted: Sat Mar 01, 2025 4:09 am Post subject: |
|
|
Is it possible to run dmesg directly in the current Gentoo Linux.
At present I have Fedora 41 Live image so can I use it to obtain the modules loaded information.
If you say no then I must download Gentoo Linux live image and make usb and boot into it and run the commands you specified. _________________ Regards,
Rupesh. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54938 Location: 56N 3W
|
Posted: Sat Mar 01, 2025 10:18 am Post subject: |
|
|
rupeshforu3,
If your running kernel lists firmware as it's loaded, that is all that's needed.
Check your dmesg.
If not, you need a kernel that does. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|