Rock64 fedora core 29 boot issue: Help please?
#1
Hello all!

I'm looking to run fedora core 29 on my Rock64 board and am running into the following issue... The grub.efi app fails to start after its loaded into ram... 
Code:
## Starting EFI application at 02080000 ...
"Synchronous Abort" handler, esr 0x96000210


I'm using fedoras u-boot for the evb-rk3288 and wrapping the ayufan bits around it.

I've tried different versions of the DDR binary because I've read the issue may be due to DDR timing issues. So far I'm at a loss as to why it isn't working.

The ayufan git log doesn't seem to contain a lot of info as to what the differences between the versions are between rk33/rk3328_ddr_786MHz_v1.06.bin and rk33/rk3328_ddr_786MHz_v1.13.bin.

any suggestions?

cheers

Code:
~/Desktop/repos/rock64/rkbin-ayufan [master|…9]


21:39 $ git log rk33/rk3328_ddr_786MHz_v1.13.bin
commit b841f4cad608cd5254758457e76f559d5fee5922
Author: Jonas Karlman <jonas@kwiboo.se>
Date:   Fri May 18 21:16:12 2018 +0200
   rk3328: add ddr v1.13

21:39 $ git log rk33/rk3328_ddr_786MHz_v1.06.bin
commit 701be11ca27c144ded128af93424f7b9735a1d78
Author: Kever Yang <kever.yang@rock-chips.com>
Date:   Fri May 12 11:59:48 2017 +0800
   rk3328: ddr: add 786M v1.06  
   suppoart all type and all capability DRAM.
   Change-Id: I26749355486a7192fd38305bec30d8c5ad1a407a
   Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

21:39 $ git log rk33/rk3328_ddr_786MHz_v1.08.bin
commit 10b2468096e88f0c68ec87be8bd26a6f3af53050
Author: Jonas Karlman <jonas@kwiboo.se>
Date:   Mon Dec 25 15:33:57 2017 +0100

   rk3328: add ddr v1.08 and miniloader v2.44


here's basically how I build the following boot bits:
Code:
-rw-rw-r-- 1   86020 Dec 15 21:28 idbloader.bin
-rw-rw-r-- 1  4194304 Dec 15 21:28 trust.img
-rw-rw-r-- 1  4194304 Dec 15 21:28 uboot.img

$TOOLPATH/mkimage -n ${CHIP} -T rksd -d $SRC/rk33/rk3328_ddr_786MHz_v1.06.bin out/idbloader.bin
cat $SRC/rk33/rk3328_miniloader_v2.43.bin >> out/idbloader.bin
$TOOLPATH/loaderimage --pack --uboot ${UBOOT}/u-boot.bin out/uboot.img 0x200000


cat >out/trust.ini <<EOF
[VERSION]
MAJOR=1
MINOR=2
[BL30_OPTION]
SEC=0
[BL31_OPTION]
SEC=1
PATH=../rkbin-ayufan/rk33/rk3328_bl31_v1.39.bin
ADDR=0x10000
[BL32_OPTION]
SEC=0
[BL33_OPTION]
SEC=0
[OUTPUT]
PATH=out/trust.img
EOF

$TOOLPATH/trust_merger out/trust.ini

cp out/idbloader.bin ${OUT}/u-boot/
cp out/uboot.img ${OUT}/u-boot/
cp out/trust.img ${OUT}/u-boot/


This is where I am stuck... 
The bootlog

Code:
DDR version 1.08 20170628
In
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: 2017-06-12, version: 2.44
ChipType = 0x11, 127
emmc reinit
emmc reinit
SdmmcInit=2 20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30436MB
FwPartOffset=2000 , 0
StorageInit ok = 59825
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x92bd4
RunBL31 0x10000
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 iK
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 2019.01-rc1 (Dec 04 2018 - 16:09:21 +0000)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environmt

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:  
Warning: ethernet@ff540000 (eth0) using random MAC address - 5a:49:f6:fd:87:ae
eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found EFI removable media binary efi/fedora/grubaa64.efi
Found DTB mmc 1:2 /dtb/rockchip/rk3328-evb.dtb
32498 bytes read in 3 ms (10.3 MiB/s)
Scanning disk rksdmmc@ff500000.blk...
Card did not respond to voltage select!
Scanning disk rksdmmc@ff520000.blk...
Disk rksdmmc@ff520000.blk not ready
Found 4 disks
1882872 bytes read in 88 ms (20.4 MiB/s)
## Starting EFI application at 02080000 ...
Speed: 100, full duplex
"Synchronous Abort" handler, esr 0x96000210
elr: fffffffffcf419b0 lr : fffffffffcf419a8 (reloc)
elr: 00000000fbc799b0 lr : 00000000fbc799a8
x0 : 0000000000000000 x1 : 00000000fbb6ae56
x2 : 00000000ffffffff x3 : 00000000fbd718cc
x4 : 00000000fbb6f080 x5 : 0000000000000020
x6 : 00000000fcf26538 x7 : 00000000fbb6be20
x8 : 0000000000000001 x9 : 0000000000000008
x10: 00000000fcf56070 x11: 00000000fcf56070
x12: 000000000000a3c0 x13: 0000000000000001
x14: 00000000fcf2686c x15: 00000000ffffffff
x16: 0000000000001550 x17: 0000000000000000
x18: 00000000fcf2fdf8 x19: 0000000000000000
x20: 00000000fcf56130 x21: 00000000fef385c8
x22: 0000000000000000 x23: 0000000002080000
x24: 0000000000000003 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000fcf56010 x29: 00000000fcf26920

Resetting CPU ...

resetting ...
  Reply
#2
Quick update.... 

I've tried the grub.efi app from the Opensuse tumbleweed repo and grub now loads although I can't seem to get the kernel to boot.

It's a 4.20 version of the fedora kernel.  Looks like Fedoras grub may require a few patches or need a slightly different configuration.  I'll be looking into how Opensuse does things for the for the time being.

I am going to get the 4.20 version of the kernel to boot after I've resolved that issue.  If boots are unsuccessful I'll move on to ayufans mainline kernel and then see if I can bring over what he's done to his kernels to get Fedora to make this board boot. 

If anyone has any wise words I'll love to here them? Around:
* the grub.efi app not wanting to boot a kernel (where to look what tools could help me debug something like this?)

And thanks to everyone who's done work to get me up to this point (ayufans stuff and friends)

It's time to make a wee bit more progress and move forward I hope.

Regards,
  Reply
#3
I've been trying to get opensuse Tumbleweed to boot on my 2Gb rock64.

The image I used was downloaded from:
https://download.opensuse.org/repositori...ip/images/

After dd'ing the image to the emmc, I installed the Arch u-boot using this install guide:
https://archlinuxarm.org/platforms/armv8...hip/rock64

Using these kernel arguments in grub2/grub.cfg . I'm able to see where the boot process stops:

$linux ($root)//Image-4.19.5-1-default ${extra_cmdline} loglevel=7 earlycon=uart8250,mmio32,0xff130000 console=ttyS0,1500000n8 splash=silent plymouth.enable=0  root=UUID=d90c3637-cea7-412c-8aa7-e3a5a47dad39 rw

So after unpacking the initramfs, it stops after saying it can't open the rtc.

[ 29.068003] Freeing initrd memory: 30036K
[ 29.071144] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 29.072396] kvm [1]: 8-bit VMID
[ 29.074816] kvm [1]: vgic interrupt IRQ1
[ 29.075557] kvm [1]: Hyp mode initialized successfully
[ 29.081276] Initialise system trusted keyrings
[ 29.082177] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[ 29.083355] zbud: loaded
[ 29.086027] pstore: using deflate compression
[ 29.101879] Key type asymmetric registered
[ 29.102309] Asymmetric key parser 'x509' registered
[ 29.102901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 29.103982] io scheduler noop registered
[ 29.104388] io sched[ 29.104995] io scheduler cfq registered (default)
[ 29.105[ 29.105954] io scheduler bfq registered
[ 29.115404] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 29.136242] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 29.163163] Serial: AMBA driver
[ 29.164563] msm_serial: driver initialized
[ 29.167928] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 29.170729] libphy: Fixed MDIO Bus: probed
[ 29.172295] mousedev: PS/2 mouse device common for all mice
[ 29.181473] ledtrig-cpu: registered to indicate activity on CPUs
[ 29.182859] EFI Variables Facility v0.08 2004-May-17
[ 29.183463] efivars: get_next_variable: status=8000000000000007
[ 29.184227] hidraw: raw HID events driver © Jiri Kosina
[ 29.189808] NET: Registered protocol family 10
[ 29.227610] Segment Routing with IPv6
[ 29.230255] registered taskstats version 1
[ 29.230691] Loading compiled-in X.509 certificates
[ 29.231347] zswap: loaded using pool lzo/zbud
[ 29.261624] cryptd: max_cpu_qlen set to 1000
[ 29.290314] Key type big_key registered
[ 29.318665] Key type encrypted registered
[ 29.319101] AppArmor: AppArmor sha1 policy hashing enabled
[ 29.319728] ima:p found, activating TPM-bypass!
[ 29.320325] ima: Allocated h[ 29.320986] evm: Initialising EVM extended attributes:
[ 229.321845] evm: security.apparmor
[ 29.322192] evm: security.61] evm: HMAC attrs: 0x1
[ 29.370627] hctosys: unable to open rtc device (rtc0)

checking for rtc in the device tree blob show no entry:
fdtdump rk3328-rock64.dtb |grep rtc

Checking the kernel config does show 2 entries:
cat config-4.19.5-1-default |grep rtc
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"

When I boot ayuran's bionic image I see that the rtc is provided by:
  dmesg
    rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0

I posted this same info on opensuse's arm mailing list, but I haven't gotten any response yet.
  https://lists.opensuse.org/opensuse-arm/...00016.html

I don't know how to fix this, but maybe this information will help you.

Thanks.

Mark
  Reply
#4
(12-16-2018, 08:21 PM)mark1250 Wrote: I've been trying to get opensuse Tumbleweed to boot on my 2Gb rock64.

The image I used was downloaded from:
https://download.opensuse.org/repositori...ip/images/

After dd'ing the image to the emmc, I installed the Arch u-boot using this install guide:
https://archlinuxarm.org/platforms/armv8...hip/rock64

Using these kernel arguments in grub2/grub.cfg . I'm able to see where the boot process stops:

$linux ($root)//Image-4.19.5-1-default ${extra_cmdline} loglevel=7 earlycon=uart8250,mmio32,0xff130000 console=ttyS0,1500000n8 splash=silent plymouth.enable=0  root=UUID=d90c3637-cea7-412c-8aa7-e3a5a47dad39 rw

So after unpacking the initramfs, it stops after saying it can't open the rtc.

[ 29.068003] Freeing initrd memory: 30036K
[ 29.071144] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 29.072396] kvm [1]: 8-bit VMID
[ 29.074816] kvm [1]: vgic interrupt IRQ1
[ 29.075557] kvm [1]: Hyp mode initialized successfully
[ 29.081276] Initialise system trusted keyrings
[ 29.082177] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[ 29.083355] zbud: loaded
[ 29.086027] pstore: using deflate compression
[ 29.101879] Key type asymmetric registered
[ 29.102309] Asymmetric key parser 'x509' registered
[ 29.102901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 29.103982] io scheduler noop registered
[ 29.104388] io sched[ 29.104995] io scheduler cfq registered (default)
[ 29.105[ 29.105954] io scheduler bfq registered
[ 29.115404] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 29.136242] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 29.163163] Serial: AMBA driver
[ 29.164563] msm_serial: driver initialized
[ 29.167928] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 29.170729] libphy: Fixed MDIO Bus: probed
[ 29.172295] mousedev: PS/2 mouse device common for all mice
[ 29.181473] ledtrig-cpu: registered to indicate activity on CPUs
[ 29.182859] EFI Variables Facility v0.08 2004-May-17
[ 29.183463] efivars: get_next_variable: status=8000000000000007
[ 29.184227] hidraw: raw HID events driver © Jiri Kosina
[ 29.189808] NET: Registered protocol family 10
[ 29.227610] Segment Routing with IPv6
[ 29.230255] registered taskstats version 1
[ 29.230691] Loading compiled-in X.509 certificates
[ 29.231347] zswap: loaded using pool lzo/zbud
[ 29.261624] cryptd: max_cpu_qlen set to 1000
[ 29.290314] Key type big_key registered
[ 29.318665] Key type encrypted registered
[ 29.319101] AppArmor: AppArmor sha1 policy hashing enabled
[ 29.319728] ima:p found, activating TPM-bypass!
[ 29.320325] ima: Allocated h[ 29.320986] evm: Initialising EVM extended attributes:
[ 229.321845] evm: security.apparmor
[ 29.322192] evm: security.61] evm: HMAC attrs: 0x1
[ 29.370627] hctosys: unable to open rtc device (rtc0)

