The sources for the DTS build are in GIT ArmbianTV.
Thank you. I will look into this.
The sources for the DTS build are in GIT ArmbianTV.
Thank you. I will look into this.
Hi,
I'm trying to make LibreELEC-RK3399.arm-11.0.0-rock960.img.gz work on Rock 960 board. It doesn't go past the uboot.
Version 10 works just fine.
Did anyone had any luck with it?
Here is the output from the u-boot over serial console:
DDR Version 1.09 20171117
In
Channel 0: LPDDR3, 800MHz
CS = 0
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x3
MR5=0x1
MR6=0x5
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=32 Size=1024MB
Channel 1: LPDDR3, 800MHz
CS = 0
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x2
MR5=0x1
MR6=0x5
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=32 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3280D280, stride = 0x9
OUT
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
ChipType = 0x10, 1828
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
SdmmcInit=0 0
BootCapSize=0
UserCapSize=14772MB
FwPartOffset=2000 , 0
StorageInit ok = 144751
LoadTrustBL
LoadTrustBL error:-1
LoadTrustBL
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x79874
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):9f93abc
NOTICE: BL31: Built : 10:18:20, Jul 27 2017
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: plat_rockchip_pmu_init(1089): pd status 3e
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-106-g2d5da6a #1 Fri Oct 20 01:35:40 UTC 2017 aarch64)
INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.1
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2014.10-RK3399-06-02588-gfa81fe4-dirty (May 22 2018 - 11:16:21)
CPU: rk3399
cpu version = 0
CPU's clock information:
aplll = 816000000HZ
apllb = 24000000HZ
gpll = 800000000HZ
aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
aclk_periph_l0 = 100000000HZ, hclk_periph_l0 = 100000000HZ, pclk_periph_l0 = 50000000HZ
hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
cpll = 800000000HZ
dpll = 800000000HZ
vpll = 24000000HZ
npll = 24000000HZ
ppll = 676000000HZ
Board: Rockchip platform Board
Uboot as second level loader
DRAM: Found dram banks: 1
Adding bank:0000000000200000(000000007fe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01200000
128 MiB
SdmmcInit = 0 0
SDCard Update.
storage init OK!
Using default environment
GetParam
W: Invalid Parameter's tag (0xFFFFFFFF)!
Invalid parameter
remotectl v0.1
pwm freq=0xb8320
pwm_freq_nstime=0x52d
No pmic detect.
CPU's clock information:
aplll = 816000000HZ
apllb = 24000000HZ
gpll = 800000000HZ
aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
aclk_periph_l0 = 100000000HZ, hclk_periph_l0 = 100000000HZ, pclk_periph_l0 = 50000000HZ
hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
cpll = 800000000HZ
dpll = 800000000HZ
vpll = 24000000HZ
npll = 24000000HZ
ppll = 676000000HZ
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 0000-00-00#0.00
empty serial no.
normal boot.
no fuel gauge found
no fuel gauge found
read logo on state from dts [0]
no fuel gauge found
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
Display More
Would you be kind enough to share the source repository, so that I can build the dts myself?
Thanks for the response. Unfortunately, bitbucket is not something you can search easily.
Thanks for the heads-up. I think that it would be manageable to fix the DTB.
Hopefully I'll get a hold of the URL and try my luck
Hi,
Thank you very much for the image.
I'm starting to tinker with my station-p2 and rock-3a boards.
For start, I'm trying to run it on rock-3a. When using the firefly DTB the image boots and works fine. All except the ethernet port. When changing the DTB to rock-3a, the system doesn't boot at all. Attached is the u-boot and Linux boot output.
Can you help me with this?
I wanted to try and fix the issue myself. Tried checking out the source code at https://github.com/150balbes/LibreELEC.tv, but it looks like that this is an older repository. I've checked the official libreelec repositories as well and I can't seem to be able to find it.
Can you please share the repository with the source code as well? I'd link to get my hands dirty and try to help.
append: boot=LABEL=LIBREELEC disk=LABEL=STORAGE quiet console=ttyS2,1500000 console=tty0 systemd.debug_shell=ttyS2 coherent_pool=2M cec.debounce_ms=5000
Retrieving file: /dtb/rockchip/rk3568-rock-3a.dtb
reading /dtb/roc
kchip/rk3568-rock-3a.dtb
116665 bytes read in 14 ms (7.9 MiB/s)
Fdt Ramdisk skip relocation
## Flattened Device Tree blob at 0x0a100000 Booting using the fdt blob at 0x0a100000 Using Device Tree in place at 000000000a100000, end 000000000a11f7b8
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 15261.660 ms
Starting kernel ...
[ 3.007234] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active.
[ 3.071226] rk_gmac-dwmac fe010000.ethernet: no regulator found
[ 3.071800] rk_gmac-dwmac fe010000.ethernet: Can not read property: tx_delay.
[ 3.072492] rk_gmac-dwmac fe010000.ethernet: set tx_delay to 0x30
[ 3.073054] rk_gmac-dwmac fe010000.ethernet: Can not read property: rx_delay.
[ 3.073695] rk_gmac-dwmac fe010000.ethernet: set rx_delay to 0x10
[ 3.081220] mdio_bus stmmac-0: MDIO device at address 0 is missing.
[ 3.123442] clk: failed to reparent i2s1_mclkout_tx to clk_i2s1_8ch_tx: -22
[ 3.171725] clk: failed to reparent i2s1_mclkout_tx to clk_i2s1_8ch_tx: -22
[ 3.290673] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[ 3.371473] mmc0: tuning execution failed: -5
[ 3.371873] mmc0: error -5 whilst initialising SD card
[ 3.527567] mmc0: tuning execution failed: -5
[ 3.527996] mmc0: error -5 whilst initialising SD card
[ 4.472890] rockchip-dw-pcie 3c0000000.pcie: Phy link never came up
[ 4.490269] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
Display More