diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-04 09:05:35 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-04 09:23:57 +0200 |
| commit | 5e1ef5e23dd3e594072f8f32cbb4a6f392d36e55 (patch) | |
| tree | 7a908bfccc9530a818d730a6a4de22739a910b6e /docs | |
| parent | a113f91c6be56c3f39fc7680ec7f5c814d4d2c27 (diff) | |
fw/modules: add astdx for embdfs.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/drawio/FIRMWARE.drawio | 43 | ||||
| -rw-r--r-- | docs/md/SPECIFICATION_FIRMWARE.md (renamed from docs/SPECIFICATION_FIRMWARE.md) | 6 |
2 files changed, 46 insertions, 3 deletions
diff --git a/docs/drawio/FIRMWARE.drawio b/docs/drawio/FIRMWARE.drawio new file mode 100644 index 0000000..7cfc174 --- /dev/null +++ b/docs/drawio/FIRMWARE.drawio @@ -0,0 +1,43 @@ +<mxfile host="65bd71144e"> + <diagram id="Y4IiTM2VAUaSzFU077Gh" name="Page-1"> + <mxGraphModel dx="1144" dy="698" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> + <root> + <mxCell id="0"/> + <mxCell id="1" parent="0"/> + <mxCell id="2" value="EMBDFS (LAST BYTES TO BE LOADED BY BFL)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> + <mxGeometry x="305" y="180" width="240" height="70" as="geometry"/> + </mxCell> + <mxCell id="5" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="3" target="4"> + <mxGeometry relative="1" as="geometry"/> + </mxCell> + <mxCell id="6" value="Loads Stage2 from" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="5"> + <mxGeometry x="-0.1733" relative="1" as="geometry"> + <mxPoint as="offset"/> + </mxGeometry> + </mxCell> + <mxCell id="7" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="3" target="2"> + <mxGeometry relative="1" as="geometry"/> + </mxCell> + <mxCell id="8" value="Loads Driver from" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="7"> + <mxGeometry x="0.15" y="-2" relative="1" as="geometry"> + <mxPoint as="offset"/> + </mxGeometry> + </mxCell> + <mxCell id="3" value="BASE FIRMWARE LAYER (FIRST BYTES<div>TO BE LOADED)</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> + <mxGeometry x="305" y="370" width="240" height="60" as="geometry"/> + </mxCell> + <mxCell id="9" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="3"> + <mxGeometry relative="1" as="geometry"/> + </mxCell> + <mxCell id="10" value="If Stage2 part, load it and replace current context<div>with Stage2</div>" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="9"> + <mxGeometry x="0.414" y="-2" relative="1" as="geometry"> + <mxPoint as="offset"/> + </mxGeometry> + </mxCell> + <mxCell id="4" value="EPM Partition" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1"> + <mxGeometry x="30" y="540" width="190" height="70" as="geometry"/> + </mxCell> + </root> + </mxGraphModel> + </diagram> +</mxfile>
\ No newline at end of file diff --git a/docs/SPECIFICATION_FIRMWARE.md b/docs/md/SPECIFICATION_FIRMWARE.md index b0b40b4..39aa2a0 100644 --- a/docs/SPECIFICATION_FIRMWARE.md +++ b/docs/md/SPECIFICATION_FIRMWARE.md @@ -5,7 +5,7 @@ ================================================================== ================================================================== -0. What we want: +0. What the objective: ================================================================== - Optimized for each target. @@ -25,8 +25,8 @@ 2. Executable Layout: ================================================================== -- 0x80000000/0x00FF/0x1000: Firmware Startup Code -- 0x90000000/0x7c00: Executable Information Header or equivalent. +- 0x80000000/0x00FF/0x0000: Firmware Startup Code +- 0x90000000/0x7c00: Linear Header or EPM partition. ================================================================== 3. Error Codes: |
