• Content Count

  • Joined

  • Last visited

About shaddow501

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello After spending hours of trying to create an older DEV kernel (5.1.21) here are the following steps in order that it will work. I will describle here about the 5.1.21 kernel but I think it can work for any kernel. 1. create lib.config file under build/userpatches with the following: KERNELBRANCH='branch:orange-pi-5.1' 2. And this is what create the magic: download the Armbian files that matches that distribution and replace all the files in the build directory: for example I have downloaded from here - This link is the build version from the bra
  2. When trying to compile the debs file using the debug switch I get those errors. sudo make -j4 ARCH=arm64 CROSS_COMPILE="ccache aarch64-linux-gnu-" INSTALL_DTBS_PATH=$PWD/output/dtb dtbs --debug GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating goal targets.... File 'dtbs' does n
  3. I have set in the lib.config file the version 5.1 (same thing happen with version 5.6) After fixing all the compiling issues I was able to compule: dpkg-deb: building package 'linux-headers-5.1.21-sunxi64' in '../linux-headers-5.1.21-sunxi64_20.05.0-trunk_arm64.deb'. dpkg-deb: building package 'linux-libc-dev' in '../linux-libc-dev_20.05.0-trunk_arm64.deb'. dpkg-deb: building package 'linux-image-5.1.21-sunxi64' in '../linux-image-5.1.21-sunxi64_20.05.0-trunk_arm64.deb'. dpkg-buildpackage: info: binary-only upload (no source included) dpkg-deb: building package 'linux-so
  4. Moving from kernel 5.5.0 to Kernel 5.5.4 or 5.5.5 have this issues: Wireless is very slow (also with the 5.5.0) the solution is: nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and change: [connection] wifi.powersave = 0 Rotate screen that was working with the 5.5.0 version does not work with the next versions (current 5.4 ,dev 5.5.0) I get black screen when rotating. I have idea why moving fast to newer kernels without fixing the issues with the older kernels...
  5. Sure Just let me know if I am correct. in order to install version 5.6 do I need to set lib.config to the orange-pi-5.6 ?
  6. You have answered you wanted to help. I think that less work from you since you can see the source and issues you ask for. If you dont want to help, dont. thanks for the support so far. Hard to understand why a feature that should work in the examples to build an older kernel revision doesnt work!
  7. Dear Why dont you give it a try? add: KERNELBRANCH='branch:orange-pi-5.1' into the lib.config file in the userpatches folder. and try it. board: bananpim64 You will face the same issues that I report here. but you will have all the information.
  8. By the way when compiling the legacy version (4.19) the compilation process succeed with the processor patch. but no wireless... it seems that nowhere luck to be found. with every path I try I eventually facing a brick wall.
  9. I guess that I have had issues with the armbian build environment I guess that I have deleted some files that I shouldnt, anyway I have removed the old environment and build armbian again. First I have tried to compile version 5.5.4 to see that all goes well and no errors, after confirm that it succeed to finish without any failures I went back to try compiling the 5.1 version. With each failure of compilation I have modified the relevant MakeFiles and removed things that are not specially for relevant for the BPI-M64 board anyway and that caused the compilation to st
  10. I did as you suggested but still getting the same output with no new information. In a working environment I have: lrwxrwxrwx 1 root root 22 Jul 5 2019 Image -> vmlinuz-5.1.15-sunxi64 -rw-r--r-- 1 root root 3082032 Jul 5 2019 -rw-rw-r-- 1 root root 676 Feb 20 23:52 armbianEnv.txt -rw-rw-r-- 1 root root 1536 Jul 5 2019 armbian_first_run.txt.template -rw-rw-r-- 1 root root 4882 Jul 5 2019 boot-desktop.png -rw-rw-r-- 1 root root 230454 Jul 5 2019 boot.bmp -rw-rw-r-- 1 root root 2970 Jul 5 2019
  11. My Building experience... added: KERNELBRANCH='branch:orange-pi-5.1' BOOTBRANCH='tag:v2019.04' - (yes also tried with the latest version and came into same result below so wonder if I use the same kernel that runs on the other board) to build/userpatches/lib.config Run the command... sudo ./ BOARD=bananapim64 RELEASE=bionic BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no INSTALL_HEADERS=yes INSTALL_PATCHES=yes CREATE_PATCHES=yes at the time it asks me for the mainline-kernel 5.1 to add my patch, I modify
  12. Sorry, it is not a test that I am interested to waste my time with. I need a working solution in order to be able to create an image with the desired kernel. And i am sure that everything in Linux should fit, if even an a letter not in the place it should be the compilation fails. So I am sure going to this direction is a waste of time.
  13. I cannot since I cannot boot the board in order to put the DTB inside... but it doesnt crash at the dtb load but when the kernel loads. There must be a way to recompile older kernel source and use it. even with this armbian forum I have discovered how to to build different branch kernel older one. but if you provide this option it should work. I hope that there is a way
  14. Thanks but it wont work if it has not got that new patch that was only released last month. Without that patch the board will crash at boot.
  15. I have the 5.5.15 images but I cannot add the patch that fix the resets... I cant use old images since they do not contain this patch. This is what I want to add. diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 7793ebb5d..5be6c0680 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -43,6 +43,7 @@ /dts-v1/; #include "sun50i-a64.dtsi" +#include "sun50i-a64-cpu-opp.dtsi" #include &l