# cr1925_scripts **Repository Path**: shzhxh/cr1925_scripts ## Basic Information - **Project Name**: cr1925_scripts - **Description**: 编译zcore for cr1825 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-04-22 - **Last Updated**: 2023-07-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 本仓库包含设备树,镜像配置文件,安装脚本。 zCore烧写到cr1811的过程: ``` # 开启tftp服务 sudo apt install tftpd-hpa # on debian11 # 生成zCore镜像 git clone https://github.com/rcore-os/zCore cd zCore cargo bin -m cr1825 -o z-cr1811.bin # 制作u-boot镜像 git clone https://gitee.com/shzhxh/cr1925_scripts.git cd cr1925_scripts ./mkitb_cr1811.sh # 生成u-boot镜像,复制到tftp服务目录 # 开发板上启动zCore minicom -D /dev/ttyUSB0 # 连接串口,进到uboot setenv ipaddr # 设置开发板ip setenv serverip # 设置服务器ip tftpboot 0x82000000 z-cr1811.itb # 内存只有80M bootm 0x82000000 ``` 注:CR1825更名为CV1812, CV1811和CV1812只是内存大小不同(1811是1G, 1812是2G)。