Jump to content

Joe

Tinker Engineer
  • Content Count

    31
  • Joined

  • Last visited

  • Days Won

    2

Joe last won the day on September 7 2022

Joe had the most liked content!

Community Reputation

3 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Nott: Can you try ?? wget https://github.com/electron/electron/releases/download/v11.2.3/chromedriver-v11.2.3-linux-arm64.zip unzip chromedriver-v11.2.3-linux-arm64.zip ./chromedriver Thanks.
  2. Joe

    No wireguard headers

    Hi Shadway: tinker2_kernel_1-wire_20220629.zip 1) copy boot.img to tinker2 2) sudo dd if=boot.img of=/dev/mmcblk1p4 3) sudo vi /boot/config.txt add overlay=w1-gpio 4) Reboot tinker2 and the /sys/bus/w1/devices/w1_bus_master1 is generated. 5) GPIO2B2 (The 5th Pin of 40Pin) is 1-wire Pin Hope helps you
  3. Joe

    No wireguard headers

    Hi Shadway: tinker2_kernel_1-wire.tgz URL: link below https://asus-my.sharepoint.com/:u:/p/joe_sun/EYezFvoOQJVNgcrB7zd6P-MBqScG6jCIgiCNXfsfArUF6w?e=2a9JP2 thanks.
  4. Hi @doyoung Please try as follows irq-gpios = <&gpio4 RK_PC6 0>; => GPIO4C6 reset-gpios = <&gpio3 RK_PD1 0>; => GPIO3D1 Thanks
  5. Hi @hikaru Please try the following command 1) wgethttp://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz 2) tar -Jxvf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz -C ~ 3) make ARCH=arm64 rk3399-tinker_board_2.img -j24 CROSS_COMPILE=~/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- Thanks
  6. Hi @wahaha Tinker2 only support cgroup v1. sudo mkdir -p /sys/fs/cgroup/cpu/testgroup linaro@linaro-alip:~$ cat /sys/fs/cgroup/cpu/cpu.shares 1024 linaro@linaro-alip:~$ sudo sh -c "echo 256 > /sys/fs/cgroup/cpu/testgroup/cpu.shares" linaro@linaro-alip:~$ cat /sys/fs/cgroup/cpu/testgroup/cpu.shares 256 linaro@linaro-alip:~$ stressapptest -s 6000 -M 1200 [Before execution] stressapptest CPU loading [58x%] [Open new Consloe] linaro@linaro-alip:~$ openssl sha1 < /dev/zero & linaro@linaro-alip:~$ openssl sha1 < /dev/zero & [Before execution] stressapptest CPU loading [50x%] [Before execution] openssl CPU loading [4x%] linaro@linaro-alip:~$ pgrep stress 954 linaro@linaro-alip:~$ sudo sh -c "echo 954 > /sys/fs/cgroup/cpu/testgroup/cgroup.procs" linaro@linaro-alip:~$ cat /sys/fs/cgroup/cpu/testgroup/cgroup.procs 954 [After execution] stressapptest CPU loading upto [40x%] [After execution] openssl CPU loading upto [9x%] Thanks
  7. Joe

    Using dual displays

    Hi @Korre Tinker2 Android does not support extended screen, only mirror. Thanks
  8. Joe

    Change boot logo

    Hi @NightWalk This method is only applicable to TinkerOS_Android 7 Nougat V14.x thanks
  9. Hi @jovanpn About iptables Please refer to https://wiki.debian.org/iptables thanks
  10. Hi @hikaru I use Tinker2S version 2.0.0-20210413 CONFIG_USB_SERIAL_CH341=y Actually insert CH340 USBtoUART linaro@linaro-alip:~$ ls -al /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 0 Dec ?8 04:04 /dev/ttyUSB0 If you have any questions, Please provide dmesg kernel log information. Thanks
  11. Hi @wahaha Are you using Tinker2s Debian 10 v2.0.0-20210413 version? https://www.mediafire.com/file/qa45pl0xvxkiayg/boot.img/file If yes, please put boot.img in Tinker2S And execute sudo dd if=boot.img of=/dev/mmcblk1p4 sudo reboot sudo snap install core Thanks.
  12. Hi @Hitchcock Please try the following command 1) adb root 2) adb remount 3) adb.exe pull /system/usr/share/resolution_white.xml ./ 4) add resolution_white.xml 1024x768 resolution 5) adb push resolution_white.xml /system/usr/share/ 6) adb reboot 7) then check if 1024x768 in HDMI resolution list thanks.
  13. Joe

    No wireguard headers

    tinker2_kernel_1-wire.tgz https://asus-my.sharepoint.com/:u:/p/joe_sun/ESh3OzqpXi1GsPqlQqd2roYBY3UI6DoTd2wizrWQS6IwXw?e=7HpAnU Hi @Shadway: Can you try the attachment 1-wire driver 1) copy boot.img to tinker2 2) sudo dd if=boot.img of=/dev/mmcblk1p4 3) sudo vi /boot/config.txt add overlay=w1-gpio 4) Reboot tinkerboard and the /sys/bus/w1/devices/w1_bus_master1 is generated. 5) GPIO0B0 (The 7th leg of 40Pin) is 1-wire Pin Hope helps you Joe
  14. Hi serene: You can refer to the following link https://www.shubhamdipt.com/blog/how-to-create-a-systemd-service-in-linux/ https://www.cloudsavvyit.com/3092/how-to-add-your-own-services-to-systemd-for-easier-management/ https://www.suse.com/support/kb/doc/?id=000019672 Thank. Joe
  15. Hi Gene Mosher: 1) Yes, where there are clerical errors. Update as above 2) The complete download description is as follows first --> Keep the following packages at their current version second --> Install the following packages: linaro@linaro-alip:~$ sudo aptitude install libcurlpp-dev The following NEW packages will be installed: libcurl4-openssl-dev{ab} libcurlpp-dev libcurlpp0{a} 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 422 kB/881 kB of archives. After unpacking 5051 kB will be used. The following packages have unmet dependencies: libcurl4-openssl-dev : Depends: libcurl4 (= 7.74.0-1.3+b1) but 7.64.0-4+deb10u1 is installed The following actions will resolve these dependencies: Keep the following packages at their current version: 1) libcurl4-openssl-dev [Not Installed] 2) libcurlpp-dev [Not Installed] Accept this solution? [Y/n/q/?] n The following actions will resolve these dependencies: Install the following packages: 1) libcurl4-gnutls-dev [7.74.0-1.2~bpo10+1 (buster-backports)] Keep the following packages at their current version: 2) libcurl4-openssl-dev [Not Installed] Accept this solution? [Y/n/q/?] y The following NEW packages will be installed: libcurl4-gnutls-dev{a} libcurlpp-dev libcurlpp0{a} 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/878 kB of archives. After unpacking 5020 kB will be used. Do you want to continue? [Y/n/?] y Selecting previously unselected package libcurl4-gnutls-dev:arm64. (Reading database ... 88228 files and directories currently installed.) Preparing to unpack .../libcurl4-gnutls-dev_7.74.0-1.2~bpo10+1_arm64.deb ... Unpacking libcurl4-gnutls-dev:arm64 (7.74.0-1.2~bpo10+1) ... Selecting previously unselected package libcurlpp0:arm64. Preparing to unpack .../libcurlpp0_0.8.1-5_arm64.deb ... Unpacking libcurlpp0:arm64 (0.8.1-5) ... Selecting previously unselected package libcurlpp-dev:arm64. Preparing to unpack .../libcurlpp-dev_0.8.1-5_arm64.deb ... Unpacking libcurlpp-dev:arm64 (0.8.1-5) ... Setting up libcurlpp0:arm64 (0.8.1-5) ... Setting up libcurl4-gnutls-dev:arm64 (7.74.0-1.2~bpo10+1) ... Setting up libcurlpp-dev:arm64 (0.8.1-5) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.32-4) ... linaro@linaro-alip:~$
×
×
  • Create New...