Mainline Status of the H64
#11
Had you any luck with your Debian build and roel's dtb file?

I just recently tried to get Debian installed on one of my Rock64, Installer went through without a glitch and then the board reboots into the final system and gets stuck because it can't read from eMMC.
So it seems Debian has no eMMC Support in their dtb file, which is a shame honestly.
  Reply
#12
As far as I remember I tried the alternative dtb file but with no luck, but it has been a while since then.

I can confirm that I had trouble with sdcards as well, but as far as I remember eMMC was working fine. What makes you sure Debian did not detect eMMC? I assume you fail at the stage where it tries to find and mount the rootfs?
  Reply
#13
Since the Ethernet got fixed on my A64-LTS recently in kernel 5.10 I gave the H64 a new chance using u-boot 2010.10 and kernel 5.10.4. Well, here's how far I got:

Code:
U-Boot SPL 2020.10 (Jan 03 2021 - 03:23:42 +0000)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.4(release):v2.4
NOTICE:  BL31: Built : 03:16:36, Jan  3 2021
NOTICE:  BL31: Detected Allwinner H6 SoC (1728)
NOTICE:  BL31: Found U-Boot DTB at 0xc086a30, model: Pine H64
NOTICE:  PSCI: System suspend is unavailable


U-Boot 2020.10 (Jan 03 2021 - 03:23:42 +0000) Allwinner Technology

CPU:   Allwinner H6 (SUN50I)
Model: Pine H64
DRAM:  3 GiB
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... Card did not respond to voltage select!
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface7
eth0: ethernet@5020000
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5311000: USB EHCI 1.00
Bus usb@5311400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5311000 for devices... 1 USB Device(s) found
scanning bus usb@5311400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
210 bytes read in 2 ms (102.5 KiB/s)
1:      Linux devuan
Retrieving file: /initrd.img
28216151 bytes read in 2880 ms (9.3 MiB/s)
Retrieving file: /vmlinuz
23842672 bytes read in 2431 ms (9.4 MiB/s)
append: root=LABEL=root cryptopts=source=LABEL=rootencrypted,target=root_crypt,luks
Retrieving file: /dtbs/allwinner/sun50i-h6-pine-h64.dtb
22923 bytes read in 6 ms (3.6 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=41960000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Ramdisk to 48517000, end 49fffb57 ... OK
   Loading Device Tree to 000000004850e000, end 000000004851698a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.0-1-arm64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-3) 10.2.1 20201224, GNU ld (GNU Binutils for Debian) 2.35.1) #1 SMP Debian 5.10.4-1 (2020-12-31)
