Jump to content

Dieter

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Dieter

  1. Hi same here, this is my http://ix.io/49l4 link. I have tried both with only SD-Kard and runnung on a sata ssd. Both behave the same. Reboot seems to be fine. Latest Arbian 22.05.3. Will attach logs from putty (serial port). Thanks Dieter putty_ttyUSB0_reboot_ok.log putty_ttyUSB0_shutdowm_crash.log putty_ttyUSB0_SHUTDOWN_CRASH_2.log
  2. Hi, I can confirm this works, had done this on many Debian machines many years back. Now on Armbian it worked fine on my N2+ and a BananapiPro. Many regards, Dieter
  3. Hi Lampra, That is a good point. I am new to Armbian and would have used the dtc to rebuild the dt. Packing it was my learning stuff, but I had no time to work on it. Will stay that way the next days at least. One hope was that the maintainer would explain why he/she did add that line and perhaps fix it. Many regards, Dieter
  4. 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