Jump to content

tooz

Tinker Engineer
  • Content Count

    518
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by tooz

  1. to enter maskrom mode you’ll need to use a jumper to short the recovery header the set of pins next to the fan pins before booting https://tinker-board.asus.com/images/doc/download/Tinker_Edge_R_Getting_Started.pdf
  2. tooz

    i2s, i2c

    hello @giseleznev, PCM5102PW and PCM1804DBR are not supported at the moment
  3. tooz

    How to use I2S

    hello @Poko-san, @earx, and @giseleznev, here's a table of compatible DACs and AMPs tested on tinker board s / r2.0 and tinker board 2s: Brand Model Overlay Tinker Board S / R2.0 Tinker Board 2S Chip OS Tinker Board R2.0 Debian 10 V3.0.11 or later Tinker Board 2 Debian 10 V2.1.6 or later HiFiBerry HiFiBerry DAC+ STANDARD – RCA VERSION hifiberry-dacplus ○ ○ OPA165x HiFiBerry AMP+ hifiberry-amp ○ × TAS5713 HiFiBerry Digi+ Standard hifiberry-digi ○ ○ WM8804 HiFiBerry DAC hifiberry-dac ○ ○ PCM5102A HiFiBerry DAC+ hifiberry-dacplus ○ ○ PCM5102A HiFiBerry DAC+ Light hifiberry-dac ○ ○ PCM5122 HiFiBerry DAC+ PRO hifiberry-dacplus ○ ○ PCM5122 JustBoom JustBoom Amp HAT justboom-dac ○ × TAS5756M JustBoom DAC HAT justboom-dac ○ ○ PCM5122 JustBoom DAC Zero justboom-dac ○ ○ PCM5121 JustBoom Digi Zero justboom-digi ○ ○ WM8804GEDS JustBoom Digi HAT justboom-digi ○ ○ WM8804GEDS IQAudIO IQaudIO Pi-Digi+ iqaudio-digi-wm8804-audio ○ ○ WM8804 IQaudIO Pi-DigiAMP+ iqaudio-dacplus ○ × TAS5756 IQaudio Pi-DAC Pro iqaudio-dacplus ○ ○ PCM5242
  4. hello @ethan, which os version are you using and did you connect the tinker edge r to a pc (type-c <> usb) whilst booting? from what you've described sounds like tinker edge r has enter fastboot mode, please disconnect tinker edge r with pc and see if it can boot into system.
  5. hello @sonyan11, i think you're able to modify uvcvideo driver to module mode through menuconfig, but tinker board 2s is not able to recognize the new module because the module driver is not updated to tinker board 2s. to update tinker board 2s' module driver, please execute these two commands in the kernel directory of the source code, make ARCH=arm64 modules make ARCH=arm64 modules_install INSTALL_MOD_PATH={INSTALL_PATH} and then update the \lib\modules\4.4.194\ kernel and \lib\modules\4.4.194\modules (of which from {INSTALL_PATH} ) onto tinker board 2s accordingly
  6. hello @sathish, please make sure to set your mass storage/ disk access if it's on fat filesystem, or run your file manager as root sudo cp /disk/directory/rtc.json /home/linaro/Desktop/
  7. hello @sathish, it is not built in the tinker os, if you'd like to use dhcpcd: sudo apt-get install dhcpcd5 the dhcpcd.con will be locaed in /etc/ alternatively, you can use nmcli con mod to configure the ip network
  8. tooz

    omxplayer

    --volume=VOLUME Set initial playback volume to VOLUME, where 0.0=silent and 1.0=unchanged
  9. tooz

    omxplayer

    hello @sathish, perhaps you can use gst-play-1.0, command: gst-play-1.0 FILE|DIRECTORY|URI [FILE2|DIRECTORY2|URI2] https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/using.html?gi-language=c#how-do-i-use-the-gstreamer-command-line-interface
  10. hello @snk, which version of os you're using for tinker board r2.0? iw phy i tried to reproduce it on tinker board r2.0 with the latest os, and the band 1 information wasn't missing: Band 1: Capabilities: 0x1962 HT20/HT40 Static SM Power Save RX HT20 SGI RX HT40 SGI RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT Max RX data rate: 150 Mbps HT TX/RX MCS rate indexes supported: 0-7
  11. hello @ICE, you can use the gpio pins to implement MLX90640 IR Thermal Camera since it uses i2c to communicate instead of csi interface: https://github.com/melexis/mlx90640-library i don't have this camera module in hand right now, but cave education has done a demo using tinker board before: https://www.facebook.com/CAVEEducation/videos/1110440046181370/
  12. hello @snk, to use iw commands you'll need to execute them with superuser priviledge: sudo iw phy
  13. hello @sonyan11, for uvc option, the config has to be set with the command below before make menuconfig tinker board linux 4.19: make ARCH=arm64 tinker_board_2_defconfig and then make menuconfig
  14. tooz

    STA+AP mode

    hello @sushil, to enable softap mode: Developer Guide · TinkerBoard/TinkerBoard Wiki (github.com) 1. for tinker board / tinker board r2.0, download https://github.com/TinkerBoard/TinkerBoard/files/8107749/SoftAP_debian10_20220127.zip and unzip the file 2. update packages and install dnsmasq and hostapd, then execute the shellscript to enable softap sudo apt-get update sudo apt install dnsmasq hostapd move to the SoftAP_debian10_20220127 directory, and execute the script (with root access) chmod 755 Enable_SoftAP.sh Disable_SoftAP.sh ./Enable_SoftAP.sh error rfkill: cannot open /dev/rfkill: No such file or directory can be ignored 1. to get wifi back to normal mode, please execute ./Disable_SoftAP.sh (otherwise it stays in softap mode after ./Enable_SoftAP.sh is executed) 2. when doing ./Enable_SoftAP.sh or ./Disable_SoftAP.sh if the error SIOCSIFFLAGS: Operation not possible due to RF-kill occurrs, please execute echo 1 > /sys/class/rfkill/rfkill0/state it is not recommended to use concurrent mode
  15. hello @Henri / @brick, sudo dd BS=4M if=u-boot.imx of=/dev/mmcblk0boot0 sudo dd BS=4M if=partition-table-8gb.img of=/dev/mmcblk0 sudo dd BS=4M if=boot_arm64.img of=/dev/mmcblk0p1 sudo dd BS=4M if=home.img of=/dev/mmcblk0p3 sudo dd BS=4M if=rootfs_arm64.img of=/dev/mmcblk0p4 the partition table of tinker edge t: mmcblk0boot0 4M u-boot mmcblk0 179:0 0 7.3G 0 disk ├─mmcblk0p1 128M boot ├─mmcblk0p2 1M misc ├─mmcblk0p3 2G home └─mmcblk0p4 5.1G rootfs u-boot.imx -> mmcblk0boot0 boot_arm64.img -> mmcblk0p1 home.img -> mmcblk0p3 rootfs_arm64.img -> mmcblk0p4
  16. hello @Kajan001, for hardware encoding you can use mpph264enc plugin: gst-launch-1.0 videotestsrc num-buffers=512 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! mpph264enc ! queue ! h264parse ! mpegtsmux ! filesink location=/home/linaro/Desktop/h264.ts
  17. hello @sushil, is this the library you're using? mattjlewis/diozero: Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad. (github.com)
  18. hello @Rich, to install teamviewer on tinker board r2.0 with debian os: 1. download teamviewer.deb (armhf, 32bit) on the teamviewer official website: https://www.teamviewer.com/en/download/raspberry-pi/ 2. sudo apt-get update sudo apt-get install libqt5gui5 libqt5qml5 libqt5quick5 libqt5webkit5 libqt5qml5 libqt5core5a qml-module-qtquick-controls qml-module-qtquick2 libqt5widgets5 libqt5x11extras5 qml-module-qtquick-dialogs sudo dpkg -i teamviewer_15.40.8_armhf here is a tutorial video for your reference:
  19. hello @Ridham, for mipi csi cameras that tinker board 2s supports are 5mp and 8mp: https://tinker-board.asus.com/doc_tb2.html#qvl/
  20. hello @Kajan001, you can use python with gstreamer -- there are python packages that can be used for motion detection https://gstreamer.freedesktop.org/documentation/opencv/motioncells.html?gi-language=c
  21. tooz

    2x Cameras

    hello @lbispo, we've verified with tinker edge t mendel os when using two cameras, both cameras can be recognised. please give it a try.
  22. hello @Kajan001, i'd suggst to use gstreamer and v4l2-ctl as they are more compatible on rockchip-based platforms sudo vi /boot/config.txt edit Line 60 overlay=CSI0-IMX219: gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=640,height=480 ! videoconvert ! autovideosink and then reboot -- reference: rpicamsrc (gstreamer): https://gstreamer.freedesktop.org/documentation/rpicamsrc/index.html?gi-language=c
  23. hello @jjj44, here are the commands to install ros (ros-noetic-desktop) -- verified it can be installed in debian 10 v.2.1.6 / 2.0.14 wget http://ftp.us.debian.org/debian/pool/main/g/gmp/libgmp10_6.1.2+dfsg-4+deb10u1_arm64.deb wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libhogweed4_3.4.1-1+deb10u1_arm64.deb wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libnettle6_3.4.1-1+deb10u1_arm64.deb wget http://security.debian.org/debian-security/pool/updates/main/g/gnutls28/libgnutls30_3.6.7-4+deb10u10_arm64.deb sudo dpkg -i libgmp10_6.1.2+dfsg-4+deb10u1_arm64.deb sudo dpkg -i libhogweed4_3.4.1-1+deb10u1_arm64.deb sudo dpkg -i libnettle6_3.4.1-1+deb10u1_arm64.deb sudo dpkg -i libgnutls30_3.6.7-4+deb10u10_arm64.deb sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 sudo apt update sudo apt install ros-noetic-desktop *notices like these are expected and can be ignored: ldconfig: file /usr/lib/mali/libmali.so is truncated ldconfig: file /usr/lib/mali/libmali.so.1.9.0 is truncated ldconfig: file /usr/lib/mali/libmali.so.1 is truncated ldconfig: file /usr/lib/mali/libmali-midgard-t86x-r18p0-x11.so is truncated ldconfig: file /usr/lib/libmali.so.1 is truncated
  24. tooz

    2S no HDMI output

    hello @asteele, does the issue persist if you're using other monitors? with the information provided, the other solution i can think of for now is to re-burn the sd card (or get another sd card to burn even) does the board work ok with emmc?
  25. hello @realstuffie, yes, debian 11 image release is in the tinker board 2s os support roadmap
×
×
  • Create New...