diff --git a/ti-k3conf/readme.log b/ti-k3conf/readme.log index 097608a85dc460464323a7d6d776a2cbe4f8c4cb..37096c8df986915926582c0d2e73eec286398e5e 100644 --- a/ti-k3conf/readme.log +++ b/ti-k3conf/readme.log @@ -1 +1,3 @@ * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 diff --git a/ti-k3conf/suite/bookworm/debian/changelog b/ti-k3conf/suite/bookworm/debian/changelog index c64e634d8b656f6e4ccfab7435a478039956437a..7a43f65142054e9eb66e8df4aaab1bddb1d13d71 100644 --- a/ti-k3conf/suite/bookworm/debian/changelog +++ b/ti-k3conf/suite/bookworm/debian/changelog @@ -1,6 +1,8 @@ -ti-k3conf (0.3.0-0.git20240306.0-0~bookworm+20240327) bookworm; urgency=low +ti-k3conf (0.3.0-0.git20240725.0-0~bookworm+20250203) bookworm; urgency=low * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 - -- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 16:29:14 -0500 + -- Robert Nelson <robertcnelson@gmail.com> Mon, 03 Feb 2025 16:11:10 -0600 diff --git a/ti-k3conf/suite/bullseye/debian/changelog b/ti-k3conf/suite/bullseye/debian/changelog index 65a7860d395d3b39f705243bb9633ed322c09493..8bdacd7ee457871899f6996b69e139257e3ebde0 100644 --- a/ti-k3conf/suite/bullseye/debian/changelog +++ b/ti-k3conf/suite/bullseye/debian/changelog @@ -1,6 +1,8 @@ -ti-k3conf (0.3.0-0.git20240306.0-0~bullseye+20240327) bullseye; urgency=low +ti-k3conf (0.3.0-0.git20240725.0-0~bullseye+20250203) bullseye; urgency=low * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 - -- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 16:29:14 -0500 + -- Robert Nelson <robertcnelson@gmail.com> Mon, 03 Feb 2025 16:11:10 -0600 diff --git a/ti-k3conf/suite/jammy/debian/changelog b/ti-k3conf/suite/jammy/debian/changelog index 82dc48c78ad7995b09a956fa5102d6f818990cfe..006e97d8349d513f566b4d55b66e24bf5606a264 100644 --- a/ti-k3conf/suite/jammy/debian/changelog +++ b/ti-k3conf/suite/jammy/debian/changelog @@ -1,6 +1,8 @@ -ti-k3conf (0.3.0-0.git20240306.0-0~jammy+20240327) jammy; urgency=low +ti-k3conf (0.3.0-0.git20240725.0-0~jammy+20250203) jammy; urgency=low * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 - -- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 16:29:14 -0500 + -- Robert Nelson <robertcnelson@gmail.com> Mon, 03 Feb 2025 16:11:10 -0600 diff --git a/ti-k3conf/suite/noble/debian/changelog b/ti-k3conf/suite/noble/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..447b86ca9e1fcb0d6e01f81f35e7f779004c9507 --- /dev/null +++ b/ti-k3conf/suite/noble/debian/changelog @@ -0,0 +1,8 @@ +ti-k3conf (0.3.0-0.git20240725.0-0~noble+20250203) noble; urgency=low + + * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 + + -- Robert Nelson <robertcnelson@gmail.com> Mon, 03 Feb 2025 16:11:10 -0600 + diff --git a/ti-k3conf/suite/noble/debian/control b/ti-k3conf/suite/noble/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..339fb81a5194ebbd21973bb5816a45fa5db5bb3c --- /dev/null +++ b/ti-k3conf/suite/noble/debian/control @@ -0,0 +1,20 @@ +Source: ti-k3conf +Section: devel +Priority: optional +Maintainer: Robert Nelson <robertcnelson@gmail.com> +Build-Depends: + debhelper-compat (= 13) + , cmake +Standards-Version: 4.5.1 +Homepage: https://git.ti.com/cgit/k3conf/k3conf + +Package: ti-k3conf +Architecture: arm64 +Depends: + ${misc:Depends} + , ${shlibs:Depends} +Description: Powerful Diagnostic Tool for Texas Instruments K3 based Processors + K3CONF is a Linux user-space application designed to provide a quick'n easy way + to dynamically diagnose Texas Instruments' K3 architecture based processors. + k3conf is intended to provide a similar experience to that of OMAPCONF that + runs on legacy TI platforms. diff --git a/ti-k3conf/suite/noble/debian/copyright b/ti-k3conf/suite/noble/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..8994aab9fc245ae4ae3aaed1ed420f53e3689f8f --- /dev/null +++ b/ti-k3conf/suite/noble/debian/copyright @@ -0,0 +1,178 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: k3conf +Upstream-Contact: Texas Instruments +Source: https://git.ti.com/cgit/k3conf/k3conf + +Files: common/autoadjust_table.c + common/cmd_disable.c + common/cmd_dump.c + common/cmd_enable.c + common/cmd_rw.c + common/cmd_set.c + common/cmd_show.c + common/help.c + common/k3conf.c + common/mmio.c + common/sec_proxy.c + common/socinfo.c + common/tisci/tisci_clock.c + common/tisci/tisci_core.c + common/tisci/tisci_device.c + include/autoadjust_table.h + include/help.h + include/k3conf.h + include/mmio.h + include/sec_proxy.h + include/socinfo.h + include/tisci.h + include/tisci_protocol.h + include/version.h + soc/am62ax/am62ax_clocks_info.c + soc/am62ax/am62ax_clocks_info.h + soc/am62ax/am62ax_devices_info.c + soc/am62ax/am62ax_devices_info.h + soc/am62ax/am62ax_host_info.c + soc/am62ax/am62ax_host_info.h + soc/am62ax/am62ax_processors_info.c + soc/am62ax/am62ax_processors_info.h + soc/am62ax/am62ax_rm_info.c + soc/am62ax/am62ax_rm_info.h + soc/am62ax/am62ax_sec_proxy_info.c + soc/am62ax/am62ax_sec_proxy_info.h + soc/am62x/am62x_clocks_info.c + soc/am62x/am62x_clocks_info.h + soc/am62x/am62x_devices_info.c + soc/am62x/am62x_devices_info.h + soc/am62x/am62x_host_info.c + soc/am62x/am62x_host_info.h + soc/am62x/am62x_processors_info.c + soc/am62x/am62x_processors_info.h + soc/am62x/am62x_rm_info.c + soc/am62x/am62x_rm_info.h + soc/am62x/am62x_sec_proxy_info.c + soc/am62x/am62x_sec_proxy_info.h + soc/am64x/am64x_clocks_info.c + soc/am64x/am64x_clocks_info.h + soc/am64x/am64x_devices_info.c + soc/am64x/am64x_devices_info.h + soc/am64x/am64x_host_info.c + soc/am64x/am64x_host_info.h + soc/am64x/am64x_processors_info.c + soc/am64x/am64x_processors_info.h + soc/am64x/am64x_rm_info.c + soc/am64x/am64x_rm_info.h + soc/am64x/am64x_sec_proxy_info.c + soc/am64x/am64x_sec_proxy_info.h + soc/am65x/am65x_clocks_info.c + soc/am65x/am65x_clocks_info.h + soc/am65x/am65x_devices_info.c + soc/am65x/am65x_devices_info.h + soc/am65x/am65x_host_info.c + soc/am65x/am65x_host_info.h + soc/am65x/am65x_processors_info.c + soc/am65x/am65x_processors_info.h + soc/am65x/am65x_rm_info.c + soc/am65x/am65x_rm_info.h + soc/am65x/am65x_sec_proxy_info.c + soc/am65x/am65x_sec_proxy_info.h + soc/am65x_sr2/am65x_sr2_clocks_info.c + soc/am65x_sr2/am65x_sr2_clocks_info.h + soc/am65x_sr2/am65x_sr2_devices_info.c + soc/am65x_sr2/am65x_sr2_devices_info.h + soc/am65x_sr2/am65x_sr2_host_info.c + soc/am65x_sr2/am65x_sr2_host_info.h + soc/am65x_sr2/am65x_sr2_processors_info.c + soc/am65x_sr2/am65x_sr2_processors_info.h + soc/am65x_sr2/am65x_sr2_rm_info.c + soc/am65x_sr2/am65x_sr2_rm_info.h + soc/am65x_sr2/am65x_sr2_sec_proxy_info.c + soc/am65x_sr2/am65x_sr2_sec_proxy_info.h + soc/j7200/j7200_clocks_info.c + soc/j7200/j7200_clocks_info.h + soc/j7200/j7200_devices_info.c + soc/j7200/j7200_devices_info.h + soc/j7200/j7200_host_info.c + soc/j7200/j7200_host_info.h + soc/j7200/j7200_processors_info.c + soc/j7200/j7200_processors_info.h + soc/j7200/j7200_rm_info.c + soc/j7200/j7200_rm_info.h + soc/j7200/j7200_sec_proxy_info.c + soc/j7200/j7200_sec_proxy_info.h + soc/j721e/j721e_clocks_info.c + soc/j721e/j721e_clocks_info.h + soc/j721e/j721e_devices_info.c + soc/j721e/j721e_devices_info.h + soc/j721e/j721e_host_info.c + soc/j721e/j721e_host_info.h + soc/j721e/j721e_processors_info.c + soc/j721e/j721e_processors_info.h + soc/j721e/j721e_rm_info.c + soc/j721e/j721e_rm_info.h + soc/j721e/j721e_sec_proxy_info.c + soc/j721e/j721e_sec_proxy_info.h + soc/j721s2/j721s2_clocks_info.c + soc/j721s2/j721s2_clocks_info.h + soc/j721s2/j721s2_devices_info.c + soc/j721s2/j721s2_devices_info.h + soc/j721s2/j721s2_host_info.c + soc/j721s2/j721s2_host_info.h + soc/j721s2/j721s2_processors_info.c + soc/j721s2/j721s2_processors_info.h + soc/j721s2/j721s2_rm_info.c + soc/j721s2/j721s2_rm_info.h + soc/j721s2/j721s2_sec_proxy_info.c + soc/j721s2/j721s2_sec_proxy_info.h + soc/j784s4/j784s4_clocks_info.c + soc/j784s4/j784s4_clocks_info.h + soc/j784s4/j784s4_devices_info.c + soc/j784s4/j784s4_devices_info.h + soc/j784s4/j784s4_host_info.c + soc/j784s4/j784s4_host_info.h + soc/j784s4/j784s4_processors_info.c + soc/j784s4/j784s4_processors_info.h + soc/j784s4/j784s4_rm_info.c + soc/j784s4/j784s4_rm_info.h + soc/j784s4/j784s4_sec_proxy_info.c + soc/j784s4/j784s4_sec_proxy_info.h +Copyright: 2010-2023 Texas Instruments Incorporated - https://www.ti.com/ + 2019 Texas Instruments Incorporated - https://www.ti.com/ Lokesh Vutla <lokeshvutla@ti.com> + 2019 Texas Instruments Incorporated - https://www.ti.com/ Lokesh Vutla <lokeshvutla@ti.com> Nishanth Menon <nm@ti.com> +License: __UNKNOWN__ + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + . + Neither the name of Texas Instruments Incorporated nor the names of + its contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: .gitignore + Makefile + README.md +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/ti-k3conf/suite/noble/debian/k3conf.1 b/ti-k3conf/suite/noble/debian/k3conf.1 new file mode 100644 index 0000000000000000000000000000000000000000..8577eceb42737ce383d16c76e77f92af90bfafb3 --- /dev/null +++ b/ti-k3conf/suite/noble/debian/k3conf.1 @@ -0,0 +1,139 @@ +.TH K3CONF 1 +.SH NAME +k3conf - TI K3 Configuration Diagnostic Tool +.SH SYNOPSIS +k3conf - [--host <id>] [--version] [--help] [--cpuinfo] <command> [<args>] +.SH DESCRIPTION +k3conf is a standalone application designed to provide a quick'n easy way to diagnose/debug/audit TI K3 based architecture processors configuration at runtime, with no particular kernel dependency. +k3conf is designed to be as platform-agnostic as possible, being able to run on any Linux platform and easy to port to any other OS. +Even if k3conf today focuses on TISCI related functionality, it is intended to any other area. +.SH OPTIONS +.TP +.BR \--host <id> +Use this host id for communicating with sysfw +.TP +.BR \--help +Print k3conf help +.TP +.BR \--version +Print k3conf version +.TP +.B \--cpuinfo +Print the host processor information +.SH COMMANDS +.TP +.BR "k3conf show hosts" +Prints all the available TISCI hosts +.TP +.BR "k3conf show threads" +Prints all available TISCI threads +.TP +.BR "k3conf show device" +Prints all available TISCI devices +.TP +.BR "k3conf show device <dev_id> +Prints the corresponding device id information +.TP +.BR "k3conf show clock" +Prints all the available TISCI clocks +.TP +.BR "k3conf show clock <dev_id>" +Prints the clock for corresponding device id +.TP +.BR "k3conf show processor" +Prints all the available TISCI processors +.TP +.BR "k3conf show rm" +Prints the resources managed by system firmware +.TP +.BR "k3conf show rm <dev_id>" +Prints resources managed by System firmware for corresponding device +.TP +.BR "k3conf dump device" +Prints device status of all TISCI devices +.TP +.BR "k3conf dump device <dev_id>" +Prints device status of corresponding TISCI device +.TP +.BR "k3conf dump clock" +Prints clock status of all TISCI devices +.TP +.BR "k3conf dump clock <dev_id>" +Prints clock status of corresponding TISCI device. +.TP +.BR "k3conf dump parent_clock <dev_id> <clk_id>" +Prints the clock parent of corresponding clock +.TP +.BR "k3conf dump processors" +Prints status of all available processors +.TP +.BR "k3conf dump processor <dev_id>" +Prints status of corresponding processor +.TP +.BR "k3conf dump rm [OPTIONS]" +Prints resource allocation for all utypes / hosts +.TP +.BR "k3conf dump rm [OPTIONS] <type>" +Prints resource allocation for corresponding utype +.TP +\fBk3conf dump rm [OPTIONS] <type> <subtype>\fP +Prints resource allocation for corresponding type and subtype +.RS 7 +.TP +[OPTIONS] +-h <host_id> +Filter only corresponding host_id +.RE +.TP +.BR "k3conf enable device <dev_id>" +Enables TISCI device and prints the status +.TP +.BR "k3conf enable clock <dev_id> <clk_id>" +Enables TISCI clock and prints the status +.TP +.BR "k3conf disable device <dev_id>" +Disables TISCI device and prints the status +.TP +.BR "k3conf disable clock device <dev_id> <clk_id>" +Disables TISCI clock and prints the status +.TP +.BR "k3conf set clock <dev_id> <clk_id> <freq>" +Sets TISCI clock's frequency and prints the status +.TP +.BR "k3conf set parent_clock <dev_id> <clk_id> <freq>" +.RS +Sets the parent clock for a clock mux and prints the mux status +.RE +.RS +Refer to the following documentation for preconditions +.RE +.RS +.UR +http://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/clocks.html#power-management-clock-frequency-configure +.RE +.RS +.UR +http://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/clocks.html#tisci-msg-set-clock-parent +.RE +.TP +.BR "k3conf read <addr> [<size>]" +.RS +No. of bits to be read is given in the size argument +.RE +.RS +Expected input size is 8,16,32,64 +.RE +.RS +Prints the value at the specified io memory +.RE +.TP +\fBk3conf write <addr> <val> [<size>]\fP +.RS +No. of bits to be written is given in the size argument +.RE +.RS +Expected input size is 8,16,32,64 +.RE +.RS +Writes the value at the specified io memory +.RE diff --git a/ti-k3conf/suite/noble/debian/k3conf.manpages b/ti-k3conf/suite/noble/debian/k3conf.manpages new file mode 100644 index 0000000000000000000000000000000000000000..e63fcd69a027040c98e35fc4f0bdde59ae241978 --- /dev/null +++ b/ti-k3conf/suite/noble/debian/k3conf.manpages @@ -0,0 +1 @@ +debian/k3conf.1 diff --git a/ti-k3conf/suite/noble/debian/rules b/ti-k3conf/suite/noble/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..af6ab78a9edc2a21bc9e68c047e32dec51f62a27 --- /dev/null +++ b/ti-k3conf/suite/noble/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +# reprepro can't handle ubuntu's deb-dbg... +DEB_BUILD_OPTIONS=noautodbgsym + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_builddeb: + dh_builddeb -- -Zxz diff --git a/ti-k3conf/suite/noble/debian/watch b/ti-k3conf/suite/noble/debian/watch new file mode 100644 index 0000000000000000000000000000000000000000..76575dc53be50902dfb29e654996481aa57d6090 --- /dev/null +++ b/ti-k3conf/suite/noble/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 diff --git a/ti-k3conf/suite/trixie/debian/changelog b/ti-k3conf/suite/trixie/debian/changelog index 7c31d1f475f90ef00e49a9ddff69852ee1574e93..894aca51703d23c02671624738d26170702b1485 100644 --- a/ti-k3conf/suite/trixie/debian/changelog +++ b/ti-k3conf/suite/trixie/debian/changelog @@ -1,6 +1,8 @@ -ti-k3conf (0.3.0-0.git20240306.0-0~trixie+20240327) trixie; urgency=low +ti-k3conf (0.3.0-0.git20240725.0-0~trixie+20250203) trixie; urgency=low * k3conf 0.3.0 + * https://git.ti.com/cgit/k3conf/k3conf/ + * soc: Add support for J742s2 - -- Robert Nelson <robertcnelson@gmail.com> Wed, 27 Mar 2024 16:29:14 -0500 + -- Robert Nelson <robertcnelson@gmail.com> Mon, 03 Feb 2025 16:11:10 -0600 diff --git a/ti-k3conf/version.sh b/ti-k3conf/version.sh index d424e8c3b71839b293c8ed4eb4b82102bdcd073d..47e266b5ea847cfb2744da5e8fbbb53978dda21b 100644 --- a/ti-k3conf/version.sh +++ b/ti-k3conf/version.sh @@ -4,12 +4,12 @@ package_name="ti-k3conf" debian_pkg_name="${package_name}" -package_version="0.3.0-0.git20240306.0" +package_version="0.3.0-0.git20240725.0" package_source="${package_name}_${package_version}.orig.tar.xz" src_dir="${package_name}_${package_version}" git_repo="https://git.ti.com/git/k3conf/k3conf.git" -git_sha="85a7433202aafafbccea8a7b2491f4df8b1ecd80" +git_sha="30a1d5b2d08c0da39d4e62b3ebee591a9882fa21" reprepro_dir="t/${package_name}" dl_path="" @@ -19,7 +19,8 @@ debian_diff="" clear_changelog="enable" -bullseye_version="~bullseye+20240327" -bookworm_version="~bookworm+20240327" -trixie_version="~trixie+20240327" -jammy_version="~jammy+20240327" +bullseye_version="~bullseye+20250203" +bookworm_version="~bookworm+20250203" +trixie_version="~trixie+20250203" +jammy_version="~jammy+20250203" +noble_version="~noble+20250203"