R-Car/AGL

From eLinux.org
< R-Car
Revision as of 22:50, 21 April 2022 by RenesasJa (talk | contribs) (How to boot)
Jump to: navigation, search


This page is not complete yet.

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)


R-Car Starter Kit is available

R-Car Starter Kit information
Board Name SoC version Hardware information Where to buy
R-Car Starter Kit Premier (H3) v3.0 Click here Click here
R-Car Starter Kit Pro (M3) v3.0 Click here Click here



What is Automotive Grade Linux (AGL)?

https://www.automotivelinux.org/ https://docs.automotivelinux.org/en/marlin/

News and Events

https://www.automotivelinux.org/news/

Mailing List

https://lists.automotivelinux.org/g/agl-dev-community

Roadmap

https://wiki.automotivelinux.org/agl-roadmap

Release plan (2022~) AGL version
Mar 2022 Magic Marlin(13.0.0)
Jul 2022 Nifty Needlefish(14.0.0)
Feb 2023 Optimistic Octopus (15.0.0)

Release-notes

https://wiki.automotivelinux.org/agl-distro/release-notes

AGL Documentation Site

https://docs.automotivelinux.org/

Where to post questions about AGL

agl-dev-community@lists.automotivelinux.org

Support R-Car board Lists

https://docs.automotivelinux.org/en/master/#1_Hardware_Support/Overview/

Renesas BSP support lists

Renesas BSP version AGL Version Yocto Project version repo init option : -b xxxx repo init option : -m yyyy
Yocto v3.21.0 guppy 7.0.4 or later Rocko guppy Ex) guppy_7.0.4.xml
halibut 8.0.2 or later Thud halibut Ex) halibut_8.0.2.xml
icefish 9.0.x Thud icefish Ex) icefish_9.0.0.xml
jellyfish 10.0.x Dunfell jellyfish Ex) jellyfish_10.0.0.xml
Yocto v4.7.0 koi 11.0.x Dunfell koi Ex) koi_11.0.0.xml
lamprey 12.0.x Dunfell lamprey Ex) lamprey_12.0.0.xml
Yocto v5.5.0 Lamprey 12.1.0 Dunfell lamprey Ex) lamprey_12.1.0.xml
Yocto v5.9.0 lamprey 12.1.1 or later Dunfell lamprey Ex) lamprey_12.1.1.xml
Marlin 13.0.x Dunfell marlin Ex) marlin_13.0.0.xml

How to build

https://docs.automotivelinux.org/en/master/#0_Getting_Started/2_Building_AGL_Image/0_Build_Process/ https://docs.automotivelinux.org/en/master/#0_Getting_Started/2_Building_AGL_Image/5_3_RCar_Gen_3/

