Jump to content

Dieter

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dieter got a reaction from MAVr in SATA support dropped from 21.05.6 to 21.08.2   
    Confirm that a fresh install of Armbian_21.08.3_Bananapipro_focal_current_5.10.60 does not get a visible sata connection (BananaPi Pro).
    This cmd line followed by a reboot enables the sata (same is in first post, just all in one line).
    apt install linux-image-current-sunxi=21.05.6 armbian-firmware=21.05.8 linux-dtb-current-sunxi=21.05.6  
    Dieter
     
    Hi again, 
    more findings:
    It is sufficient to downgrade the device tree:
    apt install linux-dtb-current-sunxi=21.05.6 I had compared the kernel config (find current config in /proc/config.gz), no changes regarding sata. Only a very few changes, mostly adding drivers as module.
     
    So far I had no time to compare the device tree yet. Someone wrote he did that but did not find relevant changes. Well, I hope he was wrong :-).
     
     
    BTW: the next line will reverse the changes.
    apt full-upgrade  
    PS: Running a kernel with a different device tree is not recommend, I did it only to hunt down the issue a bit.
     
    Dieter
     
    And more info:
    Some people wrote that these events show up in the syslog and searched in that direction.
    ahci-sunxi 1c18000.sata: supply ahci not found, using dummy regulator ahci-sunxi 1c18000.sata: supply phy not found, using dummy regulator ahci-sunxi 1c18000.sata: supply target not found, using dummy regulator Since I was convinced these messages are normal, I double checked with working sata and they are there as well.
     
    Dieter
     
    Decompiled the DT, then compared.
    This is a difference regarding sata:
    sata@1c18000 { clocks = <0x02 0x31 0x02 0x7a>; compatible = "allwinner,sun4i-a10-ahci"; interrupts = <0x00 0x38 0x04>; phandle = <0x5f>; reg = <0x1c18000 0x1000>; status = "okay"; target-supply = <0x24>; }; This line is new in latest version:
    target-supply = <0x24>; It is not unlikely that this line causes the issue.
    The 0x24 points to item ahci-5v and that is disabled.
    ahci-5v { compatible = "regulator-fixed"; enable-active-high; gpio = <0x19 0x01 0x08 0x00>; phandle = <0x24>; regulator-boot-on; regulator-max-microvolt = <0x4c4b40>; regulator-min-microvolt = <0x4c4b40>; regulator-name = "ahci-5v"; status = "disabled"; }; No change for this item between the versions.
    I do not know how to enable it (yet). Any ideas ?
     
    This is how I extracted the DT and decompiled:
    copy "/sys/firmware/devicetree" to my worksation running "dtc --in-format fs base --out-format dts --out dt.dts --symbols --auto-alias --phandle both  --sort" use meld to compare both versions Dieter
  2. Like
    Dieter got a reaction from ATK in SATA support dropped from 21.05.6 to 21.08.2   
    Confirm that a fresh install of Armbian_21.08.3_Bananapipro_focal_current_5.10.60 does not get a visible sata connection (BananaPi Pro).
    This cmd line followed by a reboot enables the sata (same is in first post, just all in one line).
    apt install linux-image-current-sunxi=21.05.6 armbian-firmware=21.05.8 linux-dtb-current-sunxi=21.05.6  
    Dieter
     
    Hi again, 
    more findings:
    It is sufficient to downgrade the device tree:
    apt install linux-dtb-current-sunxi=21.05.6 I had compared the kernel config (find current config in /proc/config.gz), no changes regarding sata. Only a very few changes, mostly adding drivers as module.
     
    So far I had no time to compare the device tree yet. Someone wrote he did that but did not find relevant changes. Well, I hope he was wrong :-).
     
     
    BTW: the next line will reverse the changes.
    apt full-upgrade  
    PS: Running a kernel with a different device tree is not recommend, I did it only to hunt down the issue a bit.
     
    Dieter
     
    And more info:
    Some people wrote that these events show up in the syslog and searched in that direction.
    ahci-sunxi 1c18000.sata: supply ahci not found, using dummy regulator ahci-sunxi 1c18000.sata: supply phy not found, using dummy regulator ahci-sunxi 1c18000.sata: supply target not found, using dummy regulator Since I was convinced these messages are normal, I double checked with working sata and they are there as well.
     
    Dieter
     
    Decompiled the DT, then compared.
    This is a difference regarding sata:
    sata@1c18000 { clocks = <0x02 0x31 0x02 0x7a>; compatible = "allwinner,sun4i-a10-ahci"; interrupts = <0x00 0x38 0x04>; phandle = <0x5f>; reg = <0x1c18000 0x1000>; status = "okay"; target-supply = <0x24>; }; This line is new in latest version:
    target-supply = <0x24>; It is not unlikely that this line causes the issue.
    The 0x24 points to item ahci-5v and that is disabled.
    ahci-5v { compatible = "regulator-fixed"; enable-active-high; gpio = <0x19 0x01 0x08 0x00>; phandle = <0x24>; regulator-boot-on; regulator-max-microvolt = <0x4c4b40>; regulator-min-microvolt = <0x4c4b40>; regulator-name = "ahci-5v"; status = "disabled"; }; No change for this item between the versions.
    I do not know how to enable it (yet). Any ideas ?
     
    This is how I extracted the DT and decompiled:
    copy "/sys/firmware/devicetree" to my worksation running "dtc --in-format fs base --out-format dts --out dt.dts --symbols --auto-alias --phandle both  --sort" use meld to compare both versions Dieter
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines