This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc573_3_0_0 [24 May 2023 10:54] – Vasileios Bimpikas | resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc573_3_0_0 [25 May 2023 11:31] – Vasileios Bimpikas | ||
---|---|---|---|
Line 135: | Line 135: | ||
<code bash> | <code bash> | ||
$ ls tmp/ | $ ls tmp/ | ||
- | adi-distro-musl-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.host.manifest | + | adi-distro-glibc-glibc-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.host.manifest |
- | adi-distro-musl-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.sh | + | adi-distro-glibc-glibc-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.sh |
- | adi-distro-musl-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.target.manifest | + | adi-distro-glibc-glibc-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.target.manifest |
- | adi-distro-musl-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.testdata.json | + | adi-distro-glibc-glibc-x86_64-adsp-sc5xx-minimal-cortexa5t2hf-neon-adsp-sc573-ezkit-toolchain-3.0.0.testdata.json |
</ | </ | ||
- | The '' | + | The '' |
=== Installing the SDK === | === Installing the SDK === | ||
Line 148: | Line 148: | ||
For the minimal image on SC573 | For the minimal image on SC573 | ||
<code bash> | <code bash> | ||
- | $ ./ | + | $ ./ |
- | Analog Devices Inc Reference Distro SDK installer version 3.0.0 | + | Analog Devices Inc Reference Distro |
- | =============================================================== | + | ======================================================================= |
- | Enter target directory for SDK (default: / | + | Enter target directory for SDK (default: / |
- | You are about to install the SDK to "/ | + | You are about to install the SDK to "/ |
- | Extracting SDK........................................................................done | + | Extracting SDK................................................................................................................done |
Setting it up...done | Setting it up...done | ||
SDK has been successfully set up and is ready to be used. | SDK has been successfully set up and is ready to be used. | ||
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. | Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. | ||
- | $ . / | + | $ . / |
</ | </ | ||
Line 198: | Line 198: | ||
;'' | ;'' | ||
:<code bash> | :<code bash> | ||
- | $ sdk_usr=/ | + | $ sdk_usr=/ |
$ $sdk_usr/ | $ $sdk_usr/ | ||
</ | </ | ||
Line 230: | Line 230: | ||
: <code bash> | : <code bash> | ||
$ cd /tftpboot | $ cd /tftpboot | ||
- | $ / | + | $ / |
... | ... | ||
(gdb) target extended-remote :3333 | (gdb) target extended-remote :3333 | ||
Line 377: | Line 377: | ||
====== Booting Linux ====== | ====== Booting Linux ====== | ||
==== Booting Linux from SPI Flash ==== | ==== Booting Linux from SPI Flash ==== | ||
- | The ADSP-SC573-EZKIT comes equipped with 16 MiB of SPI Flash. | + | The ADSP-SC573-EZKIT comes equipped with 16 MiB of SPI Flash. |
- | + | ||
- | You'd first need to copy the fitImage and the '' | + | |
- | + | ||
- | <code bash> | + | |
- | $ cp tmp/ | + | |
- | $ cp tmp/ | + | |
- | </ | + | |
- | + | ||
- | In order to flash the kernel on the flash, run the below command and observe a similar output: | + | |
- | + | ||
- | <code bash> | + | |
- | => run update_spi_fit | + | |
- | Speed: 1000, full duplex | + | |
- | Using eth0 device | + | |
- | TFTP from server 10.37.33.116; | + | |
- | Filename ' | + | |
- | Load address: 0x89000000 | + | |
- | Loading: ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################ | + | |
- | 2.2 MiB/s | + | |
- | done | + | |
- | Bytes transferred = 6192194 (5e7c42 hex) | + | |
- | SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB | + | |
- | device 0 offset 0xe0000, size 0x5e7c42 | + | |
- | SF: 6192194 bytes @ 0xe0000 Written: OK | + | |
- | </ | + | |
- | + | ||
- | Now run the following command to also flash the root filesystem: | + | |
- | <code bash> | + | |
- | => run update_spi_rfs | + | |
- | Speed: 1000, full duplex | + | |
- | Using eth0 device | + | |
- | TFTP from server 10.37.33.116; | + | |
- | Filename 'adsp-sc5xx-tiny-adsp-sc573-ezkit.jffs2' | + | |
- | Load address: 0x89000000 | + | |
- | Loading: ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ## | + | |
- | 2.1 MiB/s | + | |
- | done | + | |
- | Bytes transferred = 9568256 (920000 hex) | + | |
- | SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB | + | |
- | device 0 offset 0x6e0000, size 0x920000 | + | |
- | SF: 9568256 bytes @ 0x6e0000 Written: OK | + | |
- | </ | + | |
- | + | ||
- | You are now ready to boot into Linux, by entering '' | + | |
- | + | ||
- | <code bash> | + | |
- | => run spiboot | + | |
- | SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB | + | |
- | device 0 offset 0xe0000, size 0x5e7c42 | + | |
- | SF: 6192194 bytes @ 0xe0000 Read: OK | + | |
- | ## Loading kernel | + | |
- | Using ' | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | Data Start: | + | |
- | Data Size: 4774688 Bytes = 4.6 MiB | + | |
- | | + | |
- | | + | |
- | Load Address: 0x80008000 | + | |
- | Entry Point: | + | |
- | Hash algo: sha1 | + | |
- | Hash value: | + | |
- | Sign algo: sha1, | + | |
- | Sign value: | + | |
- | | + | |
- | + | ||
- | ... | + | |
- | + | ||
- | [ OK | + | |
- | [ OK | + | |
- | [ OK ] Started User Login Management. | + | |
- | [ OK ] Reached target Multi-User System. | + | |
- | + | ||
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | Analog Devices Yocto Distribution | + | |
- | | + | |
- | www.yoctoproject.org | + | |
- | + | ||
- | adsp-sc573-ezkit login: root | + | |
- | Password: adi | + | |
- | root@adsp-sc573-ezkit: | + | |
</ | </ |