DJJo14 Posted August 6, 2019 Posted August 6, 2019 In a brainfart i thought the rpi gpio is compatible with most arm boards. so i took one witch i had laying around and i connected the Raspberry pi DVB-T HAT module (TV uHAT). I checked if the SPI bus pins where compatible and with the help of the "Hardware_Allwinner_overlays guide" i created a overlay for the rpi-tv (used the original from the raspberry pi github). to my surprise (after some struggle) it work. // rpi-tv HAT /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; fragment@0 { target = <&spi0>; __overlay__ { /* needed to avoid dtc warning */ #address-cells = <1>; #size-cells = <0>; status = "okay"; cxd2880@0 { compatible = "sony,cxd2880"; reg = <0>; /* CE0 */ spi-max-frequency = <50000000>; status = "okay"; }; }; }; }; sudo armbian-add-overlay rpi-tv-overlay.dts I quickly install tvheadend and went to watch some TV :p Why i did this because the H3 GPU/CPU has h265 encoding (in the Nederlands tv is transmitted with the h265 1080p 50fps) with the recent Sunxi-cedrus update libav can work with hardware encoding (in theory, i don't know it is fast enough ) But i can not find a proper recent guide the install then, does any one installed the Sunxi-cedrus? And do i have to compile the complete custom kernel to do this? or is this already in the main line? onlything is can find is this: https://linux-sunxi.org/Sunxi-cedrus ref: https://docs.armbian.com/Hardware_Allwinner_overlays/
Luigi Loizzo Posted September 30, 2020 Posted September 30, 2020 Hi, I tried to do your suggestion (I installed the overlay rpi-tv-overlay) on mi OrangePI 2+ and the Raspberry DVB TV uHAT correctly inserted (green led on). Anyway not working. No new device /dev/dvb and no adapters present in tvheadend configuration box. Any other suggestion ? One other question: the aerial on the uHAT connector is unaccessible because the OrangePI board layout. At the begin I would to see the device to work. After I'll find a solution for the connector. Thanks Luigi
Luigi Loizzo Posted September 30, 2020 Posted September 30, 2020 One other thing: I have Ubuntu 16.04 installed. Its' a matter ?
Werner Posted October 1, 2020 Posted October 1, 2020 10 hours ago, Luigi Loizzo said: One other thing: I have Ubuntu 16.04 installed. Its' a matter ? It might somewhen 2021. Then upstream support ends
Arci Posted November 25, 2020 Posted November 25, 2020 10 hours ago, Arci said: You have to use SPI1 not SPI0. For Orange PI PC2 you have to use SPI1, but it is not working on OPI PC2. Is it there anybody who can modify this .dts with correct definition?
Arci Posted November 27, 2020 Posted November 27, 2020 The dts definition shoud work, fi set corrct SPI port. For Orange PI PC2 (H5) is using SPI 1 as default SPI port. I see uncompatibilty SPI Allwinner drivers wit cxd2880_spi driver. Loading driver cxd2880_spi ending with err: dvbdev: DVB: registering new adapter (CXD2880) DVB: Unable to find symbol cxd2880_attach() cxd2880_spi: cxd2880_spi_probe: cxd2880_attach failed
Recommended Posts