# Attempt to deploy robot example on grisp\_base

**URL:** <https://erlangforums.com/t/attempt-to-deploy-robot-example-on-grisp-base/1154>\
**Category:** GRiSP Questions\
**Tags:** grisp, grisp-questions\
**Created:** [March 2, 2022, 11:29am UTC](https://erlangforums.com/t/attempt-to-deploy-robot-example-on-grisp-base/1154 "2022-03-02T11:29:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dagyu](https://erlangforums.com/user_avatar/erlangforums.com/dagyu/32/1294_2.png) [@dagyu](https://erlangforums.com/u/dagyu)\
**Post date:** [March 2, 2022, 11:29am UTC](https://erlangforums.com/t/attempt-to-deploy-robot-example-on-grisp-base/1154/1 "2022-03-02T11:29:22Z")

</div>

# Problem statement

Hi all. I’m trying to deploy robot example for `grisp_base` so I follow these two possible ways:

- Deploy my code for `grisp_base` adding this line `{platform, grisp_base}` to my `rebar.config`
- Deploy my code for `grisp2` and try if it works in `grisp_base`

but nothing seems to work for me.

## 1) Deploy my code for `grisp_base`

I just add `{platform, grisp_base}` on my `rebar.config` and then when I type  
`rebar3 grisp deploy` the plugin is not able to find a pre-built package for my OTP:

```erlang
 rebar3 grisp deploy 1 ↵
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling robot
* Resolving OTP version
    23.3.4.4 (requirement was "23")
* Downloading pre-built OTP package (3593d1d1)
===> Could not find a pre-built package for Erlang 23.3.4.4!
Possible causes:
  - You have custom C sources and need to do a manual build:
      rebar3 grisp build
  - There is no pre-built package matching this hash:
      3593d1d1bc7d6fbb265c295163ad2a105842673b4402161a1f8eff061a5dd5fa

```

I chose OTP version 23.3.4.4 because when is in the list of pre-build OTP versions for platform ‘grisp\_base’. I fetch this list typing `rebar3 grisp package list -p grisp_base`, and the output is:

```erlang
===> GRiSP pre-built OTP versions for platform 'grisp_base'
Version
20.2
21.0
21.0-rc1
22.0
23.3.4.4

```

I can’t use the older versions because the last version of `rebar3_grisp` not compile with them.

## 2) Deploy my code for `grisp2`

When I try to boot my `grisp.ini` file deployed for `grisp2` the boot fail. This is my output:

```erlang
[/media/mmcsd-0-0] # boot grisp.ini
boot grisp.ini
boot: open file "grisp.ini"... done
boot: read file "grisp.ini"... received 199 bytes

----------------
GRISP bootloader
----------------
Version: bootloader-V1.0.2 (Build Mi 6. Dez 15:09:49 UTC 2017)
nexus0: <RTEMS Nexus device>
at91_mci0: <MCI mmc/sd host bridge> on nexus0
mmc0: <MMC/SD bus> on at91_mci0
media listener: event = DISK ATTACH, state = INQUIRY, src = mmcsd
media listener: event = DISK ATTACH, state = SUCCESS, src = mmcsd, dest = /dev/mmcsd-0
mmedia listener: event = MOUNT, state = INQUIRY, src = /dev/mmcsd-0
mcsd0: 8GB <SDHC USDU1 2.0 SN 43159Emedia listener: event = MOUNT, state = FAILED, src = /dev/mmcsd-0
5media listener: event = PARTITION INQUIRY, state = INQUIRY, src = /dev/mmcsd-0
8media listener: event = PARTITION INQUIRY, state = SUCCESS, src = /dev/mmcsd-0
 media listener: event = PARTITION ATTACH, state = INQUIRY, src = /dev/mmcsd-0
Mmedia listener: event = PARTITION ATTACH, state = SUCCESS, src = /dev/mmcsd-0, dest = /dev/mmcsd-0-0
Fmedia listener: event = MOUNT, state = INQUIRY, src = /dev/mmcsd-0-0
G 05/2018 by 116 J`> at mmc0 20.5MHz/4bit/1-block
media listener: event = MOUNT, state = SUCCESS, src = /dev/mmcsd-0-0, dest = /media/mmcsd-0-0
[zone: udpcb] kern.ipc.maxsockets limit reached
waiting for SD...

boot: press key to enter service mode
boot: press key to enter service mode
boot: press key to enter service mode

RTEMS Shell on /dev/console. Use 'help' to list commands.

```

## Final question

Someone could help me?

---

<div class="post-metadata">

**Author:** ![peerst](https://erlangforums.com/user_avatar/erlangforums.com/peerst/32/557_2.png) [@peerst](https://erlangforums.com/u/peerst)\
**Post date:** [March 2, 2022, 11:38am UTC](https://erlangforums.com/t/attempt-to-deploy-robot-example-on-grisp-base/1154/2 "2022-03-02T11:38:51Z")

</div>

Can you make a issue on github please about this. We are currently re-integrating GRiSP1 with the progress for GRiSP2 so its likely a bug and not you something missing

---

<div class="post-metadata">

**Author:** ![dagyu](https://erlangforums.com/user_avatar/erlangforums.com/dagyu/32/1294_2.png) [@dagyu](https://erlangforums.com/u/dagyu)\
**Post date:** [March 2, 2022, 12:02pm UTC](https://erlangforums.com/t/attempt-to-deploy-robot-example-on-grisp-base/1154/3 "2022-03-02T12:02:30Z")

</div>

Link to github issue: [[GRiSP1 support] Attempt to deploy robot example on grisp\_base · Issue #99 · grisp/grisp · GitHub](https://github.com/grisp/grisp/issues/99)
