kernel install from buildroot
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi ct,
Quoted 6 lines · ct clmsn
Hello,
This should be a pretty trivial question mostly asking to make sure my assumptions are correct.
Quoted 8 lines
I'm doing hardware testing with an SBC. I have an SBC that is configured to boot from an NVME-SSD. A vendor encouraged me to use buildroot to compile a new kernel. My preference would be to just update the existing environment on my SBC's NVME-SSD.
Given
buildroot/output/targetcontains the compiled linux kernel with firmware, which directories or files should I be concerned with copying over on the NVME-SSD?
Buildroot copies the final kernel image to output/images. In addition you need the content of output/target/lib/modules.
Kind regards,
Andreas
Quoted 5 lines
Thanks in advance for the assistance and confirming my back-of-the-envelope verification.
v/r,
ct
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
A message that is not in the archive (sent off-list or not yet received): CAN4Cwatp=c58JzpGD3SZS8692m0TtYd879jON2B7D_vn=PqJcA@mail.gmail.com
Hi Chris,
[re-added the mailing list]
Quoted 8 lines · ct clmsn
Andreas,
Thanks for the prompt response; looks like I miscommunicated the situation. I've build the kernel on the nvme-ssd that is running the kernel I'm hoping to replace with the buildroot compiled kernel. I'm expecting to just copy the portions from /boot,
/lib/modules, and/lib/firmwarefrom thebuildroot/output/targetdirectory into the appropriate places in the nvme-sdd's '/' (root) directory. Hope this clarifies the situation.
lib/firmware is nice-to-have, but not mandatory; you can update linux-firmware independently of the kernel.
For a new kernel, you need bzImage and lib/modules/$(uname -r). The location of lib/modules is on the root partition. Depending on the boot configuration, bzImage may reside in /boot or on a separate boot partition. Check your grub.cfg.
If you keep the old kernel and create an additional boot entry for the new one, you have a fallback solution.
Kind regards,
Andreas
Quoted 39 lines
v/r,
ChrisQuoted 34 lines · Andreas Ziegler
Hi ct,
Quoted 14 lines · ct clmsn
Hello,
This should be a pretty trivial question mostly asking to make sure my assumptions are correct.
I'm doing hardware testing with an SBC. I have an SBC that is configured to
boot from an NVME-SSD. A vendor encouraged me to use buildroot to compile a
new kernel. My preference would be to just update the existing environment
on my SBC's NVME-SSD.Quoted 3 lines
Given
buildroot/output/targetcontains the compiled linux kernel with firmware, which directories or files should I be concerned with copying over on the NVME-SSD?Buildroot copies the final kernel image to output/images. In addition you need the content of output/target/lib/modules.
Kind regards,
AndreasQuoted 6 lines
Thanks in advance for the assistance and confirming my back-of-the-envelope
verification.v/r,
ct
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Excellent, just like the standard routine I'm familiar with - thanks!
ct
Quoted 54 lines · Andreas Ziegler
Hi Chris,
[re-added the mailing list]
Quoted 11 lines · ct clmsn
Andreas,
Thanks for the prompt response; looks like I miscommunicated the situation.
I've build the kernel on the nvme-ssd that is running the kernel I'm hoping
to replace with the buildroot compiled kernel. I'm expecting to just copy
the portions from /boot,/lib/modules, and/lib/firmwarefrom thebuildroot/output/targetdirectory into the appropriate places in the nvme-sdd's '/' (root) directory. Hope this clarifies the situation.lib/firmware is nice-to-have, but not mandatory; you can update linux-firmware independently of the kernel.
For a new kernel, you need bzImage and lib/modules/$(uname -r). The location of lib/modules is on the root partition. Depending on the boot configuration, bzImage may reside in /boot or on a separate boot partition. Check your grub.cfg.
If you keep the old kernel and create an additional boot entry for the new one, you have a fallback solution.
Kind regards,
AndreasQuoted 23 lines
v/r,
ChrisQuoted 17 lines · Andreas Ziegler
Hi ct,
Quoted 14 lines · ct clmsn
Hello,
This should be a pretty trivial question mostly asking to make sure my assumptions are correct.
I'm doing hardware testing with an SBC. I have an SBC that is configured to
boot from an NVME-SSD. A vendor encouraged me to use buildroot to compile a
new kernel. My preference would be to just update the existing environment
on my SBC's NVME-SSD.
Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Given
buildroot/output/targetcontains the compiled linux kernelwith
Quoted 1 line
Quoted 1 line
Quoted 1 line
firmware, which directories or files should I be concerned with
copying
Quoted 15 lines
Quoted 15 lines
Quoted 1 line
over on the NVME-SSD?
Buildroot copies the final kernel image to output/images. In addition you need the content of output/target/lib/modules.
Kind regards,
AndreasQuoted 6 lines
Thanks in advance for the assistance and confirming my back-of-the-envelope
verification.v/r,
ct
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot