2 года назад
История
README.md
Hello Forte on KasperskyOS with Fboot Example
This example shows how to porting Eclipse 4diac forte runtime environment on KasperskyOS and run in image hello_world application, which was developed in Eclipse 4diac IDE. For more details you can refer to the presentation of project.
Prerequisites
Before you begin, ensure that you have met the following requirements:
- You have installed 2.0.1. version of Eclipse 4diac IDE
- You have installed the latest version of KasperskyOS Community Edition
- You have Debian GNU/Linux “Buster” 10.7
Usage
To build the example and run the resulting image use the cross-build.sh script. Expected output:
[INIT] Starting 'Einit' ...
[INIT] Starting system worker.
[2022-08-03T18:46:18.723][Info][BSPSR] Server starting.
[2022-08-03T18:46:18.728][Info][SDCARDSR] Server starting.
[2022-08-03T18:46:18.732][Info][PL181] Probe PL181
[2022-08-03T18:46:18.735][Info][PL181] Found PL181
[2022-08-03T18:46:18.976][Info][BLKPART] Parsing MBR on 'mmc0' disk ...
[2022-08-03T18:46:18.987][Info][BLKPART] Add MBR/EBR partition 'mmc0_p0', type: 0x0c, offset: 2048, size: 260096 (in sectors)
[2022-08-03T18:46:18.988][Info][PL181] Probe PL181
[2022-08-03T18:46:18.988][Info][PL181] Found PL181
[2022-08-03T18:46:19.177][Info][BLKDEVSR] Port 'mmc0' successfully registered.
[2022-08-03T18:46:19.179][Info][PL181] Probe PL181
[2022-08-03T18:46:19.180][Info][PL181] Found PL181
lan9118: error: PHY read reg 9
lan9118: error: PHY read reg 10
lo0 inet 127.0.0.1/255.0.0.0
en0 mac 52:58:00:12:34:bb
en0 inet 10.0.2.10/255.255.255.0
[2022-08-03T18:46:19.394][Info][BLKDEVCL] Start client initialization.
[2022-08-03T18:46:19.395][Info][BLKDEVCL] Try to connect to server 'kl.drivers.SDCard' with interface 'kl.drivers.SDCard.sdcard'...
[2022-08-03T18:46:19.397][Info][BLKDEVCL] Connection with server 'kl.drivers.SDCard'.established.
[2022-08-03T18:46:19.398][Info][BLKDEVCL] Try to connect to server 'kl.drivers.RawFlash' with interface 'kl.drivers.RawFlash.rawflash'...
[2022-08-03T18:46:19.399][Info][BLKDEVCL] No server.
[2022-08-03T18:46:19.399][Info][BLKDEVCL] Try to connect to server 'kl.drivers.ATA' with interface 'kl.drivers.ATA.ata'...
[2022-08-03T18:46:19.399][Info][BLKDEVCL] No server.
[2022-08-03T18:46:19.400][Info][BLKDEVCL] Try to connect to server 'kl.drivers.RAMDisk' with interface 'kl.drivers.RAMDisk.ramdisk'...
[2022-08-03T18:46:19.400][Info][BLKDEVCL] No server.
[2022-08-03T18:46:19.439][Info][BLKDEVSR] Port 'mmc0_p0' successfully registered.
[2022-08-03T18:46:21.403][Info][NS] Can't connect with Name Server.
[2022-08-03T18:46:21.462][Info][PL181] Probe PL181
[2022-08-03T18:46:21.464][Info][PL181] Found PL181
All devices successfully mounted
INFO: T#3617396608: FORTE try start....
INFO: T#3621714608: FORTE read fboot - OK
INFO: T#3656215872: FORTE is up and running
INFO: T#3658000000: Using provided bootfile location set in CMake: /c/forte.fboot
INFO: T#3659782560: Boot file /c/forte.fboot opened
INFO: T#3764100240: 'hello' = 2
INFO: T#3765855296: Bootfile correctly loaded
INFO: T#3766504912: Closing bootfile
Authors
Developed by: Slava Bogomolov
Scientific supervisor: Alexey Maximov
Описание
Конвейеры
0 успешных
0 с ошибкой