Manual steps (Exsample)

  1. Define Your Top-Level Directory
    export AGL_TOP=$HOME/AGL
    mkdir -p $AGL_TOP
    
  2. Download the repo Tool and Set Permissions
    mkdir -p $HOME/bin
    export PATH=$HOME/bin:$PATH
    curl https://storage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo
    chmod a+x $HOME/bin/repo
    
  3. Download the AGL Source Files
    cd $AGL_TOP
    mkdir koi
    export AGL_TOP=$HOME/AGL/koi
    cd $AGL_TOP
    repo init -b koi -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
    repo sync
    
    Ex) Specify the manifest file(koi_11.0.1.xml) using -m option
    $ repo init -b koi -m koi_11.0.1.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
    Ex) Specify the master branch
    $ repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
  4. Downloading Proprietary Drivers
    https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-h3-m3-documents-software
    How to check the file to download
    $ grep -rn ZIP_.= $AGL_TOP/meta-agl/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
    3:ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston8-20210121.zip"
    4:ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-weston8-20210121.zip"
    export XDG_DOWNLOAD_DIR=$HOME/Downloads
    cp R-Car_Gen3_Series_Evaluation_Software_Package_* $XDG_DOWNLOAD_DIR/
    chmod a+rw $XDG_DOWNLOAD_DIR/*.zip
    
  5. Define Your Board
    export MACHINE=h3ulcb
    
    Ex) h3ulcb, h3ulcb-kf, m3ulcb, m3ulcb0-kf, etc..
  6. Run the aglsetup.sh Script
    source meta-agl/scripts/aglsetup.sh -m $MACHINE -b build agl-devel agl-demo
    
  7. Using BitBake
    bitbake agl-demo-platform
    

How to boot

  1. The build process puts the resulting image in the Build Directory:
    <build_directory>/tmp/deploy/images/$MACHINE
    
  2. Update all firmware on the board
    R-Car H3 Starter Kit : Click here
    R-Car M3 Starter Kit : Click here
  3. Get the bmaptool
    sudo apt install bmap-tools
    
  4. Copy image to uSD card
    cd $AGL_TOP/build/tmp/deploy/images/$MACHINE
    sudo bmaptool copy ./agl-demo-platform-$MACHINE.wic.xz <boot_device_name>
    
    Ex)
    cd $AGL_TOP/build/tmp/deploy/images/$MACHINE
    sudo bmaptool copy ./agl-demo-platform-$MACHINE.wic.xz /dev/sdc
    
    Note:
    /dev/XXX is differnet by host PC environment.
    It can be checked by using 'fdisk -l'.
  5. Loading image from uSD
    Insert uSD to SK board and setting-up U-boot
    setenv bootargs console=ttySC0,115200 ignore_loglevel vmalloc=384M video=HDMI-A-1:1920x1080-32@60 root=/dev/mmcblk1p1 rw rootfstype=ext4 rootwait rootdelay=2
    setenv bootcmd run load_ker\; run load_dtb\; booti 0x48080000 - 0x48000000
    setenv load_ker ext4load mmc 0:1 0x48080000 /boot/Image
    setenv load_dtb ext4load mmc 0:1 0x48000000 /boot/{YOUR_BOARD}.dtb
    saveenv
    run bootcmd
    
    Note: See below for "{YOUR_BOARD}.dtb" file

Yocto v5.9.0 BSP

Board name SoC version Type Name DTB file
H3SK 2.0
2.0
2.0/3.0
RTP0RC77951SKBX010SA00
RTP0RC77951SKBX010SA01
RTP0RC77951SKBX010SA03
r8a77951-ulcb.dtb
H3 SK + KF 2.0
2.0
2.0/3.0


RTP0RC77951SKBX010SA00
RTP0RC77951SKBX010SA01
RTP0RC77951SKBX010SA03
+
SBEV-RCAR-KF-M06
r8a77951-ulcb-kf.dtb
H3e-2G SK 3.0 RTP8J779M1ASKB0SK0SA003 r8a779m1-ulcb.dtb
H3e-2G SK + KF 3.0


RTP8J779M1ASKB0SK0SA003
+
SBEV-RCAR-KF-M06
r8a779m1-ulcb-kf.dtb
M3SK 1.0 RTP0RC7796SKBX0010SA09 r8a77960-ulcb.dtb
M3SK + KF 1.0


RTP0RC7796SKBX0010SA09
+
SBEV-RCAR-KF-M06
r8a77960-ulcb-kf.dtb
M3SK 3.0 RTP8J77961ASKB0SK0SA05A r8a77961-ulcb.dtb
M3SK + KF 3.0


RTP8J77961ASKB0SK0SA05A
+
SBEV-RCAR-KF-M06
r8a77961-ulcb-kf.dtb

Yocto Legacy BSP

See here (SK Legacy BSP page)
See here (SK + KF Legacy BSP page)

Introducing the AGL Demos


Q&A site

Access to https://lists.automotivelinux.org/g/agl-dev-community

agl-dev-community@lists.automotivelinux.org

FAQ site

T.B.D

This page is not complete yet.