PINE64
No audio on HDMI after u-boot upgrade - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: RockPro64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=102)
+--- Thread: No audio on HDMI after u-boot upgrade (/showthread.php?tid=15382)



No audio on HDMI after u-boot upgrade - xlx - 11-21-2021

Hello all,

A couple of months ago I flashed the spi from my RockPro64. It worked and I was able to boot from USB3. Tried it a couple of times just to see how it worked but kept booting from the sd card (I've been using LibreELEC, btw).

The thing is yesterday I got a case to a ssd I had here, connected it to the USB3 and tried to boot. It didn't work. I imagined that it could be due to some lack of support from the relatively old u-boot I had flashed before, so I downloaded the newest version from here. I followed the instructions from here and things at first seemed to have worked fine.

Now the issues:

- First thing I noticed (and that had me thinking the flash proccess worked) is that now I have a verbose boot that I didn't have before. The ssd still doesn't boot from the USB3 port but I noticed it boots from the USB2 (maybe it was already booting from USB2 with the old u-boot, but I didn't do this test before reflashing). When connected to USB 3 it shows a lot of debug messages, but doesn't boot.

- If instead I use an USB flash drive it boots ok (both from USB2 and 3), which makes me think that it's maybe some compatibility issue with my case/adaptor, although it works fine with USB2.

- But the worst part is the audio... After upgrading there's no audio from HDMI, no matter if I boot a LibreELEC img from the sd card or USB2/3. I even tried to erase the spi using the img "erase_spi.img", but it didn't work (at least I think it didn't, because I still can boot from USB and the debug messages still show up).

- I also noticed that if I boot from another img I had here (this time a 'complete' Linux - Manjaro, not LibreELEC) audio works.

I'm attaching the logs I see when booting from the sd card after upgrading u-boot (no HDMI audio):


Quote:
Code:
U-Boot 2021.04-11556-g9ecacf77d2 (Jun 30 2021 - 17:48:07 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 RockPro64 v2.1
DRAM: 3.9GiB
PMIC: RX808
MMC: mmc0fe310000: 2, mmc0fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 bytes
*** Warning - bad CRC, using default environment

In: serial
Out: vidconsole
Err: vidconsole
Model: Pine64 RockPro64 v2.1
Net: eth0: ethernet@fe300000
starting USB...
Bus usb@fe300000: USB EHCI 1.00
Bus usb@fe3a0000: USB OHCI 1.0
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe3c0000: USB IHCI 1.0
Bus dwc3: usb maximum-speed not found
Register 2000130 MbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe30000 for devices... 1 USB DEvice(s) found
scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found
usb@fe3c0000 for devices... 1 USB Device(s) found
usb@fe3c0000 for devices... 1 USB Device(s) found
scanning dwc3 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
Card did not respond to voltage select!: -110
switch to partitions 0, OK
mmc1 is cuurent device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
220 bytes read in 6 ms (37.1 KiB/s)
1:      LibreELEC
Retriving file: /KERNEL


Is there anything I can do to at least fix the audio? Since I use this RP64 mostly to consume media (LibreELEC) it's essential.

I appreciate any help from someone more experienced.


RE: No audio on HDMI after u-boot upgrade - Maxpako - 11-28-2023

Hi,

The same happened to me using Batocera.

I tried (and made it possible) to enable 933MHz ram speeds (need to tweak the procedure a bit):  https://wiki.pine64.org/wiki/ROCKPro64_Hardware_Tweaks#Stabilizing_the_system_(underclocking_the_RAM)

I got it working properly on my Manjaro Linux in the emmc. Everything works and ram speed is bumped to 933MHz.

However while trying the microSD with Batocera (booting thanks to u-boot on the SPI), the audio doesn't work at all.

Why?


RE: No audio on HDMI after u-boot upgrade - wdt - 11-28-2023

If you have installed mtd-utils.....
then nandtest (with no switches) is an easy way to erase SPI (-k to retain data)
something like......nandtest /dev/mtdblock0...... it does take ~15m though