feat(pc): add NAND OOB simulation and bad-block matrix#141
Closed
wendal wants to merge 26 commits into
Closed
Conversation
…ing PSRAM Co-authored-by: Copilot <[email protected]>
…en using PSRAM Merge pull request !246 from Wendal/feat/airui_rotation_buf_psram
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
- scan NAND bad-block markers during FTL init and log bad_blocks/bad_pages - log usable/reserve_free/reserve_total/raw capacity at init - add ftl_init_stats utest entry - update lf_fs_matrix docs and refresh pac_man.zip test asset Co-authored-by: Copilot <[email protected]>
Upgrade format/mount failure paths from LLOGD to LLOGW with explicit error codes, so failures are visible in production firmware logs. Add success log with block_count and block_size on successful mount. Root cause of lfs3 mount failure was LUAT_USE_LFSV3_COMPONENT being disabled in luat_conf_bsp.h (SDK side fix, not tracked here). Verified: LF_FS_HW_PASS fs=lfs3 on Air1601 hardware (COM10). Co-authored-by: Copilot <[email protected]>
Fix lfs3 mount failure on Air1601 hardware. Root cause: LUAT_USE_LFSV3_COMPONENT was disabled in luat_conf_bsp.h, causing the entire lfs3 bridge (flash_lfs3_lf, lfs3_vfs_init) to be excluded from compilation. LuatOS change: improve error logging in luat_little_flash_lfs3.c SDK change: enable LUAT_USE_LFSV3_COMPONENT in luat_conf_bsp.h Hardware test result (Air1601, COM10): lfs3: LF_FS_HW_PASS - file_ok=1 perf_ok=1 unzip_ok=1 Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
|
|
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.




Summary
Test Plan