Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Виктор Хомченко

Members
  • Joined

  • Last visited

Everything posted by Виктор Хомченко

  1. Hi! Now https://github.armbian.com/configng not working from RU. W: Не удалось получить https://github.armbian.com/configng/dists/stable/InRelease Невозможно инициализировать соединение с github.armbian.com:443 (2606:50c0:8001::153). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с github.armbian.com:443 (2606:50c0:8000::153). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с github.armbian.com:443 (2606:50c0:8003::153). - connect (101: Сеть недоступна) Невозможно инициализировать соединение с github.armbian.com:443 (2606:50c0:8002::153). - connect (101: Сеть недоступна) Не удалось соединиться с github.armbian.com:443 (185.199.111.153): время ожидания для соединения истекло Не удалось соединиться с github.armbian.com:443 (185.199.110.153): время ожидания для соединения истекло Не удалось соединиться с github.armbian.com:443 (185.199.108.153): время ожидания для соединения истекло Не удалось соединиться с github.armbian.com:443 (185.199.109.153): время ожидания для соединения истекло Upgrade armbian-config is not possible. Is there any mirror of this repo?
  2. I answer myself! 1. Decompile rk3308-rock-s0.dtb to rk3308-rock-s0.dts. Edit... 2. Find i2s@ff300000 edit: Remove last 0x4a from pinctrl-0 string: pinctrl-0 = <0x3e 0x3f 0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49>; status = "okay"; 3. Comment out the node completely "acodec-sound" 4. Edit node "sound": sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = <0x100>; //256 decimal simple-audio-card,name = "i2s_8ch_0"; simple-audio-card,bitclock-master = <0x7a>; // &i2s@ff300000 simple-audio-card,frame-master = <0x7a>; // &i2s@i2s@ff300000 simple-audio-card,dai-link@1 { cpu { sound-dai = <0x7a>; //i2s@i2s@ff300000 }; codec { sound-dai = <&dummy_tdm_codec>; }; }; }; dummy_tdm_codec: dummy-codec { status = "okay"; compatible = "rockchip,dummy-codec"; #sound-dai-cells = < 0 >; clocks = <&cru SCLK_I2S0_8CH_TX_OUT>; //or <0x02 0x4d> clock-names = "mclk"; pinctrl-names = "default"; pinctrl-0 = <&i2s_8ch_0_mclk>; //or <0x4a> }; 5. Do't forget to compile dummy-codec module! (make, make install, depmod) 6. Copy rk3308-rock-s0.dtb to /boot/dtb/rockchip/ 7. Reboot Voila, all four I2S channels should work and MCLK on pin 35 should be! dummy-codec.zip
  3. Hi! I am working on a project in which audio is transmitted over the I2S bus to TAS6424-Q1 chips. I am using the Radxa Rock S0 board, the latest stable Armbinan 6.6 kernel and an additionally compiled dummy-codec module. 1. If I use the following overlay // Definitions for 8-ch-output /dts-v1/; /plugin/; / { compatible = "radxa,rockpis", "rockchip,rk3308"; fragment@0 { target = <&i2s_8ch_0>; __overlay__ { #sound-dai-cells = <0>; rockchip,clk-trm = <1>; status = "okay"; }; }; fragment@1 { target = <&i2s_8ch_2>; __overlay__ { #sound-dai-cells = <0>; status = "disabled"; }; }; fragment@2 { target = <&acodec>; __overlay__ { #sound-dai-cells = <0>; status = "disabled"; }; }; fragment@3 { target-path = "/"; __overlay__ { mycodec: multi-ch-out { #sound-dai-cells = <0>; compatible = "rockchip,dummy-codec"; status = "okay"; }; sound_i2s { simple-audio-card,name = "multi-ch-card"; compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = <128>; status = "okay"; cpu_dai: simple-audio-card,cpu { sound-dai = <&i2s_8ch_0>; }; codec_dai: simple-audio-card,codec { sound-dai = <&mycodec>; }; }; }; }; }; and when I try to play something (for example, speaker-test -from 8), I get a hung process that cannot even be killed with "kill -9". I am attaching the error log. But! 2. If I modify my rk3308-rocks-0.dts file as follow without any overlay: ... i2s@ff300000 { status = "okay"; phandle = <0x79>; ... i2s@ff320000 { status = "disabled"; ... sound { compatible = "simple-audio-card"; #sound-dai-cells = < 0 >; simple-audio-card,format = "i2s"; simple-audio-card,mclk-fs = <0x100>; simple-audio-card,name = "OUT8CH"; simple-audio-card,bitclock-master = <&cpu_dai>; simple-audio-card,frame-master = <&cpu_dai>; simple-audio-card,status = "okay"; cpu_dai: simple-audio-card,cpu { sound-dai = <0x79>; }; simple-audio-card,codec { sound-dai = <&dummy_tdm_codec>; }; }; dummy_tdm_codec: dummy-codec { status = "okay"; compatible = "rockchip,dummy-codec"; // clocks = <0x02 0x4c>; // clock-names = "mclk_tx"; // pinctrl-names = "default"; // pinctrl-0 = <0x4a>; #sound-dai-cells = < 0 >; phandle = < 0x139 >; }; BCK, LRCK and DATA signals are transmitted without problems, but I can't get the MCLK signal from pin 35 of the board (GPIO2_A4 or I2S0_8CH_MCLK) in any way, even if you uncomment the lines with clocks and pinctrl.. My project will collapse without a working mclk. Please, help! err.log
  4. I answer myself: the overlays are here: https://github.com/radxa/overlays/tree/main You need to take the desired overlay, compile it using dtc and put it in the /boot/dtb/rockchip/overlay folder. Next, turn on the overlay in armbian-config and voila root@proc01:/home/victor# ls /dev/ | grep spi spidev1.0
  5. root@proc01:/home/victor# cat /boot/armbianEnv.txt verbosity=1 extraargs=swiotlb=1024 overlay_prefix=rk3308 fdtfile=rockchip/rk3308-rock-pi-s.dtb rootdev=UUID=cc500ad0-fef5-4af1-8ed7-68c3db5f4a19 rootfstype=ext4 console=serial overlay=spi-spidev param_spidev_spi_bus=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u victor@proc01:~$ ls /dev/ | grep spi victor@proc01:~$ dmesg | grep spi victor@proc01:~$
  6. Hello everybody! I need help: I can't turn on the SPI interface in any way so that /dev/spidev0 or /dev/spidev1 appears. In armbian-config, there are generally only 7 lines in the hardware section, in which there is nothing interesting, an attempt to register spidev in armbianEnv.txt it also does not help, in dmesg and journalctl - silence... Where did the interface go?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.