How to compile and install Linux Kernel from source code

How to compile and install Linux Kernel from source code

Linuxtarget

1 год назад

9,410 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@bennguyen1313
@bennguyen1313 - 05.09.2023 05:32

Basic question.. How do you call functions from a (non-kernel) driver's source file?

I have a USB (VID0A46 / PID9621) Ethernet Adapter and found driver source code for it,
qop_kernel/drivers/net/usb/dm9620

I'm interested in using the device and adding/modifying that driver.

But not sure how to get started (compile, load, call functions). For example, I installed gcc and plugged it in , but how do I call load it, in order to call its functions.. like "dm_write_eeprom_word"?

Ответить
@archi._.1310
@archi._.1310 - 04.04.2023 15:35

Uid: 712136417
Europe server
Actually, i wish for Shenhe not Ayaka... and lost 50/50

Ответить
@justaplebdontmindmeii452
@justaplebdontmindmeii452 - 22.02.2023 23:57

One way to make the kernel compilation faster is to add a -j(number) flag with number being the number of cores your cpu have example make -j4 if you have 4 cores.Can actually make a pretty significant boost. Without it from the time command that I got it took me 2hours ish vs 25min~ with the flag enabled (4 cores)

Ответить
@kmarfersi1277
@kmarfersi1277 - 12.09.2022 22:26

Thank you

Ответить
@hichembargaoui6444
@hichembargaoui6444 - 11.09.2022 00:46

thank you

Ответить
@toubib2661
@toubib2661 - 11.09.2022 00:45

thanks

Ответить