Renode: o le a lenei faʻavae ma aisea e tatau ai ona e popole?

Toefaʻamau IO

Toe faʻailoga O se poloketi talu ai nei e le tele iloa e uiga, ae e mafai ona sili ona manaia mo le tele o tagata faia, amateurs oe faia a latou prototypes ma Arduino o Rasipi Pi, ma fausiaina fausia IoT poloketi ma faʻapipiʻi sisitema. Mo lenei mafuaʻaga, e sili atu ma sili atu lagolago, aʻoaʻoga ma anotusi luga o le upega tafailagi.

Ia iloa atili e uiga i lenei manaia tatala poloketi poloketi, oe mafai ona faitau lenei tusitusiga ma mea taua e iloa ai o ia ma amata galulue ma ia i au lumanaʻi galuega ...

O le a le faʻavae?

auivi

Toe faʻailoga o se faʻavae, pei o le tele o isi. Mo i latou e leʻo iloa poʻo le a lea mea, e tatau ona maitauina o se faʻavae o se faʻavae tulaga lelei e faʻamoemoeina i ai mo aupega eseʻese, faʻatasi ai ma le faʻamoemoe o le sefeina o taimi, pei o le atinaʻeina, faʻafitauli o faʻafitauli, faʻaopopoina le lagolagoina o polokalame, faletusi, mea faigaluega, ma isi.

O le a le Renode?

I le tulaga o Renode, o se faʻavae e faʻatagaina ai le faʻavavevaveina o le faʻalauteleina o faiga tuʻufaʻatasia ma IoT, faʻatagaina e faʻataʻitaʻi ia tino masini masini, aofia ai CPUs, I / O peripherals, sensors, ma isi elemene o le siʻosiʻomaga. O le mea lea, o le a faʻatagaina oe e tamoʻe, debug ma suʻesuʻe atinaʻe polokalama e aunoa ma le suia o lau PC pe faʻaaogaina isi tulaga.

Ae mo le papatusi lagolagoinai ai tele o latou. Faatasi ai ma na o le Xilinx, ST Laiti, Microchip PolarFire, SiFive, ma isi.

Oe tatau foi ona iloa o Renode o se tatala poloketi poloketi, e ui lava i le lagolago faʻapisinisi a le Antmicro. I se faʻaopopoga, e mafai ai ona faʻataʻitaʻi le Arm ma le RISC-V masini, faʻatagaina ai le vave atinaʻe ma le lagolago mo polokalama atinaʻe galulue i le IoT lalolagi.

Renode e matua maeʻa, mamana ma aoga. Tele mea, o le TensorFlow Lite 'au lava ia na faʻaaogaina e faʻavave ai otometi atinaʻe i Arm ma RISC-V fausaga opea, faʻapea foi ma le x86, SPARC, ma le PowerPC. Leai se mea e manaʻomia le i ai o masini tino o nei tulaga mo suʻega.

Nisi faʻamatalaga - 'Upega tafaʻilagi aloaʻia a le poloketi Renode.io

Lagolago lagolago

Ae mo le lagolagoina fausaga opea mo le fausaga Renode, e mafai ona e galue ai, o:

I le tulaga o le mamafa, e seasea ni nai sefulu o MB, o lea e le o se mamafa afifi.

Faʻapipiʻi le Renode i lea laʻasaga i luga o Linux

Avea le Ubuntu distro o se faʻasino, faatuina Renode E faigofie pei o le mulimuli i laʻasaga nei:

  • Faʻamalie faʻalagolago, pei o lena o mono:
sudo apt update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https ca-certificates
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete

  • A maeʻa lena, e tatau ona e faʻamalieina isi faʻamoemoega:
sudo apt-get install policykit-1 libgtk2.0-0 screen uml-utilities gtk-sharp2 libc6-dev

  • Faʻaoga nei 'upega tafaʻilagi ma download el Afifi Aitalafu.
  • O le isi mea o le alu i le Downloads faʻasino mea na e downloadina le .deb ma faʻapipiʻi (Manatua e sui le igoa i le lomiga e tutusa ma oe):
cd Descargas

sudo dpkg -i renode_1.7.1_amd64.deb

Tamoe Renode mo le taimi muamua ma muamua sitepu

O lenei e te mafaia tamoe Renode mo le taimi muamua ma amata i au galuega muamua. Mo lona faʻatinoina, oe na o le faʻatinoina o le faʻatonuga:

renode

Lenei tatalaina a faamalama o galuega mai Renode le mea e mafai ona e ulufale ai i le tulafono e fausia ai le muamua masini pe faʻatautaia ai. Mo se faʻataʻitaʻiga, ia fausia se masini e faʻataʻitaʻi le laupapa STM32F4Discovery:

mach create
machine LoadPlatformDescription @platforms/boards/stm32f4_discovery-kit
.repl 

E mafai foi vaai peripherals avanoa i luga o le tulaga ma:

(machine-0) peripherals

Ia e iloa, masini-0 O le a avea le masani masini igoa pe a fai e te leʻi filifilia seisi. O le a aliali mai o se "vave" pe a uma ona e faia le masini ...

Para uta le polokalama oe manaʻo e tamoʻe luga o lenei simulated masini e faʻataʻitaʻia ai, e mafai ona e faʻaaogaina (eg: lenei mai Antmicro):

sysbus LoadELF @http://antmicro.com/projects/renode/stm32f4discovery.elf-s_445441-827a0dedd3790f4559d7518320006613768b5e72

E mafai foi uta mai i le tuatusi tuatusi, mo se faʻataʻitaʻiga, vaai faalemafaufau e te manao e uta se polokalama oe i ai i totonu:

sysbus LoadELF @mi-ejemplo.elf
Oe mafai ona vaʻaia uma tulafono e mafai ona e faʻaaogaina ma fesoasoani pe a e faʻaaogaina le faʻatonuga fesoasoani totonu o le Renode siosiomaga.

Ona e mafaia lea amata faataitai:

start

O taofi ia ma:

pause

 

Talosia sa aoga tele mo oe…

Renode tutorials

E ui lava e le masani ona tupu, e tele ma tele atu aʻoaʻoga ma 'upega tafaʻilagi e mafai ai ona e faʻafesoʻotaʻi faʻamatalaga e uiga i le faʻaaogaina o Renode. I se faʻaopopoga, o le itulau aloaia lava ia o loʻo i ai se vaega o tutorial vitio ma ia e aʻoaʻo ai faʻavae e amata ai au galuega faatino.

Vaʻai faʻatonuga

Vaʻai faʻamaumauga ma wiki


O mataupu o le tusitusiga e tausisi ia tatou mataupu silisili o amio lelei faʻatonu. E lipotia se mea sese kiliki iinei.

Ia avea muamua ma faamatalaga

Tuʻu lau faamatalaga

o le a le lomia lou tuatusi imeli. O nofoaga e manaʻomia e makaina *

*

*

  1. E tali atu mo faʻamatalaga: Miguel Ángel Gatón
  2. Faamoemoega o faʻamatalaga: Pulea le SPAM, faʻamatalaga pulega.
  3. Tulaga faʻatulafonoina: Lau maliega
  4. Fesoʻotaʻiga o faʻamatalaga: O faʻamatalaga o le a le fesoʻotaʻi atu i isi vaega vagana i tulafono faʻatulafonoina.
  5. Teuina o faʻamatalaga: Faʻamaumauga tuʻufaʻatasia e Occentus Networks (EU)
  6. Aia Tatau: I soo se taimi e mafai ai ona e faʻatapulaʻaina, toe maua ma aveʻese au faʻamatalaga.