Loading...
Loading...
Per-pin SFIO / direction / initial-state configurator for a Jetson Orin or Thor custom carrier from the pinmux XLSM. Do NOT use for kernel-DT overlay or ODMDATA edits.
npx skill4agent add nvidia/skills jetson-customize-pinmux.xlsmpinmuxgpiopadvoltage<source.root_path>/Linux_for_Tegra/bootloader/jetson-customize-uphyjetson-customize-pciejetson-customize-cameraPINMUX_CONFIG=GPIOINT_CONFIG=PMC_CONFIG=/jetson-derive-carrierBD*BI*LP5XA_*UPHYDS_*DP_SINGLE_*BDMIPI16X_*BDUSB2_*OSCI27_*configurable: noscripts/modify_pinmux.pyopenpyxl>=3.1generatejetson-customize-camerajetson-customize-pciejetson-customize-usbjetson-customize-mgbepin_verifier.py/jetson-derive-carrier.xlsmtarget-platform/active_target.yml<profile>.yamlreference_devkit:custom_carrier:<source.root_path>/Linux_for_Tegra//jetson-init-source/jetson-derive-carrierPINMUX_CONFIGGPIOINT_CONFIGPMC_CONFIG.xlsmdocuments.custom_carrier_pinmux_xlsdocuments.ref_devkit_pinmux_xlsmodify_pinmux.pyopenpyxl>=3.1references/procedure.mdcustom_carrier:.xlsmdocuments.custom_carrier_pinmux_xlsdocuments.ref_devkit_pinmux_xlsdocuments.root_pathmodify_pinmux.py probe<KB>/pinmap/<custom-carrier>.jsonsession.jsonmodify_pinmux.py lookupconfigurable: yes/noAskUserQuestionsfiodirectioninitial_statepulldrive_typeopen_drainconfigurable: yestristatee_inputdirectionmodify_pinmux.py generate --out-dir <source.root_path>/Linux_for_Tegra/bootloader/bootloader/generic/BCT/.dtstegra<soc>-mb1-bct-{pinmux,gpio,padvoltage}-<carrier-key>.dtsi<carrier-key>PINMUX_CONFIG=<profile-stem>.jetson-customize-pinmux.jsonsession.json<workspace>/target-platform/OVERLAY_DTB_FILErender_conf.pyPINMUX_CONFIG=GPIOINT_CONFIG=PMC_CONFIG=/jetson-derive-carrier.dts#includegenerate/jetson-derive-carrier.dtsbootloader/generic/BCT/#include.dtsi…-p3834-xxxx-p4071-0000.dtsigenerate<CARRIER_KEY>.dtsibootloader/#include#include "tegra<soc>-mb1-bct-pinmux-<CARRIER_KEY>.dtsi"../../…cpp -I bootloader/references/procedure.md.dtsconfigurable: yesLP5XA_*UPHYDS_*BDMIPI16X_*lookupconfigurable: yes/notristatee_inputunusedinputbidirectionalsfio=gpiogpio=GPIOn_PD.NNsfioset-pin// custom-bsp: pinmuxgeneratemodify_pinmux.pysession.json--kb-dirmodify_pinmux.py commitpinmux.warnings[]<bsp_image.root_path><source.root_path>/Linux_for_Tegra/bootloader/| Script | Purpose | Arguments |
|---|---|---|
| XLSM parser + per-pin DTSI generator. Invoked via | |
| Renders pinmux/GPIO/padvoltage DTSI fragments from the bundled session state. Called by | |
run_script()# run_script: probe the carrier pinmux XLSM and write a session state
scripts/modify_pinmux.py probe --xlsm carrier.xlsm --session .pinmux-session.json
# run_script: render DTSI fragments from the final session state
scripts/modify_pinmux.py generate --session .pinmux-session.json --out-dir bsp_sources/pinmux/references/procedure.mdquestions.json../../references/platform_template.yamldocuments:ref_devkit_pinmux_xlscustom_carrier_pinmux_xls../../context/bsp-customization-workflow.md../jetson-derive-carrier/SKILL.mdPINMUX_CONFIG=GPIOINT_CONFIG=PMC_CONFIG=../jetson-init-source/SKILL.md../jetson-link-docs/SKILL.mddocuments: