This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resources:tools-software:linuxdsp:docs:quickstartguide:emmc-kernel-rfs-storage [11 May 2023 17:04] Vasileios Bimpikas |
resources:tools-software:linuxdsp:docs:quickstartguide:emmc-kernel-rfs-storage [11 May 2023 17:06] Vasileios Bimpikas |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Store kernel image and RootFS on the eMMC ====== | ||
+ | |||
<note>The following instructions are for the ADSP-SC598-EZKIT development board (the EV-SC598-SOM System-on-Module (SOM) board attached to the EV-SOMCRR-EZKIT carrier board). Furthermore, this is supported on [[:resources:tools-software:linuxdsp:releaselandingpages:3.0.0 | version 3.0.0 of Linux for ADSP-SC5xx]]</note> | <note>The following instructions are for the ADSP-SC598-EZKIT development board (the EV-SC598-SOM System-on-Module (SOM) board attached to the EV-SOMCRR-EZKIT carrier board). Furthermore, this is supported on [[:resources:tools-software:linuxdsp:releaselandingpages:3.0.0 | version 3.0.0 of Linux for ADSP-SC5xx]]</note> | ||
- | ====== Introduction ====== | + | ===== Introduction ===== |
This example will guide you through some changes that are needed in order to store the kernel and rootfs on the eMMC, with U-Boot still booting out of QSPI. | This example will guide you through some changes that are needed in order to store the kernel and rootfs on the eMMC, with U-Boot still booting out of QSPI. | ||
This allows for storing larger images without having to plug in an external device, as the SC598-SOM comes with eMMC present on the SOM. | This allows for storing larger images without having to plug in an external device, as the SC598-SOM comes with eMMC present on the SOM. | ||
- | ====== Prepare the build ====== | + | ===== Prepare the build ===== |
You should follow the steps up to and including the '**Preparing the buildtool'** step in [[:resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc598_3_0_0 | Yocto Linux 3.0.0 Quickstart Guide for ADSP-SC598]] | You should follow the steps up to and including the '**Preparing the buildtool'** step in [[:resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc598_3_0_0 | Yocto Linux 3.0.0 Quickstart Guide for ADSP-SC598]] | ||
- | ====== Apply patches ====== | + | ===== Apply patches ===== |
Two patches should be applied. The directory the changes needed to take place is ''$PROJECTDIR/sources/meta-adi/''. | Two patches should be applied. The directory the changes needed to take place is ''$PROJECTDIR/sources/meta-adi/''. | ||
Line 152: | Line 154: | ||
You can copy and paste the contents of the above two patches in files under the target directory (''$PROJECTDIR/sources/meta-adi/''), e.g. patch1.patch & patch2.patch, and apply them with git, e.g. ''$ git apply patch1.patch && git apply patch2.patch'' | You can copy and paste the contents of the above two patches in files under the target directory (''$PROJECTDIR/sources/meta-adi/''), e.g. patch1.patch & patch2.patch, and apply them with git, e.g. ''$ git apply patch1.patch && git apply patch2.patch'' | ||
- | ====== Build and boot the eMMC image ====== | + | ===== Build and boot the eMMC image ===== |
Return to the ''build'' directory of your project, i.e. ''$PROJECTDIR/build/'' and build the eMMC provisioning ramdisk: | Return to the ''build'' directory of your project, i.e. ''$PROJECTDIR/build/'' and build the eMMC provisioning ramdisk: | ||
Line 173: | Line 175: | ||
</code> | </code> | ||
- | ====== Flash the eMMC form your host/build machine via SSH ====== | + | ===== Flash the eMMC form your host/build machine via SSH ===== |
You need to start ''**sshd**'' on your target board: | You need to start ''**sshd**'' on your target board: | ||