|
|
Line 125: |
Line 125: |
| </ol> | | </ol> |
| | | |
− | == How to build == | + | == Kingfisher Yocto BSP == |
− | === Build image ===
| + | Refer to [[R-Car/Boards/Kingfisher/Yocto-Gen3 | Yocto page]] for steps necessary for making and running a Yocto image. |
− | <ol>
| |
− | <li>Create a directory and switch to it <br/>
| |
− | Warning! Yocto builds require a lot of disk space (up to 100 GB). Make sure you have got enough before starting the build.
| |
− | <pre>
| |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | </pre>
| |
− | </li>
| |
− | <li>Clone basic Yocto layers:
| |
− | <pre>
| |
− | cd $WORK
| |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | </pre>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Switch to proper branches/commits
| |
− | <ol>
| |
− | <li>
| |
− | For Yocto v2.23.1
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp yocto-2.1.3
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 55c8a76da5dc099a7bc3838495c672140cedb78e
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 2f51d38048599d9878f149d6d15539fb97603f8f
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 7acbf5e2f99c59478adbc73c6a40d314589a3009
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v2.23.1 remotes/origin/v2.23.1
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.9.0
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp 342fbd6a3e57021c8e28b124b3adb241936f3d9d
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp dacfa2b1920e285531bec55cd2f08743390aaf57
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp fd078b6ece537d986852cb827bd21e022a797b2f
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.9.0 remotes/origin/v3.9.0
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.13.0 (Note: https://elinux.org/R-Car/Boards/Yocto-Gen3#Known_issues_and_limitations (No.3))<br>
| |
− | This BSP for Kingfisher includes short-term workaround.<br>
| |
− | It improves stability on Uboot but performance down.
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 00f70f062aace04c051fa92d3cd7b887718fc313
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.13.0 remotes/origin/v3.13.0
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.15.0
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 8af0b7d6e445b532088a068dc012757001be3a1f
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.15.0 remotes/origin/v3.15.0
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.19.0
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 20fcc94a8d05eda80250f27e87aaa3cfc3275300
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.19.0 remotes/origin/v3.19.0
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.21.0 <span style="color:#ff0000">(2020/2/20 updated)</span>
| |
− | <pre>
| |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 59e8d5674348e2b3d14ac4552231809ab10ab84e <- updated
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.21.0 remotes/origin/v3.21.0
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | Another versions are not tested for compatibility.
| |
− | Legacy BSP instruction can be found here [[R-Car/Boards/Kingfisher-legacy | R-Car Kingfisher legacy]]
| |
− | </li>
| |
− | | |
− | <li>
| |
− | This step is only for Yocto v2.23.1.
| |
− | Apply Linaro-GCC patch file:
| |
− | <pre>
| |
− | cd $WORK/meta-renesas
| |
− | export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
| |
− | patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
| |
− | unset PATCH_DIR
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | Unzip [https://www.renesas.com/us/en/solutions/automotive/rcar-download/rcar-demoboard.html downloaded] proprietary driver modules to $WORK/proprietary folder.<br/>
| |
− | You should see the following files:
| |
− | <ol>
| |
− | <li>
| |
− | For Yocto v2.23.1
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20170828.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20170828.zip
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.9.0
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary/*.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20180627.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20180627.zip
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.13.0
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary/*.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20181029.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20181029.zip
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.15.0
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary/*.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20181225.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20181225.zip
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.19.0
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary/*.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20190507.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20190507.zip
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.21.0
| |
− | <pre>
| |
− | $ ls -1 $WORK/proprietary/*.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20190722.zip
| |
− | R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20190722.zip
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Populate meta-renesas with proprietary software packages.
| |
− | <pre>
| |
− | export PKGS_DIR=$WORK/proprietary
| |
− | cd $WORK/meta-renesas
| |
− | sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $PKGS_DIR
| |
− | unset PKGS_DIR
| |
− | </pre>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Setup build environment
| |
− | <pre>
| |
− | cd $WORK
| |
− | source poky/oe-init-build-env
| |
− | </pre>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Prepare default configuration files.
| |
− | <ol>
| |
− | <li>
| |
− | For Yocto v2.23.1
| |
− | <pre>
| |
− | [m3ulcb]
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3ulcb/linaro-gcc/mmp/*.conf ./conf/
| |
− | [h3ulcb]
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/linaro-gcc/mmp/*.conf ./conf/
| |
− | | |
− | cd $WORK/build
| |
− | cp conf/local-wayland.conf conf/local.conf
| |
− | </pre>
| |
− | </li>
| |
− | <li>
| |
− | For Yocto v3.9.0 or later
| |
− | <pre>
| |
− | [m3ulcb]
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/mmp/*.conf ./conf/
| |
− | [h3ulcb]
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/*.conf ./conf/
| |
− | | |
− | cd $WORK/build
| |
− | cp conf/local-wayland.conf conf/local.conf
| |
− | </pre>
| |
− | NOTE: extra configuration examples are available in the following directory:
| |
− | <pre>
| |
− | $WORK/meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | | |
− | <li>
| |
− | Edit $WORK/build/conf/local.conf to enable/disable graphics and multimedia proprietary drivers support
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Edit local.conf with evaluation packages requirements:
| |
− | <ol>
| |
− | <li>
| |
− | For Yocto v2.23.1 or later (to enable EVA_ prefix during packages install)
| |
− | <pre>
| |
− | DISTRO_FEATURES_append = " use_eva_pkg"
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Add layer meta-rcar <br/>
| |
− | <pre>
| |
− | bitbake-layers add-layer ../meta-rcar/meta-rcar-gen3-adas
| |
− | </pre>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Start the build <br />
| |
− | <pre>
| |
− | bitbake core-image-weston
| |
− | </pre>
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Building image can take up to a few hours depending on your host system performance.<br>
| |
− | After the build has been completed successfully, 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>
| |
− | and the command prompt should return.
| |
− | </li>
| |
− | | |
− | <li>
| |
− | Bitbake has generated all the necessary files in ./tmp/deploy/images directory. <br/>
| |
− | You can verify its content:
| |
− | <pre class="bash">
| |
− | $ ls -1 `find ./tmp/deploy/images/m3ulcb/ -maxdepth 1 -type l -print`
| |
− | ./tmp/deploy/images/m3ulcb/core-image-weston-m3ulcb.cpio.gz
| |
− | ./tmp/deploy/images/m3ulcb/core-image-weston-m3ulcb.ext4
| |
− | ./tmp/deploy/images/m3ulcb/core-image-weston-m3ulcb.manifest
| |
− | ./tmp/deploy/images/m3ulcb/core-image-weston-m3ulcb.tar.bz2
| |
− | ./tmp/deploy/images/m3ulcb/Image
| |
− | ./tmp/deploy/images/m3ulcb/Image-m3ulcb.bin
| |
− | ./tmp/deploy/images/m3ulcb/Image-r8a7796-m3ulcb-kf.dtb
| |
− | ./tmp/deploy/images/m3ulcb/modules-m3ulcb.tgz
| |
− | ./tmp/deploy/images/m3ulcb/u-boot.bin
| |
− | ./tmp/deploy/images/m3ulcb/u-boot-elf-m3ulcb.srec
| |
− | ./tmp/deploy/images/m3ulcb/u-boot-elf.srec
| |
− | ./tmp/deploy/images/m3ulcb/u-boot-m3ulcb.bin
| |
− | </pre>
| |
− | '''Image''' is a Kernel image, '''*.dtb''' is a blob file, '''core-image-weston-m3ulcb.tar.bz2''' is the rootfs, '''modules-m3ulcb.tgz''' are kernel modules.
| |
− | </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 with MOST ===
| |
− | MOST and GPS share the same R-CAR SoC pins and GPS is used by default. <br/>
| |
− | In order to use MOST one need to perform h/w modifications on KF board:
| |
− | <pre>
| |
− | - M04, M05
| |
− | move resistor from R661 -> R660
| |
− | move resistor from R663 -> R662
| |
− | - M06
| |
− | Slide SW7 to "MOST" side.
| |
− | </pre>
| |
− | And enable MOST in BSP by adding option to local.conf:
| |
− | <pre>
| |
− | KF_ENABLE_MOST = "1"
| |
− | </pre>
| |
− | | |
− | === Build with SD3 (CN47) ===
| |
− | SD3 and WIFI share the same R-CAR SoC resource and WIFI is used by default. <br/>
| |
− | In order to use SD on CN47 instead WIFI add following option to local.conf:
| |
− | <pre>
| |
− | KF_ENABLE_SD3 = "1"
| |
− | </pre>
| |
− | | |
− | === Build with LVDS panel(CN49) ===
| |
− | Yocto v3.13.0 or later supports the following LVDS panels.
| |
− | <pre>
| |
− | BD101LCC1 - Boundary Devices BD101LCC1 1280x800 panels [default]
| |
− | TX31D200VM0BAA - KOE TX31D200VM0BAA 1280x480 panel
| |
− | AA104XD12 - Mitsubishi AA104XD12 1024x768 panel
| |
− | AA121TD01 - Mitsubishi AA121TD01 1280x800 panel
| |
− | </pre>
| |
− | How to select:<br>
| |
− | Add following option to local.conf:
| |
− | <pre>
| |
− | KF_PANEL_MODEL = "TX31D200VM0BAA"
| |
− | or
| |
− | KF_PANEL_MODEL = "AA104XD12"
| |
− | or
| |
− | KF_PANEL_MODEL = "AA121TD01"
| |
− | </pre>
| |
− | | |
− | === Build SDK ===
| |
− | After building image run this command to build SDK
| |
− | <pre>
| |
− | bitbake core-image-weston -c populate_sdk
| |
− | </pre>
| |
− | After build success the SDK installation script must appears in ./tmp/deploy/sdk directory:
| |
− | <pre>
| |
− | tmp/deploy/sdk/poky-glibc-x86_64-core-image-weston-aarch64-toolchain-2.1.3.sh
| |
− | </pre>
| |
− | To install SDK run this command and follow instructions on the screen:
| |
− | <pre>
| |
− | ./tmp/deploy/sdk/poky-glibc-x86_64-core-image-weston-aarch64-toolchain-2.1.3.sh
| |
− | </pre>
| |
− | | |
− | == Build scripts examples ==
| |
− | <ol>
| |
− | | |
− | <li> Build preparation
| |
− | <ol>
| |
− | <li> For Yocto v2.23.1
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas.git
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp yocto-2.1.3
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 2f51d38048599d9878f149d6d15539fb97603f8f
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 55c8a76da5dc099a7bc3838495c672140cedb78e
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 7acbf5e2f99c59478adbc73c6a40d314589a3009
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v2.23.1 remotes/origin/v2.23.1
| |
− | | |
− | cd $WORK/meta-renesas
| |
− | export PATCH_DIR=meta-rcar-gen3/docs/sample/patch/patch-for-linaro-gcc
| |
− | patch -p1 < ${PATCH_DIR}/0001-rcar-gen3-add-readme-for-building-with-Linaro-Gcc.patch
| |
− | unset PATCH_DIR
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | <li> For Yocto v3.9.0
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp 342fbd6a3e57021c8e28b124b3adb241936f3d9d
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp dacfa2b1920e285531bec55cd2f08743390aaf57
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp fd078b6ece537d986852cb827bd21e022a797b2f
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.9.0 remotes/origin/v3.9.0
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | <li> For Yocto v3.13.0
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 00f70f062aace04c051fa92d3cd7b887718fc313
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.13.0 remotes/origin/v3.13.0
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | <li> For Yocto v3.15.0
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 8af0b7d6e445b532088a068dc012757001be3a1f
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.15.0 remotes/origin/v3.15.0
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/../proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | <li> For Yocto v3.19.0
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp 20fcc94a8d05eda80250f27e87aaa3cfc3275300
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.19.0 remotes/origin/v3.19.0
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/../proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | <li> For Yocto v3.21.0
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | mkdir build || exit
| |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | git clone git://git.yoctoproject.org/poky
| |
− | git clone git://git.linaro.org/openembedded/meta-linaro.git
| |
− | git clone git://git.openembedded.org/meta-openembedded
| |
− | git clone git://github.com/renesas-rcar/meta-renesas
| |
− | git clone git://github.com/CogentEmbedded/meta-rcar.git
| |
− | | |
− | cd $WORK/poky
| |
− | git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc
| |
− | cd $WORK/meta-openembedded
| |
− | git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23
| |
− | cd $WORK/meta-linaro
| |
− | git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885
| |
− | cd $WORK/meta-renesas
| |
− | git checkout -b tmp ad3a8cfee5b6a6fab17cf1c6e5af851eaec75bd7
| |
− | cd $WORK/meta-rcar
| |
− | git checkout -b v3.21.0 remotes/origin/v3.21.0
| |
− | | |
− | cd $WORK/
| |
− | PKGS_DIR=$WORK/../proprietary
| |
− | 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
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | </li>
| |
− | | |
− | <li> Building yocto
| |
− | <ol>
| |
− | <li> For Yocto v2.23.1
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | cd $WORK
| |
− | source poky/oe-init-build-env
| |
− | | |
− | #cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/linaro-gcc/bsp/*.conf ./conf/.
| |
− | #cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/linaro-gcc/gfx-only/*.conf ./conf/.
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/linaro-gcc/mmp/*.conf ./conf/.
| |
− | | |
− | cd $WORK/build
| |
− | cp conf/local-wayland.conf conf/local.conf
| |
− | echo "DISTRO_FEATURES_append = \" use_eva_pkg\"" >> $WORK/build/conf/local.conf
| |
− | # uncomment for ADAS HAD board only:
| |
− | #echo "MACHINE_FEATURES_append = \" h3ulcb-had\"" >> $WORK/build/conf/local.conf
| |
− | | |
− | bitbake-layers add-layer ../meta-rcar/meta-rcar-gen3-adas
| |
− | | |
− | bitbake core-image-weston
| |
− | bitbake core-image-weston -c populate_sdk
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | <ol>
| |
− | <li> For Yocto v3.9.0 or later
| |
− | <pre>
| |
− | #!/bin/sh
| |
− | | |
− | cd build
| |
− | WORK=`pwd`
| |
− | echo $WORK
| |
− | | |
− | cd $WORK
| |
− | source poky/oe-init-build-env
| |
− | | |
− | #cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/*.conf ./conf/.
| |
− | #cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/gfx-only/*.conf ./conf/.
| |
− | cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/*.conf ./conf/.
| |
− | | |
− | cd $WORK/build
| |
− | cp conf/local-wayland.conf conf/local.conf
| |
− | echo "DISTRO_FEATURES_append = \" use_eva_pkg\"" >> $WORK/build/conf/local.conf
| |
− | # uncomment for ADAS HAD board only:
| |
− | #echo "MACHINE_FEATURES_append = \" h3ulcb-had\"" >> $WORK/build/conf/local.conf
| |
− | | |
− | bitbake-layers add-layer ../meta-rcar/meta-rcar-gen3-adas
| |
− | | |
− | bitbake core-image-weston
| |
− | bitbake core-image-weston -c populate_sdk
| |
− | </pre>
| |
− | </li>
| |
− | </ol>
| |
− | | |
− | </li>
| |
− | | |
− | </ol>
| |
− | | |
− | == Running Yocto images ==
| |
− | Refer to [https://elinux.org/R-Car/Boards/Yocto-Gen3#Running_Yocto_images "Running Yocto images"] of Yocto-Gen3. <br/>
| |
− | | |
− | [NOTE] DTB file for Kingfisher: Image-r8a7795-h3ulcb<span style="color:#ff0000">-kf</span style>.dtb, Image-r8a7795-h3ulcb<span style="color:#ff0000">-4x2g-kf</span style>.dtb(*), Image-r8a7796-m3ulcb<span style="color:#ff0000">-kf</span style>.dtb<br/>
| |
− | (*) The "4x2g" means DDR8GiB SK board. Refer to [https://elinux.org/R-Car/Boards/H3SK#H3SK_has_several_kinds_of_boards "H3 SK variation"]. <br/>
| |
− | | |
− | ==S/W support status==
| |
− | {| class="wikitable"
| |
− | ! Functions !! Yocto v2.23.1 !! Yocto v3.7.0 !! Yocto v3.9.0 !! Yocto v3.15.0 !! Yocto v3.19.0 !! Yocto v3.21.0
| |
− | |-
| |
− | | WiFi || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Bluetooth || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Gyro || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | GPS || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | CAN || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | LVDS Camera(CN10/CN11) || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | CMOS Camera || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Raspberry Pi camera Rev 1.3 || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Raspberry Pi camera Rev 2 || - || - || - || ok || ok || ok
| |
− | |-
| |
− | | USB2.0(CN13) Host || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | USB2.0(CN13) Func(g_mass_storage) || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | USB3.0(CN2) Host || ok (H3 only) || ok (H3 only) || ok (H3 only) ||ok (H3 only) || ok (H3 only) || ok (H3 only)
| |
− | |-
| |
− | | Multichannel Audio || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | HDMI Out || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | LVDS Out || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Serial(CN4) || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | Mini PCIe || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | | M.2 || ok || ok || ok || ok|| ok || ok
| |
− | |-
| |
− | | MOST || ok || ok || ok || ok || ok || ok
| |
− | |-
| |
− | |}
| |
− | | |
− | Note: <br />
| |
− | "ok" - Function succeeded in the simple test as below.<br />
| |
− | "NT" - Function wasn't tested
| |
− | | |
− | == How to test some capabilities ==
| |
− | | |
− | ===WiFi===
| |
− | To check wifi and scan available WAPs run:
| |
− | $ ifconfig wlan0 up
| |
− | $ iwlist wlan0 scan
| |
− | | |
− | ===Bluetooth===
| |
− | Ex 1)To check bluetooth and scan available BT devices run:
| |
− | $ hciconfig hci0 up
| |
− | $ hcitool -i hci0 scan
| |
− | | |
− | Ex 2) BT-Audio
| |
− | <pre>
| |
− | root@h3ulcb:~# bluetoothctl
| |
− | [NEW] Controller C8:DF:84:4C:84:98 h3ulcb [default]
| |
− | Agent registered
| |
− | [bluetooth]# power on
| |
− | Changing power on succeeded
| |
− | [bluetooth]# agent on
| |
− | Agent is already registered
| |
− | [bluetooth]# default-agent
| |
− | Default agent request successful
| |
− | [bluetooth]# scan on
| |
− | Discovery started
| |
− | ..(snip).. !!! <-- Please look for taget device !!!
| |
− | [bluetooth]# scan off
| |
− | ..(snip)..
| |
− | [bluetooth]# pair <MAC address of target device>
| |
− | ..(snip)..
| |
− | Request confirmation
| |
− | [agent] Confirm passkey 285311 (yes/no): yes
| |
− | ..(snip)..
| |
− | Pairing successful
| |
− | [bluetooth]# connect <MAC address of target device>
| |
− | ..(snip)..
| |
− | Connection successful
| |
− | ..(snip)..
| |
− | [Target device name]# quit
| |
− | </pre>
| |
− | Please play music on target device.
| |
− | | |
− | ===Gyro===
| |
− | $ cat /sys/bus/iio/devices/iio\:device0/*_raw (Accelerometer, Magnetometer)
| |
− | $ cat /sys/bus/iio/devices/iio\:device1/*_raw (Gyroscope)
| |
− | | |
− | ===GPS===
| |
− | $ cat /dev/ttySC3 (Yocto v2.23.1)
| |
− | $ cat /dev/ttySC2 (Yocto v3.x)
| |
− | | |
− | ===CAN===
| |
− | Ex) loop back<br>
| |
− | Connect the following pins of CN17 and CN18:
| |
− | CN17 1pin - CN18 1pin
| |
− | CN17 2pin - CN18 2pin
| |
− | (*)Note: SW2 ON of KF. (defalt:ON)
| |
− | | |
− | $ ip link set can0 up type can bitrate 125000
| |
− | $ ip link set can1 up type can bitrate 125000
| |
− | $ candump can0&
| |
− | $ cangen can1
| |
− | can0 08D [3] B5 F4 3C
| |
− | can0 34E [3] 7C A1 70
| |
− | can0 717 [6] 95 C5 67 4A 41 42
| |
− | can0 7F1 [8] CA B9 E9 3E AE 71 FC 52
| |
− | | |
− | ===Serial===
| |
− | Ex) loop back<br>
| |
− | For KF M03: Connect the following pins on CN4:
| |
− | pin3(RxD) - pin5(TxD)
| |
− | pin4(RTS) - pin6(CTS)
| |
− | | |
− | For KF M04 or later: Connect the following pins on CN4:
| |
− | pin2(TxD) - pin4(RxD)
| |
− | pin1(RTS) - pin3(CTS)
| |
− | | |
− | For Yocto v2.23.1:
| |
− | $ stty -F /dev/ttySC2 -echo
| |
− | $ stty -F /dev/ttySC2
| |
− | speed 9600 baud; line = 0;
| |
− | -brkint -imaxbel
| |
− | -echo
| |
− | $ cat /dev/ttySC2 &
| |
− | $ echo 123435452345 > /dev/ttySC2
| |
− | 123435452345
| |
− | | |
− | For Yocto v3.x:
| |
− | $ stty -F /dev/ttySC3 -echo
| |
− | $ stty -F /dev/ttySC3
| |
− | speed 9600 baud; line = 0;
| |
− | -brkint -imaxbel
| |
− | -echo
| |
− | $ cat /dev/ttySC3 &
| |
− | $ echo 123435452345 > /dev/ttySC3
| |
− | 123435452345
| |
− | | |
− | ===LVDS Camera===
| |
− | <GMSL>
| |
− | Camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#GMSL02 GMSL02]
| |
− | Camera: IMI RDACM21-01 <-- This may be out of stock
| |
− | Camera: [https://leopardimaging.com/product/autonomous-camera/maxim-gmsl-cameras/li-ov10635-gmsl/ Leopard Imaging LI-OV10635-GMSL]
| |
− | Camera: Entron [http://www.entroninc.com/prouduct.html S001A190CM0A] [https://elinux.org/R-Car/Boards/Kingfisher#FAQ (How to get)]<span style="color:#ff0000"> NEW </span style>
| |
− | or
| |
− | <FPD Link>
| |
− | Camera board: [http://www.shimafuji.co.jp/DL/EN/InfotainmentCarrierBoard/#FPDL01 FPDL01]
| |
− | Camera: IMI RDACM24-01 <-- This may be out of stock
| |
− | | |
− | *Note:
| |
− | H3 can use CN10 and CN11
| |
− | M3 can use CN10
| |
− | | |
− | | |
− | <li> When you use a Leopard Imaging camera, add some parameters to bootargs.
| |
− | {| class="wikitable"
| |
− | ! Leopard Imagin camera type name!! bootargs
| |
− | |-
| |
− | | LI-OV10635-GMSL || ov106xx.dvp_order=0
| |
− | |-
| |
− | | S001A190CM0A || max9286.him=1 max9286.vsync=0 max9286.fsync_period=2420000 max9286.crossbar=0x01234567
| |
− | |-
| |
− | | (IMI) RDACM21 ||
| |
− | |-
| |
− | |}
| |
− | </li>
| |
− | | |
− | | |
− | Ex1)<br>
| |
− | $ killall weston
| |
− | $ capture -d /dev/video0 -F -f rgb32 -L 0 -T 0 -W 1280 -H 1080 -c 1000 -z
| |
− | | |
− | Ex2)<br>
| |
− | 1. RDACM21-01/RDACM24-1
| |
− | $ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=dmabuf ! video/x-raw,format=BGRA,width=1280,height=1080,framerate=30/1 ! waylandsink
| |
− | | |
− | 2. LI-OV10635-GMSL
| |
− | $ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=dmabuf ! video/x-raw,format=BGRA,width=1280,height=800,framerate=30/1 ! waylandsink
| |
− | | |
− | 3. S001A190CM0A
| |
− | $ gst-launch-1.0 v4l2src device=/dev/video0 io-mode=dmabuf ! video/x-raw,format=BGRA,width=1280,height=728,framerate=30/1 ! waylandsink
| |
− | | |
− | ===CMOS Camera===
| |
− | Ex)<br>
| |
− | $ systemctl stop weston
| |
− | $ capture -d /dev/video0 -F -f rgb32 -L 0 -T 0 -W 1280 -H 720 -c 1000 -t 60 -z
| |
− | | |
− | ===Raspberry Pi camera Rev 1.3(OV5647) / 2(IMX219)===
| |
− | In case of v2(IMX219):<br>
| |
− | Add the following option to local.conf: <br>
| |
− | <pre>
| |
− | KF_ENABLE_IMX219 = "1"
| |
− | </pre>
| |
− | | |
− | Ex)<br>
| |
− | $ systemctl stop weston
| |
− | $ capture -d /dev/video0 -o -f bggr8 -W 2592 -H 1944 -c 1 -t 30 > video.bggr
| |
− | [ 2475.196942] rcar_csi2 fea80000.csi2: Timeout of reading the PHY clock lane
| |
− | [ 2475.203851] rcar_csi2 fea80000.csi2: Timeout of reading the PHY data lane
| |
− | | |
− | Ubuntu PC$ ./bayer2rgb -i video.bggr -o video.rgb24 -w 2592 -v 1944 -b 8 -f BGGR
| |
− | * https://github.com/jdthomas/bayer2rgb.git
| |
− | Ubuntu PC$ rawtoppm -rgb 2592 1944 video.rgb24 > video24.ppm
| |
− | Ubuntu PC$ display video24.ppm
| |
− | | |
− | ===Multichannel Audio===
| |
− | Ex1) CN12/32 on KF
| |
− | $ speaker-test -c 8 -t wav -W /usr/share/sounds/alsa/
| |
− | Ex2)
| |
− | <KF>
| |
− | $ pactl set-default-sink pcm3168a_output
| |
− | $ speaker-test -c 8 -t wav -W /usr/share/sounds/alsa/
| |
− | <SK>
| |
− | $ pactl set-default-sink ak4613_output
| |
− | $ amixer -c 1 sset "DVC Out" 10%
| |
− | $ speaker-test -c 2 -t wav -W /usr/share/sounds/alsa/
| |
− | Ex3)
| |
− | <KF>
| |
− | $ paplay -d pcm3168a_output sample.wav
| |
− | <SK>
| |
− | $ amixer -c 1 sset "DVC Out" 10%
| |
− | $ paplay -d ak4613_output sample.wav
| |
− | | |
− | ===MOST===
| |
− | Ex)<br>
| |
− | 1. Connect OS81092 board(Physical+ Interface Board OS81092) and CN22 of KF. <br>
| |
− | 2. Connect Audio board(OS81092 Audio Demo Board) and OS819092 board with exclusive cable. <br>
| |
− | 3. Connect Audio board and CN5 of SK with USB cable. <br>
| |
− | 4. Run the linux kernel <br>
| |
− | 5. cd /usr/share/most/ <br>
| |
− | 6. ./most_setup.sh
| |
− | <pre>
| |
− | $./most_setup.sh
| |
− | --Setting up RX channel with MLB[ 217.636328] aim_sound: PCM format is 16-bit stereo
| |
− | addr 0x03 (0x06)--
| |
− | --S[ 217.642675] aim_sound: PCM format is 16-bit stereo
| |
− | etting up TX channel wit[ 217.649647] aim_sound: PCM format is 16-bit stereo
| |
− | h MLB addr 0x04 (0x08)--
| |
− | --Setting up TX channel with MLB addr 0x06 (0x0C)--
| |
− | --Creating char devices--
| |
− | --Creating ALSA devices--
| |
− | </pre>
| |
− | 7../setup-audio-50 &
| |
− | <pre>
| |
− | $./setup-audio-50 &
| |
− | Configuration:
| |
− | Timing Slave (Audio Sink)
| |
− | ! ET_NS_MSVAL_ERROR a MSVAL Error is reported from the NS: 0x0010 MSVAL_ERR_STARTUP_FAILED
| |
− | MSVAL_E_SHUTDOWN
| |
− | App reset
| |
− | MSVAL_E_SHUTDOWN
| |
− | App reset
| |
− | ! ET_NS_MSVAL_ERROR a MSVAL Error is reported from the NS: 0x0011 MSVAL_ERR_STARTUP_BUSY
| |
− | ! ET_NS_MSVAL_ERROR a MSVAL Error is reported from the NS: 0x0011 MSVAL_ERR_STARTUP_BUSY
| |
− | (snip)
| |
− | </pre>
| |
− | 8. Push the "Switch" button on the Audio board
| |
− | <pre>
| |
− | -> MostAllowRemoteAccess(allow)
| |
− | -> SourceInfo.Status 1 (Inst_ID: 0x1, FB: 0x24, Adr: 0x400)
| |
− | -> SourceInfo.Status 2 (Inst_ID: 0x1, FB: 0x24, Adr: 0x400)
| |
− | -> Amplifier.Volume.Set 100
| |
− | </pre>
| |
− | 9. Push the "Switch" button on the Audio board again
| |
− | <pre>
| |
− | <- FB_AuxIn_Allocate_StartResult Node: 0x01, Ifn: 0x02
| |
− | </pre>
| |
− | 10. Push the "Switch" button on the Audio board again
| |
− | <pre>
| |
− | <- FB_AuxIn_Allocate_StartResult Node: 0x01, Ifn: 0x01
| |
− | </pre>
| |
− | 11. ./most_play.sh ${PATH}/hoge.mp3 5
| |
− | <pre>
| |
− | $./most_play.sh /home/root/hoge.mp3 5
| |
− | Setting pipeline to PAUSED ...
| |
− | Pipeline is PREROLLING ...
| |
− | Redistribute latency...
| |
− | Pipeline is PREROLLED ...
| |
− | Setting pipeline to PLAYING ...
| |
− | New clock: GstAudioSinkClock
| |
− | </pre>
| |
− | ===Radio===
| |
− | ex) FM Radio
| |
− | | |
− | If radio module is used for the first time, updating radio module firmware is required.
| |
− | | |
− | Updating firmware is not required after the second time.
| |
− | $ si_init
| |
− | $ si_firmware_update ( Update firmware of radio module.)
| |
− | $ si_fm
| |
− | $ si_preset <FM Radio frequency> ( In Tokyo, Japan, 91600 is Nippon Cultural Broadcasting. )
| |
| | | |
| == Connection-confirmed Hardware information == | | == Connection-confirmed Hardware information == |
Line 1,293: |
Line 358: |
| | | |
| == FAQ == | | == FAQ == |
− | <ol>
| + | === Discussion site === |
− | === Failed to DRAM initialize (-1).=== | + | http://elinux.org/Talk:R-Car/Boards/Yocto-Gen3 |
− | If you face the following error please update(*) IPL and u-boot to the latest versopm.
| |
− | <pre>
| |
− | NOTICE: BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.1.0.12
| |
− | NOTICE: BL2: PRR is R-Car M3 ES1.0
| |
− | NOTICE: BL2: Boot device is HyperFlash(80MHz)
| |
− | NOTICE: BL2: LCM state is CM
| |
− | NOTICE: BL2: AVS setting succeeded. DVFS_SetVID=0x52
| |
− | NOTICE: BL2: DDR3200(rev.0.20)[COLD_BOOT]..1
| |
− | NOTICE: BL2: Failed to DRAM initialize (-1).
| |
− | ERROR:
| |
− | ERROR: BL2: System WDT overflow, occured address is 0xe630d3cc
| |
− | </pre>
| |
− | (*)How to update<br/>
| |
− | http://elinux.org/R-Car/Boards/Kingfisher#How_to_update_of_Sample_Loader_and_MiniMonitor<br/> | |
− | http://elinux.org/R-Car/Boards/M3SK#Flashing_firmware<br/>
| |
− | http://elinux.org/R-Car/Boards/H3SK#Flashing_firmware<br/>
| |
| | | |
| === How to get the SA001 Camera === | | === How to get the SA001 Camera === |
Line 1,353: |
Line 402: |
| SBEV-RCAR-KF-M03 and SBEV-RCAR-KF -S03 boards may not turn on even if you turn on SW6.<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. | | In that case please turn on SW6 again. |
− | </li>
| |
− | <li>(SW limitation)Raspberry Pi camera <br>
| |
− | v2(Sony IMX219) camera does not support. (v1(ov5647)is supported)<br>
| |
− | --> Yocto v3.9.0 or later support v2 camera.
| |
| </li> | | </li> |
| </ol> | | </ol> |