FirmwareKit.Comm.EDL.Core
1.1.0
dotnet add package FirmwareKit.Comm.EDL.Core --version 1.1.0
NuGet\Install-Package FirmwareKit.Comm.EDL.Core -Version 1.1.0
<PackageReference Include="FirmwareKit.Comm.EDL.Core" Version="1.1.0" />
<PackageVersion Include="FirmwareKit.Comm.EDL.Core" Version="1.1.0" />
<PackageReference Include="FirmwareKit.Comm.EDL.Core" />
paket add FirmwareKit.Comm.EDL.Core --version 1.1.0
#r "nuget: FirmwareKit.Comm.EDL.Core, 1.1.0"
#:package FirmwareKit.Comm.EDL.Core@1.1.0
#addin nuget:?package=FirmwareKit.Comm.EDL.Core&version=1.1.0
#tool nuget:?package=FirmwareKit.Comm.EDL.Core&version=1.1.0
FirmwareKit.Comm.EDL.Core
Shared core for the FirmwareKit EDL stack: the data model, error handling, security helpers and partition-table wrapper used by every other package.
Contents
- Data model —
ChipInfo,PartitionInfo,StorageInfo,StorageType,RebootOption,FirehoseConfiguration,BenchmarkProgress,EdlTransportType. - Errors & events —
EdlException(withEdlErrorCode), driver state/event types inEdlEvents.cs. - Security —
HashValidator(SHA-256 based digest verification for firehoseprogramresponses). - Partition table —
GptTablewraps theFirmwareKit.PartitionTablepackage (GptPartitionTable) for reading and fixing GPT layouts. - Debugging —
EdlDebughelpers.
Usage
using FirmwareKit.Comm.EDL.DataModel;
using FirmwareKit.Comm.EDL.Security;
// Validate a digest returned by a firehose <program> response
bool ok = HashValidator.Validate(data, expectedDigestHex);
try
{
// ... driver operations
}
catch (EdlException ex)
{
Console.WriteLine($"Error {ex.ErrorCode}: {ex.Message}");
}
Dependencies
FirmwareKit.PartitionTable2.0.0 (GPT parsing)System.IO.Ports10.0.7System.Text.Json10.0.7
License
MIT — see the LICENSE at the repository root.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FirmwareKit.PartitionTable.Abstractions (>= 2.0.0)
- FirmwareKit.PartitionTable.Core (>= 2.0.0)
- FirmwareKit.PartitionTable.Format.Gpt (>= 2.0.0)
- System.IO.Ports (>= 10.0.7)
- System.Text.Json (>= 10.0.7)
-
.NETStandard 2.1
- FirmwareKit.PartitionTable.Abstractions (>= 2.0.0)
- FirmwareKit.PartitionTable.Core (>= 2.0.0)
- FirmwareKit.PartitionTable.Format.Gpt (>= 2.0.0)
- System.IO.Ports (>= 10.0.7)
- System.Text.Json (>= 10.0.7)
-
net10.0
- FirmwareKit.PartitionTable.Abstractions (>= 2.0.0)
- FirmwareKit.PartitionTable.Core (>= 2.0.0)
- FirmwareKit.PartitionTable.Format.Gpt (>= 2.0.0)
- System.IO.Ports (>= 10.0.7)
-
net8.0
- FirmwareKit.PartitionTable.Abstractions (>= 2.0.0)
- FirmwareKit.PartitionTable.Core (>= 2.0.0)
- FirmwareKit.PartitionTable.Format.Gpt (>= 2.0.0)
- System.IO.Ports (>= 10.0.7)
- System.Text.Json (>= 10.0.7)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on FirmwareKit.Comm.EDL.Core:
| Package | Downloads |
|---|---|
|
FirmwareKit.Comm.EDL.Backend
EDL transport abstractions and USB/Serial/HSUART/HDLC transport implementations. |
|
|
FirmwareKit.Comm.EDL.Hsuart
HSUART low-level codec (COBS, CRC16, HDLC framing, packet ids) for FirmwareKit.Comm.EDL. |
|
|
FirmwareKit.Comm.EDL.Firehose
Firehose protocol implementation with XML/JSON command builders and response parsers. |
|
|
FirmwareKit.Comm.EDL.FirmwareBundle
Parsers and orchestrator for rawprogram/patch/UFS provisioning firmware bundles. |
|
|
FirmwareKit.Comm.EDL.Sahara
Sahara protocol implementation including packet definitions, ELF image loader and protocol state machine. |
GitHub repositories
This package is not used by any popular GitHub repositories.