whitefox
Members-
Posts
15 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
@amazingfate Hi, Thank you very much for your work. I'm having trouble installing a ppa. Err:18 https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu kinetic Release 404 Not Found [IP: 2620:2d:4000:1::3e 443] Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu kinetic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Share a link to the repository with Makefile , for a self-build kodi with mpp. https://github.com/amazingfate/armbian-compile-action/blob/main/action.yml It is also not clear what prevents you from pouring your patches for the kernel into the main armbian branch? I noticed some of your patches https://github.com/armbian/build/pull/4540
-
NanoPi R4S rk_gmac-dwmac WAN on 1Gbps/Full network packet loss problem
whitefox replied to Pedro Lucas's topic in NanoPi R4S
@Pedro LucasYes, I tried this "solution" did not work for me. root@orangepi-rk3399:~# ethtool -s eth0 autoneg on speed 1000 duplex full root@orangepi-rk3399:~# ethtool -K eth0 tso off root@orangepi-rk3399:~# ethtool -K eth0 gso off root@orangepi-rk3399:~# ethtool -k eth0 | grep -e [tg]so tx-gso-robust: off [fixed] tx-gso-partial: off [fixed] tx-gso-list: off [fixed] root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 1.96 ms (jitter: 0.16ms, low: 1.77ms, high: 2.14ms) Download: 625.19 Mbps (data used: 654.8 MB) 25.84 ms (jitter: 36.44ms, low: 1.08ms, high: 457.34ms) Upload: 1.69 Mbps (data used: 2.7 MB) 1.54 ms (jitter: 2.90ms, low: 1.15ms, high: 417.26ms) Packet Loss: 5.4% Result URL: https://www.speedtest.net/result/c/c12b33b6-1196-42d7-8d77-75180d8e1aac -
NanoPi R4S rk_gmac-dwmac WAN on 1Gbps/Full network packet loss problem
whitefox replied to Pedro Lucas's topic in NanoPi R4S
I have a similar problem with packet loss on orange pi rk3399 when connected on 1Gbps/Full Armbianmonitor: http://ix.io/4ia5 [ 10.377653] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=84) [ 10.386477] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.396512] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found [ 10.396545] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW [ 10.397193] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode [ 10.557743] aufs 5.15.41-20220620 [ 11.825681] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 11.831210] Bridge firewalling registered [ 12.194629] Initializing XFRM netlink socket [ 12.666036] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 12.666114] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 2.01 ms (jitter: 0.09ms, low: 1.96ms, high: 2.13ms) Download: 629.96 Mbps (data used: 888.3 MB) 66.92 ms (jitter: 50.00ms, low: 1.11ms, high: 875.41ms) Upload: 1.36 Mbps (data used: 2.5 MB) 1.58 ms (jitter: 5.65ms, low: 1.22ms, high: 210.62ms) Packet Loss: 8.3% Result URL: https://www.speedtest.net/result/c/70477fc4-89f0-4b2a-b9a7-4248e25af9d7 After switching to 100 Mbps packet loss disappears: ethtool -s eth0 autoneg on speed 100 duplex full [ 614.706367] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down [ 616.829581] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 2.03 ms (jitter: 0.12ms, low: 1.86ms, high: 2.15ms) Download: 93.89 Mbps (data used: 42.3 MB) 2.90 ms (jitter: 0.32ms, low: 2.03ms, high: 4.10ms) Upload: 93.80 Mbps (data used: 43.5 MB) 3.89 ms (jitter: 0.60ms, low: 2.46ms, high: 8.08ms) Packet Loss: 0.0% Result URL: https://www.speedtest.net/result/c/03847e3f-6400-457f-bd6b-067b59b9c243 -
@IgorHello, I always use the same power supply with PD and maybe after updating the linux-u-boot-rock-5b-legacy package or after connecting the nvme disk PD stopped working Linux rock-5b 5.10.72-rockchip-rk3588 #trunk.0102 SMP Sat Nov 5 07:56:18 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux dpkg -l| grep -e rock -e rk3588 ii armbian-bsp-cli-rock-5b 22.11.0-trunk.0134 arm64 Armbian board support files for rock-5b ii armbian-bsp-desktop-rock-5b 22.11.0-trunk arm64 Armbian Board Specific Packages for desktop users using arm64 rock-5b machines ii linux-dtb-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Armbian Linux DTB, version 5.10.72-rockchip-rk3588 legacy ii linux-headers-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Linux kernel headers for 5.10.72-rockchip-rk3588 on arm64 legacy ii linux-image-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Linux kernel, armbian version 5.10.72-rockchip-rk3588 legacy ii linux-u-boot-rock-5b-legacy 22.11.0-trunk.0134 arm64 Uboot loader 2017.09 tcpm_source_psy_4_0022-i2c-4-22 Adapter: rk3x-i2c in0: 5.00 V (min = +5.00 V, max = +5.00 V) curr1: 0.00 A (max = +0.00 A) 3.235464] pd := on [ 3.235474] pending state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET @ 310 ms [rev3 NONE_AMS] [ 3.545502] state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET [delayed 310 ms] [ 3.545509] AMS SOFT_RESET_AMS start [ 3.545513] state change SNK_SOFT_RESET -> AMS_START [rev3 SOFT_RESET_AMS] [ 3.545516] state change AMS_START -> SOFT_RESET_SEND [rev3 SOFT_RESET_AMS] [ 3.545520] PD TX, header: 0x8d [ 3.547664] sending PD message header: 8d [ 3.547672] sending PD message len: 0 [ 3.549591] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0xc1 [ 3.549601] IRQ: BC_LVL, handler pending [ 3.551465] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0x81 [ 3.551469] IRQ: BC_LVL, handler pending [ 3.553269] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0x81 [ 3.553272] IRQ: BC_LVL, handler pending [ 3.555058] IRQ: 0x41, a: 0x10, b: 0x00, status0: 0x81 [ 3.555062] IRQ: BC_LVL, handler pending [ 3.555064] IRQ: PD retry failed [ 3.555067] PD TX complete, status: 2 [ 3.555077] state change SOFT_RESET_SEND -> HARD_RESET_SEND [rev3 SOFT_RESET_AMS] [ 3.555083] AMS SOFT_RESET_AMS finished [ 3.555085] AMS HARD_RESET start [ 3.555087] PD TX, type: 0x5 [ 3.557966] IRQ: 0x41, a: 0x08, b: 0x00, status0: 0x81 [ 3.557968] IRQ: BC_LVL, handler pending [ 3.557969] IRQ: PD hardreset sent [ 3.558731] PD TX complete, status: 0 [ 3.558735] state change HARD_RESET_SEND -> HARD_RESET_START [rev3 HARD_RESET] [ 3.563289] pd := off I tried to track changes in the package linux-u-boot-rock-5b-legacy linux-u-boot-rock-5b-legacy: Installed: 22.11.0-trunk.0134 Candidate: 22.11.0-trunk.0134 Version table: *** 22.11.0-trunk.0134 500 500 http://beta.armbian.com kinetic/main arm64 Packages 100 /var/lib/dpkg/status 22.11.0-trunk.0133 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0132 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0131 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0130 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0129 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0128 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0127 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0126 500 500 http://beta.armbian.com kinetic/main arm64 Packages But did not find any commits or build tags from 22.11.0-trunk.0134 https://github.com/armbian/build
-
@amazingfateHello, I burned the armbian image to an SD disk and inserted it into rock5b, booted successfully, set up the video as above in the comments, docker and repositories and would like to transfer the root partition to the eMMC disk, but so far it does not work. Usually nand-sata-install is enough, but after copying the root of the radlen on eMMC rock5b it does not load (blue LED is on) I also tried Write U-Boot images to SPI root@rock-5b:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mtdblock0 31:0 0 16M 0 disk mmcblk1 179:0 0 14.5G 0 disk └─mmcblk1p1 179:1 0 14.3G 0 part mmcblk1boot0 179:32 0 4M 1 disk mmcblk1boot1 179:64 0 4M 1 disk mmcblk0 179:96 0 29.7G 0 disk ├─mmcblk0p1 179:97 0 256M 0 part /boot └─mmcblk0p2 179:98 0 29.2G 0 part /var/log.hdd / zram0 254:0 0 7.7G 0 disk [SWAP] zram1 254:1 0 50M 0 disk /var/log root@rock-5b:~# mount | grep /boot /dev/mmcblk0p1 on /boot type ext4 (rw,relatime,errors=remount-ro,commit=600) At the same time, I have another rock5b board and the image from radxa and there were no problems with loading from eMMC, I copied it according to the instructions: sudo xzcat rock-5b-ubuntu-focal-server-arm64-20221118-1434-gpt.img.xz | dd of=/dev/mmcblk1 bs=1M It seems necessary to add rockchip-rk3588 to the FIRSTSECTOR=32768 selection root@rock-5b:~# grep -A 1 -B 1 3588 /usr/sbin/nand-sata-install case ${LINUXFAMILY} in rk3328|rk3399|rk35xx|rockchip64|rockpis|station*|media|rockchip-rk3588) FIRSTSECTOR=32768 root@rock-5b:~# fdisk -l /dev/mmcblk1 Disk /dev/mmcblk1: 14.45 GiB, 15518924800 bytes, 30310400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: E59818E7-7EBB-4A74-B733-23CCC88A05FD Device Start End Sectors Size Type /dev/mmcblk1p1 32768 29982719 29949952 14.3G Linux filesystem root@rock-5b:~# dd if=/usr/lib/linux-u-boot-legacy-rock-5b_22.11.0-trunk.0126_arm64/idbloader.img of=/dev/mmcblk1 seek=64 556+0 records in 556+0 records out 284672 bytes (285 kB, 278 KiB) copied, 0.0747147 s, 3.8 MB/s root@rock-5b:~# dd if=/usr/lib/linux-u-boot-legacy-rock-5b_22.11.0-trunk.0126_arm64/u-boot.itb of=/dev/mmcblk1 seek=16384 2647+0 records in 2647+0 records out 1355264 bytes (1.4 MB, 1.3 MiB) copied, 0.23995 s, 5.6 MB/s
-
I have a similar question. Did you find a solution to this problem? One core is constantly at 50% on a orangepi-rk3399 board. I turned off the buggy module for now modprobe -r brcmfmac echo "blacklist brcmfmac" >> /etc/modprobe.d/blacklist.conf more detal root@orangepi-rk3399:~# uname -a Linux orangepi-rk3399 5.15.49-rockchip64 #trunk SMP PREEMPT Wed Jun 22 22:41:59 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux # strings /lib/firmware/brcm/brcmfmac43456-sdio.bin | tail -n 1 43455c5-roml/43455_sdio-pno-aoe-pktfilter-bcm_ftrs-ak-bcol-clm_4335_ss-sr-mchan-pktctx-lpc-pwropt-txbf-wl11u-wapi-txpwr-wepso-gscan-linkstat-pwrstats-proxd-ndoe-mfp-tdls-dhcpd-idauth-idsup-neeze-akiss-dfsctl-apcs-tka-wpf-gtr-noplmt-ak_disassoc-b5gctl-sdiorxenhance Version: 7.45.96.61 (be7af2d@shgit) (r745790) CRC: 279731d4 Date: Tue 2020-02-11 11:55:51 CST Ucode Ver: 1043.20721 FWID: 01-a41d86bd I found solution
-
After installing the current kernel, I noticed that the processor became very hot when idle launched top 214 root 0 -20 0 0 0 R 48.8 0.0 1:46.14 kworker/u13:0-brcmf_wq/mmc0:0001:1 cat /proc/214/status Name: kworker/u13:0+brcmf_wq/mmc0:0001:1 Umask: 0000 State: D (disk sleep) Tgid: 214 Ngid: 0 Pid: 214 PPid: 2 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 64 Groups: NStgid: 214 NSpid: 214 NSpgid: 0 NSsid: 0 Threads: 1 SigQ: 0/14866 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: ffffffffffffffff SigCgt: 0000000000000000 CapInh: 0000000000000000 CapPrm: 000001ffffffffff CapEff: 000001ffffffffff CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: vulnerable SpeculationIndirectBranch: unknown Cpus_allowed: 3f Cpus_allowed_list: 0-5 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 11448782 nonvoluntary_ctxt_switches: 4691 What could be the problem of constant CPU consumption while idle? @Igor How to disable this module? update Now it's clear why
-
Thanks. I build current image total size is 45.84M speedup is 1.00 [ .... ] Updating initramfs... [ update-initramfs -uv -k 5.15.49-rockchip64 ] [ o.k. ] Updated initramfs. [ for details see: /root/build/output/debug/install.log ] [ .... ] Re-enabling [ initramfs-tools hook for kernel ] [ o.k. ] Unmounting [ /root/build/.tmp/mount-478cc97c-5aea-436e-a8f9-72514acb9f5b/ ] [ o.k. ] Free SD cache [ 11% ] [ o.k. ] Mount point [ 92% ] [ o.k. ] Writing U-boot bootloader [ /dev/loop5 ] [ o.k. ] SHA256 calculating [ Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ warn ] GPG signing skipped - no GPG_PASS [ Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ o.k. ] Done building [ /root/build/.tmp/image-478cc97c-5aea-436e-a8f9-72514acb9f5b/Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ o.k. ] Runtime [ 296 min ] [ o.k. ] Repeat Build Options [ ./compile.sh BOARD=orangepi-rk3399 BRANCH=current RELEASE=jammy BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img ]
-
You can share instructions on how you build fresh kernels for orange pi rk3399 @martinayotte Maybe something from these kernels is like https://github.com/radxa/debos-radxa/releases with minimal patches? I lived on the official kernel for quite a long time with loading via eMMC, but something went wrong and I want to try a fresh kernel I also ask you to give a link to a fresh image of ubuntu. It is also not clear that the images from orange pi4 are suitable for the orange pi rk3399 board ? https://www.armbian.com/orange-pi-4/ PS. I don't need bluetooth and wifi