Base Image Flash, ESIM Disabled, Help Installing ESIM

I am working on creating a flashable base image for a device.
We have taken the default image and added our own overlays. Building on 20.04.

It flashes no issue, but having troubles setting up the ESIM’s from scratch.

Flashing with
particle flash --tachyon <image.zip>

particlectl setup has been ran and it is added to my account.

ESIMs both report as not installed on console dashboard.

particle-tachyon-ril-ctl sendat at+iccid
Returns my iccid of the selected sim (1)

particle-tachyon-ril-ctl state
SIM Disabled

particle-tachyon-ril-ctl esim download <iccid>
Command queued

particle-tachyon-ril-ctl esim enable <iccid>
Command queued

Always just says command queued. Can’t seem to get the esim going.
connect, power, and esim list commands all just return Command queued.
How can I setup the particle ESIMs that would typical be pre-installed if using

particle tachyon setup

particlectl status output:
"attributes": {
"deviceId": "<device id>",
"deviceModel": "Particle Tachyon",
"distroVersions": {
"distro": {
"board": "formfactor_dvt",
"region": "NA",
"stack": "ubuntu-headless",
"variant": "headless",
"version": "1.0.181"
},
"src": {
"quectel_bp_fw": "1.0.20",
"ubuntu_20_04": "image-91-9c690c3e0"
}
},
"packageVersions": {
"particle-linux": "0.21.3",
"particle-tachyon-ril": "0.4.5-1",
"particle-tachyon-syscon": "1.0.19-1"
},
"productId": 41881
},
"features": {
"applications": {
"properties": {
"apps":
}
},
"cellular": {
"properties": {
"RAT": "Unknown",
"RSRP": 0,
"activeIccid": null,
"carrier": "unknown",
"cellId": 0,
"dataConnection": "down",
"interface": "",
"ipv4": "",
"locationAreaCode": 0,
"mobileCountryCode": "unknown",
"mobileNetworkCode": "unknown",
"rat": "Unknown",
"registrationState": "Not Registered, Not Searching",
"rsrp": 0,
"rsrq": 0,
"signalStrength": 146
}
},
"esim": {
"properties": {
"lastOperations": ,
"modemState": "SIM Disabled"
}
},
"ethernet": {
"properties": {
"activeConnection": {
"interface": "eth0",
"ipv4": "<ip>",
"ipv6": "<ipv6>,
"speed": 1000
},
"mac": "<mac>"
}
},
"network": {
"properties": {
"activeInterface": "eth0"
}
},
"wifi": {
"properties": {
"activeConnection": null,
"localNetworks": ,
"mac": "<mac>",
"syncedNetworks":
}
}
},
"system": {
"memory": {
"ram": {
"free": 2840784896,
"total": 7650988032,
"used": 1852125184
},
"swap": {
"free": 3824967680,
"total": 3824967680,
"used": 0
}
},
"power": {
"batteryPct": 90,
"batteryState": "charged",
"batteryVoltage": 4.138806,
"source": "battery"
},
"uptime": 71469.96
}
}

Journalctl logs of particle-tachyon-rild
Jun 18 04:29:51 2BCEEBF018 particle-tachyon-rild[3645]: sh: /etc/init.d/start_q>
Jun 18 04:29:50 2BCEEBF018 systemd[1]: Started Particle RIL Service.
Jun 18 04:29:51 2BCEEBF018 particle-tachyon-rild[3599]: State command received
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Processing: STATUS
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Signal Strength: 0 (0-3>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS=3,2, R>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS?, Resp>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+CEREG?, Res>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS=3,0, R>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS?, Resp>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: MCCMNC: unknown, LAC: 0>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: data_connection: down
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Registration State: Not>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: State command received
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS=3,2, R>
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: ERROR
Jun 18 04:30:00 2BCEEBF018 particle-tachyon-rild[3599]: Command: AT+COPS?, Resp>

1 Like

Flashing through the setup command instead allowed me to get the ESIM profiles with my custom image.
particle tachyon setup --version <image.zip>

Does have extra boiler plate and flashing steps compared to
particle flash --tachyon <image.zip>

but does work. Given I plan to use the particle ESIM. I believe if someone was trying to download their own ESIM, with the bare base image the download seems to fail. Would likely have to start with particle tachyon setup, then modify your ESIMS set after.
My use case I don’t wish to manually configure an ssh password or wifi on each flashing. Setup allows entering these blank but the outcome of this is unspecified.

1 Like