Arch Linux on RockPro64
#29
(09-26-2019, 03:09 PM)oreggin Wrote:
(09-10-2019, 01:58 PM)mmatyas Wrote: Well,

development in the mainline Linux kernel has advanced quite far, so there is a device tree supporting the RockPro64 in mainline Linux. With 5.3-rc7, the PCIe is also working, so I just installed the linux-aarch64-rc package from archlinuxarm and my rockpro runs flawlessly since then. Booting still takes couple of minutes longer than with Ayufans images.

My status update:
I compiled kernel from mainline source and it works fine without initrd. Up to v5.1.x boot time is less than 30sec. My rootfs is btrfs with compression.
From v5.2 there is a 60sec stall in booting process but no errors. Alarm "stable" kernel now v5.3.1 hangs with soft lookup:

Code:
[   66.702492] clocksource: Switched to clocksource arch_sys_counter
[   92.192292] watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [swapper/0:1]
[   92.193145] Modules linked in:
[   92.193964] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 5.3.1-1-ARCH #1
[   92.194612] Hardware name: Pine64 RockPro64 (DT)
[   92.195311] pstate: 60000005 (nZCv daif -PAN -UAO)
[   92.196168] pc : trace_event_eval_update+0x2fc/0x330
[   92.196833] lr : trace_event_eval_update+0x138/0x330
[   92.197373] sp : ffff00001004bce0
[   92.197874] x29: ffff00001004bce0 x28: 0000000000000000
[   92.198677] x27: ffff000011761610 x26: ffff000011836268
[   92.199395] x25: ffff00001112ba38 x24: 00000000000000e8
[   92.200089] x23: 0000000000000018 x22: ffff0000116a3310
[   92.200771] x21: 0000000000000224 x20: 000000000000014d
[   92.201443] x19: ffff000011822161 x18: 0000000000000001
[   92.202114] x17: 000000006898f49a x16: 00000000ea2169b9
[   92.202787] x15: 2d20377b1910031c x14: ff00000000000000
[   92.203456] x13: 0000000000000001 x12: 0000000000000007
[   92.204125] x11: 0101010101010101 x10: 0000000000000018
[   92.204788] x9 : 0000000000000003 x8 : 0000000000000008
[   92.205459] x7 : 1c0310197b37202d x6 : 2d20377b1910031c
[   92.206114] x5 : 0000000000000000 x4 : 0000000000000052
[   92.206760] x3 : 0000000000000002 x2 : ffff00001182214b
[   92.207410] x1 : 0000000000000010 x0 : 0000000000000000
[   92.208060] Call trace:
[   92.208709]  trace_event_eval_update+0x2fc/0x330
[   92.209539]  tracer_init_tracefs+0x178/0x214
[   92.210224]  do_one_initcall+0x54/0x220
[   92.210833]  kernel_init_freeable+0x28c/0x334
[   92.211557]  kernel_init+0x18/0x104
[   92.212185]  ret_from_fork+0x10/0x1c
[  108.631342] VFS: Disk quotas dquot_6.6.0

The final boot time is around 300sec. It is terrible.

I also tried mainline uboot with rkbin git, but rkbin goes crazy and prints unbelivable frequencies (854MHz) under dram init so I falled back to ayufans uboot as latest rkbin made my board unstable and it continously rebooting after some load.

This is a workaround: https://github.com/heiher/linux/commit/0...ce24d03dba


Messages In This Thread
Arch Linux on RockPro64 - by mmatyas - 07-29-2018, 03:31 PM
RE: Arch Linux on RockPro64 - by Tigger - 08-06-2018, 01:29 PM
RE: Arch Linux on RockPro64 - by hiccupstix - 08-06-2018, 03:40 PM
RE: Arch Linux on RockPro64 - by Tigger - 08-07-2018, 03:02 AM
RE: Arch Linux on RockPro64 - by mmatyas - 08-08-2018, 01:49 AM
Arch Linux on RockPro64 - by hiccupstix - 08-07-2018, 03:17 AM
RE: Arch Linux on RockPro64 - by Tigger - 08-08-2018, 04:48 AM
RE: Arch Linux on RockPro64 - by ah- - 08-28-2018, 03:14 PM
RE: Arch Linux on RockPro64 - by dukla2000 - 08-29-2018, 03:37 AM
RE: Arch Linux on RockPro64 - by ah- - 08-29-2018, 11:25 AM
RE: Arch Linux on RockPro64 - by ali - 11-09-2018, 08:54 AM
RE: Arch Linux on RockPro64 - by mmatyas - 11-06-2018, 03:47 PM
RE: Arch Linux on RockPro64 - by mmatyas - 11-20-2018, 06:29 PM
RE: Arch Linux on RockPro64 - by ali - 11-27-2018, 12:28 AM
RE: Arch Linux on RockPro64 - by p1x3l3d - 11-22-2018, 05:28 PM
RE: Arch Linux on RockPro64 - by mmatyas - 11-24-2018, 04:09 AM
RE: Arch Linux on RockPro64 - by p1x3l3d - 11-26-2018, 02:11 PM
RE: Arch Linux on RockPro64 - by p1x3l3d - 01-13-2019, 12:41 PM
RE: Arch Linux on RockPro64 - by mmatyas - 01-19-2019, 11:30 AM
RE: Arch Linux on RockPro64 - by mmatyas - 11-27-2018, 01:21 AM
RE: Arch Linux on RockPro64 - by ali - 12-01-2018, 07:16 AM
RE: Arch Linux on RockPro64 - by fosf0r - 12-03-2018, 09:59 AM
RE: Arch Linux on RockPro64 - by ali - 01-11-2019, 02:21 AM
RE: Arch Linux on RockPro64 - by mmatyas - 02-26-2019, 11:31 AM
RE: Arch Linux on RockPro64 - by mmatyas - 02-27-2019, 06:07 PM
RE: Arch Linux on RockPro64 - by mmatyas - 09-10-2019, 01:58 PM
RE: Arch Linux on RockPro64 - by oreggin - 09-26-2019, 03:09 PM
RE: Arch Linux on RockPro64 - by TaborFife - 09-28-2019, 04:30 AM
RE: Arch Linux on RockPro64 - by hev - 03-20-2020, 12:27 AM
RE: Arch Linux on RockPro64 - by rhysperry111 - 05-23-2020, 02:29 PM
RE: Arch Linux on RockPro64 - by mmatyas - 05-30-2020, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,875 11-20-2024, 03:53 PM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 105,973 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 289 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  yocto for RockPro64 Fide 1 1,114 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 3,473 10-29-2023, 04:43 PM
Last Post: brotherj4mes
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,497 09-22-2023, 04:27 AM
Last Post: diederik
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,323 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 92,887 08-11-2023, 11:13 AM
Last Post: mara
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,287 07-14-2023, 04:22 AM
Last Post: hunderteins
  How to enable CoreSight ETM trace on RockPro64 shpark 0 864 05-21-2023, 11:34 PM
Last Post: shpark

Forum Jump:


Users browsing this thread: 16 Guest(s)