From 9e25538c2afa15efd68a12c484fc8d3277dd119d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E5=B0=8F=E7=99=BD?= <17625331900@163.com> Date: Sat, 20 Dec 2025 08:56:25 +0000 Subject: [PATCH 1/5] update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 19dccce..93cd07d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +# 通知: 本项目已经正式迁移至 [AtomGit](https://atomgit.com/openeuler/ubutils) 平台 # 📌 Introduction Ubutils is the basic DFX tool of ubus, including setub, lsub and ub.ids. -- Gitee From 2ce07196d8ce45d428ad5ec197e3cf73574dc3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E5=B0=8F=E7=99=BD?= <17625331900@163.com> Date: Sat, 20 Dec 2025 08:56:26 +0000 Subject: [PATCH 2/5] update README.md --- .../README.md" | 1 + 1 file changed, 1 insertion(+) create mode 100644 ".\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" diff --git "a/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" "b/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" new file mode 100644 index 0000000..b96a07a --- /dev/null +++ "b/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" @@ -0,0 +1 @@ +# 通知: 本项目已经正式迁移至 [AtomGit](https://atomgit.com/openeuler/ubutils) 平台 -- Gitee From e3e1b4cba9f5953bf8b8a813edc2610f9d79ec8b Mon Sep 17 00:00:00 2001 From: ibforu Date: Tue, 23 Dec 2025 03:48:11 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20.?= =?UTF-8?q?=E6=9C=AC=E9=A1=B9=E7=9B=AE=E5=B7=B2=E7=BB=8F=E6=AD=A3=E5=BC=8F?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=87=B3=20AtomGit=20=E5=B9=B3=E5=8F=B0/READ?= =?UTF-8?q?ME.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../README.md" | 1 - 1 file changed, 1 deletion(-) delete mode 100644 ".\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" diff --git "a/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" "b/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" deleted file mode 100644 index b96a07a..0000000 --- "a/.\346\234\254\351\241\271\347\233\256\345\267\262\347\273\217\346\255\243\345\274\217\350\277\201\347\247\273\350\207\263 AtomGit \345\271\263\345\217\260/README.md" +++ /dev/null @@ -1 +0,0 @@ -# 通知: 本项目已经正式迁移至 [AtomGit](https://atomgit.com/openeuler/ubutils) 平台 -- Gitee From e8a0deed090f0ed9a073b084d655b17676fdc97c Mon Sep 17 00:00:00 2001 From: ibforu Date: Tue, 23 Dec 2025 03:48:29 +0000 Subject: [PATCH 4/5] update README.md. Signed-off-by: ibforu --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93cd07d..4aa6419 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 通知: 本项目已经正式迁移至 [AtomGit](https://atomgit.com/openeuler/ubutils) 平台 + # 📌 Introduction Ubutils is the basic DFX tool of ubus, including setub, lsub and ub.ids. -- Gitee From c9b35efa37f80b0a31040af27a12086f11fdd6db Mon Sep 17 00:00:00 2001 From: Jianquan Lin Date: Thu, 18 Dec 2025 16:25:33 +0800 Subject: [PATCH 5/5] ub:ubutils: Add example for lsub -t driver inclusion category: Bugfix bugzilla: https://gitee.com/openeuler/ubutils/issues/IDAMER CVE: NA ----------------------------------------------------------- add example for lsub -t in lsub.man Signed-off-by: Anzhe Li --- README.md | 4 +--- include/ubutils.h | 2 +- lsub.man | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 19dccce..4629b83 100644 --- a/README.md +++ b/README.md @@ -94,9 +94,7 @@ Kernel version: openeuler OLK-6.6 # 📄 Connection and contribution -Issue feedback: Submit an issue in the openeuler community -Code contribution: Follow Huawei's kernel coding standards and submit patches via Gerrit - +Issue feedback: Submit an issue in the openeuler community. # 📌 Copyright Notice diff --git a/include/ubutils.h b/include/ubutils.h index 34f53f0..afc46e6 100644 --- a/include/ubutils.h +++ b/include/ubutils.h @@ -13,7 +13,7 @@ #include #include -#define UBUTILS_VERSION "1.0.1.rc1" +#define UBUTILS_VERSION "1.0.1" #define UB_SYS_DIR_LEN 1024 #define OBJBUFSIZE 1024 #define OBJNAMELEN 1024 diff --git a/lsub.man b/lsub.man index e26617a..a75fe30 100644 --- a/lsub.man +++ b/lsub.man @@ -22,6 +22,22 @@ Show detailed help on available options. This option should be used stand-alone. .TP .B -t Show a topo-like diagram containing all entities, ports and connections between them. +For example topo like: ++----------------+ +-------+ +|Bus controller0 |port0:---:port0| UBPU0 | ++----------------+ +-------+ ++----------------+ +-------+ +|Bus controller0 |port1:---:port0| UBPU1 | ++----------------+ +-------+ +Bus controller0 entity num: [00001] or "00001"( using "" if it appears again) +UBPU0 entity num: [00002] +UBPU1 entity num: [00003] +port0: 000 +port1: 001 +it will show: +---[00001]-+-000-000---[00002]---000-000---"00001" + \-001-000---[00003]---000-001---"00001" + .TP .B -l Show UB entities list. This list can display the connection between MUE(management UB entity) and -- Gitee