Skip to content

i.MX Yocto Project Mobile Robotics Layer

Notifications You must be signed in to change notification settings

NXPHoverGames/meta-nxp-mr

 
 

Repository files navigation

NXP Linux Yocto Project BSP for NXP Mobile Robotics board(s)

This README contains instructions for setting up a Yocto build for the NXP Mobile Robotics board(s) release image.

Install setup for 24.04 build system

sudo apt-get install -y gawk wget diffstat unzip texinfo \
    gcc-multilib build-essential chrpath socat file cpio python3 \
    python3-pip python3-pexpect xz-utils debianutils iputils-ping \
    libsdl1.2-dev xterm tar locales net-tools rsync sudo vim curl zstd \
    liblz4-tool libssl-dev bc lzop libgnutls28-dev efitools

Run installer

wget -q https://raw.githubusercontent.com/NXPHoverGames/meta-nxp-mr/refs/heads/lf-6.6.23-2.0.0-scarthgap/scripts/build.sh
chmod a+x build.sh
./build.sh

Notice

The default PoC build will create the account "user" with the password "user" for desktop evaluation.

If you want to add multiple account, you can set as below in <build_dir>/conf/local.conf. (every user setting should be splitted by a space).

APTGET_ADD_USERS:append = " user1:<password hash>:${USER_SHELL_BASH} user2:<password hash>:${USER_SHELL_BASH}"

How to generate password hash value? LDP system passwrod generated by openssl algorithm,the default algorithm is MD5, such as:

openssl passwd -1 ab123

Then return value is "$1$FP6PEJWC$e7l2p4w5ek4XDRRrdAwIo/" from terminal, write this value in local.conf

APTGET_ADD_USERS:append = " user1:\$1\$FP6PEJWC\$e7l2p4w5ek4XDRRrdAwIo/:${USER_SHELL_BASH}"

Important: if the value contain "$", it should escape with "\$".

After build image, you can log in with "user1:ab123" or "user:user"

About

i.MX Yocto Project Mobile Robotics Layer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • BitBake 92.4%
  • Shell 5.6%
  • C 2.0%