helium / gateway_mfr

Erlang Manufacturing Suppport Code
Apache License 2.0
15 stars 12 forks source link

Gateway mfr issue #11

Open Hccd2022 opened 2 years ago

Hccd2022 commented 2 years ago

Hi Sir,

As Helium website mentioned, we can compile the gateway_mfr from Docker image available here (for aarch64 only).

I have followed the process and build image "gateway_mfr:arm64"

But found the ERROR below. Any idea of "ecc_command_too_small"?

pi@raspberrypi:~ $ docker exec provision gateway_mfr ecc onboarding {ecc_command_too_small,0}

pi@raspberrypi:~ $ docker exec provision gateway_mfr ecc test +--------------------+---------------------------------+ | name | result | +--------------------+---------------------------------+ | serial_num |{error,{ecc_command_too_small,0}}| |{zone_locked,config}|{error,{ecc_command_too_small,0}}| | {zone_locked,data} |{error,{ecc_command_too_small,0}}| | slot_config |{error,{ecc_command_too_small,0}}| | key_config |{error,{ecc_command_too_small,0}}| | miner_key |{error,{ecc_command_too_small,0}}|

A

Hccd2022 commented 2 years ago

In addition, when I reboot the container is not running.

$docker exec provision gateway_mfr ecc onboarding Error response from daemon: Container 63cf73671b4cb462d55fc8b5083134d175ea34907b177d7aecdc788547c68251 is not running