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 <[email protected]>
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 <[email protected]>
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 <[email protected]>

21:39 $ git log rk33/rk3328_ddr_786MHz_v1.08.bin
commit 10b2468096e88f0c68ec87be8bd26a6f3af53050
Author: Jonas Karlman <[email protected]>
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:   [email protected]: 1, [email protected]: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environmt

In:    [email protected]
Out:   [email protected]
Err:   [email protected]
Model: Rockchip RK3328 EVB
Net:  
Warning: [email protected] (eth0) using random MAC address - 5a:49:f6:fd:87:ae
eth0: [email protected]
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 [email protected]
Card did not respond to voltage select!
Scanning disk [email protected]
Disk [email protected] 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
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 65 16,049 55 minutes ago
Last Post: Enig123
  Armbian for Rock64 pineadmin 22 6,855 04-03-2020, 05:38 PM
Last Post: tomarm
  Rock64 bricked after upgrade jean_bruder 7 59 04-02-2020, 09:27 AM
Last Post: tophneal
  Volumio on Rock64 gkkpch 20 11,734 04-01-2020, 05:33 PM
Last Post: gkkpch
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 26 6,682 03-29-2020, 06:16 PM
Last Post: Marcel
  How Can Install Unify controller in rock64? gedas07 0 39 03-23-2020, 08:41 AM
Last Post: gedas07
  Best Solution to run a TvHeadend on Rock64? Tetterl 17 442 03-16-2020, 11:51 AM
Last Post: Rocklobster
  OMV Rock64 Nerevarine 7 308 02-29-2020, 02:15 AM
Last Post: Nerevarine
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 155 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Linux Images (ROCK64) pineadmin 159 84,344 01-14-2020, 12:23 PM
Last Post: dpgraham

Forum Jump:


Users browsing this thread: 1 Guest(s)