Orange Pi 5 deploys chatglm2-6b model

Orange Pi 5 deploys chatglm2-6b model Environmental information: Deployment server: orangepi 5 16G version System version: Ubuntu 22.04.3 LTS Reference documentation: Use GPU acceleration to run LLMs on Orange Pi: https://zhuanlan.zhihu.com/p/650110025 Far ahead! I will take you step by step to deploy the Tsinghua AI language model using the domestic Orange Pi, comparable to GPT. […]

[Orangepi Zero2 Allwinner H616] Driver serial communication

1. Basic understanding of serial port 2. Serial port electrical standards and protocol standards 3. Serial communication protocol 4. Using serial port communication in Linux system 5. orangepi zern2 two sets of serial ports 6. Serial test serialtest Modify the configuration file according to the manual According to the results, we know that the code […]

[Allwinner H616 uses the standard library to complete the self-made serial port library (implemented in separate files) orangepi zero2 (open source)].md update: 23/11/07

Article directory Note when playing with H616: Linux kernel version 5.16 and above, you need to manually configure the i2c-3 uart5 driver Configuration example When compiling by files, each file must be compiled together (separated by spaces) Example: ggc a.c b.c b.h -lpthread -lxxx..; Common commands View driver files View kernel detection information/hardware Use the […]

Orange Pi Zero3 lights up the st7789v screen

SDK:orangepizero3 6.1.31 1. Hardware connection orangepi zero3 ips display GND GND 3.3V 3.3V SPI0_CLK(PH6) SCL SPI0_MOSI (PH7) SDA PC14 RES PC15 DC PC9 BLK 2. Transplantation 1.1 Modify the device tree and add the st7789v node File path: arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero3.dts &spi0 { #address-cells = <1>; #size-cells = <0>; status = “okay”; pinctrl-names = “default”; pinctrl-0 = […]

[Orangepi Zero2 H616] Development board information (flashing, system burning) and environment construction

1. Information documents 2. MobaXterm remote connection tool 3. Change login password 4. Modify the kernel log level 5. Configure the network 6. SSH access OrangePi ZERO 2 7. Configure vim 8. Develop SDK based on official peripherals 1. Documentation Official website data download GitHub: New version of orangepi-build source code Environment setup: Novice configuration […]

Implementation of garbage classification smart trash can project based on OrangePi Zero 2 (2) C language calling Python code–installation and testing of dev dependent libraries of libpython3

Environment Construction and Testing If you want to call python code in C language, you need to install the dev dependency library of libpython3 Installation: dev dependency library of libpython3 Use the following command to check whether dependent packages already exist: dpkg -l | grep libpython3 It can be seen that there is no library […]

Implementation of garbage classification smart trash can project based on OrangePi Zero 2 (4) USB camera access test

1. USB camera test OrangePi Zero 2 official user manual download link (3.13.6. USB camera test): https://pan.baidu.com/s/1beIF5FMjWi2jw6nD83GYGg?pwd=himu 1) First insert the USB camera into the USB interface of the Orange Pi development board 2) Then through the lsmod command you can see that the kernel automatically loads the following modules orangepi@orangepi:~$ lsmod 3) Through the […]

[Orange Pie-OpenCV-Torch-dlib] TF damaged into RAW format solution and python environment configuration

Foreword This article will introduce the detailed steps for software configuration and environment setup on the Orange Pi development board in order to run Python applications. This covers the following main topics: Get the required software: Download links for the Orange Pi operating system and the balenaEtcher tool are provided to ensure proper operating system […]