Rockpro64 not stable... crashes now and then.
#12
These "SError Interrupt" problems seem to be caused by the rockchip binary firmware. There is some discussion here: https://www.spinics.net/lists/arm-kernel/msg759563.html
It seems to use some memory that linux is unaware of. In that thread it says it's in the range 0x8400000-0x9600000. I tried reserving that range in the dtb, but that made me get a guaranteed "SError Interrupt" during boot. I tried reserving twice as much, and that seemed to fix it.
FWIW, here's the device tree node I used:
Code:
       reserved-memory {
               #address-cells = <2>;
               #size-cells = <2>;
               ranges;

               tee@0x8400000 {
                       reg = <0x0 0x8400000 0x0 0x2400000>;
                       no-map;
               };
       };

However, I'm not sure that's actually enough, nor if that's the only RAM the firmware needs to be reserved.
A better solution, which I'm now using, is to use the latest u-boot which can boot the rockpro64 without any blobs from rockchip. You need to have an arm-none-eabi-gcc and aarch64-linux-gnu-gcc compiler installed, then run the following commands:
Code:
git clone https://github.com/ARM-software/arm-trusted-firmware.git atf
make -C atf CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31
git clone https://gitlab.denx.de/u-boot/u-boot.git u-boot
cd u-boot/
git checkout v2020.01-rc5
make rockpro64-rk3399_defconfig
BL31=../atf/build/rk3399/release/bl31/bl31.elf make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu-

Which gives you idbloader.img and u-boot.itb. Copy them to the rockpro64, and run the following: (Or put your SD card into your PC)
Code:
sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64
sudo dd if=u-boot.itb of=/dev/mmcblk0 seek=16384
sync
Hopefully your rockpro64 still boots at this point. If so, the SError panics should be gone.
  Reply


Messages In This Thread
RE: Rockpro64 not stable... crashes now and then. - by patstew - 01-04-2020, 08:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 1 508 03-25-2024, 12:12 PM
Last Post: mara
  yocto for RockPro64 Fide 1 728 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 2,644 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 17,485 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 83,544 08-11-2023, 11:13 AM
Last Post: mara
  How to enable CoreSight ETM trace on RockPro64 shpark 0 597 05-21-2023, 11:34 PM
Last Post: shpark
  Rockpro64 Dead on arrival? quixoticgeek 1 964 03-12-2023, 06:55 PM
Last Post: quixoticgeek
  RockPro64 boot questions misterc 3 1,598 01-13-2023, 06:21 PM
Last Post: misterc
  A fix for Bluetooth audio stuttering on the RockPro64 raph 2 1,673 01-03-2023, 06:53 PM
Last Post: raph
  hello i want to drive an edp screen with my rockpro64 hannescam 0 761 10-20-2022, 01:22 PM
Last Post: hannescam

Forum Jump:


Users browsing this thread: 1 Guest(s)