Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The host Linux machine is recommended Ubuntu 20.04 or 22.04.

 

Once you have Ubuntu 20.04 or 22.04 LTS running, install the additional required support packages using the following console command:

 

Info
iconfalse

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm rsync curl zstd lz4 libssl-dev pv device-tree-compiler

...

SBC-SMART-MEN (module and carrier board) at Embedian

EVK-STD-CARRIER-S20 (universal carrier board for all SMARC 1.1 and 2.0 modules) at Embedian

...

Code Block
themeConfluence
languagecpp
$ ssh-keygen -t rsaed25519 -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
# Generating public/private rsaed25519 key pair.
# Enter file in which to save the key (/chome/Userseric/you/.ssh/id_rsaed25519): [Press
enter]
$ ssh-add id_rsa

Now you need to enter a passphrase.

Code Block
themeConfluence
languagecpp
Enter passphrase (empty for no passphrase): [Type
a passphrase]
Enter same passphrase again: [Type
passphrase again]

Which should give you something like this:

Code Block
themeConfluence
languagecpp
Your identification has been saved in /chome/Userseric/you/.ssh/id_rsa.ed25519
Your public key has been saved in /chome/Userseric/you/.ssh/id_rsaed25519.pub.
The key fingerprint is:
01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:dbSHA256:SS9opo/QHxT2cCwlX+ulhn3ZUVdhdG88vvliOVHJ/6c your_email@example.com
The key's randomart image is:
+--[ED25519 256]--+
|      . . .   .+B|
|       = . .  .o+|
|      = = . . o.=|
|     . O * o o.=o|
|      = S * o .o.|
|   . =   o .  . +|
|  . o .        =.|
|   . + .      = +|
|    . o      .E+o|
+----[SHA256]-----+

Step 3. Add your SSH key to Embedian Gitlab Server

...

Code Block
themeConfluence
languagecpp
$ cat ~/.ssh/id_rsa.pubed25519
ssh-rsa AAAAB3NzaC1yc2EAAABDAQABAAABAQDQUEnh8uGpfxaZVU6+uE4bsDrs/tEE5/BPW7jMAxak
6qgOh6nUrQGBWS+VxMM2un3KzwvLRJSj8G4TnTK2CSmlBvR+X8ZeXNTyAdaDxULs/StVhH+QRtFEGy4o
iMIzvIlTyORY89jzhIsgZzwr01nqoSeWWASd+59JWtFjVy0nwVNVtbek7NfuIGGAPaijO5Wnshr2uChB
Pk8ScGjQ3z4VqNXP6CWhCXTqIk7EQl7yX2GKd6FgEFrzae+5Jf63Xm8g6abbE3ytCrMT/jYy5OOj2XSg
6jlxSFnKcONAcfMTWkTXeG/OgeGeG5kZdtqryRtOlGmOeuQe1dd3I+Zz3JyT your_email@example.c
om

Go to Embedian Git Server. At Profile Setting --> SSH Keys --> Add SSH Key 

...

Info
iconfalse
titleu-boot command prompt

U-Boot# mmc rescan; mmc dev; load mmc 01:1 0x10800000 u-boot.imx; sf probe; sleep 2; sf erase 0 0xc0000; sf write 0x10800000 0x400 a0000

...