Add NAND/UBI flash backup and restore guide#59
Merged
Conversation
Comprehensive guide covering the complete workflow for backing up vendor firmware from NAND-based cameras and restoring it with proper UBI volume handling. Based on the first successful NAND+UBIFS camera recovery in OpenIPC history (hi3516av200, 128MB SPI NAND, 5 UBI volumes). Covers: - NOR vs NAND vs eMMC identification - Proper backup methods (UBIFS volumes vs raw MTD) - The bad block problem and why ubi write is needed - Complete defib restore workflow with examples - U-Boot requirements (CONFIG_CMD_UBI, malloc size) - Troubleshooting common issues - Real-world test output from hi3516av200 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comprehensive guide for backing up and restoring NAND-based camera firmware with proper UBI volume handling.
Based on the first successful NAND+UBIFS camera recovery in OpenIPC history — hi3516av200 with 128MB SPI NAND, 7 partitions, 5 UBI volumes, all restored and verified booting with vendor firmware.
Contents
/dev/ubiX_Y) vs raw MTD — and why it mattersdefib restoreworkflowCONFIG_CMD_UBI,CONFIG_SYS_MALLOC_LEN >= 2MB)🤖 Generated with Claude Code