Hello,
I'd like to rebuild the NanoPI kernel in order to embed the patches allowing to detect my USB XMOS U2018 interface with my NanoPI Neo as a native DSD enabled.
https://github.com/lintweaker/xmos-native-dsd
I've never built a Linux Kernel, have good notions in software compilation, is there a tutorial especially for DietPI which could help ?
I've tried to apply some tuto for Debian, but seems DietPI architecture is slightly different.
The ideal, would be to have the kernels built by DietPI team ready on-the-shelf for NanoPI with these patches, but it seems not possible.
If I could be helped a bit, I'd be happy to share .
Thanks in advance.
How to rebuild the kernel
Re: How to rebuild the kernel
I'm not an expert in these matters but I know the DietPi team do not build kernels, they use those from other sources i.e. the Raspberry Pi version is based on Rasbian, the Odroid version based on Meveric's distro and so on. So I doubt you'll get the info you want in this forum.
John
John
Re: How to rebuild the kernel
@John Thanks
Ok, my question would be. Is it possible/easy to boot on another kernel than the one selected by DiePI team?
My aim, would be to pick up the same version than the official kernel for DietPI and to patch it with the native DSD support in the file sound/usb/quirks.c
It seems to be only a matter of a missing case in the switch section with the Armature Hecate values, see:
https://github.com/lintweaker/xmos-nati ... tate.patch
I would appreciate to have the patch delivered in the Linux mainline but I have no idea on how to proceed....
Ok, my question would be. Is it possible/easy to boot on another kernel than the one selected by DiePI team?
My aim, would be to pick up the same version than the official kernel for DietPI and to patch it with the native DSD support in the file sound/usb/quirks.c
It seems to be only a matter of a missing case in the switch section with the Armature Hecate values, see:
https://github.com/lintweaker/xmos-nati ... tate.patch
I would appreciate to have the patch delivered in the Linux mainline but I have no idea on how to proceed....
Re: How to rebuild the kernel
@johnvick:
Thanks John for helping.
@NanoPat:
Kernel is not selected by DiePI team. It only depend on what base line destribution maintainer have build in.
Have never ever read a single word here, that DietPi build his own Kernel, Firmware, Device Tree, u-boot, uImage, ....
This, for your particular device, was done by ARMbian .
And they use, in your example, Debian as base Distro system.
To get it clear: (have quote it now more then twenty times)
Why?
Because the manufactor is incapable, to give you a working Debian base OS image, with a working Kernel, Firmware, Device Tree, u-boot, uImage, .... BUT he is able to take YOUR money!
And he is not willing to give you any pursue software support.
This work have be done by ARMbian.
So DietPi was able to get some running application software on it, with user friendly and easy config- and install-managment.
But back to you base question.
see https://www.armbian.com/kernel/ and reboot.
More and continuative infos can be found here: http://linux-sunxi.org/FriendlyARM_NanoPi_NEO#BSP
Sorry, if all this sound a bit pissed, but all infos can be found on your device, by searching or inside this forum.
This never has been a secrect or something DietPi have to deceit and fraudulent concealment.
But please keep a eye on this:
https://github.com/Fourdee/DietPi/issue ... -298337026
http://dietpi.com/phpbb/viewtopic.php?f=9&t=2883#p11064
The subject ARMbian based images is for DietPi now history.
Thanks John for helping.
@NanoPat:
First have to say, I personally have null,zero, nada skill in kernel building from source or patching source code.NanoPat wrote:Is it possible/easy to boot on another kernel than the one selected by DiePI team?
Kernel is not selected by DiePI team. It only depend on what base line destribution maintainer have build in.
So in your case have a look on login screen:NanoPat wrote:with my NanoPI Neo
orDietPi v15x wrote:Device image possible thanks to: ARMbian
Code: Select all
root@NanoPi-Neo:~# cat /proc/version
Linux version 3.4.113-sun8i (root@armbian) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017
This, for your particular device, was done by ARMbian .
And they use, in your example, Debian as base Distro system.
Code: Select all
root@NanoPi-Neo:~# cat /etc/debian_version
8.10
Code: Select all
root@NanoPi-Neo:~# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ jessie main contrib non-free
deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ jessie-backports main contrib non-free
Fourdee wrote:As our work is focused outside of kernel or OS development (its not what we do), we are only ...
Sorry, where is no and never ever was a "official kernel for DietPI". It was a ARMbian kernel, build with armbian build tools.NanoPat wrote:the same version than the official kernel for DietPI
Why?
Because the manufactor is incapable, to give you a working Debian base OS image, with a working Kernel, Firmware, Device Tree, u-boot, uImage, .... BUT he is able to take YOUR money!
And he is not willing to give you any pursue software support.
This work have be done by ARMbian.
So DietPi was able to get some running application software on it, with user friendly and easy config- and install-managment.
But back to you base question.
You can simple install a other kernel version viaNanoPat wrote:Is it possible/easy to boot on another kernel
Code: Select all
apt-get install
Hmm ... I think a starting point can be here: https://docs.armbian.com/Developer-Guid ... eparation/NanoPat wrote:but I have no idea on how to proceed....
More and continuative infos can be found here: http://linux-sunxi.org/FriendlyARM_NanoPi_NEO#BSP
Sorry, if all this sound a bit pissed, but all infos can be found on your device, by searching or inside this forum.
This never has been a secrect or something DietPi have to deceit and fraudulent concealment.
But please keep a eye on this:
https://github.com/Fourdee/DietPi/issue ... -298337026
http://dietpi.com/phpbb/viewtopic.php?f=9&t=2883#p11064
The subject ARMbian based images is for DietPi now history.
Re: How to rebuild the kernel
@k-plan Many thanks for your links, very helpful.
I better understand now the removal of the NanoPI Neo in the download list. It's a pity, however I respect the project decision.
Anyway I ordered a NanoPI Neo 2 that would arrive soon.
I'll focus my efforts to get the Native DSD support for my USB interface (XMOS U208) on the Neo2.
I'm not a fan of the PREP process proposed by DietPI. I've tried it to setup an AMD Ryzen x86 platform with DietPI and had few issues to complete the installation, the description still lack from some information. Yes the procedure is still in beta stage thought...
Thanks.
I better understand now the removal of the NanoPI Neo in the download list. It's a pity, however I respect the project decision.
Anyway I ordered a NanoPI Neo 2 that would arrive soon.
I'll focus my efforts to get the Native DSD support for my USB interface (XMOS U208) on the Neo2.
I'm not a fan of the PREP process proposed by DietPI. I've tried it to setup an AMD Ryzen x86 platform with DietPI and had few issues to complete the installation, the description still lack from some information. Yes the procedure is still in beta stage thought...
Thanks.
Re: How to rebuild the kernel
Hello NanoPat.
Did you get Native DSD working on Neo 2 ??
Let me know.
Did you get Native DSD working on Neo 2 ??
Let me know.