refactor(assets): relocate stock CrealityOS baseline images to assets/
This commit is contained in:
1 parent
9640fb5da5
commit
5334fb0eb7
6 files changed
+22
-16
No files matched your search
+3
-3
@@ -1,10 +1,10 @@
|
||||
# Build output
|
||||
/build/
|
||||
|
||||
# Firmware images (allow tracked official stock baselines)
|
||||
# Firmware images (allow tracked official stock baselines in assets/)
|
||||
*.img
|
||||
!Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img
|
||||
!NEBULA_ota_img_V1.1.0.30.img
|
||||
!assets/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img
|
||||
!assets/NEBULA_ota_img_V1.1.0.30.img
|
||||
|
||||
# Python cache & temporary files
|
||||
__pycache__/
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ This document contains technical reference information on stock firmware layouts
|
||||
|
||||
| Target | Official Baseline Image | Version | Board Name | Derived 7z Encryption Password |
|
||||
| :--- | :--- | :--- | :--- | :--- |
|
||||
| **Ender-3 V3 KE** | `Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img` | `V1.1.0.17` | `F005` | `$1$cxswfile$ZFd0RWFYkJQugbtKVGL9y0` |
|
||||
| **Nebula Pad** | `NEBULA_ota_img_V1.1.0.30.img` | `V1.1.0.30` | `NEBULA` | `$1$cxswfile$XG7ANbYX3bq2H2xmmwrka.` |
|
||||
| **Ender-3 V3 KE** | `assets/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img` | `V1.1.0.17` | `F005` | `$1$cxswfile$ZFd0RWFYkJQugbtKVGL9y0` |
|
||||
| **Nebula Pad** | `assets/NEBULA_ota_img_V1.1.0.30.img` | `V1.1.0.30` | `NEBULA` | `$1$cxswfile$XG7ANbYX3bq2H2xmmwrka.` |
|
||||
|
||||
### Password Derivation Algorithm
|
||||
```bash
|
||||
|
||||
@@ -10,8 +10,8 @@ This enables a **zero-disassembly, single-USB installation of RosetteOS straight
|
||||
|
||||
| Device | Board Identifier | Official Stock Baseline | Generated OTA Installer Package |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Creality Ender-3 V3 KE** | `F005` | `Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img` | [`build/Ender-3_V3_KE_F005_ota_img_V1.1.0.34.img`](build/Ender-3_V3_KE_F005_ota_img_V1.1.0.34.img) |
|
||||
| **Creality Nebula Pad** | `NEBULA` | `NEBULA_ota_img_V1.1.0.30.img` | [`build/NEBULA_ota_img_V1.1.0.34.img`](build/NEBULA_ota_img_V1.1.0.34.img) |
|
||||
| **Creality Ender-3 V3 KE** | `F005` | [`assets/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img`](assets/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img) | [`build/Ender-3_V3_KE_F005_ota_img_V1.1.0.34.img`](build/Ender-3_V3_KE_F005_ota_img_V1.1.0.34.img) |
|
||||
| **Creality Nebula Pad** | `NEBULA` | [`assets/NEBULA_ota_img_V1.1.0.30.img`](assets/NEBULA_ota_img_V1.1.0.30.img) | [`build/NEBULA_ota_img_V1.1.0.34.img`](build/NEBULA_ota_img_V1.1.0.34.img) |
|
||||
|
||||
---
|
||||
|
||||
@@ -124,14 +124,14 @@ For in-depth architectural and developer documentation:
|
||||
|
||||
```
|
||||
DarKE/
|
||||
├── Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img # Stock CrealityOS baseline for Ender-3 V3 KE (F005)
|
||||
├── NEBULA_ota_img_V1.1.0.30.img # Stock CrealityOS baseline for Nebula Pad (NEBULA)
|
||||
├── build_rosetteos_image.sh # Automated build wrapper script
|
||||
├── build_rosetteos_image.sh # Automated build wrapper script
|
||||
├── README.md # Workspace overview & quickstart
|
||||
├── FIRMWARE_NOTES.md # Architecture notes & encryption keys
|
||||
├── FIRMWARE_CHANGELOG.md # Version changelog & release milestones
|
||||
├── requirements.txt # Python dependencies (`py7zr`)
|
||||
├── assets/ # Standalone RTOS binaries
|
||||
├── assets/ # Vendor baseline images & RTOS binaries
|
||||
│ ├── Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img # Stock CrealityOS baseline for Ender-3 V3 KE (F005)
|
||||
│ ├── NEBULA_ota_img_V1.1.0.30.img # Stock CrealityOS baseline for Nebula Pad (NEBULA)
|
||||
│ ├── zero.bin # Stock RTOS for Ender-3 V3 KE (F005)
|
||||
│ └── zero_nebula.bin # Stock RTOS for Nebula Pad (NEBULA)
|
||||
├── docs/ # In-depth technical documentation
|
||||
@@ -139,7 +139,7 @@ DarKE/
|
||||
│ ├── A_B_PARTITION_MODEL.md # GPT partition layout & slot mechanics
|
||||
│ └── TROUBLESHOOTING.md # USB diagnostics & common issues
|
||||
├── tools/
|
||||
│ └── pack_rosetteos.py # RosetteOS stock OTA packager
|
||||
│ └── pack_rosetteos.py # RosetteOS stock OTA packager
|
||||
└── build/ # Generated OTA installer images
|
||||
├── Ender-3_V3_KE_F005_ota_img_V1.1.0.34.img
|
||||
└── NEBULA_ota_img_V1.1.0.34.img
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -98,16 +98,22 @@ fi
|
||||
|
||||
# Ensure assets are present
|
||||
mkdir -p "${SCRIPT_DIR}/assets"
|
||||
if [[ ! -f "${SCRIPT_DIR}/assets/zero.bin" && -f "${SCRIPT_DIR}/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img" ]]; then
|
||||
KE_STOCK_IMG="${SCRIPT_DIR}/assets/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img"
|
||||
[[ ! -f "${KE_STOCK_IMG}" && -f "${SCRIPT_DIR}/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img" ]] && KE_STOCK_IMG="${SCRIPT_DIR}/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img"
|
||||
|
||||
if [[ ! -f "${SCRIPT_DIR}/assets/zero.bin" && -f "${KE_STOCK_IMG}" ]]; then
|
||||
echo "[*] Extracting assets/zero.bin from KE stock image..."
|
||||
7z e -p'$1$cxswfile$ZFd0RWFYkJQugbtKVGL9y0' -r "${SCRIPT_DIR}/Ender-3_V3_KE_F005_ota_img_V1.1.0.17.img" 'zero.bin*' -o"${SCRIPT_DIR}/assets" -y >/dev/null
|
||||
7z e -p'$1$cxswfile$ZFd0RWFYkJQugbtKVGL9y0' -r "${KE_STOCK_IMG}" 'zero.bin*' -o"${SCRIPT_DIR}/assets" -y >/dev/null
|
||||
cp "${SCRIPT_DIR}/assets/zero.bin.0000."* "${SCRIPT_DIR}/assets/zero.bin" 2>/dev/null || true
|
||||
rm -f "${SCRIPT_DIR}/assets/zero.bin.0000."*
|
||||
fi
|
||||
|
||||
if [[ ! -f "${SCRIPT_DIR}/assets/zero_nebula.bin" && -f "${SCRIPT_DIR}/NEBULA_ota_img_V1.1.0.30.img" ]]; then
|
||||
NEBULA_STOCK_IMG="${SCRIPT_DIR}/assets/NEBULA_ota_img_V1.1.0.30.img"
|
||||
[[ ! -f "${NEBULA_STOCK_IMG}" && -f "${SCRIPT_DIR}/NEBULA_ota_img_V1.1.0.30.img" ]] && NEBULA_STOCK_IMG="${SCRIPT_DIR}/NEBULA_ota_img_V1.1.0.30.img"
|
||||
|
||||
if [[ ! -f "${SCRIPT_DIR}/assets/zero_nebula.bin" && -f "${NEBULA_STOCK_IMG}" ]]; then
|
||||
echo "[*] Extracting assets/zero_nebula.bin from Nebula stock image..."
|
||||
7z e -p'$1$cxswfile$XG7ANbYX3bq2H2xmmwrka.' -r "${SCRIPT_DIR}/NEBULA_ota_img_V1.1.0.30.img" 'zero.bin*' -o"${SCRIPT_DIR}/assets" -y >/dev/null
|
||||
7z e -p'$1$cxswfile$XG7ANbYX3bq2H2xmmwrka.' -r "${NEBULA_STOCK_IMG}" 'zero.bin*' -o"${SCRIPT_DIR}/assets" -y >/dev/null
|
||||
cp "${SCRIPT_DIR}/assets/zero.bin.0000."* "${SCRIPT_DIR}/assets/zero_nebula.bin" 2>/dev/null || true
|
||||
rm -f "${SCRIPT_DIR}/assets/zero.bin.0000."*
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user