ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
561 stars 98 forks source link

continuous kernel panic #402

Open Darkvater opened 4 years ago

Darkvater commented 4 years ago

My rock64 has recently become very unstable and it doesn't matter which ayufan image I am using. symptons:

U-Boot SPL 2017.09-rockchip-ayufan-1062-gbb4886a528 (Jun 19 2019 - 19:41:36) board_init_sdmmc_pwr_en setup_ddr_param 1 booted from eMMC Trying to boot from MMC1 NOTICE: BL31: v1.3(debug):9d3f591 NOTICE: BL31: Built : 14:39:02, Jan 17 2018 NOTICE: BL31:Rockchip release version: v1.3 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9

U-Boot 2017.09-rockchip-ayufan-1062-gbb4886a528 (Jun 19 2019 - 19:41:42 +0000)

Model: Pine64 Rock64 DRAM: 4 GiB MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1 SF: unrecognized JEDEC id bytes: ff, ff, ff *** Warning - spi_flash_probe_bus_cs() failed, using default environment

In: serial@ff130000 Out: serial@ff130000 Err: serial@ff130000 Model: Pine64 Rock64 misc_init_r cpuid=55524b503039303035000000000d2113 serial=d627d12d8792cc7 normal boot Net: eth0: ethernet@ff540000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:7... Found /boot/extlinux/extlinux.conf Retrieving file: /boot/extlinux/extlinux.conf 1055 bytes read in 22 ms (45.9 KiB/s) select kernel 1: kernel-4.4.167-1213-rockchip-ayufan-g34ae07687fce 2: kernel-4.4.167-1213-rockchip-ayufan-g34ae07687fce-memtest Enter choice:


* getting errors like below either at booting or when idle

[ 11.432358] Internal error: Oops: 86000006 [#1] SMP

[ 12.281213] Unable to handle kernel paging request at virtual address ffffff8007fe9ce0

[ 16.402247] Internal error: Oops - undefined instruction: 0 [#1] SMP [ 16.402262] Unable to handle kernel paging request at virtual address ffffff820811f528



Any ideas which direction I could look or what else I can do to troubleshoot?
Darkvater commented 4 years ago

Hmm, with the USB OTG cable plugged in the board has been up almost 24h now. I'm suspecting either the power supply or the board itself is broken. I will try with a USB power adapter and report back.