Joe
-
Content Count
31 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Joe
-
-
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 -
Hi Shadway:
tinker2_kernel_1-wire.tgz URL: link below
https://asus-my.sharepoint.com/:u:/p/joe_sun/EYezFvoOQJVNgcrB7zd6P-MBqScG6jCIgiCNXfsfArUF6w?e=2a9JP2
thanks. -
Hi @doyoung
Please try as follows
irq-gpios = <&gpio4 RK_PC6 0>; => GPIO4C6
reset-gpios = <&gpio3 RK_PD1 0>; => GPIO3D1
Thanks -
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 -
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 -
-
-
-
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- 1
-
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. -
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.
-
tinker2_kernel_1-wire.tgz
https://asus-my.sharepoint.com/:u:/p/joe_sun/ESh3OzqpXi1GsPqlQqd2roYBY3UI6DoTd2wizrWQS6IwXw?e=7HpAnUHi @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 youJoe
-
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 -
Hi Gene Mosher:
1) Yes, where there are clerical errors.
Update as above2) 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:~$
-
Hi Gene Mosher:
I did not find "libcurlppo".
Can you try follow SOP??
sudo vi /etc/apt/source.list add deb http://ftp.de.debian.org/debian sid main
sudo apt update
sudo apt install aptitude
sudo aptitude install libcurlpp-dev
Accept this solution? [Y/n/q/?] n
Accept this solution? [Y/n/q/?] y
Do you want to continue? [Y/n/?] y
Joe -
Hi serene:
Can you try the SOP?
Let me know if you have any questions[Tinker2 Source Download]
1) u-boot Code => git clone https://github.com/TinkerBoard2/u-boot.git
2) GCC => wget http://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
3) tar -Jxvf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz -C ~[Tinker2 u-boot]
1) cd u-boot
2) make tinker2_defconfig
3) make CROSS_COMPILE=~/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- all --jobs=80
4) ./tools/loaderimage --pack --uboot u-boot.bin uboot.img 0x00200000
5) compile finish,copy u-boot/uboot.img to Tinker2
6) dd if=uboot.img of=/dev/mmcblk1p1 (excute in tinker2)
Thank you.
Joe -
Hi henry dead:
Please try the following
sudo vi /usr/share/applications/vlc.desktop
Modify Line 183
Exec=/usr/bin/vlc --started-from-file --gl=none %U
Thanks.
Joe -
Hi GeneMosher:
sudo apt update
sudo apt install aptitude
sudo aptitude install libgtk-3-dev
Accept this solution? [Y/n/q/?] n
Accept this solution? [Y/n/q/?] y
Do you want to continue? [Y/n/?] y
Thank you
Joe -
Hi @serene
Can you try the SOP?
Let me know if you have any questions
[Tinker2 Source Download]
1) Kernel Code => git clone https://github.com/TinkerBoard2/kernel.git
2) GCC => wget http://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
3) tar -Jxvf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz -C ~[Tinker2 kernel]
1) cd kernel
2) make ARCH=arm64 tinker2_defconfig Thank you.CROSS_COMPILE=~/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32
3) make ARCH=arm64 rk3399-tinker_board_2.img CROSS_COMPILE=~/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32
4) compile finish,copy kernel/boot.img to tinker2
5) dd if=boot.img of=/dev/mmcblk1p4 (excute in tinker2)
Thank you
Joe -
Hi Zoyam:
Thonny is not support armv71
Thank you.Joe
-
Hi @serene
sudo vi ~/.config/lxsession/LXDE/autostart
And add this line to the bottom
@x11vnc -noxrecord -forever
Thank you.
Joe -
Hi haxboard,
Guess whether Router or DHCP is related
[ask]
1. If TinkerS is set to a static IP, Is it still happen disconnected??
Settings -> More -> Ethernet -> Ethernet Ip mode -> static
2. Is there any other software to install?[Please take TinkerS log]
1. su
2. ifconfig
3. ps
4. ping 8.8.8.8
5. logcat
6. ip a
7. routePlease help to get the log
Thanks -
Hi Suleyman Poyraz:
Can you try the command?
sudo apt-get update
sudo apt-get install -f libcairo-gobject2=1.16.0-4+deb10u1
sudo apt-get install -f libcairo2=1.16.0-4+deb10u1
sudo apt-get install -f libglib2.0-0=2.58.3-2+deb10u3
sudo apt-get install -y libgtk-3-dev
Thank you -
Hi justlovecoding:
Pin number 8 and 10 is UART1
Can you try as follows??
if((fd = serialOpen ("/dev/ttyS1", 115200)) < 0)
Thanks
need help : chromium-driver install failed
in Software
Posted
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.