checking for rtc in the device tree blob show no entry:
fdtdump rk3328-rock64.dtb |grep rtc

Checking the kernel config does show 2 entries:
cat config-4.19.5-1-default |grep rtc
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"

When I boot ayuran's bionic image I see that the rtc is provided by:
  dmesg
    rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0

I posted this same info on opensuse's arm mailing list, but I haven't gotten any response yet.
  https://lists.opensuse.org/opensuse-arm/...00016.html

I don't know how to fix this, but maybe this information will help you.

Thanks.

Mark

Awesome .... This looks like it could be helpful with what looks like an early console thanks! 

As for your issue... Did you check to see if the rtc is actually provided in your opensuse initramfs?   Did you check ayufans dtb for the rtc entry?  Possibly add his rtc entry to your dtb. 

I'm currently sorting through the opensuse and fedora grub2 patches to look at the differences between the two.  Going to take a wee bit.  I found a few differences and started creating patches.  

Cheers!
  Reply
#5
(12-17-2018, 07:46 AM)forwardbackwards Wrote: Awesome .... This looks like it could be helpful with what looks like an early console thanks! 

As for your issue... Did you check to see if the rtc is actually provided in your opensuse initramfs?   Did you check ayufans dtb for the rtc entry?  Possibly add his rtc entry to your dtb. 

I'm currently sorting through the opensuse and fedora grub2 patches to look at the differences between the two.  Going to take a wee bit.  I found a few differences and started creating patches.  

Cheers

Made some further progress... Picked through the opensuses grub2 patches in (grub2-2.02-36.1.src.rpm) and created 16 patches for (grub2-2.02-65.fc30.src.rpm).  The 4.20.0-0.rc5.git3.1.fc30.aarch64 kernel attempts to boot although "Internal error: Oops: 86000006 [#1] SMP" when starting up. Any ideas on what this is trying to tell me?


DDR version 1.13 20180428
ID:0x805 N
In
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 144
SdmmcInit=2 0
BootCapSize=0
UserCapSize=0MB
FwPartOffset=2000 , 0
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30436MB
FwPartOffset=2000 , 0
StorageInit ok = 35814
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x92e3c
RunBL31 0x10000
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 2019.01-rc1-00169-ge11ef3d26e-dirty (Dec 16 2018 - 07:20:57 +0000)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:   
Warning: ethernet@ff540000 (eth0) using random MAC address - 6a:f5:13:11:b3:40
eth0: ethernet@ff540000
Hit any key to stop autoboot:  0 

--- grub menu presented here---

EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.20.0-0.rc5.git3.1.fc30.aarch64 (mockbuild@buildvm-aarch64-02.arm.fedoraproject.org) (gcc version 8.2.1 28
[    0.000000] Machine model: Rockchip RK3328 EVB
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.70 by 
[    0.000000] efi:  SMBIOS=0xfbf1f000  MEMRESERVE=0xfbd4d040 
[    0.000000] cma: Reserved 64 MiB at 0x00000000f7000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfef71600-0xfef7efff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000080f4fff]
[    0.000000]   node   0: [mem 0x00000000080f5000-0x000000000810afff]
[    0.000000]   node   0: [mem 0x000000000810b000-0x00000000fbf1efff]
[    0.000000]   node   0: [mem 0x00000000fbf1f000-0x00000000fbf27fff]
[    0.000000]   node   0: [mem 0x00000000fbf28000-0x00000000fef2ffff]
[    0.000000]   node   0: [mem 0x00000000fef30000-0x00000000fef3ffff]
[    0.000000]   node   0: [mem 0x00000000fef40000-0x00000000feffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 47 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 24 pages/cpu @(____ptrval____) s58888 r8192 d31224 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1027656
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.20.0-0.rc5.git3.1.fc30.aarch64 root=UUID=e7b92db8-702c-44a4-b1eb-e8febb1d96178
[    0.000000] Memory: 3957872K/4175872K available (11452K kernel code, 2078K rwdata, 7244K rodata, 6080K init, 14484K bss, 152464K res)
[    0.000000] random: get_random_u64 called from kmem_cache_open+0x3c/0x500 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38819 entries in 152 pages
[    0.000000] Running RCU self tests
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU lockdep checking is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] rcu:     RCU callback double-/use-after-free debug enabled.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002100] Console: colour dummy device 80x25
[    0.002718] Lock dependency validator: Copyright © 2006 Red Hat, Inc., Ingo Molnar
[    0.003469] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.003877] ... MAX_LOCK_DEPTH:          48
[    0.004293] ... MAX_LOCKDEP_KEYS:        8191
[    0.004725] ... CLASSHASH_SIZE:          4096
[    0.005156] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.005596] ... MAX_LOCKDEP_CHAINS:      65536
[    0.006036] ... CHAINHASH_SIZE:          32768
[    0.006477]  memory used by lock dependency info: 7263 kB
[    0.007006]  per task-struct memory footprint: 1920 bytes
[    0.007537] kmemleak: Kernel memory leak detector disabled
[    0.010179] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.011200] pid_max: default: 32768 minimum: 301
[    0.012218] LSM: Security Framework initializing
[    0.012683] Yama: becoming mindful.
[    0.013094] SELinux:  Initializing.
[    0.019126] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.022265] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.023156] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.023927] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.032870] ASID allocator initialised with 32768 entries
[    0.034111] rcu: Hierarchical SRCU implementation.
[    0.041517] Remapping and enabling EFI services.
[    0.044540] smp: Bringing up secondary CPUs ...
[    0.048387] Detected VIPT I-cache on CPU1
[    0.048499] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.052548] Detected VIPT I-cache on CPU2
[    0.052640] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.056051] Detected VIPT I-cache on CPU3
[    0.056144] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.056794] smp: Brought up 1 node, 4 CPUs
[    0.060412] SMP: Total of 4 processors activated.
[    0.060884] CPU features: detected: 32-bit EL0 Support
[    0.061394] CPU features: detected: CRC32 instructions
[    0.073186] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.074004] CPU: All CPU(s) started at EL2
[    0.074521] alternatives: patching kernel code
[    0.084023] devtmpfs: initialized
[    0.371808] DMA-API: preallocated 65536 debug entries
[    0.372316] DMA-API: debugging enabled by kernel config
[    0.372840] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.374023] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.430934] pinctrl core: initialized pinctrl subsystem
[    0.435204] 
[    0.435378] *************************************************************
[    0.436039] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE    **
[    0.436698] **                                                         **
[    0.437357] **  IOMMU DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL  **
[    0.438017] **                                                         **
[    0.438677] ** This means that this kernel is built to expose internal **
[    0.439336] ** IOMMU data structures, which may compromise security on **
[    0.439996] ** your system.                                            **
[    0.440733] **                                                         **
[    0.441395] ** If you see this message and you are not debugging the   **
[    0.442054] ** kernel, report this immediately to your vendor!         **
[    0.442713] **                                                         **
[    0.443373] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE    **
[    0.444032] *************************************************************
[    0.445834] SMBIOS 3.0 present.
[    0.446189] DMI: rockchip evb_rk3328/evb_rk3328, BIOS 2019.01-rc1-00169-ge11ef3d26e-dirty 12/16/2018
[    0.449915] NET: Registered protocol family 16
[    0.452372] audit: initializing netlink subsys (disabled)
[    0.453716] audit: type=2000 audit(0.450:1): state=initialized audit_enabled=0 res=1
[    0.458063] cpuidle: using governor menu
[    0.459237] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.459969] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.513999] DMA: preallocated 256 KiB pool for atomic allocations
[    0.516223] Serial: AMBA PL011 UART driver
[    0.667354] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.670144] cryptd: max_cpu_qlen set to 1000
[    0.675945] ACPI: Interpreter disabled.
[    0.679328] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.681706] vcc_sys: supplied by dc_12v
[    0.687207] vgaarb: loaded
[    0.689954] SCSI subsystem initialized
[    0.692405] usbcore: registered new interface driver usbfs
[    0.693200] usbcore: registered new interface driver hub
[    0.694192] usbcore: registered new device driver usb
[    0.695635] pps_core: LinuxPPS API ver. 1 registered
[    0.696128] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.697070] PTP clock support registered
[    0.698686] EDAC MC: Ver: 3.0.0
[    0.701821] Registered efivars operations
[    0.704190] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[    0.705077] Mem abort info:
[    0.705366]   ESR = 0x86000006
[    0.705680]   Exception class = IABT (current EL), IL = 32 bits
[    0.706261]   SET = 0, FnV = 0
[    0.706571]   EA = 0, S1PTW = 0
[    0.706893] [0000000000000000] user address but active_mm is swapper
[    0.707563] Internal error: Oops: 86000006 [#1] SMP
[    0.708036] Modules linked in:
[    0.708346] CPU: 1 PID: 7 Comm: kworker/u8:0 Not tainted 4.20.0-0.rc5.git3.1.fc30.aarch64 #1
[    0.709150] Hardware name: rockchip evb_rk3328/evb_rk3328, BIOS 2019.01-rc1-00169-ge11ef3d26e-dirty 12/16/2018
[    0.710117] Workqueue: efi_rts_wq efi_call_rts
[    0.710554] pstate: 60000005 (nZCv daif -PAN -UAO)
[    0.711016] pc :           (null)
[    0.711346] lr : __efi_rt_asm_wrapper+0x28/0x44
[    0.711784] sp : ffff00000807bd30
[    0.712107] x29: ffff00000807bd30 x28: ffff000009a73b6f 
[    0.712623] x27: ffff0000098d1000 x26: 0000000000000000 
[    0.713139] x25: ffff0000098d1098 x24: 0000000000000000 
[    0.713655] x23: ffff000008fbb700 x22: ffff00000804bcb0 
[    0.714171] x21: ffff8000f2d47c00 x20: ffff00000804bca8 
[    0.714687] x19: ffff00000a8e22c0 x18: 00000000fffffffe 
[    0.715203] x17: 0000000000000028 x16: 0000000000000000 
[    0.715719] x15: 0000000000000001 x14: 0000000000000b92 
[    0.716235] x13: 0000000000000b95 x12: 0000000000000b92 
[    0.716750] x11: 0000000000000b94 x10: ffff000009ae0d28 
[    0.717266] x9 : 0000000000000028 x8 : 0000000000000000 
[    0.717781] x7 : 0000000000000030 x6 : 0000000000000003 
[    0.718297] x5 : 00000000ffffffff x4 : 0000000000000003 
[    0.718814] x3 : 00000000ffffffff x2 : ffff00000804bcb0 
[    0.719331] x1 : ffff8000f2d47c00 x0 : ffff00000804bca8 
[    0.719849] Process kworker/u8:0 (pid: 7, stack limit = 0x(____ptrval____))
[    0.720514] Call trace:
[    0.720757]            (null)
[    0.721053]  efi_call_rts+0x3d0/0x458
[    0.721415]  process_one_work+0x278/0x670
[    0.721809]  worker_thread+0x48/0x3f8
[    0.722168]  kthread+0x134/0x138
[    0.722488]  ret_from_fork+0x10/0x18
[    0.722843] Code: bad PC value
[    0.723158] ---[ end trace 891d2fcdde871f42 ]---
[    0.723690] note: kworker/u8:0[7] exited with preempt_count 2
[    0.724385] kworker/u8:0 (7) used greatest stack depth: 13184 bytes left
  Reply
#6
Any progress on this? Would love to install Fedora 29 Smile
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading ancient Rock64 timxjr1300 1 186 11-26-2024, 09:47 AM
Last Post: dmitrymyadzelets
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,263 11-19-2024, 02:54 PM
Last Post: mara
  How to boot an older, working kernel bits 0 172 11-01-2024, 04:43 PM
Last Post: bits
  problem with debian emmc boot G4zCDzWb 10 2,113 11-01-2024, 04:32 PM
Last Post: bits
  arch rock64 does not boot nemnob 1 1,056 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 45,695 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 82,716 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,990 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 689 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,173 11-21-2023, 08:33 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 2 Guest(s)