[    0.000000] Machine model: Pine H64 model A
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x00000000fc000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfb9ddb00-0xfb9dffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 33 pages/cpu s95192 r8192 d31784 u135168
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 774144
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=LABEL=root cryptopts=source=LABEL=rootencrypted,target=root_crypt,luks
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000007bfff000-0x000000007ffff000] (64MB)
[    0.000000] Memory: 1980116K/3145728K available (11584K kernel code, 2418K rwdata, 3860K rodata, 5312K init, 586K bss, 179560K reserved, 65536K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x3c/0x590 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 37871 entries in 148 pages
[    0.000000] ftrace: allocated 148 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000546] Console: colour dummy device 80x25
[    0.000948] printk: console [tty0] enabled
[    0.001070] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001096] pid_max: default: 32768 minimum: 301
[    0.001256] LSM: Security Framework initializing
[    0.001294] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.001417] AppArmor: AppArmor initialized
[    0.001436] TOMOYO Linux initialized
[    0.001532] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001568] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003531] rcu: Hierarchical SRCU implementation.
[    0.005519] EFI services will not be available.
[    0.005971] smp: Bringing up secondary CPUs ...
[    0.006768] Detected VIPT I-cache on CPU1
[    0.006840] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007597] Detected VIPT I-cache on CPU2
[    0.007638] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008413] Detected VIPT I-cache on CPU3
[    0.008452] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.008547] smp: Brought up 1 node, 4 CPUs
[    0.008617] SMP: Total of 4 processors activated.
[    0.008630] CPU features: detected: 32-bit EL0 Support
[    0.008644] CPU features: detected: CRC32 instructions
[    0.008657] CPU features: detected: 32-bit EL1 Support
[    0.019632] CPU: All CPU(s) started at EL2
[    0.019695] alternatives: patching kernel code
[    0.082893] node 0 deferred pages initialised in 60ms
[    0.084567] devtmpfs: initialized
[    0.090551] Registered cp15_barrier emulation handler
[    0.090589] Registered setend emulation handler
[    0.090607] KASLR disabled due to lack of seed
[    0.091274] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.091323] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.093818] pinctrl core: initialized pinctrl subsystem
[    0.094600] DMI not present or invalid.
[    0.095191] NET: Registered protocol family 16
[    0.097112] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.097326] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.097557] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.097630] audit: initializing netlink subsys (disabled)
[    0.097861] audit: type=2000 audit(0.096:1): state=initialized audit_enabled=0 res=1
[    0.099135] thermal_sys: Registered thermal governor 'fair_share'
[    0.099141] thermal_sys: Registered thermal governor 'step_wise'
[    0.099514] cpuidle: using governor ladder
[    0.099556] cpuidle: using governor menu
[    0.099669] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.099800] ASID allocator initialised with 65536 entries
[    0.100295] Serial: AMBA PL011 UART driver
[    0.123363] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.123397] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.123412] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.123426] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.857166] ACPI: Interpreter disabled.
[    0.857436] iommu: Default domain type: Translated
[    0.857683] vgaarb: loaded
[    0.858044] EDAC MC: Ver: 3.0.0
[    0.859517] NetLabel: Initializing
[    0.859534] NetLabel:  domain hash size = 128
[    0.859545] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.859629] NetLabel:  unlabeled traffic allowed by default
[    0.859911] clocksource: Switched to clocksource arch_sys_counter
[    0.938081] VFS: Disk quotas dquot_6.6.0
[    0.938177] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.939023] AppArmor: AppArmor Filesystem Enabled
[    0.939260] pnp: PnP ACPI: disabled
[    0.947597] NET: Registered protocol family 2
[    0.948330] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.948473] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.948918] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.949433] TCP: Hash tables configured (established 32768 bind 32768)
[    0.949618] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.949751] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.950047] NET: Registered protocol family 1
[    0.950084] NET: Registered protocol family 44
[    0.950105] PCI: CLS 0 bytes, default 64
[    0.950346] Trying to unpack rootfs image as initramfs...
[    2.567259] Freeing initrd memory: 27552K
[    2.568200] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.568593] kvm [1]: IPA Size Limit: 40 bits
[    2.569632] kvm [1]: vgic interrupt IRQ9
[    2.569802] kvm [1]: Hyp mode initialized successfully
[    2.571566] Initialise system trusted keyrings
[    2.571630] Key type blacklist registered
[    2.571855] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    2.578337] zbud: loaded
[    2.579149] integrity: Platform Keyring initialized
[    2.579173] Key type asymmetric registered
[    2.579186] Asymmetric key parser 'x509' registered
[    2.579233] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.579514] io scheduler mq-deadline registered
[    2.580783] sun50i-de2-bus 1000000.bus: Error couldn't map SRAM to device
[    2.587526] sun50i-h6-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    2.588442] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    2.598407] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.600610] Serial: AMBA driver
[    2.600905] msm_serial: driver initialized
[    2.601908] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.602709] mousedev: PS/2 mouse device common for all mice
[    2.603882] sun6i-rtc 7000000.rtc: registered as rtc0
[    2.603963] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-01T00:00:15 UTC (15)
[    2.603981] sun6i-rtc 7000000.rtc: RTC enabled
[    2.605270] ledtrig-cpu: registered to indicate activity on CPUs
[    2.605479] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.607373] NET: Registered protocol family 10
[    2.647442] Segment Routing with IPv6
[    2.647562] mip6: Mobile IPv6
[    2.647581] NET: Registered protocol family 17
[    2.647740] mpls_gso: MPLS GSO support
[    2.648188] registered taskstats version 1
[    2.648210] Loading compiled-in X.509 certificates
[    2.815368] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    2.815466] Loaded X.509 cert 'Debian Secure Boot Signer 2020: 00b55eb3b9'
[    2.815628] zswap: loaded using pool lzo/zbud
[    2.816138] Key type ._fscrypt registered
[    2.816154] Key type .fscrypt registered
[    2.816165] Key type fscrypt-provisioning registered
[    2.816380] AppArmor: AppArmor sha1 policy hashing enabled
[    2.838195] sun50i-h6-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    2.838956] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator
[    2.859991] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 33, base_baud = 1500000) is a 16550A
[    3.797473] printk: console [ttyS0] enabled
[    3.810146] Freeing unused kernel memory: 5312K
[    3.875954] Checked W+X mappings: passed, no W+X pages found
[    3.881681] Run /init as init process
Loading, please wait...
[    3.969637] udevd[105]: starting version 3.2.7
[    3.975272] random: udevd: uninitialized urandom read (16 bytes read)
[    3.981888] random: udevd: uninitialized urandom read (16 bytes read)
[    3.993076] udevd[106]: starting eudev-3.2.7
[    4.034596] random: udevd: uninitialized urandom read (16 bytes read)
[    4.045254] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.052456] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.059430] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.071221] sun50i-h6-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator
[    4.082166] pps_core: LinuxPPS API ver. 1 registered
[    4.087214] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.088161] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.113169] PTP clock support registered
[    4.121323] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.128509] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.135473] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.145121] libphy: Fixed MDIO Bus: probed
[    4.172101] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.179333] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.183098] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.186260] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.187441] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
[    4.193477] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 65
[    4.201843] rtc-pcf8563 0-0051: registered as rtc1
[    4.208850] sun50i-h6-pinctrl 300b000.pinctrl: pin-65 (4022000.mmc) status -517
[    4.208863] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 65 (PC1) from group PC1  on device 300b000.pinctrl
[    4.224401] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.227949] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    4.228826] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.234698] usbcore: registered new interface driver usbfs
[    4.234747] usbcore: registered new interface driver hub
[    4.234881] usbcore: registered new device driver usb
[    4.238758] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.284594] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.297345] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.297402] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.304555] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.304566] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.311600] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.324282] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.328059] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 65
[    4.343863] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
[    4.348688] sun50i-h6-pinctrl 300b000.pinctrl: pin-65 (4022000.mmc) status -517
[    4.348701] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 65 (PC1) from group PC1  on device 300b000.pinctrl
[    4.348714] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    4.349786] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    4.350558] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.350565] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.350572] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.355905] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
[    4.356622] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.364217] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.365219] ehci-platform: EHCI generic platform driver
[    4.365604] ehci-platform 5101000.usb: EHCI Host Controller
[    4.365628] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 1
[    4.365770] ehci-platform 5101000.usb: irq 36, io mem 0x05101000
[    4.366152] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[    4.366172] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
[    4.366390] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.366396] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.366401] usb usb2: Product: MUSB HDRC host driver
[    4.366406] usb usb2: Manufacturer: Linux 5.10.0-1-arm64 musb-hcd
[    4.366410] usb usb2: SerialNumber: musb-hdrc.2.auto
[    4.366963] ohci-platform: OHCI generic platform driver
[    4.367248] ohci-platform 5101400.usb: Generic Platform OHCI controller
[    4.369967] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.374060] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517
[    4.374075] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
[    4.379703] hub 2-0:1.0: USB hub found
[    4.379743] hub 2-0:1.0: 1 port detected
[    4.380496] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 3
[    4.380661] ohci-platform 5101400.usb: irq 37, io mem 0x05101400
[    4.381333] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.384043] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[    4.384388] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.384396] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.384400] usb usb1: Product: EHCI Host Controller
[    4.384405] usb usb1: Manufacturer: Linux 5.10.0-1-arm64 ehci_hcd
[    4.384410] usb usb1: SerialNumber: 5101000.usb
[    4.385093] hub 1-0:1.0: USB hub found
[    4.385472] hub 1-0:1.0: 1 port detected
[    4.390064] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
[    4.397223] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.420039] cryptd: max_cpu_qlen set to 1000
[    4.426791] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.427419] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
[    4.427426] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
[    4.427431] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517
[    4.427438] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
[    4.427443] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
[    4.427885] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.427890] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.427940] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.436583] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    4.437593] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 65
[    4.443173] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.450931] sun50i-h6-pinctrl 300b000.pinctrl: pin-65 (4022000.mmc) status -517
[    4.450945] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 65 (PC1) from group PC1  on device 300b000.pinctrl
[    4.456990] usb usb3: Product: Generic Platform OHCI controller
[    4.462787] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    4.470666] usb usb3: Manufacturer: Linux 5.10.0-1-arm64 ohci_hcd
[    4.488039] ehci-platform 5311000.usb: EHCI Host Controller
[    4.491226] usb usb3: SerialNumber: 5101400.usb
[    4.497343] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.503127] hub 3-0:1.0: USB hub found
[    4.786263] hub 3-0:1.0: 1 port detected
[    4.791490] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
[    4.792292] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 4
[    4.792664] ohci-platform 5311400.usb: Generic Platform OHCI controller
[    4.792694] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 5
[    4.792841] ohci-platform 5311400.usb: irq 39, io mem 0x05311400
[    4.798678] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
[    4.806620] ehci-platform 5311000.usb: irq 38, io mem 0x05311000
[    4.813047] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517
[    4.839916] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[    4.847432] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
[    4.853785] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.864308] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
[    4.872574] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.881183] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.887627] usb usb4: Product: EHCI Host Controller
[    4.887634] usb usb4: Manufacturer: Linux 5.10.0-1-arm64 ehci_hcd
[    4.894776] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.899648] usb usb4: SerialNumber: 5311000.usb
[    4.900335] hub 4-0:1.0: USB hub found
[    4.905753] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
[    4.907324] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.907806] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.908003] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
[    4.908009] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
Begin: Loading e[    4.908015] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517
ssential drivers[    4.908022] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
... [    4.908026] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
[    4.912932] hub 4-0:1.0: 1 port detected
[    4.917247] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 65
[    4.921940] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
[    4.924939] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    4.924947] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.924952] usb usb5: Product: Generic Platform OHCI controller
[    4.924956] usb usb5: Manufacturer: Linux 5.10.0-1-arm64 ohci_hcd
[    4.924961] usb usb5: SerialNumber: 5311400.usb
[    4.928436] hub 5-0:1.0: USB hub found
[    4.928477] hub 5-0:1.0: 1 port detected
[    4.928953] sun50i-h6-pinctrl 300b000.pinctrl: pin-65 (4022000.mmc) status -517
[    4.936111] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
[    4.944650] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 65 (PC1) from group PC1  on device 300b000.pinctrl
done.[    4.951785] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517

