Difference between revisions of "R-Car/Boards/Kingfisher"

From eLinux.org
Jump to: navigation, search
(How to get the SA001 Camera: Fix email link)
(168 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
{{Template:R-Car-Gen3-Navbox}}
 
{{TOC right}}
 
{{TOC right}}
  
 
== Introduction ==
 
== Introduction ==
 
This is the official Wiki for Kingfisher Infotainment Board.
 
This is the official Wiki for Kingfisher Infotainment Board.
 +
 +
== Topic ==
 +
{{Template:R-Car-Gen3-Topic}}
 +
 +
=== Kingfisher Board Stock Information ===
 +
<li> Global Disty(Shimafuji) : <span style="color:#ff0000">Available</span>
 +
<Li> Japan Disty (Marutsu) : <span style="color:#ff0000">Available</span>
 +
 +
* Click [https://elinux.org/R-Car/Boards/Kingfisher#Where_to_buy here] for detail
 +
=== New Camera Support ===
 +
<Li>Yocto v3.21.0 supports the new <span style="color:#ff0000">Entron</span> [http://www.entroninc.com/prouduct.html S001A190CM0A] camera.
 +
* Please refer to [https://elinux.org/R-Car/Boards/Kingfisher#How_to_get_the_SA001_Camera FAQ No.2] for how to purchase.
  
 
== Hardware ==
 
== Hardware ==
Line 21: Line 34:
 
** Pinout compatible with Microchip evaluation boards
 
** Pinout compatible with Microchip evaluation boards
 
* LVDS camera interface
 
* LVDS camera interface
** MAX9272 deserializer
+
** MAX9286 or TI960 deserializers
** 8-bit wide video bus connected to VI2 interface of R-Car M2 CPU
+
** MIPI CSI2 bus
** 5V or 12V selectable supply voltage for camera with current limiting
+
** 5V, 9V or 12V selectable supply voltage for camera with current limiting
 
* High quality 24-bit audio codec PCM3168A
 
* High quality 24-bit audio codec PCM3168A
 
** 8 input channels (4 stereo jacks for microphone connection)
 
** 8 input channels (4 stereo jacks for microphone connection)
Line 30: Line 43:
 
** 44100/48000 Hz sampling frequency
 
** 44100/48000 Hz sampling frequency
 
* Two USB 3.0 ports
 
* Two USB 3.0 ports
** USB port supports host, device and OTG modes
+
* USB OTG port
 
* SD card slot
 
* SD card slot
 +
** SD card slot(CN47) supports only 3.3 signal voltage(= Default/High speed class only).
 +
*** If you want to use other cards please use the slot(CN6) on the Starter Kit board.
 
* Si4689 base AM/FM/DAB radio
 
* Si4689 base AM/FM/DAB radio
 
** Digital audio interface to R-Car M2 CPU
 
** Digital audio interface to R-Car M2 CPU
Line 43: Line 58:
 
** 3D digital magnetic sensor
 
** 3D digital magnetic sensor
 
* WiFi/BT module Texas Instruments WL1837
 
* WiFi/BT module Texas Instruments WL1837
 +
*HDMI
 +
** This board equipped with a HDMI transmitter (ADV7513BSWZ) which support HDMI1.4a.
 +
** The maximum resolution is 1920x1080i and it connected Digital output port (RGB888) on R-Car Starter Kit.
 
* Power supply: 12V, 9 Amps
 
* Power supply: 12V, 9 Amps
 +
** The main power supply domain must be connected to an external AC adapter. The voltage is +12V DC.
 +
** <span style="color:#ff0000">DO NOT USE R-Car Starter kit AC adapter to connect this board or this board AC adapter to connect R-Car Starter kit. If connect wrong AC adapter then it has serious damage to the board.</span>
 +
 +
== Where to buy ==
 +
* Kingfisher board can be ordered from following distributors:
  
== How to build ==
+
[http://www.shimafuji.co.jp/en/products/1416 Click to buy Kingfisher board from SHIMAFUJI Electric] - World Wide - Available <br/>
=== Build image ===
+
[https://www.marutsu.co.jp/GoodsDetail.jsp?q=SBEV-RCAR-KF-M06&salesGoodsCode=1556087&shopNo=3 Click to buy Kingfisher board from Marutsu] - Japan only - Available <br/>
 +
 
 +
*GMSL Camera board can be ordered from following distributors: <br/>
 +
[http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#GMSL02 Click to buy Kingfisher board from SHIMAFUJI Electric] - World Wide - Available <br/>
 +
 
 +
<!--[https://www.marutsu.co.jp/pc/i/839824/ Click to buy Kingfisher board from Marutsu Electric] - Japan only <br/>-->
 +
<!--[https://www.chip1stop.com/USA/en/view/dispDetail/DispDetail?partId=SMFJ-0000001&keyword=SBEV-RCAR-KF-S03 Click to buy Kingfisher board from chip1stop]-->
 +
 
 +
== Official board documentation ==
 +
 
 +
*[http://www.shimafuji.co.jp/en/products/ Board Manual]
 +
 
 +
== Change point ==
 +
{| class="wikitable"
 +
! Function !! M03 Board to M04 Board !! M04 Board to M05 Board !! M05 Board to M06 Board
 +
|-
 +
| USB2.0 || No difference || No difference || Change filter(L9), Diode(D6,D7)
 +
|-
 +
| WIFI || Unmount SMA connector(CN45,CN46) || No difference || No difference
 +
|-
 +
| BLUETOOTH || ADD Level conversion IC(U116) / Support BT AUDIO(HFP) || No difference || No difference
 +
|-
 +
| SD CARD || Change Power IC(U106) / Not support SD1.8V || No difference || Change Diode(D44,D45)
 +
|-
 +
| SERIAL || Change connector shape(CN4 Male to Female) || No difference || Change Diode(D19~D23)
 +
|-
 +
| FPDLink || No difference || Delete function || No difference
 +
|-
 +
| Audio In || No difference || No difference || Change Diode(D15~D17)
 +
|-
 +
| Audio Out || No difference || No difference || Delete Diode(D24~D40)
 +
|-
 +
| POWER AMP || ADD Reset Signal(nVRST) || Delete function || -
 +
|-
 +
| MOST || ADD Level conversion IC(U118) || No difference || Change MOST ↔ GPS Function select register (R661~R663) to select SW (SW7)
 +
|-
 +
| GPS || No difference || No difference || Change MOST ↔ GPS Function select register (R661~R663) to select SW (SW7)
 +
|-
 +
| I2C || No difference || No difference || Chabge I2C repeater (U1, U4)
 +
|-
 +
| ETHER || ADD Level conversion IC(U117) || Delete function || No difference
 +
|}
 +
 
 +
=== The M06 board has improved the I2C error problem, Fixed a rare start-up problem when turned power on ===
 
<ol>
 
<ol>
<li>Create a directory and switch to it <br/>
+
< Major modification on M06 >
Warning! Yocto builds require a lot of disk space (up to 100 GB). Make sure you have got enough before starting the build.
+
<li> I2C error  modification<br>
 +
- Replace I2C repeater<br>
 +
- Changing the resistance value<br>
 +
</li>
 +
<li>Booting NG  modification<br>
 +
- Power stabilization<br>
 +
- Sequence correction the kingfisher board start-up after StarterKit.<br>
 +
</li>
 +
<li>Change of MOST-GPS switching method (SW 7)<br></li>
 +
 
 +
</ol>
 +
 
 +
== Kingfisher Yocto BSP ==
 +
Refer to [[R-Car/Boards/Kingfisher/Yocto-Gen3 | Yocto page]] for steps necessary for making and running a Yocto image.
 +
 
 +
== Connection-confirmed Hardware information ==
 +
{| class="wikitable"
 +
! Connector No !! Function name !! Connection confirmed Hardware
 +
|-
 +
| CN7 || LVDS display || BD101LCC1 https://boundarydevices.com/product/bd101lcc1-10-1-1280x800-display/
 +
|-
 +
| CN10, CN11
 +
|| LVDS camera || IMI RDACM21(Need camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#GMSL02 GMSL02])<br>Leopard Imaging LI-OV10635-GMSL (Need camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#GMSL02 GMSL02])<br>Entron [https://elinux.org/R-Car/Boards/Kingfisher#FAQ S001A190CM0A](Need camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#GMSL02 GMSL02])<span style="color:#ff0000"> NEW </span style><br>IMI RDACM24 (Need camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#FPDL01 FPDL01])<br>
 +
|-
 +
| CN15 || Mini PCIe || Intel 512AN-MMW
 +
|-
 +
| CN5 || M.2 || Transcend TS128GMTE850
 +
|-
 +
| CN48 || Raspberry Pi camera || Raspberry Pi camera Rev 1.3(OV5647)<br> Raspberry Pi camera Rev 2.0(IMX219)
 +
|-
 +
| CN49 || HDMI display || GeChic Onlap 1502x, 1503x
 +
|-
 +
| CN22 || MOST || "Physical+ Interface Board OS81092" and "OS81092 Audio Demo Board"
 +
|-
 +
| CN29 || CMOS camera || https://www.amazon.com/Arducam-Megapixels-OV5642-Sensor-Camera/dp/B013JO53AU
 +
|}
 +
 
 +
== How to update of Sample Loader and MiniMonitor ==
 +
New version:
 +
<pre>
 +
Sample Loader: V3.02
 +
MiniMonitor: V3.02
 +
</pre>
 +
 
 +
Down load:
 +
[[File:UpdateFile_v302.zip]]
 +
 
 +
[Note]
 
<pre>
 
<pre>
mkdir build || exit
+
Sample Loader and MiniMonitor version of LATEST SK is V5.08.
cd build
+
DON'T update those SK.(You can update firmware(*) while SK and KF connected)
WORK=`pwd`
+
Please check carefully before updating.
echo $WORK
 
 
</pre>
 
</pre>
</li>
+
Why update?:
<li>Clone basic Yocto layers:
+
 
 
<pre>
 
<pre>
cd $WORK
+
ComEx Mechanical Specification: Durability: 30 mating cycles.
git clone git://git.yoctoproject.org/poky
+
This new version(V3.02) can update firmware(*) while keeping Starter Kit(SK) and Kingfisher(KF) connected.
git clone git://git.linaro.org/openembedded/meta-linaro.git
+
 
git clone git://git.openembedded.org/meta-openembedded
+
(*)firmware: bootparam_sa0.srec, bl2-h3ulcb/m3ulcb.srec, cert_header_sa6.srec, bl31-h3ulcb/m3ulcb.srec, tee-h3ulcb/m3ulcb.srec, u-boot-elf.srec
git clone git://github.com/CogentEmbedded/meta-rcar.git meta-renesas -b v2.12.0
 
git clone git://github.com/CogentEmbedded/meta-renesas-quick-start.git meta-renesas-quick-start -b bsp_v212
 
 
</pre>
 
</pre>
</li>
 
  
<li>
+
 
Switch to proper branches/commits
+
How to update:
 
<ol>
 
<ol>
<li>
+
 
For BSP v2.12.0
+
<li> Power off the KF and remove SK from KF
 +
</li>
 
<pre>
 
<pre>
cd $WORK/poky
+
Turn off SW5
git checkout -b tmp 40376446904ae3529be41737fed9a0b650ed167d
+
Remove SK from KF
cd $WORK/meta-linaro
 
git checkout -b tmp 9b1fd178309544dff1f7453e796a9437125bc0d9
 
cd $WORK/meta-openembedded
 
git checkout -b tmp 8ab04afbffb4bc5184cfe0655049de6f44269990
 
 
</pre>
 
</pre>
 +
 +
<li> Set SW of SK as follows:
 
</li>
 
</li>
</ol>
 
</li>
 
 
<li>
 
Apply Linaro-GCC patch file:
 
 
<pre>
 
<pre>
cd $WORK/meta-renesas
+
SW1:OFF
export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
+
SW6:OFF/OFF/OFF/OFF
patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
+
SW2:OFF/OFF/OFF/OFF
unset PATCH_DIR
 
 
</pre>
 
</pre>
 +
 +
<li> Power on the SK (This means that you need to prepare a [https://elinux.org/R-Car/Boards/H3SK#Hardware_Features 5V AC-adapter] for SK)
 
</li>
 
</li>
<li>
 
Unzip downloaded proprietary driver modules to $WORK/proprietary folder.<br/>
 
You should see the following files:
 
<ol>
 
<li>
 
For Yocto v2.12.0
 
 
<pre>
 
<pre>
$ ls -1 $WORK/proprietary
+
Press SW8
R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz
+
SCIF Download mode starts
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.tar.gz
 
 
</pre>
 
</pre>
 +
 +
<li> Send the following file from console(Ex: minicom):
 
</li>
 
</li>
</ol>
 
</li>
 
 
<li>
 
Populate meta-renesas with proprietary software packages.
 
 
<pre>
 
<pre>
export PKGS_DIR=$WORK/proprietary
+
type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
cd $WORK/meta-renesas
+
Case of M3SK:
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
+
BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot
unset PKGS_DIR
+
Case of H3SK:
 +
BoardID_Writer_SCIF_64bit_ID=0x58(StarterKit-Premier_Rev1.0OB).mot
 
</pre>
 
</pre>
</li>
 
  
<li>
 
Setup build environment
 
 
<pre>
 
<pre>
cd $WORK
+
NOTE: Under Linux, if you got problem transferring this file, it may because of special character in its name.
source poky/oe-init-build-env
+
 
 +
Solution is to open a new terminal then manually launch the transfer with the following command with double quote around filename (Ex: serial link on ttyUSB0 for M3SK):
 +
# /usr/bin/ascii-xfr -dsv "BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot" > /dev/ttyUSB0
 
</pre>
 
</pre>
</li>
 
  
<li>
+
You can confirm the following log (Ex: M3SK):
Prepare default configuration files.
 
 
<pre>
 
<pre>
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/<h3ulcb|m3ulcb>/linaro-gcc/mmp/*.conf ./conf/
+
+---------------------------------+
cd $WORK/build
+
| Board ID Writer V01 2017.06.23 |
cp conf/local-wayland.conf conf/local.conf
+
+---------------------------------+
 +
Product Code : R-Car M3 ES1.0
 +
 
 +
Now Board ID : Unknown Board Rev7 (0xFF)
 +
New Board ID : Starter Kit Rev0 (0x10)
 +
Wrote Board ID : Starter Kit Rev0 (0x10)
 +
 
 +
Writer Program End.
 
</pre>
 
</pre>
  
<li>
+
<li> Power off the SK
Edit $WORK/build/conf/local.conf to enable/disable graphics and multimedia proprietary drivers support
 
 
</li>
 
</li>
 +
<pre>
 +
Press SW8
 +
</pre>
  
<li>
+
<li> Set SW as follows:
Edit local.conf to choose machine extension variant
 
 
</li>
 
</li>
<ol>
 
<li>
 
Edit local.conf to select IO configuration (by default only H3ULCB board peripherals are enabled):
 
 
<pre>
 
<pre>
MACHINE_FEATURES_append = " ulcb-kf" (use this append for Kingfisher IO configuration)
+
M3SK = SW6:OFF/ON/OFF/OFF
 +
H3SK = SW6:OFF/OFF/OFF/OFF
 
</pre>
 
</pre>
 +
 +
<li> Power on the SK
 
</li>
 
</li>
</ol>
 
</li>
 
 
<li>
 
Edit local.conf with evaluation packages requirements:
 
<ol>
 
<li>
 
For Yocto v2.12.0 (to enable EVA_ prefix during packages install)
 
 
<pre>
 
<pre>
DISTRO_FEATURES_append = " use_eva_pkg"
+
Press SW8
 +
SCIF Download mode starts
 
</pre>
 
</pre>
 +
 +
<li> Send the following file from console:
 
</li>
 
</li>
</ol>
 
</li>
 
 
<li>
 
Start the build <br />
 
 
<pre>
 
<pre>
bitbake core-image-weston
+
type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
 +
Case of M3SK:
 +
AArch32_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
 +
Case of H3SK:
 +
AArch64_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
 
</pre>
 
</pre>
</li>
+
You can confirm the following log (Ex: M3SK):
 +
<pre>
 +
R-Car Gen3 Scif Download MiniMonitor V3.02 2017.07.04
 +
Work Memory    : SystemRAM
 +
Board Judge    : Used Board-ID <-- Attention!!
 +
DDR_Init        : boardcnf[3] Starter Kit (M3SIP)
 +
Board Name      : Starter Kit Pro
 +
Product Code    : R-Car M3 ES1.0
  
<li>
+
>
Building image can take upto a few hours depending on your host system performance.<br>
 
After the build has been completed successfuly, you should see the output similar to:
 
<pre class="bash">
 
NOTE: Tasks Summary: Attempted 4704 tasks of which 31 didn't need to be rerun and all succeeded.
 
 
</pre>
 
</pre>
and the command prompt should return.
+
 
 +
<li> Flash AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
 
</li>
 
</li>
 +
<pre>
 +
xls
 +
1
 +
y
 +
y
 +
y
 +
1
 +
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot", after upload finished press y key
 +
</pre>
  
<li>
+
<li> Flash AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
Bitbake has generated all the necessary files in ./tmp/deploy/images directory. <br/>
+
</li>
You can verify its content:
+
<pre>
<pre class="bash">
+
xls
$ ls -1 `find ./tmp/deploy/images/h3ulcb/ -maxdepth 1 -type l -print`
+
1
./tmp/deploy/images/h3ulcb/core-image-weston-h3ulcb.cpio.gz
+
y
./tmp/deploy/images/h3ulcb/core-image-weston-h3ulcb.ext4
+
y
./tmp/deploy/images/h3ulcb/core-image-weston-h3ulcb.manifest
+
y
./tmp/deploy/images/h3ulcb/core-image-weston-h3ulcb.tar.bz2
+
3
./tmp/deploy/images/h3ulcb/Image
+
e6330000
./tmp/deploy/images/h3ulcb/Image-h3ulcb.bin
+
type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot", after upload finished press y key
./tmp/deploy/images/h3ulcb/Image-r8a7795-h3ulcb.dtb
 
./tmp/deploy/images/h3ulcb/Image-r8a7795-h3ulcb-had.dtb
 
./tmp/deploy/images/h3ulcb/Image-r8a7795-h3ulcb-kf-v1.dtb
 
./tmp/deploy/images/h3ulcb/Image-r8a7795-h3ulcb-kf.dtb
 
./tmp/deploy/images/h3ulcb/Image-r8a7795-h3ulcb-view.dtb
 
./tmp/deploy/images/h3ulcb/modules-h3ulcb.tgz
 
./tmp/deploy/images/h3ulcb/u-boot.bin
 
./tmp/deploy/images/h3ulcb/u-boot-elf-h3ulcb.srec
 
./tmp/deploy/images/h3ulcb/u-boot-elf.srec
 
./tmp/deploy/images/h3ulcb/u-boot-h3ulcb.bin
 
 
</pre>
 
</pre>
'''Image''' is a Kernel image, '''*.dtb''' is a blob file,  '''core-image-weston-h3ulcb.tar.bz2''' is the rootfs, '''modules-h3ulcb.tgz''' are kernel modules.
+
 
 +
<li> Power off the SK
 
</li>
 
</li>
<li>
 
You can now proceed with running Yocto images
 
</li>
 
</ol>
 
 
After all these steps you can start working with boards and apps.
 
 
=== Build SDK ===
 
After building image run this command to build SDK
 
 
<pre>
 
<pre>
bitbake core-image-weston -c populate_sdk
+
Press SW8
 
</pre>
 
</pre>
After build success the SDK installation script must appears in ./tmp/deploy/sdk directory:
+
 
 +
<li> Verify Sample Loader and MiniMonitor version
 +
</li>
 
<pre>
 
<pre>
  tmp/deploy/sdk/poky-glibc-x86_64-core-image-weston-aarch64-toolchain-2.0.2.sh
+
SW1:OFF
 +
M3SK
 +
  SW6[1]=OFF, SW6[2]=OFF, SW6[3]=OFF, SW6[4]=ON
 +
H3SK
 +
ws1.0: SW6[all]=OFF
 +
ws1.1/ws2.0: SW6[1]=ON, SW6[2]=ON, SW6[3]=OFF, SW6[4]=ON
 
</pre>
 
</pre>
To install SDK run this command and follow instructions on the screen:
 
 
<pre>
 
<pre>
./tmp/deploy/sdk/poky-glibc-x86_64-core-image-weston-aarch64-toolchain-2.0.2.sh
+
Press SW8
 
</pre>
 
</pre>
 
+
You can confirm the following log (Ex: H3SK):
=== Build scripts example ===
 
 
<pre>
 
<pre>
#!/bin/sh
+
R-Car Gen3 Sample Loader V3.02 2017.07.04 <-- !! V3.02 !!
 +
For Salvator , Kriek , and StarterKit.
 +
Board Judge    : Used Board-ID
 +
DDR_Init        : boardcnf[7] Salvator / Starter Kit (H3SIP_VER2.0)
 +
INITIAL SETTING : Starter Kit Premier / R-Car H3 ES2.0
 +
CPU            : AArch64 CA57
 +
DRAM            : LPDDR4 DDR3200
 +
DEVICE          : QSPI Flash(S25FS128) at 40MHz DMA
 +
BOOT            : Normal Boot
 +
BACKUP          : DDR Cold Boot
 +
jump to 0xE6330000
  
mkdir build || exit
+
R-Car Gen3 MiniMonitor V3.02 2017.07.04 <-- !! V3.02 !!
cd build
+
Work Memory    : SystemRAM
WORK=`pwd`
+
Board Name      : Starter Kit Premier
echo $WORK
+
Product Code    : R-Car H3 ES2.0
  
git clone git://git.yoctoproject.org/poky
+
>
git clone git://git.linaro.org/openembedded/meta-linaro.git
+
</pre>
git clone git://git.openembedded.org/meta-openembedded
 
git clone git://github.com/CogentEmbedded/meta-rcar.git meta-renesas -b v2.12.0
 
git clone git://github.com/CogentEmbedded/meta-renesas-quick-start.git meta-renesas-quick-start -b bsp_v212
 
  
cd $WORK/poky
+
<li> Set SW(Kernel boot mode) as follows:
git checkout -b tmp 40376446904ae3529be41737fed9a0b650ed167d
+
</li>
cd $WORK/meta-linaro
+
<pre>
git checkout -b tmp 9b1fd178309544dff1f7453e796a9437125bc0d9
+
SW1:ON
cd $WORK/meta-openembedded
+
M3SK = SW6[all]:ON
git checkout -b tmp 8ab04afbffb4bc5184cfe0655049de6f44269990
+
H3SK
 +
ws1.0 = SW6:OFF/OFF/OFF/ON
 +
ws1.1 = SW6:ON/OFF/ON/ON
 +
ws2.0 = SW6[all]:ON
 +
</pre>
  
cd $WORK/meta-renesas
+
<li> You can update the firmware with SK connected to KF.
export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
+
</li>
patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
+
How to update:<br/>
unset PATCH_DIR
+
http://elinux.org/R-Car/Boards/M3SK#Flashing_firmware<br/>
 +
http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware<br/>
 +
</ol>
  
cd $WORK/
+
== Q&A site ==
PKGS_DIR=$WORK/../proprietary
+
http://renesasrulz.com/r-car-h3-m3-cockpit/
cd $WORK/meta-renesas
 
#sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh -f $PKGS_DIR
 
sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
 
  
cd $WORK/
+
== FAQ page ==
 +
https://elinux.org/R-Car/Boards/Yocto-Gen3-CommonFAQ
  
source poky/oe-init-build-env
+
== FAQ ==
  
 +
=== How to get the SA001 Camera ===
 +
S001A Camera Specification:<br/>
 +
http://www.entroninc.com/prouduct.html<br/>
 +
(S001 is the same camera with S002, just connector slightly different)<br/>
 +
- Image Sensor : AR0140AT<br/>
 +
- ISP : AP0101<br/>
 +
- Resolution : 1280x728<br/><br/>
 +
This camera cannot be purchased from the online shop.<br/>
 +
If you want to get the Entron S001A190CM0A camera, <br>
 +
please contact to "RenesasJa" from https://elinux.org/Special:EmailUser/RenesasJa<br>
 +
Please fill in the followings in the email.<br/>
 +
- Name<br/>
 +
- Company name<br/>
 +
- Email address<br/>
 +
- Why you need it (as detailed as possible)<br/>
 +
- Required quantity<br/>
 +
<Caution><br/>
 +
Quantities are limited.<br/>
 +
Please understand that we cannot sell this camera to everyone.<br/>
 +
</ol>
  
#cp $WORK/meta-renesas-quick-start/docs/sample/conf/m3ulcb/*.conf ./conf/.
+
== Known Issues ==
cp $WORK/meta-renesas-quick-start/docs/sample/conf/h3ulcb/*.conf ./conf/.
+
<ol>
 +
<li> USB3.0(CN2) cannot use with M3 SK.
 +
</li>
 +
This is a limitation of M3 SK. (H3 SK can use USB3.0)
 +
<li> H/W limitations
 +
<pre>
 +
- Board type name: "SBEV-RCAR-KF-M03"
 +
1. MOST is not supported.
  
cd $WORK/build
+
- Board type name: "SBEV-RCAR-KF-M03" and "SBEV-RCAR-KF-S03"
cp conf/local-wayland.conf conf/local.conf
+
1. BT-Audio(HFP)is not supported.
echo "DISTRO_FEATURES_append = \" use_eva_pkg\"" >> $WORK/build/conf/local.conf
 
echo "MACHINE_FEATURES_append = \" ulcb-kf\"" >> $WORK/build/conf/local.conf
 
  
bitbake core-image-weston
+
- Board type name: "SBEV-RCAR-KF-M03", "SBEV-RCAR-KF-S03" and "SBEV-RCAR-KF-M04"
bitbake core-image-weston -c populate_sdk
+
1. Cannot use JTAG(CN3 on SK).
 
</pre>
 
</pre>
 +
</li>
 +
<li>Power supply <br>
 +
SBEV-RCAR-KF-M03 and SBEV-RCAR-KF -S03 boards may not turn on even if you turn on SW6.<br>
 +
In that case please turn on SW6 again.
 +
</li>
 +
</ol>

Revision as of 03:23, 10 July 2020


Introduction

This is the official Wiki for Kingfisher Infotainment Board.

Topic

EOL Notification of the M3SK

Production of M3SK is discontinued.
See M3SK page for detail.

The new version of R-Car Starter Kit Premier is now on sale !!

  • Equipped with R-Car H3e-2G
    (En) https://www.renesas.com/jp/en/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
    (Zh) https://www.renesas.com/jp/zh/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
    (Jp) https://www.renesas.com/jp/ja/about/press-room/renesas-launches-r-car-gen3e-20-percent-higher-cpu-speed-automotive-infotainment-cockpit-and-digital
  • CPU performance is increased 20% by supporting up to 2GHz frequency over past products.
  • You can buy from here.

SW Release Information

Board name SW name Release date Note
R-Car Starter Kit ( Premier / Pro ) Yocto v5.9.4 (stable) [New!!] 2024/03/28
Kingfisher Infotainment Board Yocto v5.9.0 (stable) 2022/02/14 To check for latest information, please refer to the meta-rcar/tree/v5.9.0.
Android 10 (stable) 2021/07/26 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) + Kingfisher is also supported from 2021/11/25.
Android P (stable) 2020/09/29 R-Car Starter Kit Premier(R-Car H3) + Kingfisher is supported.
R-Car Starter Kit Pro(RTP8J77961ASKB0SK0SA05A) + Kingfisher is also supported from 2021/03/16.
CCPF-SK Board Yocto v5.9.0 (stable) 2022/02/08 Prebuilt binary is available in Quick startup guide page. (Updated on 2022/03/18)


Kingfisher Board Stock Information

  • Global Disty(Shimafuji) : Available
  • Japan Disty (Marutsu) : Available
    • Click here for detail

    New Camera Support

  • Yocto v3.21.0 supports the new Entron S001A190CM0A camera.
    • Please refer to FAQ No.2 for how to purchase.

    Hardware

    This section contains information about Kingfisher Board hardware.

    Board Layout

    Kfisher top specs.png

    Kfisher bot specs.png

    Hardware Features

    • Ethernet AVB phy
      • KSZ9031 phy
    • MOST interface
      • Support both 3-pin and 6-pin MLB interface
      • Pinout compatible with Microchip evaluation boards
    • LVDS camera interface
      • MAX9286 or TI960 deserializers
      • MIPI CSI2 bus
      • 5V, 9V or 12V selectable supply voltage for camera with current limiting
    • High quality 24-bit audio codec PCM3168A
      • 8 input channels (4 stereo jacks for microphone connection)
      • 6 line out channels (RCA connectors)
      • 6 HP outputs (3 stereo jack connectors for direct headphones connection)
      • 44100/48000 Hz sampling frequency
    • Two USB 3.0 ports
    • USB OTG port
    • SD card slot
      • SD card slot(CN47) supports only 3.3 signal voltage(= Default/High speed class only).
        • If you want to use other cards please use the slot(CN6) on the Starter Kit board.
    • Si4689 base AM/FM/DAB radio
      • Digital audio interface to R-Car M2 CPU
      • Additional flash storage for fast radio boot
      • Supply for active DAB antennas with current limit (5 or 12 V)
    • GPS/GLONASS receiver
      • Serial and i2c interface to R-Car
    • 9-axis sensor:
      • 3D digital linear acceleration sensor
      • 3D digital angular rate sensor
      • 3D digital magnetic sensor
    • WiFi/BT module Texas Instruments WL1837
    • HDMI
      • This board equipped with a HDMI transmitter (ADV7513BSWZ) which support HDMI1.4a.
      • The maximum resolution is 1920x1080i and it connected Digital output port (RGB888) on R-Car Starter Kit.
    • Power supply: 12V, 9 Amps
      • The main power supply domain must be connected to an external AC adapter. The voltage is +12V DC.
      • DO NOT USE R-Car Starter kit AC adapter to connect this board or this board AC adapter to connect R-Car Starter kit. If connect wrong AC adapter then it has serious damage to the board.

    Where to buy

    • Kingfisher board can be ordered from following distributors:

    Click to buy Kingfisher board from SHIMAFUJI Electric - World Wide - Available
    Click to buy Kingfisher board from Marutsu - Japan only - Available

    • GMSL Camera board can be ordered from following distributors:

    Click to buy Kingfisher board from SHIMAFUJI Electric - World Wide - Available


    Official board documentation

    Change point

    Function M03 Board to M04 Board M04 Board to M05 Board M05 Board to M06 Board
    USB2.0 No difference No difference Change filter(L9), Diode(D6,D7)
    WIFI Unmount SMA connector(CN45,CN46) No difference No difference
    BLUETOOTH ADD Level conversion IC(U116) / Support BT AUDIO(HFP) No difference No difference
    SD CARD Change Power IC(U106) / Not support SD1.8V No difference Change Diode(D44,D45)
    SERIAL Change connector shape(CN4 Male to Female) No difference Change Diode(D19~D23)
    FPDLink No difference Delete function No difference
    Audio In No difference No difference Change Diode(D15~D17)
    Audio Out No difference No difference Delete Diode(D24~D40)
    POWER AMP ADD Reset Signal(nVRST) Delete function -
    MOST ADD Level conversion IC(U118) No difference Change MOST ↔ GPS Function select register (R661~R663) to select SW (SW7)
    GPS No difference No difference Change MOST ↔ GPS Function select register (R661~R663) to select SW (SW7)
    I2C No difference No difference Chabge I2C repeater (U1, U4)
    ETHER ADD Level conversion IC(U117) Delete function No difference

    The M06 board has improved the I2C error problem, Fixed a rare start-up problem when turned power on

      < Major modification on M06 >
    1. I2C error modification
      - Replace I2C repeater
      - Changing the resistance value
    2. Booting NG modification
      - Power stabilization
      - Sequence correction the kingfisher board start-up after StarterKit.
    3. Change of MOST-GPS switching method (SW 7)

    Kingfisher Yocto BSP

    Refer to Yocto page for steps necessary for making and running a Yocto image.

    Connection-confirmed Hardware information

    Connector No Function name Connection confirmed Hardware
    CN7 LVDS display BD101LCC1 https://boundarydevices.com/product/bd101lcc1-10-1-1280x800-display/
    CN10, CN11 LVDS camera IMI RDACM21(Need camera board: GMSL02)
    Leopard Imaging LI-OV10635-GMSL (Need camera board: GMSL02)
    Entron S001A190CM0A(Need camera board: GMSL02) NEW
    IMI RDACM24 (Need camera board: FPDL01)
    CN15 Mini PCIe Intel 512AN-MMW
    CN5 M.2 Transcend TS128GMTE850
    CN48 Raspberry Pi camera Raspberry Pi camera Rev 1.3(OV5647)
    Raspberry Pi camera Rev 2.0(IMX219)
    CN49 HDMI display GeChic Onlap 1502x, 1503x
    CN22 MOST "Physical+ Interface Board OS81092" and "OS81092 Audio Demo Board"
    CN29 CMOS camera https://www.amazon.com/Arducam-Megapixels-OV5642-Sensor-Camera/dp/B013JO53AU

    How to update of Sample Loader and MiniMonitor

    New version:

     Sample Loader: V3.02
     MiniMonitor: V3.02
    

    Down load:

    File:UpdateFile v302.zip
    

    [Note]

    Sample Loader and MiniMonitor version of LATEST SK is V5.08.
    DON'T update those SK.(You can update firmware(*) while SK and KF connected)
    Please check carefully before updating.
    

    Why update?:

    ComEx Mechanical Specification: Durability: 30 mating cycles.
    This new version(V3.02) can update firmware(*) while keeping Starter Kit(SK) and Kingfisher(KF) connected.
    
    (*)firmware: bootparam_sa0.srec, bl2-h3ulcb/m3ulcb.srec, cert_header_sa6.srec, bl31-h3ulcb/m3ulcb.srec, tee-h3ulcb/m3ulcb.srec, u-boot-elf.srec 
    


    How to update:

    1. Power off the KF and remove SK from KF
    2. Turn off SW5
      Remove SK from KF
      
    3. Set SW of SK as follows:
    4. SW1:OFF
      SW6:OFF/OFF/OFF/OFF
      SW2:OFF/OFF/OFF/OFF
      
    5. Power on the SK (This means that you need to prepare a 5V AC-adapter for SK)
    6. Press SW8
      SCIF Download mode starts
      
    7. Send the following file from console(Ex: minicom):
    8. type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
      Case of M3SK:
      	BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot
      Case of H3SK:
      	BoardID_Writer_SCIF_64bit_ID=0x58(StarterKit-Premier_Rev1.0OB).mot
      
      NOTE: Under Linux, if you got problem transferring this file, it may because of special character in its name.
      
      Solution is to open a new terminal then manually launch the transfer with the following command with double quote around filename (Ex: serial link on ttyUSB0 for M3SK):
      # /usr/bin/ascii-xfr -dsv "BoardID_Writer_SCIF_64bit_ID=0x10(StarterKit-Pro_Rev1.0).mot" > /dev/ttyUSB0
      

      You can confirm the following log (Ex: M3SK):

      +---------------------------------+
      |  Board ID Writer V01 2017.06.23 |
      +---------------------------------+
       Product Code : R-Car M3 ES1.0
      
       Now Board ID : Unknown Board Rev7 (0xFF)
       New Board ID : Starter Kit Rev0 (0x10)
       Wrote Board ID : Starter Kit Rev0 (0x10)
      
      Writer Program End.
      
    9. Power off the SK
    10. Press SW8
      
    11. Set SW as follows:
    12. M3SK = SW6:OFF/ON/OFF/OFF
      H3SK = SW6:OFF/OFF/OFF/OFF
      
    13. Power on the SK
    14. Press SW8
      SCIF Download mode starts
      
    15. Send the following file from console:
    16. type "ctrl+A S" and select upload method "ascii", then choose file for uploading the following file.
      Case of M3SK:
      	AArch32_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
      Case of H3SK:
      	AArch64_Gen3_H3_M3_Scif_MiniMon_V3.02.mot
      

      You can confirm the following log (Ex: M3SK):

      R-Car Gen3 Scif Download MiniMonitor V3.02 2017.07.04
       Work Memory     : SystemRAM
       Board Judge     : Used Board-ID	<-- Attention!!
       DDR_Init        : boardcnf[3] Starter Kit (M3SIP)
       Board Name      : Starter Kit Pro
       Product Code    : R-Car M3 ES1.0
      
      >
      
    17. Flash AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
    18. xls
      1
      y
      y
      y
      1
      type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_H3_M3_SPI_LOADER_V3.02.mot", after upload finished press y key
      
    19. Flash AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot. In console execute xls command (load program to hyper flash) and provide the following inputs:
    20. xls
      1
      y
      y
      y
      3
      e6330000
      type "ctrl+A S" and select upload method "ascii", then choose file for uploading "AArch64_Gen3_Spi_MiniMon_V3.02_E6330000.mot", after upload finished press y key
      
    21. Power off the SK
    22. Press SW8
      
    23. Verify Sample Loader and MiniMonitor version
    24. SW1:OFF
      M3SK
       SW6[1]=OFF, SW6[2]=OFF, SW6[3]=OFF, SW6[4]=ON
      H3SK
       ws1.0: SW6[all]=OFF
       ws1.1/ws2.0: SW6[1]=ON, SW6[2]=ON, SW6[3]=OFF, SW6[4]=ON
      
      Press SW8
      

      You can confirm the following log (Ex: H3SK):

      R-Car Gen3 Sample Loader V3.02 2017.07.04		<-- !! V3.02 !!
       For Salvator , Kriek , and StarterKit.
       Board Judge     : Used Board-ID
       DDR_Init        : boardcnf[7] Salvator / Starter Kit (H3SIP_VER2.0)
       INITIAL SETTING : Starter Kit Premier / R-Car H3 ES2.0
       CPU             : AArch64 CA57
       DRAM            : LPDDR4 DDR3200
       DEVICE          : QSPI Flash(S25FS128) at 40MHz DMA
       BOOT            : Normal Boot
       BACKUP          : DDR Cold Boot
       jump to 0xE6330000
      
      R-Car Gen3 MiniMonitor V3.02 2017.07.04		<-- !! V3.02 !!
       Work Memory     : SystemRAM
       Board Name      : Starter Kit Premier
       Product Code    : R-Car H3 ES2.0
      
      >
      
    25. Set SW(Kernel boot mode) as follows:
    26. SW1:ON
      M3SK = SW6[all]:ON
      H3SK
       ws1.0 = SW6:OFF/OFF/OFF/ON
       ws1.1 = SW6:ON/OFF/ON/ON
       ws2.0 = SW6[all]:ON
      
    27. You can update the firmware with SK connected to KF.
    28. How to update:
      http://elinux.org/R-Car/Boards/M3SK#Flashing_firmware
      http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware

    Q&A site

    http://renesasrulz.com/r-car-h3-m3-cockpit/

    FAQ page

    https://elinux.org/R-Car/Boards/Yocto-Gen3-CommonFAQ

    FAQ

    How to get the SA001 Camera

    S001A Camera Specification:
    http://www.entroninc.com/prouduct.html
    (S001 is the same camera with S002, just connector slightly different)
    - Image Sensor : AR0140AT
    - ISP : AP0101
    - Resolution : 1280x728

    This camera cannot be purchased from the online shop.
    If you want to get the Entron S001A190CM0A camera,
    please contact to "RenesasJa" from https://elinux.org/Special:EmailUser/RenesasJa
    Please fill in the followings in the email.
    - Name
    - Company name
    - Email address
    - Why you need it (as detailed as possible)
    - Required quantity
    <Caution>
    Quantities are limited.
    Please understand that we cannot sell this camera to everyone.

    Known Issues

    1. USB3.0(CN2) cannot use with M3 SK.
    2. This is a limitation of M3 SK. (H3 SK can use USB3.0)
      
    3. H/W limitations
      - Board type name: "SBEV-RCAR-KF-M03"
       1. MOST is not supported.
      
      - Board type name: "SBEV-RCAR-KF-M03" and "SBEV-RCAR-KF-S03"
       1. BT-Audio(HFP)is not supported.
      
      - Board type name: "SBEV-RCAR-KF-M03", "SBEV-RCAR-KF-S03" and "SBEV-RCAR-KF-M04"
       1. Cannot use JTAG(CN3 on SK).
      
    4. Power supply
      SBEV-RCAR-KF-M03 and SBEV-RCAR-KF -S03 boards may not turn on even if you turn on SW6.
      In that case please turn on SW6 again.