Boot EWAOL via SSD Boot#
Overview#
You need to use SSD enclosure case to flash yocto image to M.2 SSD directly.
Get yocto image#
- Build yocto image with EWAOL by following the instructions Getting started with EWAOL, or Download the image from the website to your host machine;
- AVA Developer Platform Downloads – I-Pi SMARC (
Yocto with SOAFEE
is preferred.)
- AVA Developer Platform Downloads – I-Pi SMARC (
Flash yocto image#
Remove M.2 SSD from AVA platform and flash yocto image to it directly.
-
Remove M.2 SSD from AVA platform.
-
Install M.2 SSD into a M.2 enclosure case.
-
Plug it into your host machine.
-
Then, show available block devices.
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ... sdn 8:208 0 119.2G 0 disk ├─sdn1 8:209 0 512M 0 part ├─sdn2 8:210 0 1G 0 part /media/foo/7d00c690-db24-462d-8c8d-dce7bdf151d8 └─sdn3 8:211 0 117.8G 0 part
-
Flush yocto image to M.2 SSD.
For example
sudo dd if=ewaol-image-docker-comhpc-20211022083723.rootfs.wic of=/dev/sdn bs=1M status=progress && sync
Extend rootfs partition#
You have to extend rootfs partition. Follow the instructions Extend rootfs partition
Reinstall SSD#
-
Remove M.2 SSD from enclosure case and install it into AVA platform, then turn it on.
-
The following screen comes up, then login as
root
without password.EWAOL (Edge Workload Abstraction and Orchestration Layer) 0.1 comhpc tty1 comhpc login:
You are able to access via SSH.