Jump to content

tooz

Tinker Engineer
  • Content Count

    518
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by tooz

  1. hello @wahaha, not sure if it's a hardware or driver issue, to get a little further: 1. what is the image version you're using? is it debian 11 v.3.0.6? 2. what are the results when you execute the commands: ifconfig -a sudo lspci sudo lsmod
  2. hello @aki, the @800000000Hz here means the gpu frequency is set to 800mhz, 0 means the gpu usage = 0 is the gpu governor set to performance? and please use these commands to check gpu when you're running applications that might be using gpu to accelerate -- for exmaple, you can use the commands while running glmark2-es2 and the gpu usage should not be 0. if the apis you are using support gpu accelerating then it (gpu usage = 0) should not be the case
  3. hello @aki, the embedded gpu uses GLES instead of GL please use the commands below to check the gpu loading/ usage instead of glxinfo: cat /sys/devices/platform/ff9a0000.gpu/utilisation cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/load
  4. hello @wahaha, we'll upload the codes by the end of this week, i'll leave a comment with the url once it's done. sorry for the inconvenience.
  5. yocto 4.0 (kernel 5.10) os v.1.0.2 for tinker board 2s is released and can be downloaded here: Tinker Board 2 /2S Yocto 4.0 (kernel 5.10) V1.0.2
  6. tooz

    I2C Speed

    hello @Jens, sorry for not making it clear, the 10k in the config.txt = 100khz, so if you wanna change both i2c6 & i2c7 to 100k: overlay=i2c6_10k i2c7_10k (separate the variants with space instead of comma) the speed is 400k by default, if you want to change them back to 400k, just remove the line overlay=i2c6_10k i2c7_10k
  7. hello @lloydhussell, yes you can (there's a reddit r/tinkerboard on reddit too https://www.reddit.com/r/tinkerboard/?rdt=62313 , fwiw)
  8. tooz

    I2C Speed

    hello @Jens, you can set the speed to 40k or 10k (it's 40k by default). to change the speed to 10k using overlay: 1. download the dtbo files and i2cspeed.sh from: https://www.asuswebstorage.com/navigate/a/#/s/258BFBD7E61045C9BECB7DA044378A844 2. move i2c6_10k.dtbo & i2c7_10k.dtbo to /boot/overlays 3. sudo vim /boot/config.txt modify the last line in config.txt overlay=i2c6_10K (if you're using i2c7, then the last line should be overlay=i2c7_10k) 4. save and reboot tinker board 2s 5. to verify the change comes effective using i2cspeed.sh sudo chmod +x i2cspeed.sh ./i2cspeed.sh the script then prints the i2c clock frequency
  9. tooz

    I2C Speed

    hello @Jens, you can set the speed to 40k or 10k (it's 40k by default). to change the speed to 10k using overlay: 1. download the dtbo files and i2cspeed.sh from: https://www.asuswebstorage.com/navigate/a/#/s/258BFBD7E61045C9BECB7DA044378A844 2. move i2c6_10k.dtbo & i2c7_10k.dtbo to /boot/overlays 3. sudo vim /boot/config.txt modify the last line in config.txt overlay=i2c6_10K (if you're using i2c7, then the last line should be overlay=i2c7_10k) 4. save and reboot tinker board 2s 5. to verify the change comes effective using i2cspeed.sh sudo chmod +x i2cspeed.sh ./i2cspeed.sh the script then prints the i2c clock frequency
  10. hello @lloydhussell the order of sound cards depends on which driver completes first -- so for tinker board 2s( without any modification): hdmi=0, dp=1, following new device=2, new device2=3 and so on. for android, the order goes: usb-> hdmi-> dp, so when booting with usb mic inserted it's usb=0, hdmi=1, dp=2; and changes to hdmi=1, dp=2 when usb mic is removed
  11. hello @lloydhussell, what's the result if you sudo aplay -l instead of aplay -l? and what's the version of the linux os you're using?
  12. hello @lloydhussell, please refer to the user manual: Tinker Board (asus.com)
  13. hello @lloydhussell, if the maskrom pin is inserted, the tinker board 2s enters rom istead of system, and having no hdmi output is expected.
  14. tooz

    Kernel v6

    hello @M95D, kernel v.6 is not supported just yet, the reason why the wifi is hardly detected might be the mmc sdio driver difference (kernel v.6 & kernel v.4.4) [ 4.394371] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 4.489425] mmc_host mmc2: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0) [ 4.490020] mmc2: new high speed SDIO card at address 0001 [ 6.561012] mmc2:mmc host rescan start!
  15. hello @lloydhussell, the reason why this bool is set to true is to disable the usb permission dialog popup. we unfortunately don't have any documentation for this. checking aosp docs (like this: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/android12-release/core/res/res/values/config.xml ) would be the best solution if you'd like to customize tinker board 2s
  16. hello @lloydhussell, the documentation was indeed outdated, just updated the command with the correct url, thank you Developer Guide · TinkerBoard/TinkerBoard Wiki (github.com)
  17. tooz

    KERNEL4.4.132+ HEAD

    Building Linux headers for Tinker Board R2.0: git clone https://github.com/TinkerBoard/debian_kernel.git cd debian_kernel make ARCH=arm distclean make ARCH=arm miniarm-rk3288_defconfig make ARCH=arm bindeb-pkg RK_KERNEL_DTS=rk3288-miniarm to fix the errors during compilation: error 1: CC arch/arm/kernel/vdso.o arch/arm/kernel/vdso.c: In function ‘vdso_init’ arch/arm/kernel/vdso.c:182:6: warning: ‘memcmp’ reading 4 bytes from a region of size 1 [-Wstringop-overflow=] error, forbidden warning: vdso.c:182 make[3]: *** [scripts/Makefile.build:278: arch/arm/kernel/vdso.o] Error 1 make[2]: *** [Makefile:1028: arch/arm/kernel] Error 2 make[1]: *** [scripts/package/Makefile:96: bindeb-pkg] Error 2 make: *** [Makefile:1316: bindeb-pkg] Error 2 cause: The current kernel sources provided are not compatible as of right now with GCC8. Until the kernel sources are patched, you need to use a gcc version that is compatible fix: use gcc7 instead of gcc8 error 2: CC drivers/net/usb/qmi_wwan.o drivers/net/usb/qmi_wwan.c: In function ‘qmi_wwan_tx_fixup’: drivers/net/usb/qmi_wwan.c:32:2: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] error, forbidden warning: qmi_wwan.c:32 make[5]: *** [scripts/Makefile.build:278: drivers/net/usb/qmi_wwan.o] Error 1 make[4]: *** [scripts/Makefile.build:484: drivers/net/usb] Error 2 make[3]: *** [scripts/Makefile.build:484: drivers/net] Error 2 make[2]: *** [Makefile:1028: drivers] Error 2 make[1]: *** [scripts/package/Makefile:96: bindeb-pkg] Error 2 make: *** [Makefile:1316: bindeb-pkg] Error 2 fix: edit the qmi_wwan_tx_fixup in /qmi_wwan.c, and start a new line for the if statement else skb_reset_mac_header(skb); if (skb_pull(skb, Eth_HLEN)) { return skb; } else { Dev_err(&dev->intf->dev,”Packet Dropped “);
  18. tooz

    KERNEL4.4.132+ HEAD

    hello @walter, the kernel header (4.4.132) can be downloaded here: https://www.asuswebstorage.com/navigate/a/#/s/0A7B214566FE4B3F9439CC570B5390284
  19. hello @SimT, if the tinker edge r's recognised as 'asus usb download gadget' it's likely that it's entered fastboot/ maskrom mode. if you've flashed android os on tinker edge r for the first time, it'll take about 100 to 200 seconds for tinker edge r to init (in fastboot mode), and the board will reboot once init is finished -- it's necessary for tinker edge r to complete init before it gets into the ums mode. if your tinker edge r is stuck in fastboot mode, we'll need the pid/ vid to further the debugging. to find pid/ vid on mac: about this mac -> overview -> system report -> hardware -> usb
  20. hello @kamuycikap, looks like tinker the board 2s was not on universal mass storage (ums) mode. 1. was the short circuit cap attached? if so, please remove it whilst the board's connected to your laptop 2. have you flashed tinker board 2s? the board has to be flashed first to get ums supported 3. what's the pid/ vid? if it's not 0B05:7820 it's likely that your tinker board 2s has entered maskroom mode, hence why it's unrecognized
  21. tooz

    Kernel v6

    hello @M95D, does it happen all the time? what's the occurence? which os did you compile? is it a debian with kernel v6.5?
  22. hello @M@riusz, are you connecting it to i2c1? please space it instead of using a comma: overlay=ds1307-overlay mcp2515-can0
  23. hello @M@riusz, please copy the dtb files from https://www.asuswebstorage.com/navigate/a/#/s/00E9A5E1D5AC45FFBE5EBC6738DFEFAB4 to /boot/overlay, and modify /boot/config.txt to enable spi2 accordingly. overlay=mcp251x-can0-tinker1 save the /boot/config.txt and then reboot tinker board r2.0 confirm that can0 can be recognized with command: ifconfig can0
  24. hello @ken, tinker board 2s will shut down if the cpu is overheated i'm not sure whether there's an issue with cpu or ddr, seems like both can be the possible cause. it'd be helpful to have the console log for debugging. are you running the system with os release from tinker board? if so, what's the version of the os?
  25. hello @ken, the hardware watchdog is enabled by default. from what you've described sounds like the system shut down because of overheating -- what's the enviornment and was the heatsink attached? please connect tinker board 2s with a usb to ttl serial cable to collect serial logs (instruction can be found here: https://tinker-board.asus.com/forum/index.php?/topic/14971-how-to-enable-serial-console-in-2s/&do=findComment&comment=15287 ) so we know what causes the trouble
×
×
  • Create New...