diff --git a/LICENSE b/LICENSE index 490e8f560f7eb23ebabfa86aa653639dd675f4ca..bc8ac9fc785d3b8a8c3c985b377fcc4981afb56f 100644 --- a/LICENSE +++ b/LICENSE @@ -26,3 +26,23 @@ 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. +--------------------------------------------------------------------- +RIVOTEK LICENSE NOTICE +--------------------------------------------------------------------- +Copyright (c) 2026 Rivotek Technology. All rights reserved. + +This license statement applies to Rivotek-owned integration and binary-delivery +content in this repository. + +Covered directories: +- boards/r528/drivers/ +- libs/drivers/r528/ +- libs/board/r528s3-gemini-s1/ + +Notes: +- Source files removed from boards/r528/drivers are replaced by prebuilt + libraries for binary-only distribution. +- Build integration remains in repository to keep community users able to + download and compile with provided prebuilt libraries. +- Files under other directories continue following their original + upstream/vendor licensing terms unless explicitly stated otherwise. \ No newline at end of file diff --git a/README b/README index b913ef2a4780057b33b91c2f5abc0ec38a354cc8..3c4c05a7be77efbe49ce1b899a3d5249cbf8b6de 100644 --- a/README +++ b/README @@ -6,3 +6,36 @@ 5. 执行m编译, m distclean清理; 或者参考vela文档,顶层目录执行 ./build.sh vendor/allwinnertech/boards/r528/r528s3-evb4/configs/bootloader -e -Wno-error V=s -j32进行编译 6. 执行pack打包 +二、[RV-Gemini-S1]R528开发板编译打包说明 +1. 下载源码 +2. Gemini SDK位于/vendor/allwinnertech目录下 + SDK目录结构: + vendor/allwinnertech/ + ├── apps/ # 核心应用与 Demo (如 luncher_mini) + ├── boards/ # 板级支持包 (包含启动代码、引脚配置) + │ └── r528/ # R528 平台 + │ └── r528s3-gemini-s1/ # 本开发板核心目录 + ├── chips/ # 芯片级驱动 (GPIO, SPI, TWI, etc.) + │ └── r528/ + │ ├── drivers/ # 底层 HAL 与 RTOS 适配层 + │ └── drv/ # NuttX 驱动实现层 + ├── lichee/ # 固件打包与产线工具 (Pack tools) + ├── Make.defs # 全局构建规则 + └── Kconfig # 全局配置入口 +3.编译说明 + 2.8寸spi屏 编译命令 + ./build.sh vendor/allwinnertech/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/ distclean -j8 + ./build.sh vendor/allwinnertech/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/ -j8 + + + 7寸mipi屏 编译命令如下 + #可选,只有menuconfig 改变之后,才需要clean + ./build.sh vendor/allwinnertech/boards/r528/r528s3-gemini-s1/configs/nsh/ -j8 distclean + #编译 + ./build.sh vendor/allwinnertech/boards/r528/r528s3-gemini-s1/configs/nsh/ -j8 + +4.打包 + cd vendor/allwinnertech/lichee/ + source envsetup.sh + lunch_nuttx #选择2 r528s3-gemini-s1 + pack \ No newline at end of file diff --git a/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/defconfig b/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/defconfig index 7649334608e80c90c9fec8229d90a21065a7b74b..1d4f8151f03a590e8c6a55d79221e1cc9d448d81 100644 --- a/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/defconfig +++ b/boards/r528/r528s3-gemini-s1/configs/nsh_minidisplay/defconfig @@ -339,7 +339,7 @@ CONFIG_LV_CACHE_DEF_SIZE=1048576 CONFIG_LV_CALENDAR_WEEK_STARTS_MONDAY=y CONFIG_LV_DEF_REFR_PERIOD=16 CONFIG_LV_DEMO_MUSIC_SQUARE=y -CONFIG_LV_DRAW_BUF_ALIGN=64 +CONFIG_LV_DRAW_BUF_ALIGN=1 CONFIG_LV_DRAW_BUF_STRIDE_ALIGN=16 CONFIG_LV_DRAW_SW_ASM_NEON=y CONFIG_LV_ENABLE_GLOBAL_CUSTOM=y