Jump to content

tooz

Tinker Engineer
  • Content Count

    627
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by tooz

  1. hello @marco@bigsis.tech which version of opencv were you building? were you building it on tinker board 2s?
  2. tooz

    Not recognize emmc

    hello @CardeLL, try 're-writing the os using ums from a micro sd card': User-Manual.pdf (asus.com)
  3. hello @yshs, https://www.asuswebstorage.com/navigate/a/#/s/CB6E83A0F01F4669A3D543A7DB864EB14 1. download 'console-uart1-overlay.dtbo' file from the link above 2. move the file to /boot/overlays 3. sudo vim /boot/config.txt to enable console-uart1 (overlay=console-uart1-overlay) 4. reboot
  4. hello @Francois, you'll need to resize SSD partitions before moving the root files into SSD. what editing boot.txt does only is to direct where to mount for rooting
  5. hello @Francois, please edit mmc_root as your kernel still runs on emmc; you can use root path (i.e. /dev/nvme0 ...etc) instead of partuuid
  6. hello @Francois, what reboot-bootloader does is to look for partable misc partition, please make sure there's a misc partition for booting
  7. hello @Francois, there's a slight difference between tinker board (rk based) and tinker edge t (nxp based), please edit the root path for kernel cmdline and recompile: directory: packages/uboot-imx/debian/boot.txt ( mendel-uboot-imx-debian/boot.txt at mendel-imx_8m · TinkerEdgeT/mendel-uboot-imx-debian · GitHub ) line 4 and line 5 mmc_root="PARTUUID=70672ec3-5eee-49ff-b3b1-eb1fbd406bf5" sd_root="/dev/mmcblk1p2" change the sd_root= to your ssd UUID and recompile/ reflash
  8. hello @Goolge, try this .py: https://www.asuswebstorage.com/navigate/a/#/s/845A267A0B6E4346BF90E84D32F8A8C84 -- import cv2 def main(): cap = cv2.VideoCapture('/dev/video10', cv2.CAP_V4L2) cap1 = cv2.VideoCapture('/dev/video12', cv2.CAP_V4L2) while(True): ret, frame = cap.read() ret, frame1 = cap1.read() cv2.imshow('Camera 1', frame) cv2.imshow('Camera 2', frame1) if cv2.waitKey(1) & 0xFF == ord('q'): exit = True break cap.release() cv2.destroyAllWindows() if __name__ == '__main__': main()
  9. hello @denchakapon, we still have a couple of arrangement to make and hopefully get android 12 source code for tinker board r2.0 uploaded by the end of next week. will keep you informed
  10. hello @Jay, you can edit the rc.local in /etc/ this is the script auto executed when booting. please add the following line in the file: sudo ifconfig eth0 down (save the modifed local.rc, and then reboot) remove this line if you'd like to use wired connection. alternatively, sudo ifconfig eth0 down can be added in /etc/init.d/rockchp.sh --it does the same job
  11. hello @Mark, the only way to power tinker edge t is using the dc power jack connector
  12. from the logs i'd suggest to keep the cpu freq at maximum, using adb commands below: adb root adb shell "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" adb shell "echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor"
  13. hello @김용래, 1. get a usb uart ttl serial console cable (similar to: https://www.amazon.com/Console-Galileo-Compatible-TTL-232R-3V3-TTL-232R_RPi/dp/B00XRBQJL8?th=1 ) 2. use the usb uart cable to connect tinker 2 (rx and tx pins) it to a pc (usb port) 3. use putty to collect logs, the setup is 'serial (refer device manager for the exact COM#), baud rate = 115200' the log looks like this: DDR Version 1.26 20210628 In channel 0 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x2 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 416MHz 0,1 Channel 0: LPDDR4,416MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Channel 1: LPDDR4,416MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB 256B stride channel 0 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x2 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! channel 0, cs 0, advanced training done channel 1, cs 0, advanced training done change freq to 856MHz 1,0 ch 0 ddrconfig = 0x101, ddrsize = 0x20 ch 1 ddrconfig = 0x101, ddrsize = 0x20 pmugrf_os_reg[2] = 0x3281F281, stride = 0x9 ddr_set_rate to 328MHZ ddr_set_rate to 666MHZ ddr_set_rate to 416MHZ, ctl_index 0 ddr_set_rate to 856MHZ, ctl_index 1 support 416 856 328 666 MHz, current 856MHz OUT Boot1 Release Time: May 29 2020 17:36:36, version: 1.26 CPUId = 0x0 ChipType = 0x10, 640 mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000 mmc: ERROR: Card did not respond to voltage select! emmc reinit mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000 mmc: ERROR: Card did not respond to voltage select! emmc reinit mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000 mmc: ERROR: Card did not respond to voltage select! SdmmcInit=2 1
  14. tooz

    Use UART

    hello @kwakPro did you first: adb root adb remount adb pull /dtoverlay/config.txt (edit) and then adb push config.txt /dtoverlay/ ?
  15. hello @김용래, looks like the cpu's kept in normal temperature. can you collect console logs for the symtom?
  16. hello @Goolge, please try multithreading reference: python - Capturing video from two cameras in OpenCV at once - Stack Overflow Python - Multithreaded Programming (tutorialspoint.com)
  17. hello @김용래, it looks like the cpu is overheated. please use the commands to check the temperature: adb shell watch -n 1 cat /sys/class/thermal/thermal_zone0/temp do you have any console logs that we can look into the issue?
  18. tooz

    Use UART

    hello @kwakPro, yes, you can use 40 pin uart with mraa library for android on android os, for your reference: Developer Guide · TinkerBoard/TinkerBoard Wiki · GitHub
  19. hello @homerwat@yahoo.com, please make sure that the vga-hdmi adapter you use is able to commnunicate between the board and the monitor. oftentimes the reason there's no output is because of the hdmi-vga adapter, you can cross-examine the issue if you have multiple adapters
  20. hello @Reis, the easiest way is to flash the latest os, this patch has been merged in the latest os as well. Tinker Board 2/2S Debian 10 V2.0.14
  21. hello @kokim_gt, you will have to port and configure tw9992 driver for mipi-csi. awb_v10.c is the library that rockchip uses for awb processing and we do not have source code, something related to rockchip image processing was changed (in this case, ov5647 driver) hence why the rkisp_3a errors. both tw9992 and adb7282m convert analog video(ntsc/pal) to yuv image through mipi-csi output, such application hasn't been implemented in tinker series, as far as i know
  22. hello @James Kim, unlike ov5647 and imx219, imx477 still needs some refinement and calibration to be fully supported.
  23. tooz

    GPIO

    hello @sushil, the command should be sudo gpio readall
  24. hello @H.Suzuki, sorry for the delay, please visit the link to download the header file for tinker board r2.0 (debian 10, linux 4.4): https://www.asuswebstorage.com/navigate/a/#/s/054838522E48445C8D23A201D95DCFAB4
  25. hello @Fra189, the dsi and csi interfaces are different and cannot be configured as such
×
×
  • Create New...