Jump to content

guenter

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    guenter reacted to dfahren in Help wanted to test a new OpenVFD alternative   
    @Jean-Francois Lessard
    You won't believe it, but I found my error(s) ....
    For the solution I had to look at the dts Paolo (https://github.com/paolosabatino/leds-fd6551) suggested in his code. I missed a line that effectively makes SDA really open-drain. However, pinctrl is not relevant in this context.
    The fist line is bloody important, the second not so:
     
    i2c-gpio,sda-output-only; i2c-gpio,scl-output-only; Although they do incur warnings in the kernel log, they are indispensable because without them, i2c signals don't reach the fd6551 controller.
     
    Now everything works as expected. It shows (in fact, it showed ...) 88:88 right at the start and after that the actual time. Great!
    I'm going to write a pull request for Nicolas' Github repo so that he can integrate it with the Armbian distribution.
    I also edited your tm16xx source code to show 'boot' instead of 88:88, which is not my cup of tea.
    You also have to make sure you compile the driver als built-in and not as a kernel object. So you get the 'boot' writing roughly around second 2.8 in the boot process when plugging in the mains adapter and this is early enough for me.
    I attach all of the sources to this post. I hope you don't mind too much that I messed with your code and I apologize upfront.
     
    Best wishes,
    Deetsh
    tm16xx_boot.c display-client-snippet.dts
  2. Like
    guenter got a reaction from Hqnicolas in Board Bring-up Youyeetoo YY3568 RockChip RK3568   
    Hello Hqnicolas,
    thank you very much for the effort you made with the yy3568.
    I have a nvme SSD connected to .m2 and this works with the youyeetoo kernel "Linux yy3568 4.19.232 #8 SMP Wed Aug 7 10:48:37 CEST 2024 aarch64 GNU/Linux".
    I tried your Armbian plus the attached patch but the SSD doesn't work. See attached screenlog.0

    [    2.512779] pci 0000:00:00.0: ROM [mem 0xf4200000-0xf420ffff pref]: assigned
    [    2.512806] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    2.512830] pci_bus 0000:00: resource 4 [io  0x0000-0xfffff]
    [    2.512844] pci_bus 0000:00: resource 5 [mem 0xf4200000-0xf5ffffff]
    [    2.512857] pci_bus 0000:00: resource 6 [mem 0x300000000-0x33fffffff]
    [    2.516131] pcieport 0000:00:00.0: PME: Signaling with IRQ 73
    [    2.516722] pcieport 0000:00:00.0: AER: enabled with IRQ 73
    [    2.518475] phy phy-fe8c0000.phy.2: lane number 0, val 1
    [    2.518506] phy phy-fe8c0000.phy.2: lane number 1, val 2
    [    2.518519] phy phy-fe8c0000.phy.2: bifurcation enabled
    [    2.519039] phy phy-fe8c0000.phy.2: rockchip_p3phy_rk3568_init: lock failed 0x6890000, check input refclk and power supply
    [    2.519059] phy phy-fe8c0000.phy.2: phy init failed --> -110
    [    2.519102] rockchip-dw-pcie 3c0800000.pcie: probe with driver rockchip-dw-pcie failed with error -110
    [    2.520137] mmc0: new HS200 MMC card at address 0001
    [    2.525326] mmcblk0: mmc0:0001 ISOCOM 57.6 GiB
    [    2.529794] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
    [    2.531377] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled
    [    2.531408] rockchip-usb2phy fe8a0000.usb2phy: Requested PHY is disabled

    At least is PCI bridge found:
    root@yy3568:~# lspci -v
    00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0, IRQ 73
            Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
            I/O behind bridge: [disabled] [16-bit]
            Memory behind bridge: [disabled] [32-bit]
            Prefetchable memory behind bridge: [disabled] [64-bit]
            Expansion ROM at f4200000 [virtual] [disabled] [size=64K]
            Capabilities: [40] Power Management version 3
            Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
            Capabilities: [70] Express Root Port (Slot-), MSI 00
            Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
            Capabilities: [100] Advanced Error Reporting
            Capabilities: [148] Secondary PCI Express
            Capabilities: [160] L1 PM Substates
            Capabilities: [170] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
            Kernel driver in use: pcieport

    It would be great if you find some time to find a solution.

    Kind Regards,
    Guenter
    kernel-rockchip64-edge.patch screenlog.0
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines