libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.73k stars 286 forks source link

Pine64+ Image - ethernet, wifi, bluetooth doesn't work #1150

Closed dewolft closed 3 years ago

dewolft commented 3 years ago

Hello, i've looking in the forum and on google, but there is no information about it, i'm use a : Pine A64+ 2016 kickstarter version with 2gb of ram Latest image : Lakka-A64.arm-nightly-20201221-62cd91f-pine64-plus.img i've just flash into a blank 32gb SD Card if i go to the System information and looking for the ethernet address, i'll get just the Interface(io) 127.0.0.1 if i try to scan Wifi, nothing happen if i try to scan Bluetooth, nothing happen

the other functionality seems to works well ( i've tried to upload a game directly from the SdCard and it's worked )

thanks Riccardo

gmello77 commented 3 years ago

Hello, same problem for me. i'm use a : Pine A64+ 2016 kickstarter version with 1gb of ram Latest image : Lakka-A64.arm-nightly-20201221-62cd91f-pine64-plus.img No wifi only LAN, I get Interface(io) 127.0.0.1 Audio through HDMI doesn't work.

Thanks

SethBarberee commented 3 years ago

HDMI Audio isn't supported yet for any A64 device on linux. The driver is still WIP.

I don't recall which driver supports the Wifi/Bluetooth RTL8723BS but we might be missing the driver. Haven't done a lot of research into making it work on Lakka.

gouchi commented 3 years ago

@dewolft @gmello77 May you try this image ?

Thank you.

gmello77 commented 3 years ago

@gouchi I tried it right now:

my Pine doesn't have wifi or bluetooth so I can't try

Thank you for your effort

gouchi commented 3 years ago

@gmello77 Thank you for the test may you give the output of dmesg and lspci -nnk | grep -i -A3 ethernet.

For the audio, I did not change anything but may you give the output of aplay -L.

If needed, the documentation.

Thank you.

gmello77 commented 3 years ago

@gouchi Sorry I think I need a little help so can't access the terminal because neither ethernet nor wifi works. I tried direct access modifiyng extlinux.conf this way LABEL Lakka LINUX /KERNEL FDT /sun50i-a64-pine64-plus.dtb APPEND boot=UUID=0205-0725 disk=UUID=cfddb7e6-c799-4856-badd-ffedf9260c85 quiet console=ttyS0,115200 console=tty1 retroarch=0 but after CTRL + ALT + F3 I can't use terminal because is stuck. Any suggestions?

gouchi commented 3 years ago

@gmello77 May you try with tty retroarch=0 or textmode ?

Thank you.

gmello77 commented 3 years ago

@gouchi I did it with textmode :)

dmesg returns

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.1.18 (gouchi@globox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Sun May 2 14:05:18 CEST 2021 [ 0.000000] Machine model: Pine64+ [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 384 MiB at 0x0000000068000000 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x67ddc840-0x67dddfff] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA32 zone: 4096 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 262144 pages, LIFO batch:63 [ 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.1 [ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x44c with crng_init=0 [ 0.000000] percpu: Embedded 23 pages/cpu s53528 r8192 d32488 u94208 [ 0.000000] pcpu-alloc: s53528 r8192 d32488 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: ARM erratum 843419 [ 0.000000] Speculative Store Bypass Disable mitigation not required [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: boot=UUID=0205-0725 disk=UUID=cfddb7e6-c799-4856-badd-ffedf9260c85 quiet console=ttyS0,115200 console=tty1 retroarch=0 textmode [ 0.000000] Memory: 619152K/1048576K available (9276K kernel code, 772K rwdata, 3584K rodata, 3008K init, 349K bss, 36208K reserved, 393216K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. [ 0.000000] 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: Enabling global workaround for Allwinner erratum UNKNOWN1 [ 0.000000] arch_timer: CPU0: Trapping CNTVCT access [ 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.000417] Console: colour dummy device 80x25 [ 0.000428] printk: console [tty1] enabled [ 0.000491] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000501] pid_max: default: 32768 minimum: 301 [ 0.000600] LSM: Security Framework initializing [ 0.001215] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.001514] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.001550] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.001566] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.002096] VALIDATE proc [ 0.002369] VALIDATE cgroup1 [ 0.002376] VALIDATE cgroup2 [ 0.024026] ASID allocator initialised with 32768 entries [ 0.032024] rcu: Hierarchical SRCU implementation. [ 0.040857] EFI services will not be available. [ 0.048062] smp: Bringing up secondary CPUs ... [ 0.081008] Detected VIPT I-cache on CPU1 [ 0.081059] arch_timer: CPU1: Trapping CNTVCT access [ 0.081069] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.112736] Detected VIPT I-cache on CPU2 [ 0.112764] arch_timer: CPU2: Trapping CNTVCT access [ 0.112772] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.144779] Detected VIPT I-cache on CPU3 [ 0.144805] arch_timer: CPU3: Trapping CNTVCT access [ 0.144813] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.144894] smp: Brought up 1 node, 4 CPUs [ 0.144899] SMP: Total of 4 processors activated. [ 0.144905] CPU features: detected: 32-bit EL0 Support [ 0.144910] CPU features: detected: CRC32 instructions [ 0.145229] CPU: All CPU(s) started at EL2 [ 0.145250] alternatives: patching kernel code [ 0.146576] devtmpfs: initialized [ 0.152288] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.152341] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.166270] pinctrl core: initialized pinctrl subsystem [ 0.167229] DMI not present or invalid. [ 0.167611] NET: Registered protocol family 16 [ 0.168081] audit: initializing netlink subsys (disabled) [ 0.168204] audit: type=2000 audit(0.164:1): state=initialized audit_enabled=0 res=1 [ 0.169157] cpuidle: using governor menu [ 0.169504] vdso: 2 pages (1 code @ (ptrval), 1 data @ (ptrval)) [ 0.169513] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.170788] DMA: preallocated 256 KiB pool for atomic allocations [ 0.171541] Serial: AMBA PL011 UART driver [ 0.193032] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.193043] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.193049] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.193054] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.193655] cryptd: max_cpu_qlen set to 1000 [ 0.195030] SCSI subsystem initialized [ 0.197068] libata version 3.00 loaded. [ 0.197427] usbcore: registered new interface driver usbfs [ 0.197484] usbcore: registered new interface driver hub [ 0.197560] usbcore: registered new device driver usb [ 0.197977] media: Linux media interface: v0.10 [ 0.198018] videodev: Linux video capture interface: v2.00 [ 0.198213] pps_core: LinuxPPS API ver. 1 registered [ 0.198218] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.198244] PTP clock support registered [ 0.198961] Advanced Linux Sound Architecture Driver Initialized. [ 0.199945] clocksource: Switched to clocksource arch_sys_counter [ 0.200133] VFS: Disk quotas dquot_6.6.0 [ 0.200202] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.200254] VALIDATE hugetlbfs [ 0.209345] NET: Registered protocol family 2 [ 0.209901] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes) [ 0.210027] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.210131] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 0.210280] TCP: Hash tables configured (established 8192 bind 8192) [ 0.210409] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.210448] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.210607] NET: Registered protocol family 1 [ 0.210999] RPC: Registered named UNIX socket transport module. [ 0.211003] RPC: Registered udp transport module. [ 0.211006] RPC: Registered tcp transport module. [ 0.211009] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.249196] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.256469] Initialise system trusted keyrings [ 0.256618] workingset: timestamp_bits=44 max_order=18 bucket_order=0 [ 0.265826] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.266721] NFS: Registering the id_resolver key type [ 0.266745] Key type id_resolver registered [ 0.266749] Key type id_legacy registered [ 0.266765] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.267555] 9p: Installing v9fs 9p2000 file system support [ 0.275661] Key type asymmetric registered [ 0.275671] Asymmetric key parser 'x509' registered [ 0.275747] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.275903] io scheduler mq-deadline registered [ 0.275908] io scheduler kyber registered [ 0.276567] sun50i-de2-bus 1000000.de2: Error couldn't map SRAM to device [ 0.277465] sun4i-usb-phy 1c19400.phy: failed to get clock usb0_phy [ 0.281127] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 0.293968] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.306968] loop: module loaded [ 0.309480] libphy: Fixed MDIO Bus: probed [ 0.310477] tun: Universal TUN/TAP device driver, 1.6 [ 0.313088] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.313099] ehci-platform: EHCI generic platform driver [ 0.313327] ehci-platform 1c1a000.usb: EHCI Host Controller [ 0.313352] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 0.313982] ehci-platform 1c1a000.usb: irq 17, io mem 0x01c1a000 [ 0.328031] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 0.328790] hub 1-0:1.0: USB hub found [ 0.328825] hub 1-0:1.0: 1 port detected [ 0.329544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.329571] ohci-platform: OHCI generic platform driver [ 0.329782] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 0.329804] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 0.330090] ohci-platform 1c1a400.usb: irq 18, io mem 0x01c1a400 [ 0.392707] hub 2-0:1.0: USB hub found [ 0.392744] hub 2-0:1.0: 1 port detected [ 0.393834] usbcore: registered new interface driver uas [ 0.393926] usbcore: registered new interface driver usb-storage [ 0.396607] sun6i-rtc 1f00000.rtc: registered as rtc0 [ 0.396618] sun6i-rtc 1f00000.rtc: RTC enabled [ 0.396723] i2c /dev entries driver [ 0.397250] IR NEC protocol handler initialized [ 0.397254] IR RC5(x/sz) protocol handler initialized [ 0.397258] IR RC6 protocol handler initialized [ 0.397261] IR JVC protocol handler initialized [ 0.397264] IR Sony protocol handler initialized [ 0.397267] IR SANYO protocol handler initialized [ 0.397270] IR Sharp protocol handler initialized [ 0.397274] IR MCE Keyboard/mouse protocol handler initialized [ 0.397277] IR XMP protocol handler initialized [ 0.397281] ir_imon_decoder: IR iMON protocol handler initialized [ 0.397284] IR RCMM protocol handler initialized [ 0.397484] usbcore: registered new interface driver xbox_remote [ 0.398610] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 0.399205] sdhci: Secure Digital Host Controller Interface driver [ 0.399210] sdhci: Copyright(c) Pierre Ossman [ 0.399332] Synopsys Designware Multimedia Card Interface Driver [ 0.400111] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.400863] ledtrig-cpu: registered to indicate activity on CPUs [ 0.402002] usbcore: registered new interface driver usbhid [ 0.402007] usbhid: USB HID core driver [ 0.403626] cedrus 1c0e000.video-codec: Device registered as /dev/video0 [ 0.406405] sun4i-i2s 1c22800.i2s: Max playback channels changed from 2 to 8 [ 0.407754] Initializing XFRM netlink socket [ 0.407775] NET: Registered protocol family 17 [ 0.408041] 9pnet: Installing 9P2000 support [ 0.408071] Key type dns_resolver registered [ 0.408850] registered taskstats version 1 [ 0.408854] Loading compiled-in X.509 certificates [ 0.448457] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) [ 0.450430] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops) [ 0.450855] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 0.450869] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops) [ 0.451081] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops) [ 0.451144] sun8i-dw-hdmi 1ee0000.hdmi: Couldn't get regulator [ 0.451180] sun4i-drm display-engine: failed to bind 1ee0000.hdmi (ops sun8i_dw_hdmi_ops): -517 [ 0.451493] sun4i-drm display-engine: Couldn't bind all pipelines components [ 0.451626] sun4i-drm display-engine: master bind failed: -517 [ 0.452181] sun50i-a64-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator [ 0.452339] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 0.452758] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found [ 0.455552] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0 [ 0.455986] axp20x-gpio axp20x-gpio: DMA mask not set [ 0.456287] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded [ 0.458080] dcdc1: supplied by regulator-dummy [ 0.458455] dcdc2: supplied by regulator-dummy [ 0.458724] dcdc4: supplied by regulator-dummy [ 0.458982] dcdc5: supplied by regulator-dummy [ 0.459262] dcdc6: supplied by regulator-dummy [ 0.459524] dc1sw: supplied by regulator-dummy [ 0.459738] aldo1: supplied by regulator-dummy [ 0.460057] aldo2: supplied by regulator-dummy [ 0.460355] aldo3: supplied by regulator-dummy [ 0.460621] dldo1: supplied by regulator-dummy [ 0.460922] dldo2: supplied by regulator-dummy [ 0.460989] vcc-mipi: Bringing 2900000uV into 3300000-3300000uV [ 0.461254] dldo3: supplied by regulator-dummy [ 0.461507] dldo4: supplied by regulator-dummy [ 0.461806] eldo1: supplied by regulator-dummy [ 0.462072] eldo2: supplied by regulator-dummy [ 0.462338] eldo3: supplied by regulator-dummy [ 0.462624] fldo1: supplied by regulator-dummy [ 0.462900] fldo2: supplied by regulator-dummy [ 0.463182] rtc-ldo: supplied by regulator-dummy [ 0.463407] ldo-io0: supplied by regulator-dummy [ 0.463683] ldo-io1: supplied by regulator-dummy [ 0.463924] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ 0.468764] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.469101] sun50i-a64-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator [ 0.469586] printk: console [ttyS0] disabled [ 0.490257] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 26, base_baud = 1500000) is a U6_16550A [ 0.532072] printk: console [ttyS0] enabled [ 0.533021] ehci-platform 1c1b000.usb: EHCI Host Controller [ 0.533046] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3 [ 0.533559] ehci-platform 1c1b000.usb: irq 19, io mem 0x01c1b000 [ 0.547952] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 0.548604] hub 3-0:1.0: USB hub found [ 0.548650] hub 3-0:1.0: 1 port detected [ 0.549504] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 0.549524] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4 [ 0.549776] ohci-platform 1c1b400.usb: irq 20, io mem 0x01c1b400 [ 0.612614] hub 4-0:1.0: USB hub found [ 0.612646] hub 4-0:1.0: 1 port detected [ 0.613573] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 0.614008] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 0.614020] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5 [ 0.614650] hub 5-0:1.0: USB hub found [ 0.614690] hub 5-0:1.0: 1 port detected [ 0.615880] sun50i-a64-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-ph not found, using dummy regulator [ 0.617183] sun50i-a64-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator [ 0.617909] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 0.643203] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode [ 0.646197] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok [ 0.646263] asoc-simple-card sound: ASoC: no DMI vendor name! [ 0.651501] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) [ 0.653563] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops) [ 0.653978] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 0.653992] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops) [ 0.654159] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops) [ 0.655765] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) [ 0.656399] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver [ 0.656984] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops) [ 0.656992] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 0.656996] [drm] No driver support for vblank timestamp query. [ 0.657407] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 0.682366] mmc0: new high speed SD card at address efa1 [ 0.683733] mmcblk0: mmc0:efa1 SD02G 1.88 GiB [ 0.685112] mmcblk0: p1 p2 [ 0.715501] random: fast init done [ 0.851966] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.017557] hub 1-1:1.0: USB hub found [ 1.017677] hub 1-1:1.0: 3 ports detected [ 1.112227] Console: switching to colour frame buffer device 240x67 [ 1.166277] sun4i-drm display-engine: fb0: DRM emulated frame buffer device [ 1.168688] asoc-simple-card soc:sound_hdmi: i2s-hifi <-> 1c22800.i2s mapping ok [ 1.168724] asoc-simple-card soc:sound_hdmi: ASoC: no DMI vendor name! [ 1.170869] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 1.171179] vcc-phy: disabling [ 1.171241] cpvdd: disabling [ 1.171285] ALSA device list: [ 1.171290] #0: sun50i-a64-audio [ 1.171294] #1: allwinner-hdmi [ 1.173554] Freeing unused kernel memory: 3008K [ 1.188011] Run /init as init process [ 1.289790] Checking disk(s): UUID=0205-0725 UUID=cfddb7e6-c799-4856-badd-ffedf9260c85 [ 1.303977] usb 1-1.2: new low-speed USB device number 3 using ehci-platform [ 1.425032] input: Apple, Inc Apple Keyboard as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:05AC:0221.0001/input/input1 [ 1.484839] apple 0003:05AC:0221.0001: input: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-1c1a000.usb-1.2/input0 [ 1.489184] input: Apple, Inc Apple Keyboard as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:0221.0002/input/input2 [ 1.548385] apple 0003:05AC:0221.0002: input: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-1c1a000.usb-1.2/input1 [ 2.705368] fsck: CP437: Invalid argument [ 2.705587] fsck: LAKKA_DISK: recovering journal [ 2.705784] fsck: fsck.fat 4.1 (2017-01-24) [ 2.706053] fsck: /dev/mmcblk0p1: 128 files, 51298/65501 clusters [ 2.706354] fsck: LAKKA_DISK: clean, 147/360448 files, 52653/1437696 blocks [ 3.231302] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.667407] systemd[1]: System time before build time, advancing clock. [ 3.706352] systemd[1]: systemd 242 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 3.706888] systemd[1]: Detected architecture arm64. [ 3.712119] systemd[1]: Set hostname to . [ 3.764355] systemd[1]: File /usr/lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 3.764375] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) [ 3.896772] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6. [ 3.896837] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6. [ 3.912720] random: systemd: uninitialized urandom read (16 bytes read) [ 3.913171] systemd[1]: Listening on Journal Audit Socket. [ 3.913531] random: systemd: uninitialized urandom read (16 bytes read) [ 3.918910] systemd[1]: Starting Show Version... [ 3.919116] random: systemd: uninitialized urandom read (16 bytes read) [ 3.922755] systemd[1]: Listening on RPCbind Server Activation Socket. [ 4.054545] kernel-overlays-setup: setup base modules [ 4.109382] kernel-overlays-setup: added modules from /usr/lib/kernel-overlays/base/lib/modules/5.1.18 [ 4.147251] kernel-overlays-setup: added firmware from /usr/lib/kernel-overlays/base/lib/firmware [ 4.147509] kernel-overlays-setup: adding overlays from /storage/.cache/kernel-overlays [ 4.148704] kernel-overlays-setup: done [ 4.483015] systemd-journald[1476]: Received request to flush runtime journal from PID 1 [ 4.848159] NET: Registered protocol family 10 [ 4.849546] Segment Routing with IPv6 [ 5.160184] random: crng init done [ 5.160196] random: 7 urandom warning(s) missed due to ratelimiting [ 7.482469] sun50i-a64-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 7.482825] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 7.497083] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 6 (expect 0) [ 7.497116] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 7.497123] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 7.497129] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 7.497135] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 7.497142] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 7.497147] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 7.513390] libphy: stmmac: probed [ 7.551386] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 7.557534] mali: loading out-of-tree module taints kernel. [ 7.558372] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found [ 7.558389] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 7.558398] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 7.594714] Allwinner sunXi mali glue initialized [ 7.604925] Mali: [ 7.604930] Mali device driver loaded [ 11.652457] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 11.652500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 11.697010] 8021q: 802.1Q VLAN Support v1.8

lspci -nnk | grep -i -A3 ethernet returnslspci: not found

aplay -L returns null Discard all samples (playback) or generate zero samples (capture) default:CARD=sun50ia64audio sun50i-a64-audio, Default Audio Device sysdefault:CARD=sun50ia64audio sun50i-a64-audio, Default Audio Device front:CARD=sun50ia64audio,DEV=0 sun50i-a64-audio, Front output / input default:CARD=allwinnerhdmi allwinner-hdmi, Default Audio Device sysdefault:CARD=allwinnerhdmi allwinner-hdmi, Default Audio Device hdmi:CARD=allwinnerhdmi,DEV=0 allwinner-hdmi, HDMI Audio Output

hope this helps. Thank you!

gouchi commented 3 years ago

@gmello77 Thank you for the log.

It seems the ethernet is detected :

[ 7.551386] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
...
[ 11.652457] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 11.652500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

I forgot to ask you the ouput of lsmod and grep REALTEK /lib/modules/$(uname -r)/build/.config

For the audio you tried all this device audio : default:CARD=allwinnerhdmi, sysdefault:CARD=allwinnerhdmi, hdmi:CARD=allwinnerhdmi,DEV=0 and it is not working for the HDMI ?

Thank you.

gmello77 commented 3 years ago

@gouchi lsmod returns: Module Size Used by crct10dif_ce 16384 1 dwmac_sun8i 24576 0 mali 370200 0 ipv6 438272 32

grep returns: grep: /lib/module/5.1.18/build/.config: no such file or directory

For the audio: I manually added device in audio as you said and it works!

Thank you

gouchi commented 3 years ago

@gmello77 thank you for the information. I am glad it is working for the audio.

Your LAN is only IPv6 not IPv4 ?

Thank you.

gmello77 commented 3 years ago

@gouchi my LAN is in IPv4 too. If I install dietpi (https://dietpi.com/) on Pine64, LAN is correctly detected in IPv4

Ntemis commented 3 years ago

Since we are based on libreelec can you please try their image and let us know? Thank you

gmello77 commented 3 years ago

@Ntemis I downloaded librelec LibreELEC-A64.arm-10.0-nightly-20210519-f9d2c33-pine64-plus.img.gz from here https://test.libreelec.tv/, audio and LAN worked immediately out of the box (watched an episode of south park in streaming btw, worked like a charm). Thank you

gouchi commented 3 years ago

This is the patch I applied for the testing image

diff --git a/projects/Allwinner/linux/linux.arm.conf b/projects/Allwinner/linux/linux.arm.conf
index 4089b6035b..4cdbb7182b 100644
--- a/projects/Allwinner/linux/linux.arm.conf
+++ b/projects/Allwinner/linux/linux.arm.conf
@@ -1661,7 +1661,7 @@ CONFIG_FIXED_PHY=y
 # CONFIG_MICROSEMI_PHY is not set
 # CONFIG_NATIONAL_PHY is not set
 # CONFIG_QSEMI_PHY is not set
-# CONFIG_REALTEK_PHY is not set
+CONFIG_REALTEK_PHY=y
 # CONFIG_RENESAS_PHY is not set
 # CONFIG_ROCKCHIP_PHY is not set
 # CONFIG_SMSC_PHY is not set
@@ -4065,7 +4065,7 @@ CONFIG_STAGING=y
 # CONFIG_PRISM2_USB is not set
 # CONFIG_COMEDI is not set
 # CONFIG_RTLLIB is not set
-# CONFIG_RTL8723BS is not set
+CONFIG_RTL8723BS=m
 # CONFIG_R8712U is not set
 CONFIG_R8188EU=y
 # CONFIG_VT6656 is not set
ToKe79 commented 3 years ago

Just a note - Lakka is currently based on LE 9.2, switch to 10.0 is planned when 10.0 is released by LE team.

ToKe79 commented 3 years ago

@gmello77 can you try image from here?

gmello77 commented 3 years ago

@ToKe79 the image works great. LAN works out of the box. For the audio, I had to add manually in device audio : default:CARD=allwinnerhdmi like Gouchi said. If I could choose from the audio menu, instead of typing it would be great. Thank you, great work btw

ToKe79 commented 3 years ago

@gmello77 thank you for confirming. so as soon as we move to the LE10 base, the support for your device should be as expected. Maybe we can backport some changes from LE10 to current Lakka. For the time being I am closing this issue.

klode82 commented 2 years ago

Sorry, I have the same problem of @gmello77, but the image suggested by @ToKe79 is not available. I've tried to search inside Lakka_LE_master, but nothing about A64.arm Can you suggest me another image to use for ethernet issue?

Thanks.

gouchi commented 2 years ago

@klode82 You might try this testing image.

Jelte2357 commented 1 year ago

I still have this issue, but the shared testing image links dont work (removed?). same device (A64).

gouchi commented 1 year ago

@Jelte2357

For Lakka 4.x and Lakka 5.x (dev build).

Thank you.

Jelte2357 commented 1 year ago

yes, those dont work. are you saying 3.x could work?

gouchi commented 1 year ago

You did a make a test with latest nightly from Lakka 4.x and Lakka 5.x and it is still not working ?