Page 1 of 1

Building a kernel for NanoPC-T3

Posted: Thu Nov 29, 2018 4:37 pm
by CodeNemo
I’m trying to make my own kernel for NanoPC-T3 using the source from FA’s github. Both eMMC system and SD card system have no files in /boot while GRUB not installed. Config finished and kernel compiled, I installed GRUB2 and ran update-grub, it seemed succeed but no change after reboot. How should I use my own kernel? :?:

Re: Building a kernel for NanoPC-T3

Posted: Fri Nov 30, 2018 6:03 am
by igorp
CodeNemo wrote:
I’m trying to make my own kernel for NanoPC-T3 using the source from FA’s github. Both eMMC system and SD card system have no files in /boot while GRUB not installed. Config finished and kernel compiled, I installed GRUB2 and ran update-grub, it seemed succeed but no change after reboot. How should I use my own kernel? :?:


There is no grub. If you want 100% working solution, https://github.com/armbian/build

Download:

https://www.armbian.com/nanopc-t3/
or for 2Gb/eMMC model
https://www.armbian.com/nanopc-t3-plus/

Most likely you will not need to recompile anything.

Re: Building a kernel for NanoPC-T3

Posted: Fri Nov 30, 2018 6:29 am
by CodeNemo
igorp wrote:

There is no grub. If you want 100% working solution, https://github.com/armbian/build

Download:

https://www.armbian.com/nanopc-t3/
or for 2Gb/eMMC model
https://www.armbian.com/nanopc-t3-plus/

Most likely you will not need to recompile anything.

Thanks! I would like a kernel supporting IPTables and Net Bridge, but the FA Ubuntu’s one seems not, so I tried. :D

Re: Building a kernel for NanoPC-T3

Posted: Fri Nov 30, 2018 7:27 am
by igorp
This is the kernel config file for those builds: https://github.com/armbian/build/blob/m ... ext.config

If you want something that is missing and is nice to have, sent a PR https://www.armbian.com/get-involved

This way your custom kernel features are not getting overwritten at next updates.

Re: Building a kernel for NanoPC-T3

Posted: Mon Dec 03, 2018 2:45 pm
by CodeNemo
igorp wrote:
This is the kernel config file for those builds: https://github.com/armbian/build/blob/m ... ext.config

If you want something that is missing and is nice to have, sent a PR https://www.armbian.com/get-involved

This way your custom kernel features are not getting overwritten at next updates.

I would like to know where's the kernel on official Ubuntu. Thanks!

Re: Building a kernel for NanoPC-T3

Posted: Mon Dec 03, 2018 5:46 pm
by igorp
CodeNemo wrote:
igorp wrote:


Here are sources definitions for Armbian:
https://github.com/armbian/build/blob/m ... nf#L34-L35

Bugs in Armbian are present in official builds as well.

I don't want to waste your time.

Re: Building a kernel for NanoPC-T3

Posted: Fri Feb 15, 2019 3:39 pm
by JAGITA
igorp wrote:
CodeNemo wrote:
igorp wrote:


Here are sources definitions for Armbian:
https://github.com/armbian/build/blob/m ... nf#L34-L35

Bugs in Armbian are present in official builds as well.
Showbox iTunes Notepad++
I don't want to waste your time.

I’m trying to make my own kernel for NanoPC-T3 using the source from FA’s github. Both eMMC system and SD card system have no files in /boot while GRUB not installed. Config finished and kernel compiled, I installed GRUB2 and ran update-grub, it seemed succeed but no change after reboot. How should I use my own kernel? :?:

Re: Building a kernel for NanoPC-T3

Posted: Sat Feb 16, 2019 10:50 am
by igorp
If you are using their sources I can't help. No idea how they put their images together ... this is ARM, there are not much standard solution and GRUB is not used at all.

If you use our build system https://github.com/armbian/build kernel packages made that way are installed with dpkg -i u-boot_or_kernel.deb ... + reboot and you are running new kernel.