<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><html><body><div><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"> <p><signature>Hello</signature><br> </p> <p><signature>Thanks Vadim for your help, but I think I miss some steps on the kernel compilation (the bananapi don't boot).<br><br>@Team, can you provide help about your process to generate the actual kernel? Or can you tell if you can provide a newer kernel (like 4.7 or 4.8) ?<br><br>Regards<br><br><br>Nicolas <br>&lt;<a target="_blank" rel="noopener noreferrer" href="mailto:nicolas@shivaserv.fr">nicolas@shivaserv.fr</a>&gt;</signature><br><br><br>6 octobre 2016 10:54 "Vadim Lomovtsev" &lt;<a target="_blank" tabindex="-1" href="mailto:%22Vadim%20Lomovtsev%22%20&lt;Vadim.Lomovtsev@caviumnetworks.com&gt;">Vadim.Lomovtsev@caviumnetworks.com</a>&gt; a écrit:</p> <blockquote> <pre>Hi Nicolas, On Wed, Oct 05, 2016 at 09:43:07PM +0200, Nicolas Repentin wrote: </pre> <blockquote>Sorry for the bad mail below:<br><br><br>Hi all,<br><br>I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.<br><br>Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need<br>to be patched, or need to use a newer kernel (I've got very bad performance<br>using openvpn for example. Using newer kernel increase by 200%).<br><br>Do you have a process to update correctly the kernel or generate the rpm<br>file for it?<br><br>I've tried to "make rpm" using the defconfig existing, but I got:<br><br>scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules.<br>Stop.<br>make[2]: *** [_modinst_post] Error 2<br>erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install)</blockquote> <br>I was facing exact same issue while building rpms for aarch64.<br>So for arm64 (aarch64) fix is to set proper value for UTS_MACHINE variable which is used by rpm packaging stuff.<br><br>Following patch addresses it:<br><a target="_blank" rel="noopener noreferrer" href="http://www.spinics.net/lists/arm-kernel/msg527466.html">http://www.spinics.net/lists/arm-kernel/msg527466.html</a><br><br>So may be this will help you in addressing you build issue.<br><br>Vadim<br><br><br> <blockquote>I'm using bananapi M1 (I've helped to validate the actual image of CentOS).<br><br><br>Thanks a lot,<br><br><br><br><br>Le 05/10/2016 à 09:32, Nicolas Repentin a écrit :<br>Hi all, Sorry if it's a repost, I wasn't subscribed on the list. I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl. Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel. Do you have a process to update correctly the kernel or generate the rpm file for it? I've tried to make the linux tar with (on bananapi): make bananapi_defconfig (getting the old one from actual kernel) make rpm but I've got some errors (don't have the log here). Maybe there is another process? I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot,<br><br><br>_______________________________________________<br>Arm-dev mailing list<br><a target="_blank" rel="noopener noreferrer" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a><br><a target="_blank" rel="noopener noreferrer" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a><br><br><br>_______________________________________________<br>Arm-dev mailing list<br><a target="_blank" rel="noopener noreferrer" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a><br><a target="_blank" rel="noopener noreferrer" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a> </blockquote> </blockquote> </div></div></body></html></body></html>