Re: HDMI isn't probed on v5.15-rc1 on ULCB+KF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Morimoto-san,

On Thu, Nov 11, 2021 at 09:35:10AM +0900, Kuninori Morimoto wrote:
> 
> Hi Laurent
> 
> You back !

And now I'm even back in Finland. I've found my H3 ULCB and tried to
boot it up, but I got stuck updating the firmware :-S

NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.2.0.6
NOTICE:  BL2: PRR is R-Car H3 Ver.2.0
NOTICE:  BL2: Board is Starter Kit Premier Rev.1.0
NOTICE:  BL2: Boot device is HyperFlash(80MHz)
NOTICE:  BL2: LCM state is CM
NOTICE:  AVS setting succeeded. DVFS_SetVID=0x53
NOTICE:  BL2: DDR3200(rev.0.40)
NOTICE:  BL2: [COLD_BOOT]
NOTICE:  BL2: Failed to DRAM initialize (-1).

This is on the ATF abloader branch from Marek. I've also tried the
master branch from
https://github.com/ARM-software/arm-trusted-firmware.git and the
rcar_gen3_v2.5 branch from
git://github.com/renesas-rcar/arm-trusted-firmware.git. They fail the
same way.

I have compiled ATF with

make PLAT=rcar LSI=H3 RCAR_DRAM_SPLIT=1 RCAR_GEN3_ULCB=1 SPD=opteed \
	CROSS_COMPILE=aarch64-buildroot-linux-gnu- \
	MBEDTLS_DIR=$PWD/../mbedtls/ clean bl2 bl31 rcar

and have flashed the four files to the addresses listed in
https://elinux.org/R-Car/Boards/H3SK#Flashing_firmware for the 4GiB
model (my board is a RTP0RC77951SKBX010SA00, S/N 2298)..

For reference, before trying to update the firmware, I had

[    0.000190] NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.13
[    0.005757] NOTICE:  BL2: PRR is R-Car H3 Ver2.0
[    0.010336] NOTICE:  BL2: Boot device is HyperFlash(80MHz)
[    0.015776] NOTICE:  BL2: LCM state is CM
[    0.019752] NOTICE:  BL2: AVS setting succeeded. DVFS_SetVID=0x52
[    0.025942] NOTICE:  BL2: DDR3200(rev.0.22)[    0.055637] NOTICE:  [COLD_BOOT][    0.087833] NOTICE:  ..0
[    0.088885] NOTICE:  BL2: DRAM Split is 4ch
[    0.093031] NOTICE:  BL2: QoS is default setting(rev.0.12)
[    0.098531] NOTICE:  BL2: Lossy Decomp areas
[    0.102708] NOTICE:       Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570
[    0.109793] NOTICE:       Entry 1: DCMPAREACRAx:0x40000000 DCMPAREACRBx:0x0
[    0.116705] NOTICE:       Entry 2: DCMPAREACRAx:0x20000000 DCMPAREACRBx:0x0
[    0.123620] NOTICE:  BL2: v1.3(release):867d841
[    0.128110] NOTICE:  BL2: Built : 16:02:18, Mar 16 2017
[    0.133297] NOTICE:  BL2: Normal boot
[    0.136938] NOTICE:  BL2: dst=0xe6320190 src=0x8180000 len=512(0x200)
[    0.143484] NOTICE:  BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
[    0.149946] NOTICE:  BL2: dst=0x44000000 src=0x81c0000 len=65536(0x10000)
[    0.157172] NOTICE:  BL2: dst=0x44100000 src=0x8200000 len=524288(0x80000)
[    0.167652] NOTICE:  BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000)

I don't have firmware binaries I can use to boot the board, so I can't
debug the HDMI probe issue :-(

I wonder if someone could help me. Has the latest ATF been tested on H3
ULCB ?

> This is gentle ping mail not to buried in a large amount of emails,
> it had happen before ;P
> 
> > About this topic, v5.15 was released, but it still
> > has "No soundcards" issue.
> > There is no dw-hdmi, thus no soundcards
> > 
> > 	...
> > 	[    1.431196] printk: console [ttySC0] enabled
> > =>	[    1.442432] rcar-du feb00000.display: failed to initialize DRM/KMS (-6)
> > 	[    1.481179] loop: module loaded
> > 	...
> > 	[    9.568307] ALSA device list:
> > =>	[    9.571446]   No soundcards found.
> > 	...
> > 
> > I re-start works for me if I reverted this patch
> > 
> > 	--------------------------------
> > 	commit d0f44e0dac29aca3f85d238dfbcd2e52450b38dc
> > 	Author: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
> > 	Date:   Mon May 25 07:05:26 2020 +0300
> > 
> > 	    drm: rcar-du: dw-hdmi: Set output port number
> > 
> > 	    Report the DT output port number in dw_hdmi_plat_data to connect to the
> > 	    next bridge in the dw-hdmi driver.
> > 
> > 	    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
> > 	    Tested-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx> # On V3U
> > 	    Reviewed-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>
> > 	--------------------------------
> > 
> > 	...
> > 	[    1.431130] printk: console [ttySC0] enabled
> > =>	[    1.442219] rcar-du feb00000.display: failed to initialize DRM/KMS (-6)
> > =>	[    1.451050] rcar-dw-hdmi fead0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
> > =>	[    1.461560] rcar-dw-hdmi fead0000.hdmi: registered DesignWare HDMI I2C bus driver
> > 	[    1.501043] loop: module loaded
> > 	...
> > 	[    9.180464] ALSA device list:
> > =>	[    9.183519]   #0: rcar-sound
> > 	...

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux