armbian / config

Armbian Linux configuration utility
GNU General Public License v2.0
462 stars 163 forks source link

Patch, configs for update kernel 4.4.44 to 4.14.13 for BananaPi and MuQSS patches #16

Closed norrest closed 6 years ago

norrest commented 6 years ago

Hi! My board is Banana Pi+ with you image armbian but with patchet bfs kernel http://ck.kolivas.org/patches/bfs/ I install you image, download kernel from souce, use bfs patch, clean some modules from source, create debs and install Now i look to install new kernel. I download new kernel from kernel.org, unpack, than @make_old_config, patch with new MuQSS patches
from http://ck.kolivas.org/patches/muqss/ and try to compile new deb packs. But i have many errors ( Can you help with compile new deb packs with MuQSS patchs and some @old_configs? Commnd fakeroot make -j5 deb-pkg LOCALVERSION=-mytest KDEB_PKGVERSION=1 work for new kernel? Thank you

igorpecovnik commented 6 years ago

Use our build script and try to add those patches to appropriate userpatches directory. If you want to compile natively on board you need all patches, proper compiler, ...

norrest commented 6 years ago

Many thank you! Using your build script, can I get the deb files? can I then install them?

igorpecovnik commented 6 years ago

Yes. Deb files are default output.

norrest commented 6 years ago

How to enable edit kernel config during using build script ? ./compile.sh KERNEL_CONFIGURE="yes" ok!

patch need place to userpatches/ ? What i must to select for 4.14. kernel? dev ? next? ok - next serpatches/kernel/sunxi-next - this folder for patch Thank you!!!!!

norrest commented 6 years ago

if i have .config how to provide it to new kernel?

norrest commented 6 years ago

can i put my old config to replace /root/build/config/kernel/linux-sunxi-next.config ?

igorpecovnik commented 6 years ago

Here: userpatches/linux-sunxi-next.config

norrest commented 6 years ago

No way to install MuQSS patch ? (

norrest commented 6 years ago

Do I need to reinstall u-boot deb packages? I generated linux-image-next-sunxi_5.37_armhf.deb and linux-headers-next-sunxi_5.37_armhf.deb Can I use only them when I go?

igorpecovnik commented 6 years ago

No need to replace uboot. Just remember to freeze your custom kernel to prevent beeing overwritten with our stock builds on apt update ...

norrest commented 6 years ago

Sorry, for orange pi pc this method work But for cubieboar A 20 - dont (( linux-dtb-next-sunxi_5.37_armhf.deb linux-headers-next-sunxi_5.37_armhf.deb linux-image-next-sunxi_5.37_armhf.deb linux-u-boot-next-cubieboard2_5.37_armhf.deb install.. no errors... but board dont load ( In boot folder some another structure of files for orange pi pc and cubieboar A 20/ banana pi orange pi pc newest and after install new kernel debs - all links changed automatics After install for cubieboar A 20/ banana pi - link must changed manually! I think problem in this!

norrest commented 6 years ago

work dont work

norrest commented 6 years ago

earlier, after fixing the zImage reference, the installation of new kernels (near 4.44 versions) was successful, but now I can not update either myself or through your scripts

norrest commented 6 years ago

linux-wheezy-root-next-cubieboard2 need forupdate?

norrest commented 6 years ago

` dpkg -i *.deb Selecting previously unselected package linux-dtb-next-sunxi. (Reading database ... 80302 files and directories currently installed.) Preparing to unpack linux-dtb-next-sunxi_5.37_armhf.deb ... Unpacking linux-dtb-next-sunxi (5.37) ... Selecting previously unselected package linux-headers-next-sunxi. Preparing to unpack linux-headers-next-sunxi_5.37_armhf.deb ... Unpacking linux-headers-next-sunxi (5.37) ... Selecting previously unselected package linux-image-next-sunxi. Preparing to unpack linux-image-next-sunxi_5.37_armhf.deb ... Unpacking linux-image-next-sunxi (5.37) ... Selecting previously unselected package linux-u-boot-bananapi-next. Preparing to unpack linux-u-boot-next-bananapi_5.37_armhf.deb ... Unpacking linux-u-boot-bananapi-next (5.37) ... Setting up linux-dtb-next-sunxi (5.37) ... Setting up linux-headers-next-sunxi (5.37) ... Compiling headers - please wait ... Setting up linux-image-next-sunxi (5.37) ... Setting up linux-u-boot-bananapi-next (5.37) ... Updating u-boot on /dev/mmcblk0 root@volumio:~/kernel#

`

igorpecovnik commented 6 years ago

Sorry, I lost track. Move summary here: https://forum.armbian.com/forum/4-development/ I am closing this issue since it's completely unrelated to armbian configuration script in a first place. I just realized that.