Search the Community
Showing results for tags 'debian'.
Found 9 results
-
Hi, I am facing issue while rebooting device takes, it takes more than 1.50-2.50min while using sudo reboot command & through GUI reboot also. Does anyone face this issue are anyone have idea about this issue. Please suggest any solutions.
-
I am currently working on the Tinker Board project (Application that using GUI). Recently, I had to replace the Tinker Board logo with our product's logo on kernal that I have cloned from github. I followed the instructions mentioned in Developer Guide · TinkerBoard/TinkerBoard Wiki (github.com) However, I am not sure if the kernel image that I compiled from TinkerBoard2/kernel (github.com) is optimized for Debian. Can you confirm if it is optimized and compatible with Debian? Or suggestion the step to make it work
- 1 reply
-
- tinkerboard2s
- linuxkernel
-
(and 1 more)
Tagged with:
-
Hello i am trying to port the mainline debian 11 img to the tinkeredge R and i was hoping if anyone here knew what firmware packages and drivers and required to get it to boot
-
I tested ufw and nftables on the latest release. But no luck. Tinker Board 2 team, could you please tell me how to enable firewall on this OS? Using ufw After adding a simple rule to ufw, I got the following error when I enabled it. linaro@linaro-alip:/lib/modules/4.4.194$ sudo ufw enable Command may disrupt existing ssh connections. Proceed with operation (y|n)? y ERROR: problem running ufw-init modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/4.4.194 iptables-restore v1.8.2 (nf_tables): line 22: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 23: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 24: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 25: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 26: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 27: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 29: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 30: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 31: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 32: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 33: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 34: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 36: RULE_APPEND failed (No such file or directory): rule in chain FORWARD line 41: RULE iptables-restore v1.8.2 (nf_tables): Couldn't load match `conntrack':No such file or directory Error occurred at line: 2 Try `iptables-restore -h' or 'iptables-restore --help' for more information. iptables-restore v1.8.2 (nf_tables): line 5: RULE_APPEND failed (No such file or directory): rule in chain ufw-skip-to-policy-input line 6: RULE_APPEND failed (No such file or directory): rule in chain ufw-skip-to-policy-output line 7: RULE_APPEND failed (No such file or directory): rule in chain ufw-skip-to-policy-forward iptables-restore v1.8.2 (nf_tables): Couldn't load match `conntrack':No such file or directory Error occurred at line: 25 Try `iptables-restore -h' or 'iptables-restore --help' for more information. iptables-restore v1.8.2 (nf_tables): unknown option "--dport" Error occurred at line: 19 Try `iptables-restore -h' or 'iptables-restore --help' for more information. iptables-restore v1.8.2 (nf_tables): unknown option "--dport" Error occurred at line: 19 Try `iptables-restore -h' or 'iptables-restore --help' for more information. iptables-restore v1.8.2 (nf_tables): Chain 'ufw-before-input' does not exist ip6tables-restore v1.8.2 (nf_tables): line 22: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 23: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 24: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 25: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 26: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 27: RULE_APPEND failed (No such file or directory): rule in chain INPUT line 29: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 30: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 31: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 32: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 33: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 34: RULE_APPEND failed (No such file or directory): rule in chain OUTPUT line 36: RULE_APPEND failed (No such file or directory): rule in chain FORWARD line 41: RULE ip6tables-restore v1.8.2 (nf_tables): Couldn't load match `conntrack':No such file or directory Error occurred at line: 2 Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information. ip6tables-restore v1.8.2 (nf_tables): line 5: RULE_APPEND failed (No such file or directory): rule in chain ufw6-skip-to-policy-input line 6: RULE_APPEND failed (No such file or directory): rule in chain ufw6-skip-to-policy-output line 7: RULE_APPEND failed (No such file or directory): rule in chain ufw6-skip-to-policy-forward ip6tables-restore v1.8.2 (nf_tables): Couldn't load match `rt':No such file or directory Error occurred at line: 24 Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information. ip6tables-restore v1.8.2 (nf_tables): unknown option "--dport" Error occurred at line: 19 Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information. ip6tables-restore v1.8.2 (nf_tables): unknown option "--dport" Error occurred at line: 19 Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information. ip6tables-restore v1.8.2 (nf_tables): Chain 'ufw6-before-input' does not exist Problem running '/etc/ufw/before.rules' Problem running '/etc/ufw/after.rules' Problem running '/etc/ufw/user.rules' Problem running '/etc/ufw/before6.rules' Problem running '/etc/ufw/after6.rules' Problem running '/etc/ufw/user6.rules' Using nftables I uninstalled ufw then installed nftables. And tried to set a simple rule which is just allowing loopback incoming access. #!/usr/sbin/nft -f flush ruleset table inet filter { chain input { type filter hook input priority 0; iifname "lo" accept } chain forward { type filter hook forward priority 0; } chain output { type filter hook output priority 0; } } Then I started nftables service but the service didn't start. syslog showed the following message. Apr 21 07:06:36 linaro-alip nft[2149]: /etc/nftables.conf:8:17-35: Error: Could not process rule: No such file or directory Apr 21 07:06:36 linaro-alip nft[2149]: iifname "lo" accept Apr 21 07:06:36 linaro-alip nft[2149]: ^^^^^^^^^^^^^^^^^^^ Apr 21 07:06:36 linaro-alip systemd[1]: nftables.service: Failed with result 'exit-code'. Apr 21 07:06:36 linaro-alip systemd[1]: Failed to start nftables. Are netfilter kernel modules installed? Got the following output. Some of netfilter modules are included in the builtin kernel. Not sure if the list covers all required modules. linaro@linaro-alip:~$ cat /lib/modules/$(uname -r)/modules.builtin | grep nf_tables kernel/net/ipv4/netfilter/nf_tables_ipv4.ko kernel/net/ipv4/netfilter/nf_tables_arp.ko kernel/net/ipv6/netfilter/nf_tables_ipv6.ko kernel/net/netfilter/nf_tables.ko kernel/net/netfilter/nf_tables_inet.ko kernel/net/netfilter/nf_tables_netdev.ko
-
Hi, I built the kernel in Debian 10, on Tinkerboard 2S. I got these 3 errors. Do they need patches? make[4]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan] Error 2 make[3]: *** [scripts/Makefile.build:484: drivers/net/wireless] Error 2 make[2]: *** [scripts/Makefile.build:484: drivers/net] Error 2 make[1]: *** [Makefile:1036: drivers] Error 2 make: *** [arch/arm64/Makefile:169: kernel.img] Error 2 make: *** Deleting file 'kernel.img'
-
I like the idea that the TinkerOS is specifically designed and optimized for the TinkerBoard, but it includes quite a bit of fluff and I'd like to start from a clean CLI Debian install. Is there a detailed list of differences TinkerOS has over Debian, so I could include the optimizations and adjustments in the configurations but without all the unneccessary (to me) packages? I would just download Debian and diff the whole tree against TinkerOS, but the problem is TinkerOS comes already "installed" so the way the image itself is set up is completely different from any of the ways Debian is distributed. It also feels kinda brutish. Thanks
-
Hello, I'm using the tinker board 2s when I used raspberry Pi, I made the entire SD card Data into an image file and backed it up. However, in the case of tinker board 2s, when OS is installed, the partition is divided into several parts, and when sd card is inserted into the PC, the data on the SD card cannot be accessed. How can I backup the Tinker board?
-
To monitor and adjust CPU/GPU frequency, board temperature, and loading status, Easy Setup Tool for Tinker Board 2 series provides the possibility to modify settings and optimize thermal performance. Below are the SOP to configure power management under Debian and Android on Tinker Board 2 series: Debian 1. Open a terminal in full screen mode and run the following command: tinker-power-management 2. Adjust CPU Governor: a. Press 'C' to open the menu. There are 4 options to select: "auto", "manual", "powersave", and "performance". b. Use the left or right arrow key to select. Option selected is shown in bold. Press the space bar to confirm, or press 'q' to cancel. 3. Adjust CPU frequency: a. Follow Step 2 above to adjust CPU Governor to "manual" b. When CPU Governor = manual, options for CPU frequency adjustment will be highlighted. There are 4 options: "min.freq for A53", "max.freq for A53", "min.freq for A72", and "max.freq for A72". Use the arrow keys to select. Option selected is shown in bold. Press the space bar to confirm and open the selected CPU frequency menu. # Follow step 2. to adjust CPU Governor. c. Once the frequency menu is shown Use the left or right arrow key to select. Option selected is shown in bold. Press the space bar to confirm, or press 'Q' to cancel. # CPU frequency menu needs to be confirmed or closed before adjusting CPU Governor. 4. Press "Ctrl" + "C" to exit Tinker Power Management anytime. Android Run adb boot first, then set CPU/GPU frequency through below command: CPU Check CPU frequency (Little core) adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq Check CPU frequency (Big core) adb shell cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_cur_freq Set CPU maximum frequency (Big core 2GHz/Little core 1.5GHz) adb shell 'echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' adb shell 'echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor' Set CPU minimum frequency (408MHz) adb shell 'echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' adb shell 'echo powersave > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor' GPU Check GPU frequency adb shell cat /sys/class/devfreq/ff9a0000.gpu/cur_freq Set GPU maximum frequency (800MHz) adb shell 'echo performance > /sys/class/devfreq/ff9a0000.gpu/governor' Set GPU minimum frequency (200MHz) adb shell 'echo powersave > /sys/class/devfreq/ff9a0000.gpu/governor' tinker-power-management_SOP_EN.txt
- 1 reply
-
- easy setup tool
- sop
-
(and 6 more)
Tagged with:
-
Hello, As the ASUS Tinker Board has so many wonderful features and direct access of lower level peripherals, I've decided to migrate my development from raspberry Pi to Tinker board. Right now, I'm starting with a basic UART code which sends and receive some strings serially but unfortunately it is not working as expected. The UART I'm trying to use UART1 (Pin number 8 and 10). Right now, if (serialDataAvail(fd)) is getting true every single time. After reading the data serialGetchar(fd), I found out that, the RX pin is in low state (receiving 255 continuously). Although, my code has no error, but I'll still add it here. #include <stdio.h> #include <string.h> #include <errno.h> #include <wiringPi.h> #include <wiringSerial.h> int main () { int fd,inCount = 0 ; char inBuff[500],OutBuff[500]; if (wiringPiSetup () == -1) { fprintf (stdout, "Unable to start wiringPi: %s\n", strerror (errno)) ; return 1 ; } else printf("wiringPi: init successfull! \n\r"); if((fd = serialOpen ("/dev/ttyS0", 115200)) < 0) { fprintf (stderr, "Unable to open serial device: %s\n", strerror (errno)) ; return 1 ; } else printf("Serila: /dev/ttyS0 successfully opened! \n\r"); while (1) { if (serialDataAvail(fd)) { inBuff[inCount] = serialGetchar(fd); if ( inBuff[inCount] == '\n') { printf("RX String=%s"); memset(inBuff,'\0',inCount); inCount = 0 ; } inCount++; if ( inCount == 500) { inCount = 0; memset(inBuff,'\0',inCount); } } } } The reply of "dmesg | grep tty" is attached below.