ZYNQ_MPSoC启动

petalinux制作系统

  1. 将xsa文件放到unbuntu对应文件

  2. 编译出三个文件,放到sd卡根目录。sd卡fet32格式化
    ZYNQ_MPSoC启动_第1张图片

  3. 板子设置sd卡启动

  4. 登录板子的用户名和密码
    在这里插入图片描述
    用户名:root
    密码:root

设置ip

ifconfig eth0 192.168.10.60 netmask 255.255.255.0

设置后
ZYNQ_MPSoC启动_第2张图片
ping ubuntu
在这里插入图片描述

交叉编译文件

aarch64-linux-gnu-gcc -o helloworld main.c

SD卡拷贝文件

直接拷贝到根目录
ZYNQ_MPSoC启动_第3张图片
文件在板子位置

cd  /media/sd-mmcblk1p1/

网络发送文件

scp ./hello.elf root@192.168.10.60:/home/root

你可能感兴趣的:(嵌入式技术文章,linux,ZYNQ)