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


Messages In This Thread
Rock64 fedora core 29 boot issue: Help please? - by forwardbackwards - 12-15-2018, 11:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 137 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,333 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 325 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 600 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 598 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,277 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 189,705 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 584 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 639 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  Disabling last mount time check on boot acwest 0 616 03-03-2023, 09:24 PM
Last Post: acwest

Forum Jump:


Users browsing this thread: 1 Guest(s)