Jump to content

geraldog

Members
  • Posts

    23
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. I think you can build it yourself in bullseye. https://gimx.fr/wiki/index.php?title=Development_on_Linux Sure, it doesn't list Armbian Bullseye, but it seems to be just a case of hunting out dependencies, checking out from git, building and setting up permissions.
  2. Hi @ilsalgo ! This guide should help you: https://www.howtogeek.com/116742/how-to-create-a-separate-home-partition-after-installing-ubuntu/
  3. Thanks @balbes150 I'll look into it. By the way I checked out kernel 5.7.0-rc3 and indeed panfrost is behaving more politely. I'm still blacklisting panfrost though.
  4. Thanks for the great work @balbes150 ! Will download from the github repo and test it.
  5. $cd Amlogic_s905-kernel-master $mv .config .some_traces_but_working $make defconfig $/scripts/diffconfig .config .some_traces_but_working > .config.diff $cat .config.diff | grep STANDALONE STANDALONE y -> n $cat .config.diff | grep PREVENT_FIRMWARE_BUILD PREVENT_FIRMWARE_BUILD y -> n Default kernel won't even try to load firmware from /lib/firmware via FW_LOADER after mounting rootfs with these options set! https://github.com/150balbes/Amlogic_s905-kernel/blob/master/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi &uart_A { status = "okay"; pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; uart-has-rtscts; bluetooth { compatible = "brcm,bcm43438-bt"; shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; max-speed = <2000000>; clocks = <&wifi32k>; clock-names = "lpo"; }; }; It may reolace the compatible but it will make a royal mess when loading module hci_uart with both enable-gpios and shutdown-gpios assigned to the same GPIO.
  6. By the way if any of you try this fix, remember to comment out the relevant &uart_A section in meson-gx-p23x-q20x.dtsi otherwise you may have problems!
  7. I'm glad to announce I have WiFi and Bluetooth working with kernel 5.7.0-rc1 pulled from @balbes150 git repository! The box in question is a H96 Pro+ 3GB/32GB (S912). First we must build the kernel with the following options: # CONFIG_STANDALONE is not set # CONFIG_PREVENT_FIRMWARE_BUILD is not set # # Firmware loader # CONFIG_FW_LOADER=y CONFIG_EXTRA_FIRMWARE="" Now me must copy the firmware files to /lib/firmware. You can obtain the firmware for example from here: https://github.com/chewitt/qca-firmware Rename fbtfw11.tlv to rampatch_00230302.bin Also rename tfbtnv11.bin to nvm_00230302.bin. Now create a new meson-gxm-q200-h96proplus.dts file in the arch/arm64/boot/dts directory and add a Makefile rule to it. DTB should be as follows: // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2016 Endless Computers, Inc. * Author: Carlo Caione <carlo@endlessm.com> */ /dts-v1/; #include <dt-bindings/input/input.h> #include "meson-gxm.dtsi" #include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm"; model = "Amlogic Meson GXM (S912) Q200 Development Board"; adc-keys { compatible = "adc-keys"; io-channels = <&saradc 0>; io-channel-names = "buttons"; keyup-threshold-microvolt = <1710000>; button-function { label = "Update"; linux,code = <KEY_VENDOR>; press-threshold-microvolt = <10000>; }; }; gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <100>; button@0 { label = "power"; linux,code = <KEY_POWER>; gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; }; }; }; /* Q200 has exclusive choice between internal or external PHY */ &ethmac { pinctrl-0 = <&eth_pins>; pinctrl-names = "default"; /* Select external PHY by default */ phy-handle = <&external_phy>; amlogic,tx-delay-ns = <2>; /* External PHY is in RGMII */ phy-mode = "rgmii"; }; &external_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; max-speed = <1000>; /* External PHY reset is shared with internal PHY Led signal */ reset-assert-us = <10000>; reset-deassert-us = <30000>; reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; interrupt-parent = <&gpio_intc>; /* MAC_INTR on GPIOZ_15 */ interrupts = <25 IRQ_TYPE_LEVEL_LOW>; }; }; &uart_A { status = "okay"; pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; uart-has-rtscts; bluetooth { compatible = "qcom,qca9377-bt"; enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; max-speed = <2000000>; clocks = <&wifi32k>; clock-names = "lpo"; }; }; Build the kernel and enjoy!
  8. I was able to reinstate sound via HDMI after a kernel update by running amixer -c0 sset 'AIU HDMI CTRL SRC' I2S There it is, in case it helps anybody out.
  9. I can confirm that high temperature issues I ran with @balbes150 kernel from git repository are related to Panfrost. Blacklisting Panfrost also makes you able to reboot as @balbes150 pointed out. Still working on bluetooth
  10. Panfrost support still sucks at this point But it's moving fast!
  11. Try to recompile the kernel with CONFIG_SND_VIRMIDI=m If you need help please ask!
  12. @balbes150 I'm recompiling your kernel to see if I can get Bluetooth working on boards that use QCA9377 It should be a simple DTB update + compiling firmware into the kernel
  13. Perhaps it would be wise to state in the guide that you need to tell dpkg to hold kernel updates if you want to use apt update/upgrade
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines