Video.qclinux.main#67
Open
renjiang-qti wants to merge 2 commits intoqualcomm-linux:video.qclinux.mainfrom
Open
Video.qclinux.main#67renjiang-qti wants to merge 2 commits intoqualcomm-linux:video.qclinux.mainfrom
renjiang-qti wants to merge 2 commits intoqualcomm-linux:video.qclinux.mainfrom
Conversation
Add Debian packaging files to build the MSM VIDC video driver as a DKMS
overlay package.
This change introduces:
- Initial debian/ packaging (control, rules, changelog, copyright)
- DKMS configuration for out-of-tree video kernel module
- Install rules to deploy driver sources under /usr/src for DKMS
- Support for multiple platforms via device tree compatible detection
- Unified build system with DKMS build wrapper
- Automatic module build on install using /lib/modules/${kernelver}/build
The DKMS package enables on-target kernel module compilation and supports
multiple ARM64 platforms with isolated, overlay-based builds.
Change-Id: I8ac6a76a63f697984a9c8a7cdd73f7c0c1755b51
Signed-off-by: Renjiang Han <renjiang@qti.qualcomm.com>
- Add comprehensive DKMS packaging scripts with apport error handling. - Implement automatic recovery system for DKMS failures. - Add smart driver management with rollback capabilities. - Support custom kernels (dirty/rc versions) with compiler mismatch handling. - Add overlay flag system for proper installation cleanup. - Include cross-compilation support and development tools. - Ensure path consistency across all installation methods. Scripts: detect-platform.sh, set-build-env.sh, dkms-build-wrapper.sh, cross-compile.sh, build-package.sh, cleanup.sh. Docs: comprehensive README.md with troubleshooting guide. Usage: ------------- - Build DKMS package. * (cd overlay && ./build-package.sh). - Install on target. * sudo dpkg -i package. - Remove old installation. * sudo dkms remove video-driver/1.0.0 --all. * sudo dpkg -r video-driver-dkms. - Develop/test cross-compile. * cross-compile.sh --compatible qcom,sa8775p-iris --arch arm64. Change-Id: Ic2c64652c5ae9353360f24d7ad7406e4a4b3de83 Signed-off-by: Renjiang Han <renjiang@qti.qualcomm.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.
add debian files and script files to do debian package with DKMS