hisilicon/dv500: build kernel modules + sensors from source (opensdk)#2205
Merged
Conversation
Enable hisilicon-opensdk for hi3519dv500 now that openhisilicon has the V5 aarch64 SoC (openhisilicon #203 sensors + #204 kernel modules). Bumps the opensdk pin to 666a0958 and adds the dv500 branch: the osdrv dependency, SDK_CODE 0x3519D500, the 8-sensor install list, the V5-style install (open_*.ko -> /lib/modules/<kver>/hisilicon for `modprobe open_*`; source-built libsns_*.so -> /usr/lib/sensors), and the finalize-modules cleanup. Enables BR2_PACKAGE_HISILICON_OPENSDK in hi3519dv500_ultimate. Validated locally: `make BOARD=hi3519dv500_ultimate br-hisilicon-opensdk` builds 53 open_*.ko + 8 sensor .so against linux 5.10.0 and installs them. The opensdk pin bump is additive (openhisilicon #203/#204 only added hi3519dv500), so the other hisilicon/goke chips are unaffected.
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.
Enables
hisilicon-opensdkfor hi3519dv500 now that openhisilicon has the V5 aarch64 SoC (openhisilicon #203 sensors + #204 kernel modules). This makes the DV500 firmware build + ship the source-builtopen_*.kokernel modules andlibsns_*.sosensors, replacing the earlier deferred state.Changes
hisilicon-opensdk.mk: bump pinb1c4dae5→666a0958; add the dv500 branch — osdrv dependency,SDK_CODE=0x3519D500, the 8-sensor list, the V5-style install (open_*.ko→/lib/modules/<kver>/hisilicon,modprobe open_*; sensors →/usr/lib/sensors), and the finalize-modules cleanup.hi3519dv500_ultimate_defconfig:BR2_PACKAGE_HISILICON_OPENSDK=y.Validation
Local
make BOARD=hi3519dv500_ultimate br-hisilicon-opensdkbuilds 53open_*.ko+ 8 sensor.soagainst linux 5.10.0 and installs them (53 inhisilicon/, 8 in/usr/lib/sensors). TheBuild hi3519dv500_ultimateCI job exercises the full image build + finalize.The opensdk pin bump is additive (openhisilicon #203/#204 only added hi3519dv500 paths), so the other hisilicon/goke chips that build opensdk are unaffected — the full CI matrix confirms.