Fix/hi3518ev300 rootfs overflow - #164
andy2997j-ai wants to merge 4 commits into
Conversation
Add configuration for Morse Micro Wi-Fi HaLow driver
PR Summary by QodoAdd Morse Micro HaLow and reduce RunCam WiFiLink rootfs size
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1. Firmware lacks its wireless driver
|
| @@ -0,0 +1,4 @@ | |||
| config BR2_PACKAGE_MORSE_MICRO | |||
There was a problem hiding this comment.
1. Firmware lacks its wireless driver 📘 Rule violation ≡ Correctness
copy_extra_packages scans only children of package/, but the new Config.in and morse-micro.mk are placed in the repository-root morse-micro/ directory. During RunCam device builds, BR2_PACKAGE_MORSE_MICRO=y has no imported definition, so neither package file is copied or sourced and the intended HaLow replacement for the removed Realtek drivers does not reach the target firmware.
Agent Prompt
## Issue description
The Morse Micro package is outside the builder-local `package/` directory, so the builder does not copy or register it and the RunCam device defconfig cannot build its wireless driver.
## Fix Focus Areas
- morse-micro/Config.in[1-4]
- morse-micro/morse-micro.mk[1-12]
- builder.sh[104-115]
## Recommended Fix
Move the complete `morse-micro` directory to `package/morse-micro/`, preserving the names and contents of `Config.in` and `morse-micro.mk`. This lets `copy_extra_packages` copy the directory into `general/package` and automatically append its `Config.in` source entry before processing the device defconfig.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| # | ||
| ################################################################________________ | ||
|
|
||
| MORSE_MICRO_VERSION = master |
There was a problem hiding this comment.
2. Pinned builds fetch changing driver code 🐞 Bug ☼ Reliability
MORSE_MICRO_VERSION names the mutable master branch rather than an immutable revision. Fresh builds—and even workflows using OPENIPC_FW_REV to pin firmware for regression bisection—can therefore compile different driver code from the same builder and firmware commits.
Agent Prompt
## Issue description
The package fetches the moving upstream `master` branch, making otherwise pinned builds depend on whichever driver revision is current at build time.
## Fix Focus Areas
- morse-micro/morse-micro.mk[7-9]
- builder.sh[121-130]
## Recommended Fix
Replace `MORSE_MICRO_VERSION = master` with a tested immutable upstream commit SHA or release tag. Update that revision explicitly when adopting newer driver code.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Thanks for this — you have found a real problem, so let me start there before
So the overflow is real and worth fixing. Three things get in the way of this The title does not match the diff. It says The overflow is family-wide, not specific to this board. In the same run As written, the change only subtracts. Two follow-on points on the package itself: Two small things for next time: the repository language is English, and the two If you want to pursue HaLow on this board, please open it as its own PR: the Closing this one, but please do come back with the HaLow package — and thanks |
No description provided.