Skip to content

【非立创官方版本】LCEDA Tai-Shang Pi Linux SDK.立创开发板泰山派Linux SDK.

Notifications You must be signed in to change notification settings

CmST0us/tspi-linux-sdk

Repository files navigation

TSPI-Linux SDK

泰山派Linux SDK 基于Rockchip原厂 rk4.1-202305 版本

预编译固件

xcfe桌面,ARM Mali GPU 驱动, 不支持桌面 OpenGL 版本

链接:https://pan.baidu.com/s/1yd-n9Xr-0quVid7sIeTM7Q?pwd=2653 提取码:2653

Gnome 桌面,Panfrost Mesa GPU 驱动, 支持桌面 OpenGL 版本

链接: https://pan.baidu.com/s/1pDLs1ndT9YF41CjD2lPQeA?pwd=fqy6 提取码: fqy6

编译步骤

以下步骤针对Ubuntu 22.04编译环境

sudo apt install git-lfs
git clone --recursive https://github.com/CmST0us/tspi-linux-sdk.git
cd tspi-linux-sdk
git lfs pull

sudo apt update
sudo apt install -y git ssh make gcc libssl-dev liblz4-tool expect \
g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib \
g++-multilib unzip device-tree-compiler ncurses-dev python2
./build.sh init
./build.sh

Kernel

版本 5.10.198

  • 添加distroboot支持, 在配置中增加 RK_KERNEL_BOOT_TYPE=distroboot

Device

  • 添加 tspi 立创开发板泰山派 4G_HUB2.0_ET100_HS4G_HUB2.0_ET100_HS 扩展板的支持, 选择 tspi-rk3566-ext39-ubuntu_defconfig
  • 添加 tspi 立创开发板泰山派 的支持,参考配置文件 device/rockchip/.chips/rk3566_rk3568/tspi-rk3566-ubuntu_defconfig
  • 添加 tspi 立创开发板泰山派 Distroboot启动方法的支持, 参考配置文件 device/rockchip/.chips/rk3566_rk3568/tspi-rk3566-ubuntu-distroboot_defconfig

Ubuntu

使用 Ubuntu-22.04 默认用户名密码: neons

串口

使用波特率 115200

ADB

默认启动 adb, 支持USB单线连接到开发板.

adb shell

同时支持 adb 端口转发

adb forward tcp:2222 tcp:22

构建

ARM Mali GPU 版本

注意在构建Ubuntu时,需要输入电脑的root密码

./build.sh tspi-rk3566-ext39-ubuntu_defconfig
./build.sh 

Panfrost Mesa GPU 版本

注意在构建Ubuntu时,需要输入电脑的root密码

./build.sh tspi-rk3566-ubuntu-panfrost_defconfig
./build.sh 

Flash

使用 update.img

sudo ./rkflash.sh update

使用分区小包

sudo ./rkflash.sh

Panfrost GPU 版本说明

  1. 如果开机在Kernel界面不断重启,请务必使用外接电源进行供电,不要使用电脑USB口
  2. 使用 Panfrost GPU 版本后,不能再安装 libmali, 否则不能进桌面
  3. 浏览器可以直接使用 apt 安装 chromium

About

【非立创官方版本】LCEDA Tai-Shang Pi Linux SDK.立创开发板泰山派Linux SDK.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published