[    4.958697] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
Begin: Running /[    4.968969] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
scripts/init-pre[    5.095218] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
[    5.103465] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517

Begin: Mounting[    5.112603] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
root file syste[    5.124777] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
m ... Begin: Running /scripts/lo[    5.135756] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
cal-top ... ipco[    5.135815] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
nfig: eth0: SIOC[    5.143939] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 80
GIFINDEX: No suc[    5.162101] sun50i-h6-pinctrl 300b000.pinctrl: pin-80 (300b000.pinctrl:80) status -517
h device
ipconfig: no devices t[    5.173285] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
o configure
ipc[    5.173426] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PD regulator
onfig: eth0: SIO[    5.181294] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 65
CGIFINDEX: No su[    5.189719] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 96
ch device
ipcon[    5.192323] device-mapper: uevent: version 1.0.3
fig: no devices [    5.192707] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
to configure
ip[    5.197991] sun50i-h6-pinctrl 300b000.pinctrl: pin-65 (4022000.mmc) status -517
config: eth0: SI[    5.206237] sun50i-h6-pinctrl 300b000.pinctrl: pin-96 (5020000.ethernet) status -517
OCGIFINDEX: No s[    5.212258] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 65 (PC1) from group PC1  on device 300b000.pinctrl
uch device
ipco[    5.222091] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 96 (PD0) from group PD0  on device 300b000.pinctrl
nfig: no devices[    5.222103] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
to configure
c[    5.230808] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
ryptsetup: Waiting for encrypted source device LABEL=rootencrypted...
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
/scripts/init-premount/dropbear: .: line 275: can't open '/run/net-eth0.conf': No such file or directory

