(请从 RuyiSDK、CNRV、openEuler 等公众号以及相关群聊中汇总素材)
功能更新
- 5227604: [riscv] Enable OOB trap handler | https://chromium-review.googlesource.com/c/v8/v8/+/5227604
- 5309945: [gm.py] Support android_riscv64 builds | https://chromium-review.googlesource.com/c/v8/v8/+/5309945 其他upstream port
- 5304570: [riscv] Port some patch | https://chromium-review.googlesource.com/c/v8/v8/+/5304570
- 5316165: [wasm][liftoff][riscv] Fix LoadTaggedPointer | https://chromium-review.googlesource.com/c/v8/v8/+/5316165
- 5319782: [riscv][builtins] About fast C calls CLs | https://chromium-review.googlesource.com/c/v8/v8/+/5319782
- 5323535: [riscv] fix turboshaft/turboshaft-maglev-frontend | https://chromium-review.googlesource.com/c/v8/v8/+/5323535
- 5260614: [riscv][heap] Check that we do not allocate in fast c calls | https://chromium-review.googlesource.com/c/v8/v8/+/5260614
- Reviewed JDK-mainline PRs:
- openjdk/jdk#17130 (8322179: RISC-V: Implement SHA-1 intrinsic)
- openjdk/jdk#17206 (8322790: RISC-V: Tune costs for shuffles with no conversion)
- openjdk/jdk#17046 (8317721: RISC-V: Implement CRC32 intrinsic)
- openjdk/jdk#17413 (8322174: RISC-V: C2 VectorizedHashCode RVV Version)
- openjdk/jdk#17436 (8323694: RISC-V: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe)
- openjdk/jdk#16989 (8321308: AArch64: Fix matching predication for cbz/cbnz)
- openjdk/jdk#17372 (8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe)
- openjdk/jdk#17511 (8324186: AARCH64: Use "dmb.ishst+dmb.ishld" for release barrier)
- openjdk/jdk#17277 (8321137: Reconsider ICStub alignment)
- openjdk/jdk#17450 (JDK-8318228: RISC-V: C2 ConvF2HF)
- openjdk/jdk#17498 (8323748: RISC-V: Add Zfh probe code)
- openjdk/jdk#17519 (8324304: RISC-V: add hw probe flags)
- openjdk/jdk#17513 (8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode)
- openjdk/jdk#17495 (8322630: Remove ICStubs and related safepoints)
- openjdk/jdk#17548 (8324125: Improve class initialization barrier in TemplateTable::_new for RISC-V)
- openjdk/jdk#17646 (8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information)
- Testing before Rampdown/CodeFreeze for LTS versions: OpenJDK 21.0.3 and OpenJDK 17.0.11
- Run OpenJDK tier1-4 regression tests on Unmatched and Licheepi-4A boards.
- Run MineCraft and typical Apache softwares (Netbeans, Lucene, Tomcat, Hadoop, Spark)
- jdk11u riscv64 backport PR is ready:
- openjdk/riscv-port-jdk11u#3 (8276799: Implementation of JEP 422: Linux/RISC-V Port)
- Finished second round of code review and comments are resolved.
- Performed regression testing on both Unmatched and LicheePi-4A boards.
- openjdk/riscv-port-jdk11u#6 (8283929: GHA: Add RISC-V build config)
- openjdk/jdk11u-dev#2549 (8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs')
- JDK-mainline PRs:
- openjdk/jdk#17554 (8319900: Recursive lightweight locking: riscv64 implementation)
- JDK17U backport PRs:
- openjdk/jdk17u-dev#2178 (8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode)
- openjdk-riscv/jdk11u#597 (Adding Register Groups to Long Type Registers)
-
面向 Packed SIMD (RVP) 扩展的DNN模块热点函数优化工作已被上游接受。在 Tinker V (AndesCore AX45MP) 开发板上测得的数据显示,Int8 模型推理场景能够获得 1.95 倍的性能提升。
PR #24556: Optimization based on RISC-V P Packed SIMD Extension v0.5.2
- 提交了香山处理器的微架构gcc支持patch,正在等待review中:
- 根据Kito的建议重写了Zcmp的支持patch,等待review中:
- 提交了Zabha的binutils支持,收到了Jan Beulich的建议,修改后重发了第二版patch,等待新一轮review:
- 补充了RV64ILP32的README文档:
- 提交了RV64ILP32的gcc,binutils支持到RUYISDK
- 正在实现Zaamo的GCC支持
- 完成了Backporting RISC-V特性到RUYISDK GCC11上的RISC-V支持,正在进行测试验证工作:
- 完成了Backporting RISC-V特性到RUYISDK GCC12上的RISC-V支持,正在进行测试验证工作:
- 准备RISC-V optimization guide的文档介绍与示例说明中
- 提交了Zabha扩展的gcc patch:
- 调研了GDB源码实现及RISC-V支持情况,进行了报告分享
- 完成了Backporting RISC-V特性到RUYISDK GCC11上的RISC-V支持,正在进行测试验证工作:
- 正在协助解决COREV-GCC中的issues
+- [InstCombine] Canonicalize the fcmp range check idiom into fabs + fcmp llvm/llvm-project#76367 +- [ValueTracking] Merge cannotBeOrderedLessThanZeroImpl into computeKnownFPClass llvm/llvm-project#76360 +- [InstCombine] Fold select with signbit idiom into fabs llvm/llvm-project#76342 +- [ConstraintElim] Simplify MinMaxIntrinsic llvm/llvm-project#75306 +- [InstCombine] Simplify and/or by replacing operands with constants llvm/llvm-project#77231 +- [RISCV] [MC] Add MC layer support for the experimental zabha extension llvm/llvm-project#80005 zabha扩展的MC支持 +- [InstCombine] Simplify commutative compares of symmetric pairs llvm/llvm-project#80134 支持icmp eq/ne min(a, b), max(a, b) -> icmp eq/ne a, b等pattern +- [ConstantRange] Improve ConstantRange::binaryXor llvm/llvm-project#80146 改进constantrange关于xor的计算 +- [RISCV] [ISel] Add codegen support for the experimental zabha extension llvm/llvm-project#80192 zabha的codegen支持 +- [Clang] [CodeGen] Mark _dynamic_cast as willreturn llvm/llvm-project#80409 将dynamic_cast 标记为willreturn以移除无用的调用 +- [InstCombine] Handle isNanOrInf idioms llvm/llvm-project#80414 将bitwise isNanOrInf实现规范为is.fpclass +- [InstCombine] Clean up bitwise folds without one-use check llvm/llvm-project#80587 移除InstCombine中的冗余fold代码 +- [InstCombine] Handle IsInf/IsZero idioms llvm/llvm-project#80607 将bitwise isInf/isZero实现规范为is.fpclass +- [InstCombine] Fix assertion failure in issue80597 llvm/llvm-project#80614 修复llvm/llvm-project#80597 中konwnbits冲突导致断言失败的问题 +- [ValueTracking] [NFC] Pass SimplifyQuery to computeKnownFPClass family llvm/llvm-project#80657 将SimplifyQuery传入computeKnownFPClass以利用DomConditionCache +- [ValueTracking] Compute known FPClass from signbit idiom llvm/llvm-project#80740 利用上下文推导浮点符号 +- [PatternMatch] Add a matching helper m_ElementWiseBitCast. NFC. llvm/llvm-project#80764 增加新的pattern matching helper以减少为了避免错误bitcast的代码重复 +- [InstCombine] Simplify the overflow result of umulov X, X llvm/llvm-project#80796 快速判断X的平方是否无符号溢出 +- [InstCombine] Try to freely invert phi nodes llvm/llvm-project#80804 扩展getfreelyinvertedimpl以支持phi nodes +- [ValueTracking] Compute known FPClass from dominating condition llvm/llvm-project#80941 利用上下文推导浮点类型 +- [InstCombine] Canonicalize fcmp with inf llvm/llvm-project#80986 规范与inf的比较以启用更多优化 +- [InstSimplify] Generalize simplifyAndOrOfFCmps llvm/llvm-project#81027 优化fcmp ord/une和其它fcmp的合并 +- [ValueTracking] Move the isSignBitCheck helper into ValueTracking. NFC. llvm/llvm-project#81704 把isSignBitCheck从InstCombine移到ValueTracking以减少代码重复 +- [InstSimplify] [InstCombine] Remove unnecessary m_c* matchers. llvm/llvm-project#81712 移除无用的可交换匹配,因为立即数总是在RHS +- [ValueTracking] Fix computeKnownFPClass for fpext llvm/llvm-project#81972 修复fpext的fpclass推导中未考虑subnorm->norm的情况 +- [FlattenCFG] Fix the miscompilation where phi nodes exist in the merge point llvm/llvm-project#81987 修复flattencfg中merge point的phi node未正确修改的问题 +- [ConstraintElim] Decompose sext-like insts for signed predicates llvm/llvm-project#82344 在constraintelim中支持sext/zext nneg +- [InstCombine] Support zext nneg in foldLogicCastConstant llvm/llvm-project#82355 在foldLogicCastConstant中支持zext nneg +- [InstCombine] Add support for cast instructions in getFreelyInvertedImpl llvm/llvm-project#82451 在getFreelyInvertedImpl中支持sext/zext nneg/trunc +- [RISCV] [SDAG] Improve codegen of select with constants if zicond is available llvm/llvm-project#82456 改进有zicond时select cond, C1, C2的codegen +- [RISCV] [SDAG] Fold select c, ~x, x into xor -c, x llvm/llvm-project#82462 改进select cond, C, ~C的codegen +- [CVP] Canonicalize signed minmax into unsigned llvm/llvm-project#82478 把smin/smax nneg规范为umin/umax +- [CVP] Refactor processMinMaxIntrinsic to check non-strict predicate in both directions llvm/llvm-project#82596 在优化minmax时检查<=和>=而不是原先的<=和> +- [ValueTracking] Handle more integer intrinsics in propagatesPoison llvm/llvm-project#82749 支持更多intrisic的poison传递 +- [ValueTracking] [NFC] Early exit when enumerating guaranteed well-defined/non-poison operands llvm/llvm-project#82812 移除冗余的临时缓冲区,改善编译时间 +- [InstCombine] Fold umax(smax)/smin(umin) with non-negative constants llvm/llvm-project#82929 支持混合符号min/max的合并 +- [GVN] Drop nsw/nuw flags when replacing the result of a with.overflow intrinsic with a overflowing binary operator llvm/llvm-project#82935 修复https://github.com/llvm/llvm-project/issues/82884中合并后未正确丢弃nuw nsw flag的问题 +- [RISCV][ISel] Combine vector fadd/fsub/fmul with fp extend. (llvm/llvm-project#81248) +- [RISCV][ISel] Remove redundant vmerge for vwsub(u).wv. (llvm/llvm-project#80523) +- [RISCV][Isel] Remove redundant vmerge for the scalable vwadd(u).wv (llvm/llvm-project#80079)
- 调研EPI向量化实现方式,pass迁移过程中
- 尝试交叉编译spec cpu 2017,验证了flang暂时不支持交叉编译:llvm/llvm-project#82494
- [Clang][XTHeadVector] Implement 12.3 vadc/vsbc/vmadc/vmsbc
- [Clang][XTHeadVector] Implement 12.4 vand/vor/vxor/vnot
- [Clang][XTHeadVector] Implement 12.5 vsll/vsrl/vsra
- [Clang][XTHeadVector] implement 12.6 vnsra/vnsrl
- 开始逐步向 LLVM 上游提交已经完成的 T-Head Vector 指令集支持。
- 本地编译spec cpu2017, rv64gc, rv4gcv, rv64gc_zba_zbb_zbs,并提供可运行程序https://mirror.iscas.ac.cn/plct/flang/
- 正在尝试解决的521 flang -O3编译错误
Follow upstream updates, routine maintenance.
xctan
- [RV64_DYNAREC] Optimized XOR Ew, Gw when Ew == Gw
- [WRAPPERS] Fixed some typos in rebuild_wrappers.py
ksco
- [RV64_INTERP] Added TSC freq support
- [CI] Repeat until-pass for unstable platform
- [RV64_DYNAREC] Fixed RDTSC handling
- [RV64_INTERP] Comply CMPXCHG16B with dynarec
- [RV64_DYNAREC] Added missing 0F 38 00 PSHUFB opcode for test23
- [RV64_DYNAREC] Added all missing 66 0F opcodes for test17
- [RV64_DYNAREC] Added 2 more 66 0F opcodes for test17
- [RV64_DYNAREC] Added more opcodes
- [RV64_DYNAREC] Added more opcodes
- [DYNAREC_RV64] Minor OF flag fixes and optimizations for emit shift utils
- [LIBTOOL] Fixed my_pthread_attr_init
- [DYNAREC_RV64] Added more opcodes and some minor optimizations
- Added mknod syscall
- backend/rv64: Implement basic Add32
- backend/rv64: Implement GetCFlagFromNZCV
- backend/rv64: Implement basic LogicalShiftRight32
- backend/rv64: Stub all IR instruction implementations
- externals/mcl: Add UNIMPLEMENTED macro
- backend/rv64: Implement A32SetCpsrNZCV
- backend/rv64: Implement GetNZCVFromOp
- backend/rv64: Implement basic Sub32
- backend/rv64: Implement Identity
- Use testfloat3 to generate more test cases
- Add TESTFLOAT3LEVEL option
- Fixed generator for vd,vs2,vm format
- Add REPEAT option
PLCT实验室的史宁宁依然每周在更新方舟编译器社区周报(OpenArkCompiler Weekly),目前已经更新到第 201 期。
方舟编译器周报每周日晚上通过 Repo、知乎、Bilibili 和邮件列表发布。
- Repo: https://github.com/isrc-cas/arkcompiler-materials
- 知乎:https://www.zhihu.com/column/c_1268247974020747264
- Bilibili:https://www.bilibili.com/read/readlist/rl199373
- 邮件列表及其订阅方式:https://gitee.com/openarkcompiler/OpenArkCompiler/issues/I1EWAX
- Buddy Compiler 入选 C4ML 2024 - https://www.c4ml.org/c4ml-2024
- Buddy Compiler 主页地址 - https://buddy-compiler.github.io/
- Buddy Compiler As A Service 地址 - https://buddy.isrc.ac.cn/
buddy-mlir
代码仓库:https://github.com/buddy-compiler/buddy-mlir
- Generate model and params for ResNet example.
- Add LeNet E2E example.
- Add verbose mode for torch dynamo compiler.
- Add static runner utils libraries for RVV environment.
buddy-benchmark
代码仓库:https://github.com/buddy-compiler/buddy-benchmark
- Add resize2D benchmark.
本期没有新的进展。
本期没有新的进展。
- 改进aclint使支持分离的hartid。1
- 为jump和payload类型的估计的固件添加相对地址fw_next_address。1
- 添加单元测试。1
- 改进用C降低汇编代码实现,规避sbi作为外部库时有多于的死代码。1
- 添加间接csr和计数器委托相关的扩展支持。1 2
- 修正hsm启动的一个bug,在唤醒失败后不应该修改hsm状态。1
- 非对其访问异常添加来自zcb的指令支持。1
- sbi_domain初始化时的地址对其检测确认符合pmp napot要求。1
本期没有新的进展。
Repo: | [core] | [extra] | ||||
---|---|---|---|---|---|---|
Arch name | Up-to-date (Ratio%) | Outdated | Missing | Up-to-date (Ratio%) | Outdated | Missing |
x86_64 (baseline) | 267 | 0 | 0 | 13635 | 0 | 0 |
x86-64-v2 | 215 (80.52%) | 0 | 52 | 7083 (51.95%) | 2 | 6550 |
x86-64-v3 | 217 (81.27%) | 0 | 50 | 7092 (52.01%) | 2 | 6541 |
x86-64-v4 | 207 (77.53%) | 0 | 60 | 6635 (48.66%) | 0 | 7000 |
i486 | 117 (43.82%) | 140 | 10 | 3313 (24.3%) | 6021 | 4301 |
i686 | 151 (56.55%) | 106 | 10 | 5803 (42.56%) | 6068 | 1764 |
pentium4 | 154 (57.68%) | 104 | 9 | 5726 (41.99%) | 6053 | 1856 |
aarch64 | 242 (90.64%) | 10 | 15 | 11167 (81.9%) | 258 | 2210 |
armv7h | 241 (90.26%) | 10 | 16 | 10745 (78.8%) | 473 | 2417 |
riscv64 | 242 (90.64%) | 17 | 8 | 10966 (80.43%) | 2131 | 538 |
loong64 | 120 (44.94%) | 139 | 8 | 6396 (46.91%) | 4114 | 3125 |
Upstreamed work:
- qemu: setsockopt() handler bug
- tmux-python.libtmux chore(tests): Increase time bias limit to 0.02
- nccl Add wc_store_fence support for RISC-V
- rust-lang/libc Add Linux riscv64 HWCAP defines
- cargo-semver-checks test(with_env_var, with_flag): Add riscv64
- riscv only supports split_debuginfo=off for now
- Map riscv64 linux to linux64-riscv64 and setup CIb
- fix go version in go.mod
- SwiftShader: Default to use llvm16
- linux-syscall-support: Fix compiler error on riscv64 (5239652)
- disable cpuinfo build for riscv64 (5256319) · Gerrit Code Review
- compiler-specific.h: only enable preserve_most for supported platforms (5256362)
- release-plz: Add
all-static
feature - (typescript) dprint: Allow building from source if no prebuilt binary is available
- (jumpy) bones: chore: Update rcgen to 0.12
- libnids: Update config.{guess,sub}
- nanogui: CMakeList.txt: only fall back native flags to -march=nehalem on x86_64
- workers-rs: Bump ureq version to 2.9.6
- meilisearch: Upgrade rustls to 0.21.10 and ring to 0.17
- atuin: feat: use ATUIN_TEST_SQLITE_STORE_TIMEOUT to specify test timeout of SQLite store
- wezterm: Upgrade rcgen to 0.12
- chromium: Fix Rust target triple for riscv64
- pavao: Add support for Linux RISC-V64
- fix: bump dependencies to support RISC-V platform
- 月报仓库维持月度更新
- 新增K230镜像以及ABI rv64ilp32版本
- 在外网论坛进行了宣传
- 在RevyOS docs新增了测试英文文档,替换了旧文档中的链接
- 处理客户提出的kicad以及编译内核问题
2024年2月份的主要工作:
- 维护 debci 测试机;
- 打包,包括 Sail 群包,其他一些 RFP的包
- 帮助社区调 t64 的问题
以下是外部链接:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060400#10 [close the bug]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064178 [xwayland-run]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064128 [liquidsoap ftbfs]
- https://salsa.debian.org/debian/strace/-/merge_requests/8 [strace mr 8]
- https://salsa.debian.org/debian/strace/-/merge_requests/7 [strace mr 7]
- https://salsa.debian.org/debian/strace/-/merge_requests/6 [strace mr 8]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021584#15 [ldc done]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064650#49 [snapd-glib patch]
- https://salsa.debian.org/vimerbf-guest/aemu [pacakge aemu]
- https://github.com/sail-for-debian/sail [sail for debian]
- https://github.com/sail-for-debian/sail-riscv [sail-riscv]
- https://github.com/sail-for-debian/bisect_ppx [bisect_ppx]
- https://github.com/sail-for-debian/ott [ott]
- https://github.com/sail-for-debian/linenoise [linenoise]
- https://github.com/sail-for-debian/linksem [linksem]
- https://github.com/sail-for-debian/lem [lem]
- https://github.com/sail-for-debian/omd [omd]
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059264#21 [qbs patch]
- nixos-riscv: Support for Duo 256M NickCao/nixos-riscv#14
- nixos-riscv: Make RNDIS networking work on Duo-256 NickCao/nixos-riscv#15
- qt6.qtbase: fix cross compilation NixOS/nixpkgs#287077
- qt6: replace stdenv.is* with stdenv.hostPlatform.is* NixOS/nixpkgs#290094
- way-displays: fix cross compilation, unset DESTDIR NixOS/nixpkgs#291856
- libei: fix cross compilation NixOS/nixpkgs#291857
- swaycons: mark available on all linux platforms NixOS/nixpkgs#291858
- wayland-pipewire-idle-inhibit: use rustPlatform.bindgenHook NixOS/nixpkgs#291899
- vultr-cli: only generate shell completion when doing native compilation NixOS/nixpkgs#292378
- pkg-config: set prefixed mainProgram for cross compilation NixOS/nixpkgs#292388
(可以根据每个人的产出分开,按照人名增加三级缩进,也可以由 leader/mentor 汇总后统一PR)
(可以根据每个人的产出分开,按照人名增加三级缩进,也可以由 leader/mentor 汇总后统一PR)
-
HiFive Unmatched开发板操作系统支持情况调研和测试
-
Zephyr on HiFive Unmatched 安装文档
-
openEuler 23.09 安装文档¹(同 23.03) | 安装文档²(包括分区扩容步骤) | 系统镜像
-
Armbian: 官网镜像直接写入后无法启动,镜像内只分了 rootfs 一个分区,没有给 bootloader 分区
-
Ubuntu: 测试可用 安装文档
-
OpenKylin (v1.0): 安装文档
-
OpenSUSE: 系统镜像 启动后进入了 Emergency 模式,分区挂载失败?
-
Debian: 安装文档
- 使用的镜像:https://github.com/yuzibo/Unmatched-Debian-image/
- 必须插入网线,否则 U-Boot 会无限卡在协商网络上
- 可正常启动,但默认密码不正确,未能登录
- 尝试安装了一块 Radeon HD6750,因默认未安装 radeon 固件,出现了 Kernel Tainted 的情况
-
FreeBSD: 1. 验证前基于官方文本的调研 2.安装步骤&屏幕截图,开发板验证
-
openBSD: 步骤完全一致,使用 install74.img 镜像
-
OpenWRT的支持情况,成功在Unmatched上启动了 OpenWRT,编写了对应的报告文档 OpenWrt 并提交了Commit
-
ThreadX的支持情况,ThreadX为RTOS系统且在官方文档上未能找到unmatched相关支持文档,因此ThreadX 暂时的结果为在unmatched上不支持。
-
-
CanMV-K230 开发板操作系统支持情况调研和测试
- 调研和验证支持Debian sid和Ubuntu 23.10,编写安装文档
-
调研 ruyisdk/pmd#27 Chisel 测试验证:
- Verilog 代码 ModuleSample.sv
- ScaleTest 测试 scaletest.scala
- svsim 测试在 scaletest.scala
- code 是本调研使用的完整测试代码
-
调研Java 在 VS Code上的开发支持程度,report
-
Dart RISC-V 现状调研 调研文档
- dart 编译,调试,开发环境
- 交叉编译现状,可选方法
- 附带 dart 编译的 6 种方式和原理解释
- 技术分享:dart 交叉编译现状
目前oe社区QA SIG就提速 mugen pr合入以及issue处理的建议:提交的pr需要贴上RISC-V、X86、Arm三架构的测试测试结果
-
申请和分发K230和Lichee Pi 4A
-
调研远程RISC-V设备重启方法
-
RuyiSDK v0.4 测试
-
RuyiSDK v0.5 测试(测试中)
-
在Lichee Pi 4A 上成功刷写并运行Eulaceura,观察到1205对应的固件无法使Lichee Pi 4A的风扇正常工作:刷写启动
-
针对Eulaceura使用的zypper的包管理,编写相关的mugen套件,以支持使用zypper进行包管理:commit
-
使用 qemu 测试 eulaceura 图形化界面,firefox 浏览器能够正常运行 运行截图
- 荔枝派 4A / LPi4A 开启 WiFi 热点 / AP 文档
preview 版本镜像
firewalld
无法启动,经确认,最新 devel 版镜像已修复
-
完成 ruyi-mugen 0.5.0 版本测试用例开发 pr !5
主要功能更新 关联 commit 新增用例 ruyi_test_gnu-plct-rv64ilp32-elf 394f954 测试平头哥工具链交叉编译得到的二进制在 RevyOS 的运行 44760e5 修复 mugen 框架在用例超时时无法正常杀死测试进程的问题 0c5f51e 优化 mugen 框架用例超时的判断逻辑 df1c53c -
RUYI 包管理 0.5.0 版本新增 CanMV-K230 镜像刷写,测试了镜像刷写功能的可用性并提交测试报告 pr !14
-
RUYI 包管理 0.5.0 mugen 自动化测试在 x86_64 QEMU Fedora 38、 x86_64 QEMU Ubuntu 22.04 LTS、 x86_64 QEMU openEuler 23.09、 riscv64 Container RevyOS 20231210、 riscv64 QEMU openEuler 23.09 环境运行,测试没有发现失败并提交测试报告 pr !16
-
修复
ruyi_test_gnu-plct-rv64ilp32-elf
意外失败/未能正常创建源码文件的问题 commit
Feature
-
PR 编译为 python wheel 包,提供类似于 python selenium 的 API 可以以库的形式完全自由调用
-
基本使用例
from pyautotest import Driver driver = Driver(config=config) # 初始化驱动,开启测试 try: res = driver.script_run_global("whoami", 5 * 1000) # 断言命令行输出 logging.info(f"res: {res}") driver.sleep(1000 * 5) # 统一的 sleep res = driver.script_run_global("ls", 5 * 1000) # 断言命令行输出 logging.info(f"res: {res}") except Exception as e: logging.info("e", e) driver.stop() # 停止测试
-
-
PR-WIP 实现 SSH 或 Serial 串口断开自动重连,保持日志不断开
-
Tech-golden-model Monday meeting(2024.2.5),会议纪要 Md
-
Arch Test ACT SIG meeting(2024.2.26) 会议纪要Md
-
继续学习Sail相关知识,进行知识储备
-
RUYI 包管理基于 openEuler 23.09 的 RPM 包构建。由于 RUYI 的部分 python3 依赖包版本较高,需要重新打包 依赖包列表:
包名 版本 python3-semver 3.0.2 python3-markdown-it-py 3.0.0 python3-mdurl 0.1.2 python3-rich 13.5.2 python3-tqdm 4.66.1 python3-types-pyxdg 0.28.0.20240106 python3-frontmatter 1.1.0 RUYI RPM 包:
包名 版本 python3-ruyi 0.4.0 -
对 python3-ruyi 运行 mugen 测试,其中 ruyi_test_common 、ruyi_test_xdg 出现失败,分析认为这是 RUYI 识别到了打包方式的不同而对相关操作做出不同的反应,而非缺陷; ruyi_test_device 出现失败,分析认为这是打包方式不同导致命令输出有不同,影响了测试用例的判断,亦非缺陷。完整日志
-
给出一个 RUYI 包管理在 openEuler 23.09 独立发行版本的安装文档 ruyi-rpm.md
-
修复 Windows CI 输出内容无法使用的 Bug Commit
-
调研崩溃问题 cvut/qtrvsim#95
-
PR-Draft: 尝试关闭 #58 GUI 优化, 点击菜单按钮由 show 转为 toggle, 等待作者 review
-
RUYI 包管理 RPM 打包
-
RUYI 包管理基于 openEuler 23.09 的 RPM 包构建。由于 RUYI 的部分 python3 依赖包版本较高,需要重新打包 依赖包列表:
包名 版本 python3-semver 3.0.2 python3-markdown-it-py 3.0.0 python3-mdurl 0.1.2 python3-rich 13.5.2 python3-tqdm 4.66.1 python3-types-pyxdg 0.28.0.20240106 python3-frontmatter 1.1.0 RUYI RPM 包:
包名 版本 python3-ruyi 0.4.0 -
对 python3-ruyi 运行 mugen 测试,其中 ruyi_test_common 、ruyi_test_xdg 出现失败,分析认为这是 RUYI 识别到了打包方式的不同而对相关操作做出不同的反应,而非缺陷; ruyi_test_device 出现失败,分析认为这是打包方式不同导致命令输出有不同,影响了测试用例的判断,亦非缺陷。完整日志
-
给出一个 RUYI 包管理在 openEuler 23.09 独立发行版本的安装文档 ruyi-rpm.md
-
-
RuyiSDK 测试
-
完成 ruyi-mugen 0.5.0 版本测试用例开发 pr !5
主要功能更新 关联 commit 新增用例 ruyi_test_gnu-plct-rv64ilp32-elf 394f954 测试平头哥工具链交叉编译得到的二进制在 RevyOS 的运行 44760e5 修复 mugen 框架在用例超时时无法正常杀死测试进程的问题 0c5f51e 优化 mugen 框架用例超时的判断逻辑 df1c53c -
RUYI 包管理 0.5.0 版本新增 CanMV-K230 镜像刷写,测试了镜像刷写功能的可用性并提交测试报告 pr !14
-
RUYI 包管理 0.5.0 mugen 自动化测试在 x86_64 QEMU Fedora 38、 x86_64 QEMU Ubuntu 22.04 LTS、 x86_64 QEMU openEuler 23.09、 riscv64 Container RevyOS 20231210、 riscv64 QEMU openEuler 23.09 环境运行,测试没有发现失败并提交测试报告 pr !16
-
-
RuyiSDK
-
HiFive Unmatched / FU740调研
- Zephyr on HiFive Unmatched 安装文档
- openEuler 23.09 安装文档¹(同 23.03) | 安装文档²(包括分区扩容步骤) | 系统镜像
- Armbian: 官网镜像直接写入后无法启动,镜像内只分了 rootfs 一个分区,没有给 bootloader 分区
- Ubuntu: 测试可用 安装文档
- OpenKylin (v1.0): 安装文档
- OpenSUSE: 系统镜像
- 启动后进入了 Emergency 模式,分区挂载失败?
- Debian: 安装文档
- 使用的镜像:https://github.com/yuzibo/Unmatched-Debian-image/
- 必须插入网线,否则 U-Boot 会无限卡在协商网络上
- 可正常启动,但默认密码不正确,未能登录
- 尝试安装了一块 Radeon HD6750,因默认未安装 radeon 固件,出现了 Kernel Tainted 的情况
- FreeBSD: 安装步骤&屏幕截图
- openBSD: 步骤完全一致,使用 install74.img 镜像
-
RuyiSDK 测试 v0.4.0
- Milk-V Pioneer Box (v1.3) oERV 23.09 / ruyi 0.4.0 版本测试报告 PR
- AllWinner D1 / Lichee RV & StarFive VisionFive 镜像刷写测试报告 PR
- D1 (Lichee RV & AWOL Nezha) 镜像刷写测试 Gitee
- StarFive VisionFive 镜像刷写测试 Gitee
- ruyi rpm 打包版本 / openEuler RISC-V 测试 log
- 环境:openEuler 23.09 preview rootfs on systemd-nspawn, QEMU 8.2.0
v0.5.0
-
-
mugen 自动化测试
修复 ruyi_test_gnu-plct-rv64ilp32-elf
意外失败/未能正常创建源码文件的问题 commit
- 其他内容
- 荔枝派 4A / LPi4A 开启 WiFi 热点 / AP 文档
- preview 版本镜像
firewalld
无法启动,经确认,最新 devel 版镜像已修复
- preview 版本镜像
- 荔枝派 4A / LPi4A 开启 WiFi 热点 / AP 文档
-
RuyiSDK测试 v0.4.0
v0.5.0
-
RuyiSDK调研
-
Sail/ACT
-
linux upstream 工作进展:
- [PATCH v9 0/5] riscv: sophgo: add clock support for sg2042: 为 SG2042 添加 clock 支持,第 9 版。
- [PATCH v10 0/5] riscv: sophgo: add clock support for sg2042: 为 SG2042 添加 clock 支持,第 10 版。
- [PATCH v11 0/5] riscv: sophgo: add clock support for sg2042: 为 SG2042 添加 clock 支持,第 11 版。bindings 部分已经 review 通过,正在 track 驱动部分的 owner 审查驱动部分的补丁。
- reset 相关补丁已经分别被 reset 子系统 和 dts 子系统 接收,并提交 Upstream PR, 有希望进入 v6.9。