Closed thomasbergersen closed 4 months ago
This is almost certainly a power supply issue. What power supply are you using?
Hi
I am using an Anker A2678 power supply, but I had no issues running the official Debian B1 image https://github.com/radxa-build/rock-5b/releases . Before this, I updated to the latest official SPI firmware. Below are some freeze logs from testing this image.
2.6213031 usbcore: registered new interface driver usbhid 2.625537] usbhid: USB HID core driver 2.6366131 mmc_host mmc2: Bus speed (slot 0) = 187500Hz (slot req 187500Hz, actual 187580H2 div = 8) 2.6356251 input : Rapoo Rapoo Gaming Nouse as /devices/plat form/fcaeaaaa.usb/xhci-hcd.1.auto/usb5/5-1/5-1:1.0/0883:24AE :4104,0001/1nput/inputa 2.6611951 rockchip-du-pcie a41000000.pie: PCIe Gen.2 x1 link up 2.6667691 mmc2: Failed to initialize a non-removable card 2.666930] rockchip-du-pcie a41000000.pcie: PCI host bridge to bus 0004:40 2.6759931 pci_bus 0004:40: root bus resource [bus 40-4%7 2.680411] pci_bus 0004:40: root bus resource [io x200000-8x2fffffl (bus address [0xf4100080-0×f41fffff1) 2.685423] pci_bus 0004:40: root bus resource [mem 0×f4200000-0×f4ffffff] 2.6899761 pci_bus 0004:40: root bus resource [mem Oxa00000000-0xa3fffffff] (bus address (0x40000000-0x7fffffff]) 2.6948991 pci 0004:40:00.0: [1d87:3588] tupe 01 class Bx060400 PCIe Root Port 2.6996641 pci 0004:40:00.0: ROM [mem B×00000000-0x0000ffff pref 2.7043031 pci 0004:40:00.0: PCI bridge to Ibus 01-ff] 2.708829] pci 0004:40:00.0: bridge window Lio B×0000-0x0fff] 2.7092701 hid-generic 0003:24AE: 4104.0001: input, hidraul: USB HID v1.10 Keyboard [Rapoo Rapoo Gaming Mouse] on usb-xhci-hed.1 .auto-1/inputs 2.709368] pc 0004:40:00.0: bridge window [mem 0x00000000-0×000fffff] 2.711055] pci 0004:40:00.0: 2.710996〕 input: Rapoo Rapoo Gaming Mouse as /devices/platform/fca@aaaa. usb/xhci-hcd. 1.auto/usb5/5-1/5-1:1.1/0003:24AE:4104.0002/impurt/1npurt1 bridge window Emem Ox80000000-8×000fffff 64bit prefl 2.7124181 input: Rapoo Rapoo Gaming Mouse System Control as /devices/plat form/fc4gdaaa. usb/xhci-hcd.1.auto/usb5/5-1/5-1:1.1/0003 :24RE :4104.0002/ inpurt/input2 2.712895] pci 0004:40:00.0: supports D1 D2 2.7454621 pci 0004:40:00.0: PME# supported from DO D1 D3hot 2.7514771 usb 3-1: New USB device found, idVendor=1a40, idProduct=0101, bedDevice= 1.11 2.752608] pci 0004:40:00.0: Primary bus is hard wired to B 2.7568751 us 3-1: New USB device strings: Mfr=®, Product=1, SerialNumber=8 •756881] us 3-1: Product: USB 2.0 Hub* 2.7573771 pci 0004:40:00.0: bridge configuration invalid ([bus 01-ff), reconfiguring 2.758693] hub 3-1:1.0: USB hub found 2.7632171 pci 0004:41:00.0: [10ec: 8125] type 00 class 0x820000 PCIe Endpoint 2.7639521 hub 3-1:1.0: 4 ports detected 2.764125] pci 0004:41:00.0: BAR 0 Lio B×0000-8x00ff1
Please test for RK3588 img boot and desktop environment when you have time. A clean Debian image would be very useful! Thank you.
There are known issues powering the rock-5b with a usb-c pd supply using upstream binaries. Sebastian Reichel has been working to resolve them, and you can read more about that here: https://lore.kernel.org/all/a3fd51a4-ecbc-47e1-afba-03c9a4fccd2c@denx.de/T/
I have applied all of these patches to u-boot and the kernel and have it working in my setup with a usb-c pd supply. Can you get the output to the serial console to verify the u-boot you are using?
There was a table of known working power supplies I saw at some point, but I do not seem to be able to find it right now. I would suggest testing with a different power supply to rule this out.
"Okay, I'll test the Radxa image and USB-C PD logs with version 12.6 later. Additionally, can the RK3588 use an LTS kernel? 😁"
Hi, This is out log:
Radxa image log
thomasbergersenerock-Sb:-$ dmesg I grep -i pd dmesg: read kernel buffer failed: Operation not permitted thomasbergersen@rock-5b:-S sudo dmesg | grep -i pd [sudo] password for thomasbergersen: 8.610944] rockchip-vop2 dd90000. vop: (drm:vop2_ertc_atomic_enable) Update mode to 3840x2160p60, type: 11(1:1000, (lag: 0x0) for up1 de1k: 533290000 8.717882] pi_bus 0002:21: busn_res: (bus 21-2f] end is updated to 21 8.845046] rockchip-vop2 fdd90000. vop: (drm:vop2_erte_atomic_enable] Update mode to 3840X2160p60, type: 11(1f:1000, flag:0x0) for vp1 delk: 533290000 8.979036] rockchip-drm display-subsystem: (drm] fb: rockchipdrmfb frame buffer device 9.477874] pci _bus 0004:41: busn_res: (bus 41-4] end is updated to 41 12.361153] systemd(1]: Starting systemd-boot-update. service - Automatic Boot Loader Update. 23.941598] Bluetooth: hcil: BCM: failed to write update baudrate (-110) 39.8286871 rockchip-vop2 fddsoo0o.vop: tdzm:vop2_crtc_atomic_enable] update mode to 1920x1080p60, type: 11(1f:1000。 flag:0x0) for vp1 dclk: 148500060 711.839189] rockchip-vop2 fddga0o0.vop: ldrm:vop2_crtC_atomic_enable] update mode to 1920x1080p60, type: 11(1f:1000, flag:0x0) for vp1 dclk: 148scac00thomasbezgersenerock-sb:~$ sudo jourmalctl -xe I grep -i pd Jul 07 02:11:05 Jock-5b NetwozkManager (906]: ‹info> Jul 07 02:11:05 zock-5b Networkanagez [906]: sinfos [1720289465.1283] monitoring ifupdown state f1le "/zun/network/ifstate‘ . [1720289465.3278] settings: Loaded settings plugin: ifupdown (" /us/lib/aarch64-linux-gnu/NetworkHana Jul 07 02:11:05 rock-5b NetworkManager (906]: «info> (1720289465.3279] ifupdown: management mode: unmanaged Jul 07 02:11:05 rock-5b NetworkManager (906]: «info> [1720289465.3318] ifupdown: interfaces file letc/netwozk/intertaces doesn't exist Jul 07 02:11:10 Jock-5b wasupplicant (909]: w1P2p330: CTRL-EVENT-SUBNET-STATUS-UPDATE status-0 Jul 07 02:11:11 rock-5b systemd(1]: Starting systemd-update-utmp-zunlevel.service - Record Runlevel Change in UTMP . . . subject: A start job for unit systemd-update-utmp-runlevel.service has begun execution A start job for unit systemd-update-utmp-runlevel.service has begun execution. Ju1 07 02:11:11 5ock-5b systemd T1J: systemd-update-utmp-zunlevel.service: Deactivated successtulzy. The unit systend-update-utmp-sunlevel. service has successfully entered the dead state• Ju1 07 02:11:11 rock-5b systemd (1]: Finished systemd-update-utmp-zunlevel.service - Record Runlevel Change in UTMP . Subject: A start job for unit systend-update-utmp-runleve1.service has finished successfully A start job for unit systemd-update-utmp-runlevel.service has finished successfully• Jul 07 02:11:14 rock-5b kezne1: Bluetooth: hci1: BCM: failed to write update baudzate (-110) J01 07 02:11:30 rock-5b systemd T13621: Starting app-user lx2ddirsix2dupdatelx2dgtkeautostart.service • user foldezs update. Jul 07 02:11:30 rock-5b systemd 13621: Starting app-xdgux2duserlx2ddizslx2dkdeeautostart.service • User folders update..•Jul 07 02:11:30 rock-5b systemd f13621: app-uservx2ddizsVx2dupdatevx2dgtkeautostazt.service: Skipped due to 'exec-condition° • Ju1 07 02:11:30 Iock-5b systemd t13621: Condition check resulted in app-userlx2ddizs1x2dupdate lx2dgtkeautostart.service • User folders update being skipped. Ju1 07 02:11:30 rock-5b systemd T13621: Started app-xdgix2duserlx2ddizslx2dkdeeautostart.service • Usez foldezs update. su o7 02:11:30 zoclk-56 kezme1: zoclchip-vop2 fddooooo.vop: Idzm:Vop2 crtC-atomic-enable] Update mode to 1920x1080p60, type: 12(1f:1000• flag:Qn02 torr Wps delk: 1485cggceJul 07 02:11:30 zock-5b kscreen_ backend 1aunche [1543]: kscreen.xrandz: XRandRGItE mtimestamp update 0 => 32647 Jui 07 02:11:30 zock-5D kSCTeen backend IaunchezT15431: kscreen.xrandr: xRandROutput 67 update Ju1 07 02:11:30 tock-5b kSCTeen_ backend 1aunchez[1543J: kscreen. xrandz: xRandRCrtC 63 mconfigTimestamp update 0 o 8199 Jul 07 02:11:30 rock-sb kscreen backend launchez [1543]: kscreen.xzandr: xRandRoutput 66 updateJul 07 02:11:30 rock-5b ksczeen backend_Iaunchez[15431: kscreen. xzandz: xRandRoutput 67 updateJuL 07 02:11:30 rock-5b kscreen _backendlauncher [1543]: ksczeen. xrandz: xRandRoutput 66 updateJu1 07 02:11:30 rock-5b kscreen backend_ 1aunchez [1543]: ksczeen . xrandz: xRandROutput 67 updateu1 07 02:11:32 rock-5b Packagekit T1600]: get-updates transaction /339_dbaabddb from uid 1001 finished with success after 1719msJu1 07 02:17:10 zock-56 packagekit [16001: getoupdates tsansactson 1341-abeeacda frorm usd 1001 tinished with success arter sorSmsJu1 07 02:17:11 rock-sb PackageKit (1600]: get-updates transaction /342_addbeaee from uid 1001 finished with success aftez 1201msJu1 07 02:22:41 rock-5b kernel: rockchip-vop2 fdd9eo00.vop: Idzm:vop2_cztE-atomdc-enable] Update mode to 1920x1089p60, type: 22(1f:2900. t1ag:0x0) for Vpl dczk: 148500000
v12.6 rock image:
debian@bookworm-rock-5b:"$ sudo dmesg I grep -i pd 1.8483431 PM: gend: Disabling unused power domains 2.721253] rockchip-drm display subsystem: bound fdd90000. vop (ops vop2_component_ops [rockchipdrm])
Hi , The latest 12.6 is very stable on the R5S! However, on the Rock5B, it randomly restarts during boot, occasionally enters the system but then freezes. When running
apt upgrade
, it tends to restart, falling into a loop. Can I use the Linux 6.1.0-xx kernel on the Rock5B?