=> Better than last time as ethernet at least seems to get detected in u-boot now (was not the case before). However, the kernel seems to have issues with both ethernet as well as detecting my sdcard, so the boot fails here.

To rule out the sdcard/connector/driver, I am going to try with the eMMC flash directly.

Update: Booting off eMMC worked better, however, I still had ethernet issues. I could solve them on the RP64 by unloading and reloading the driver, but did not try this on this board.
  Reply
#14
@kuleszdl

Strange, I use mainline on manjaro-arm for pine64 and pineh64 and all basic stuff works. I only have to patch it for hdmi-sound, wifi and bluetooth. All patches are dts only patches except hdmi-sound on the pineh64.
My PKGBUILD is on sourceforge -> https://sourceforge.net/projects/manjaro...nels/5.10/
  Reply
#15
@roel I see a bunch of patches in the pkgbuild, not just bluetooth, wifi and hdmi but also for eMMC

Code:
inflating: 0001-Bluetooth-Add-new-quirk-for-broken-local-ext-features.patch  
  inflating: 0001-bootsplash.patch  
  inflating: 0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch  
  inflating: 0001-revert-fbcon-remove-now-unusued-softback_lines-cursor-argument.patch  
  inflating: 0002-arm64-dts-rockchip-add-usb3-controller-node-for-RK33.patch  
  inflating: 0002-arm64-dts-rockchip-modify-pcie-node-rockpro64.patch  
  inflating: 0002-Bluetooth-btrtl-add-support-for-the-RTL8723CS.patch  
  inflating: 0002-bootsplash.patch  
  inflating: 0002-revert-fbcon-remove-no-op-fbcon_set_origin.patch  
  inflating: 0003-arm64-allwinner-a64-enable-Bluetooth-On-Pinebook.patch  
  inflating: 0003-arm64-dts-rockchip-enable-usb3-nodes-on-rk3328-rock6.patch  
  inflating: 0003-bootsplash.patch  
  inflating: 0003-revert-fbcon-remove-soft-scrollback-code.patch  
  inflating: 0004-arm64-dts-allwinner-enable-bluetooth-pinetab-pinepho.patch  
  inflating: 0004-arm64-dts-rockchip-use-USB-host-by-default-on-rk3399-rock-pi-4.patch  
  inflating: 0004-bootsplash.patch  
  inflating: 0005-arm64-dts-rockchip-add-HDMI-sound-node-for-rk3328-ro.patch  
  inflating: 0005-bootsplash.patch  
  inflating: 0005-Switch-PineTab-DT-LCD-panel-to-retail-one.patch  
  inflating: 0006-arm64-dts-allwinner-add-hdmi-sound-to-pine-devices.patch  
  inflating: 0006-bootsplash.patch  
  inflating: 0007-bootsplash.patch  
  inflating: 0007-pbp-support.patch  
  inflating: 0008-arm64-dts-allwinner-add-ohci-ehci-to-h5-nanopi.patch  
  inflating: 0008-bootsplash.patch  
  inflating: 0009-bootsplash.patch  
  inflating: 0009-drm-bridge-analogix_dp-Add-enable_psr-param.patch  
  inflating: 0010-bootsplash.patch  
  inflating: 0010-gpu-drm-add-new-display-resolution-2560x1440.patch  
  inflating: 0011-bootsplash.patch  
  inflating: 0011-nuumio-panfrost-Silence-Panfrost-gem-shrinker-loggin.patch  
  inflating: 0012-arm64-dts-meson-add-audio-playback-to-odroid-c2.patch  
  inflating: 0012-bootsplash.patch  
  inflating: 0013-arm64-dts-rockchip-Add-Firefly-Station-p1-support.patch  
  inflating: 0014-typec-displayport-some-devices-have-pin-assignments-reversed.patch  
  inflating: 0015-usb-typec-tcpm-Add-generic-extcon-for-tcpm-enabled-devices.patch  
  inflating: 0016-usb-typec-tcpm-Add-generic-extcon-to-tcpm.patch  
  inflating: 0017-arm64-rockchip-add-DP-ALT-rockpro64.patch  
  inflating: 0018-ayufan-drm-rockchip-add-support-for-modeline-32MHz-e.patch  
  inflating: 0019-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch  
  inflating: 0020-arm64-dts-rockchip-setup-USB-type-c-port-as-dual-data-role.patch  
  inflating: 0021-arm64-sun4i-hdmi-sound.patch  
  inflating: 0022-arm64-h6-bluetooth-1.patch  
  inflating: 0023-arm64-pineH64-B-wifi-bt.patch  
  inflating: 0024-arm64-H6-hdmi-sound.patch  
  inflating: 0025-arm64-pineH64-usb3.patch  
  inflating: 0026-arm64-H6-ac200-nodes.patch  
  inflating: 0027-arm64-H6-emmc-hs.patch  
  inflating: 60-linux.hook          
  inflating: 90-linux.hook          
  inflating: config                  
  inflating: linux.install          
  inflating: linux.preset            
  inflating: PKGBUILD
  Reply
#16
yeah,

these are for other boards also, because manjaro supports a lot of boards on mainline. You can strip them all and leave the allwinner patches and it will work. I already build a kernel with all these patches out because ethernet didn't work and I wanted to build as vanilla as possible. The patches didn't have anything to do with the ethernet problem as I didn't have ethernet without them. After a little research I saw it showed up in dmesg and all I had to do was bring it up. For some reason the ethernet was turned of.
I you want, I can build a Vanilla kernel for manjaro-arm, then you can test it yourself on a manjaro-arm image.

The emmc patch is because some emmc-hs-modules don't boot with mainline kernel as there is something wrong with the emplemantation of the emmc on the pineh64. For that reason there is no benfit when using emmc on the pineh64. The max read/write speeds you will get is around 40Mb/s.
With this patch you can't boot from µSD. That's the reason it's on sourceforge. The official manjaro-arm kernel doesn't have this patch.
  Reply
#17
(07-14-2020, 12:56 PM)roel Wrote: I uploaded a new dtb with wifi and usb3 support, no sound yet:


https://sourceforge.net/projects/manjaro...H64%20dtb/

Thank you. This dtb has solved my bluetooth problem on manjaro.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)