This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc598 [05 Dec 2022 16:26] – WIP - Added photos and logs of booting with EV-SOMCRR-EZLITE Vasileios Bimpikas | resources:tools-software:linuxdsp:docs:quickstartguide:quickstart_sc598 [21 Dec 2022 12:06] – Enriched the NFS section with status check before proceeding Vasileios Bimpikas | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Yocto Linux 2.2.0 Quickstart Guide for ADSP-SC598 ===== | + | ===== Yocto Linux 2.1.0 Quickstart Guide for ADSP-SC598 ===== |
- | <note important> | + | <note important> |
===== Setting Up Your Host PC ===== | ===== Setting Up Your Host PC ===== | ||
Line 93: | Line 93: | ||
$ ./bin/repo init \ | $ ./bin/repo init \ | ||
-u https:// | -u https:// | ||
- | | + | |
- | | + | |
$ ./bin/repo sync | $ ./bin/repo sync | ||
</ | </ | ||
Line 139: | Line 139: | ||
* ICE is also connected to host PC via USB mini cable | * ICE is also connected to host PC via USB mini cable | ||
- | {{: | + | {{: |
- | {{: | ||
- | {{: | ||
- | * On the carrier board (SOMCRR-EZKIT | + | * On the SOMCRR-EZKIT is a set of micro switches labelled SW1. These should all be set to the OFF position before continuing. |
- | {{: | + | {{: |
- | {{: | + | |
* The Power jumper JP1 on the EV-SC598-SOM board should be fitted so that it shorts the two pins closest to the edge. This will enable the routing of power from the SOMCRR-EZKIT. | * The Power jumper JP1 on the EV-SC598-SOM board should be fitted so that it shorts the two pins closest to the edge. This will enable the routing of power from the SOMCRR-EZKIT. | ||
Line 166: | Line 163: | ||
:< | :< | ||
$ cd / | $ cd / | ||
- | $ sudo / | + | $ sudo / |
Where ''< | Where ''< | ||
When successful you should see a message similar to the console output below | When successful you should see a message similar to the console output below | ||
Line 177: | Line 174: | ||
Info : halt and restart using CTI | Info : halt and restart using CTI | ||
+ | adspsc59x_a55_init | ||
Info : Listening on port 6666 for tcl connections | Info : Listening on port 6666 for tcl connections | ||
Info : Listening on port 4444 for telnet connections | Info : Listening on port 4444 for telnet connections | ||
Info : ICE-1000 firmware version is 1.0.2 | Info : ICE-1000 firmware version is 1.0.2 | ||
Info : clock speed 5000 kHz | Info : clock speed 5000 kHz | ||
- | Info : JTAG tap: adspsc59x.adjc tap/device found: | + | Info : JTAG tap: adspsc598.adjc tap/device found: |
- | Info : JTAG tap: adspsc59x.cpu enabled | + | Info : JTAG tap: adspsc598.cpu enabled |
- | Info : DAP adspsc59x.cpu DPIDR indicates | + | Info : DAP adspsc598.cpu DPIDR indicates |
- | Info : starting gdb server for adspsc59x.cpu on 3333 | + | Info : adspsc598.cpu: |
+ | Info : starting gdb server for adspsc598.cpu on 3333 | ||
Info : Listening on port 3333 for gdb connections | Info : Listening on port 3333 for gdb connections | ||
</ | </ | ||
Line 192: | Line 191: | ||
: < | : < | ||
$ cd /tftpboot | $ cd /tftpboot | ||
- | $ / | + | $ / |
... | ... | ||
(gdb) target extended-remote :3333 | (gdb) target extended-remote :3333 | ||
Remote debugging using :3333 | Remote debugging using :3333 | ||
0x000000000000352c in ?? () | 0x000000000000352c in ?? () | ||
- | (gdb) load | + | (gdb) load u-boot-proper-sc598-som-ezkit.elf |
Loading section .text, size 0x150 lma 0x96000000 | Loading section .text, size 0x150 lma 0x96000000 | ||
Loading section .efi_runtime, | Loading section .efi_runtime, | ||
- | Loading section .text_rest, size 0x5d480 | + | Loading section .text_rest, size 0x5ad94 |
- | Loading section .rodata, size 0x13b7d | + | Loading section .rodata, size 0x12f1c |
- | Loading section .hash, size 0x18 lma 0x96072800 | + | Loading section .hash, size 0x18 lma 0x9606f4b8 |
- | Loading section .dtb.init.rodata, | + | Loading section .dtb.init.rodata, |
- | Loading section .data, size 0x41b0 | + | Loading section .data, size 0x47e8 |
- | Loading section .got, size 0x8 lma 0x96078c30 | + | Loading section .got, size 0x8 lma 0x96074778 |
- | Loading section .got.plt, size 0x18 lma 0x96078c38 | + | Loading section .got.plt, size 0x18 lma 0x96074780 |
- | Loading section .u_boot_list, | + | Loading section .u_boot_list, |
- | Loading section .efi_runtime_rel, | + | Loading section .efi_runtime_rel, |
- | Loading section .rela.dyn, size 0xbf28 | + | Loading section .rela.dyn, size 0xb700 |
- | Start address 0x96000000, load size 555317 | + | Start address 0x96000000, load size 532800 |
- | Transfer rate: 29 KB/ | + | Transfer rate: 29 KB/ |
(gdb) c | (gdb) c | ||
Continuing. | Continuing. | ||
Line 219: | Line 218: | ||
;'' | ;'' | ||
: < | : < | ||
- | U-Boot 2020.10 (Nov 04 2022 - 18:07:17 +0000) | + | U-Boot 2020.10 (Aug 23 2022 - 13:09:23 +0000) |
- | CPU: ADSP ADSP-SC598-0.0 (spi slave boot) | ||
Model: ADI sc598-som-ezkit | Model: ADI sc598-som-ezkit | ||
+ | | ||
+ | I2C: ready | ||
DRAM: 224 MiB | DRAM: 224 MiB | ||
- | WDT: | ||
MMC: | MMC: | ||
- | Loading Environment from SPIFlash... SF: Detected is25lp512 with page size 256 Bytes, erase size 64 B | + | Loading Environment from SPIFlash... |
- | *** Warning - bad CRC, using default environment | + | SF: Detected is25lp512 with page size 256 Bytes, erase size 64 KiB, total 64 MiB |
+ | OK | ||
In: serial@0x31003000 | In: serial@0x31003000 | ||
Out: | Out: | ||
Err: | Err: | ||
- | Net: | + | Net: |
Hit any key to stop autoboot: | Hit any key to stop autoboot: | ||
=> | => | ||
Line 445: | Line 444: | ||
$ sudo service nfs-kernel-server start | $ sudo service nfs-kernel-server start | ||
</ | </ | ||
+ | We can verify that the NFS service is running by executing | ||
+ | < | ||
+ | $ sudo service nfs-kernel-server status | ||
+ | </ | ||
+ | The output will indicate that the server is active, i.e. | ||
+ | < | ||
+ | ● nfs-server.service - NFS server and services | ||
+ | | ||
+ | Drop-In: / | ||
+ | | ||
+ | | ||
+ | Main PID: 953 (code=exited, | ||
+ | Tasks: 0 (limit: 18797) | ||
+ | | ||
+ | | ||
+ | |||
+ | Sep 06 14:38:29 $YOUR_HOSTNAME systemd[1]: Starting NFS server and services... | ||
+ | Sep 06 14:38:31 $YOUR_HOSTNAME systemd[1]: Finished NFS server and services. | ||
+ | </ | ||
+ | |||
+ | If it's reported as inactive, wait a few moments and check the status again. | ||
+ | |||
The root filesystem should then be copied to /romfs. | The root filesystem should then be copied to /romfs. | ||
< | < |