berkovsky Posted August 14, 2016 Posted August 14, 2016 wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.6.6.tar.xz tar -xpJf linux-4.6.6.tar.xz ln -s linux-4.6.6 linux make oldconfig make menuconfig make-kpkg clean CONCURENCY_LEVEL=3 fakeroot make-kpkg --initrd --revision=14082016.01 kernel_image kernel_headers But USB do not work! I do not found CONFIG_AXP20X_POWER in new config. After manual add its gone! How to solve this ?????
berkovsky Posted November 23, 2016 Author Posted November 23, 2016 Aslo power off button not work too (
Igor Posted November 23, 2016 Posted November 23, 2016 This is somehow expected. You need to use our tools, which uses proper config and additional patches which are not (yet) mainlined. Edit: stick to kernel 4.8.x, on older you will need to adjust patches. 1
berkovsky Posted November 24, 2016 Author Posted November 24, 2016 Thank you!I have custom kernel 4.4.8 (based on armbian)And i want update kernel, with saved setting ( i disable whi-fi, ntfs... ect..)! What can you advise the kernel? https://www.kernel.org/ latest 4.8.10 What is needed patches from this list?banana pi board
berkovsky Posted November 24, 2016 Author Posted November 24, 2016 add_configfs_overlay_for_v4.7.x.patch add-nand-pins-to-a20-dtsi.patch axp20x-sysfs-interface.patch b53_switch.kernel_4.5+.patch cubieboard_enable_mmc0_trigger_to_green_LED.patch lime2-emmc-remove-powerseq.patch packaging-4.x-NEXT-with-postinstall-scripts.patch scripts-dtc-Update-to-version-with-overlays.patch sun4icodec_4.6.x_cubietruck.patch add-H27UBG8T2BTR-nand.patch add-olinuxino-a33.patch remove-DSA-b53-driver.patch
berkovsky Posted November 24, 2016 Author Posted November 24, 2016 Anywhere, afrter patch and make menuconfig CONFIG_AXP20X_POWER not found in .config for 4.8.10 But why without patch in 4.4.34 this present?
zador.blood.stained Posted November 24, 2016 Posted November 24, 2016 It is still present in our kernel config for 4.8.x, and it is still present in kernel sources. It does not depend on any our patches, but if you are tweaking kernel config by yourself you may have removed dependencies for this option, so you may need to start with fresh config from Armbian repository and trim it down if you want. config AXP20X_POWER tristate "AXP20x power supply driver" depends on MFD_AXP20X help This driver provides support for the power supply features of AXP20x PMIC.
berkovsky Posted November 24, 2016 Author Posted November 24, 2016 this is not insufficiently! This does not solve the problem "off button"!
zador.blood.stained Posted November 24, 2016 Posted November 24, 2016 This does not solve the problem "off button"! What problem? Are you talking about shutting down with this so called "power button"? It requires CONFIG_INPUT_AXP20X_PEK option in the kernel and some configuration in userspace (71-axp-power-button.rules file for Jessie and Xenial based images) which is handled in recent Armbian images.
berkovsky Posted November 24, 2016 Author Posted November 24, 2016 solved something is wrong with the new kernel! before the system shuts down by command shutdown -hP now but now is reboot
berkovsky Posted November 26, 2016 Author Posted November 26, 2016 Sometimes turn off, sometimes reboot! On previous kernel i dont se this bug!
chradev Posted November 28, 2016 Posted November 28, 2016 Hi Berkovsky, Sometimes turn off, sometimes reboot! On previous kernel i dont se this bug! I have similar problem with Lime2-eMMC (A20 & AXP209) board and customized Armbian build always using latest mainline Kernel versions (4.8.10 at the moment). The problem is discussed from here to here but some HW dependency on UART0 RxD was found. Can you check if the bug disappears in case of serial console disconnecting if one is used. Best regards Chris 1
berkovsky Posted January 17, 2017 Author Posted January 17, 2017 Can you check if the bug disappears in case of serial console disconnecting if one is used. how?
Recommended Posts