Yocto Build Release TI: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Set release according to "release" parameter in URL and use am62-yocto-dunfell-5.10.140_08.05.00.21-v1.0 as default
<includeonly>deleteme</includeonly>
--> {{INIT_RELEASE_PARAM|am62-yocto-dunfell-5.10.140_08.05.00.21-v1.0}}<!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{#vardefine:UBUNTU_COMPAT|18.04/20.04/22.04}}<!--
-->
 
= Installing required packages =
 
Please make sure your host PC is running Ubuntu {{#var:UBUNTU_COMPAT}} 64-bit and is up to date:
  $ sudo apt-get update && sudo apt-get dist-upgrade
 
Then, install the following packages:
 
$ sudo dpkg --add-architecture i386
$ sudo apt update && sudo apt install build-essential autoconf \
        automake bison \
        flex libssl-dev bc u-boot-tools \
        python diffstat \
        texinfo gawk chrpath dos2unix \
        wget unzip socat doxygen libc6:i386 \
        libncurses5:i386 libstdc++6:i386 \
        libz1:i386 g++-multilib \
        git python3-distutils python3-apt
$ sudo dpkg-reconfigure dash
 
= Install Toolchains to home directory =
$ cd ~
$ wget {{#var:arm_toolchain_32_url}} && \
    tar -Jxvf {{#var:arm_toolchain_32_archive}} -C $HOME && \
    wget {{#var:arm_toolchain_64_url}} && \
    tar -Jxvf {{#var:arm_toolchain_64_archive}} -C $HOME

Latest revision as of 22:16, 20 March 2023