Jump to content

DJJo14

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by DJJo14

  1. 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/

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines