https://github.com/qualcomm/csm-utils
csm-utils is collection of scripts and services required for qdu100 host machine to configure host, store ddr_training_data of qdu100 and start nbd related services on device.
https://github.com/qualcomm/csm-utils
Last synced: about 1 month ago
JSON representation
csm-utils is collection of scripts and services required for qdu100 host machine to configure host, store ddr_training_data of qdu100 and start nbd related services on device.
- Host: GitHub
- URL: https://github.com/qualcomm/csm-utils
- Owner: qualcomm
- License: bsd-3-clause-clear
- Created: 2025-07-28T06:10:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-12-30T13:04:42.000Z (6 months ago)
- Last Synced: 2026-03-10T22:11:56.478Z (4 months ago)
- Language: Shell
- Size: 43 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csm-utils
csm-utils is collection of scripts and services required for qdu100 host machine to configure host, store ddr_training_data of qdu100 and start nbd related services on device.
All these scripts run on the host. Here are their descriptions:
csm-check-repair.sh: Checks the integrity of qdu100 images on the host
csm-configure-ip.sh: Configures the IP address of the host and sets /sys/bus/mhi/devices/mhi[0-9]_CSM_CTRL/transport_mode
node depending on qdu100 debug.conf value(usb/pcie)
csm-nbdkit.sh : Starts nbd on the desired port and exports the qdu100 device-specific
directory as a linuxdisk
csm-nbdkit-stop.sh : Stops nbd and the exposed linuxdisk
csm-store-ddr.sh : Reads /sys/bus/mhi/devices/mhi[0-9]/ddr-training-data to save
the qdu100 device's DDR data (this one required for sahara and qdu100 driver)
decimal-to-hex.sh : Converts the qdu100 serial number to hexadecimal
# License
Licensed under BSD 3-Clause-Clear