Jump to content

avlev

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by avlev

  1. There are still problems. Analog audio works, but with the wrong bitrate. The sound is faster and several tones higher than necessary. I wouldn't use legacy, but I need a GPU-enabled gstreamer. And the rockchip multimedia framework only works on legacy.
  2. Everything is working now with legacy dtb: i2s@ff010000 { compatible = "rockchip,rk3328-i2s\0rockchip,rk3066-i2s"; reg = < 0x00 0xff010000 0x00 0x1000 >; interrupts = < 0x00 0x1b 0x04 >; clocks = < 0x02 0x2a 0x02 0x138 >; clock-names = "i2s_clk\0i2s_hclk"; dmas = < 0x0c 0x0e 0x0c 0x0f >; dma-names = "tx\0rx"; resets = < 0x02 0x21 0x02 0x24 >; reset-names = "reset-m\0reset-h"; status = "okay"; #sound-dai-cells = < 0x00 >; phandle = < 0x90 >; }; i2s@ff020000 { compatible = "rockchip,rk3328-i2s\0rockchip,rk3066-i2s"; reg = < 0x00 0xff020000 0x00 0x1000 >; interrupts = < 0x00 0x1c 0x04 >; clocks = < 0x02 0x2b 0x02 0x139 >; clock-names = "i2s_clk\0i2s_hclk"; dmas = < 0x0c 0x00 0x0c 0x01 >; dma-names = "tx\0rx"; resets = < 0x02 0x22 0x02 0x25 >; reset-names = "reset-m\0reset-h"; pinctrl-names = "default\0sleep"; pinctrl-0 = < 0x0d 0x0e 0x0f 0x10 0x11 0x12 >; pinctrl-1 = < 0x13 >; status = "disabled"; phandle = < 0x9b >; }; hdmi@ff3c0000 { compatible = "rockchip,rk3328-dw-hdmi"; reg = < 0x00 0xff3c0000 0x00 0x20000 >; reg-io-width = < 0x04 >; interrupts = < 0x00 0x23 0x04 0x00 0x47 0x04 >; clocks = < 0x02 0xe7 0x02 0x46 0x02 0x1e 0x02 0x147 >; clock-names = "iahb\0isfr\0cec\0hclk_vio"; phys = < 0x57 >; phy-names = "hdmi_phy"; pinctrl-names = "default\0gpio"; pinctrl-0 = < 0x58 0x59 0x5a >; pinctrl-1 = < 0x5b >; resets = < 0x02 0x8f 0x02 0x51 >; reset-names = "hdmi\0hdmiphy"; rockchip,grf = < 0x1c >; status = "okay"; #sound-dai-cells = < 0x00 >; ddc-i2c-scl-high-time-ns = < 0x2599 >; ddc-i2c-scl-low-time-ns = < 0x2710 >; phandle = < 0x93 >; ports { port { #address-cells = < 0x01 >; #size-cells = < 0x00 >; phandle = < 0xbd >; endpoint@0 { reg = < 0x00 >; remote-endpoint = < 0x5c >; phandle = < 0x54 >; }; }; }; }; codec@ff410000 { compatible = "rockchip,rk3328-codec"; reg = < 0x00 0xff410000 0x00 0x1000 >; rockchip,grf = < 0x1c >; clocks = < 0x02 0xeb 0x02 0x2a >; clock-names = "pclk\0mclk"; status = "okay"; #sound-dai-cells = < 0x00 >; phandle = < 0x91 >; }; sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = < 0x100 >; simple-audio-card,name = "rockchip-rk3328"; simple-audio-card,cpu { sound-dai = < 0x90 >; }; simple-audio-card,codec { sound-dai = < 0x91 >; }; }; hdmi-sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = < 0x80 >; simple-audio-card,name = "rockchip-hdmi"; simple-audio-card,cpu { sound-dai = < 0x92 >; }; simple-audio-card,codec { sound-dai = < 0x93 >; }; };
  3. Armbian_21.05.0-trunk_Rk3318-box_buster_current card 0: ANALOG [ANALOG], device 0: ff010000.i2s-rk3328-hifi ff410000.codec-0 [ff010000.i2s-rk3328-hifi ff410000.codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: SPDIF [SPDIF], device 0: ff030000.spdif-dit-hifi dit-hifi-0 [ff030000.spdif-dit-hifi dit-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDMI], device 0: ff000000.i2s-i2s-hifi i2s-hifi-0 [ff000000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 Armbian_21.05.0-trunk_Rk3318-box_buster_legacy **** List of PLAYBACK Hardware Devices **** card 0: HDMI [HDMI], device 0: ff000000.i2s-i2s-hifi i2s-hifi-0 [ff000000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: SPDIF [SPDIF], device 0: ff030000.spdif-dit-hifi dit-hifi-0 [ff030000.spdif-dit-hifi dit-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 I think there must be something like this in legacy dts analog-sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = < 0x100 >; simple-audio-card,name = "ANALOG"; status = "okay"; phandle = < 0x7c >; simple-audio-card,cpu { sound-dai = < 0x07 >; }; simple-audio-card,codec { sound-dai = < 0x08 >; }; }; (this is a piece of current dst)
  4. Good day! I tried to install different images on H96MAX. Everyone is working. But there is no analog audio device on buster legacy. And on the buster current I can not install the media framework. I don't have enough knowledge to transfer the analog sound section of rk3318-box.dtb from one image to another. Can anyone help?
  5. Today I tried to compile image for nanopi m1 plus and nand-sata-install works! https://docs.armbian.com/Developer-Guide_Build-Preparation/ nanopim1plus.conf has already been corrected: BOOTCONFIG="nanopi_m1_plus_defconfig"
  6. I used orange pi plus image and did an "nand-sata-install". Everything works perfectly.
  7. I use armbian orange pi plus debian image for my nanopi m1 plus. Nand-sata-install work correctly. Wifi, ethernet, sound and gpio is ok. I think armbian ubuntu will work too.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines