Hello!
What is correct way of creating modules64.gz? I'm netbooting TinyCore64 -
http://tinycorelinux.net/12.x/x86_64/release/distribution_files/With original files everything works fine. Here is my ipxe script
kernel /vmlinuz64 initrd=rootfs64.gz initrd=modules64.gz
initrd /rootfs64.gz
initrd /modules64.gz
But I need mlx5_core module so I build kernel from source
http://tinycorelinux.net/12.x/x86_64/release/src/kernel/ with this module enabled. I looked at the original modules64.gz and tried to do the same
Command to build
find ./ -depth -print | cpio -o -H newc | gzip -2 > /mnt/sda1/tce/src/bin/modules64.gz
I replaced original vmlinuz64 and modules64 with bzImage from newly built files and tried to boot. TC booted but it looks like it didn't load any modules because keyboard doesn't work.
What am I doing wrong? Is there any guide how to do this properly?
Directory structure of my modules64.gz
tree -L 5
.
|-- lib
| `-- modules
| `-- 5.10.3-tinycore64
| |-- kernel
| | |-- arch
| | |-- crypto
| | |-- drivers
| | |-- fs
| | |-- lib
| | |-- net
| | `-- sound
| |-- kernel.tclocal -> /usr/local/lib/modules/5.10.3-tinycore64/kernel/
| |-- modules.alias
| `-- modules.dep
`-- usr
`-- local
`-- lib
`-- modules
`-- 5.10.3-tinycore64