电子产业一站式赋能平台

PCB联盟网

搜索
查看: 111|回复: 0
收起左侧

推荐一款性价比很高的“派”开发板!

[复制链接]

493

主题

493

帖子

3127

积分

四级会员

Rank: 4

积分
3127
发表于 2024-3-15 11:50:00 | 显示全部楼层 |阅读模式
大家好,我是杂烩君。
本次我们来分享一款性价比很高的"派"开发板——瑞米派(Remi Pi)
瑞米派(Remi Pi)是米尔电子和瑞萨电子共同开发的第一款MPU生态开发板。
其兼容树莓派扩展模块,复用树莓派生态,方便原型搭建和应用创新。

vtqf0v3gv4264014919537.png

vtqf0v3gv4264014919537.png

瑞米派基于RZ/G2L处理器,配备Cortex-A55@1.2GHz CPU、Cortex-M33@200MHz MCU、Arm Mali-G31 的3D 图形加速引擎以及支持视频编解码器。
此外,这款微处理器还支持摄像头接口(MIPI-CSI/Parallel-IF)、显示器接口(MIPI-DSI/Parallel-IF)、USB2.0、UART、CAN接口、千兆以太网接口等,特别适用于入门级工业人机界面(HMI)和具有视频功能的嵌入式设备等应用。
米尔电子发布的瑞萨第一款MPU生态板卡——瑞米派(Remi Pi)自上市当天200套售罄,获得不少新老用户的青睐。为感谢大家的支持,米尔加推300套瑞米派活动,以补贴价198元回馈大家,抢完即止!不仅如此,此次瑞米派发布myir-image-core系统,相比上次发布适用于HMI场景的全面型myir-image-full系统,myir-image-core系统则更轻量,非常适用于各种工业场景应用,如专为工业控制场景移植的RT-Linux实时补丁和Ethercat主站,专为轻量级工业显示场景移植的LVGL,专为工业实时性场景移植的FreeRTOS实时操作系统。瑞米派支持的系统会不断更新,下个月还会持续推出瑞米派的Ubuntu和Debian系统,敬请期待!

gnpgqnipgor64014919638.png

gnpgqnipgor64014919638.png


5neivqa3erc64014919738.png

5neivqa3erc64014919738.png


一、系统概述

xzncywr1mek64014919838.png

xzncywr1mek64014919838.png

Remi Pi的myir-image-core系统是基于 Yocto 构建的带有LVGL界面的镜像,包含完整的硬件驱动,常用的系统工具,调试工具等,包含RT-Linux实时补丁和Ethercat 主站,支持使用 Shell, C/C++进行应用开发。
类别
名称
描述
源码
Flash-Writer
Flash-Writer 1.06
TF-A
Arm Trusted Firmware 2.6
Bootloader
U-boot 2021.10
Kernel
Linux Kernel 5.10.83
Yocto
Yocto 3.1.20
文件系统
myir-image-core
yocto构建的文件系统
工具
开发工具
sdk.tar.bz2、e2 studio
烧录工具
Win32DiskImager
teraterm
文档
Remi Pi_Linux软件开发指南
包含源码编译,烧录等
Remi Pi FreeRTOS应用开发笔记
包含环境搭建,工程创建等
Remi Pi实时系统与Ethercat移植应用笔记
包含rtlinux、ethercat移植


二、功能介绍

1.LVGL显示
从04_Sources目录下获取lvgl.tar.bz2源码包,解压源码包。
  • PC:~/renesas/04_Sources$ tar -xvf lvgl.tar.gz编译源码包,拷贝lvgl_demo可执行文件到开发板运行即可。
  • PC:~/renesas/04_Sources/lvgl$ source /opt/remi-sdk/environment-setup-aarch64-poky-linuxPC:~/renesas/04_Sources/lvgl$ make

    ruytzykkzw264014919938.jpg

    ruytzykkzw264014919938.jpg

    米尔-瑞米派的LVGL显示效果
    2.RT-Linux实时补丁
    从RT官网获取L5.10.83内核版本对应的补丁,链接如下:
    https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.10/older/
    把补丁包解压到自己的工作目录下。
  • PC:~/renesas/04_Sources$ tar -xvf patches-5.10.83-rt58.tar.gz到内核源码目录下打补丁。
  • PC:~/renesas/04_Sources/myir-renesas-linux$ for p in `ls -1 ../patches/*.patch`;do patch -p1 修改mys_g2lx_defconfig配置文件
  • PC:~/renesas/04_Sources/myir-renesas-linux$ vi arch/arm64/configs/mys_g2lx_defconfigCONFIG_EXPERT=yCONFIG_ARCH_SUPPORTS_RT=yCONFIG_PREEMPT_RT=y#CONFIG_PREEMPT=y#CONFIG_KVM=y编译内核源码,更新Image文件即可。
  • PC:~/renesas/04_Sources/myir-renesas-linux$ source /opt/remi-sdk/environment-setup-aarch64-poky-linuxPC:~/renesas/04_Sources/myir-renesas-linux$ make ARCH=arm64 mys_g2lx_defconfigPC:~/renesas/04_Sources/myir-renesas-linux$ make ARCH=arm64 Image dtbs   -j163.IGH Ethercat 主站
    到官网下载1.5版本的Ethercat源码,链接如下:
    https://gitlab.com/etherlab.org/ethercat/-/tree/stable-1.5?ref_type=heads
    把Ethercat源码包解压到自己的工作目录下。
  • PC:~/renesas/04_Sources$ tar -xvf ethercat-stable-1.5.tar.bz2PC:~/renesas/04_Sources$ cd ethercat-stable-1.5加载环境变量。
  • PC:~/renesas/04_Sources/ethercat-stable-1.5$ source /opt/remi-sdk/environment-setup-aarch64-poky-linux生成configure文件。
  • PC:~/renesas/04_Sources/ethercat-stable-1.5$ ./bootstrapconfigure设置。
  • PC:~/renesas/04_Sources/ethercat-stable-1.5$ mkdir outputPC:~/renesas/04_Sources/ethercat-stable-1.5$ ./configure --prefix=/home/renesas/04_Sources/ethercat-stable-1.5/output --with-linux-dir=/home/renesas/04_Sources/myir-renesas-linux  --enable-8139too=no  --enable-generic=yes   --host=aarch64-poky-linux编译和安装。
  • PC:~/renesas/04_Sources/ethercat-stable-1.5$ makePC:~/renesas/04_Sources/ethercat-stable-1.5$ make modulesPC:~/renesas/04_Sources/ethercat-stable-1.5$ make install编译和安装完成后,生成的ec_generic.ko驱动文件位于devices目录,ec_master.ko驱动文件位于master目录,生成的库相关文件位于output目录。
  • PC:~/renesas/04_Sources/ethercat-stable-1.5$ ls devices/en_genric.kodevices/ec_generic.koPC:~/renesas/04_Sources/ethercat-stable-1.5$ master/ec_master.kodevices/ec_master.koPC:~/renesas/04_Sources/ethercat-stable-1.5$ ls output/bin etc  include  lib  sbin  share将上面output目录下的相关文件和ec_master.ko拷贝到开发板如下目录:
  • root@myir-remi-1g:~/output# lsbin etc  include  lib  modules  sbin  shareroot@myir-remi-1g:~/output# cp bin/ethercat /bin/root@myir-remi-1g:~/output# cp etc/ethercat.conf /etc/root@myir-remi-1g:~/output# cp etc/init.d/*  /etc/init.droot@myir-remi-1g:~/output# cp -r etc/sysconfig/ /etc/root@myir-remi-1g:~/output# cp  lib/libethercat.* /lib64/root@myir-remi-1g:~/output# cp -r lib/pkgconfig /lib64/root@myir-remi-1g:~/output# cp modules/ec_master.ko /lib/modules/5.10.83-cip1-rt58-yocto-standard/root@myir-remi-1g:~/output# cp sbin/ethercatctl  /sbin/启动Ethercat。
  • root@myir-remi-1g:~# depmodroot@myir-remi-1g:~# modprobe ec_master main_devices=1E:ED:19:27:1A:B3root@myir-remi-1g:~# /etc/init.d/ethercat startStarting EtherCAT master 1.5.2 done4.Freertos
    首先要下载e2 studio工具并搭建好环境和到04_Sources目录获取GPIO.zip工程包,打开e2 studio工具后,点击File->Import->General-> Existing Projects into Workspace来导入GPIO工程,导入工程后点击Project->Build Project进行工程的编译,详细请参考《Remi Pi FreeRTOS应用开发笔记》。
    编译成功会生成一个debug目录,生成的如下文件拷贝到sd卡上,用于在uboot进行CM33工程调用。
  • GPIO_non_secure_code.binGPIO_non_secure_vector.binGPIO_secure_code.binGPIO_secure_vector.bin把sd卡插入到开发板的sd卡槽,启动板子并在uboot阶段执行如下调用,查看sd卡里面的内容,如下:
  • => switch_sdhi1 sdcardswitch to sdcard=> ls mmc 1:1System Volume Information/64   GPIO_secure_vector.bin16926   GPIO_non_secure_code.bin1984   GPIO_non_secure_vector.bin480   GPIO_secure_code.bin4 file(s), 1 dir(s)加载编译出来的固件,如下:
  • => dcache off=> mmc dev 1switch to partitions #0, OKmmc1 is current device=> fatload mmc 1:1 0x0001FF80 GPIO_secure_vector.bin64 bytes read in 24 ms (2 KiB/s)=> fatload mmc 1:1 0x42EFF440 GPIO_secure_code.bin480 bytes read in 25 ms (18.6 KiB/s)=> fatload mmc 1:1 0x00010000 GPIO_non_secure_vector.bin1984 bytes read in 26 ms (74.2 KiB/s)=> fatload mmc 1:1 0x40010000 GPIO_non_secure_code.bin16926 bytes read in 29 ms (569.3 KiB/s)=> cm33 start_debug 0x1001FF80 0x00010000当加载完以上命令之后可以看到蓝灯在闪烁。

    0x1oadhtbyu64014920038.jpg

    0x1oadhtbyu64014920038.jpg

    米尔-瑞米派的加载效果展示


    三、内核清单

    为了方便用户进行内核的移植,下面将内核驱动各个模块的源码路径整理如下:
    模块
    描述
    源码路径
    MMCEMMC驱动程序drivers/mmc/host/renesas_sdhi_internal_dmac.c
    SDSD卡驱动程序drivers/mmc/host/renesas_sdhi_internal_dmac.c
    QSPIMTD驱动程序drivers/memory/renesas-rpc-if.c
    SPISPI 驱动程序drivers/spi/spidev.c
    I2CI2C驱动程序drivers/i2c/busses/i2c-riic.c
    ADCADC驱动程序drivers/iio/adc/rzg2l_adc.c
    E2PROM24C256C驱动drivers/misc/eeprom/at24.c
    USB HostUSB 驱动程序drivers/usb/host/ehci-platform.cdrivers/usb/host/ohci-platform.c
    Ethernet千兆网络驱动程序drivers/net/ethernet/renesas/ravb_main.c
    USB OTGUSB 驱动程序drivers/phy/renesas/phy-rcar-gen3-usb2.c
    RS232/RS485/Uart串口驱动程序drivers/tty/serial/sh-sci.c
    CAN BUSCAN总线驱动程序drivers/net/can/rcar/rcar_canfd.c
    GPIO KEYKEY驱动程序drivers/input/keyboard/gpio_keys.c
    WIFIWIFI驱动程序drivers/staging/rtl88x2cs/*
    RTCRTC驱动程序drivers/rtc/rtc-rx8025t.c
    GPIO LEDLED驱动程序drivers/leds/leds-gpio.c
    HDMI/LVDSMIPI转HDMI和LVDS驱动程序drivers/gpu/drm/bridge/lt8912.c
    LCDLCD驱动程序drivers/gpu/drm/panel/panel-simple.c
    TOUCH触摸屏驱动程序drivers/input/touchscreen/edt-ft5x06.c
    ES8388ES8388音频驱动sound/soc/codecs/es8328-i2c.c
    OV5640OV5640摄像头驱动drivers/media/i2c/ov5640.c


    四、获取链接

    关于Remi Pi的myir-image-core系统,用户可以从下面地址获取镜像文件和源码:
    下载地址:http://down.myir-tech.com/RemiPi

    am5qthnrmd164014920138.png

    am5qthnrmd164014920138.png

    如需了解板卡,您可以通过访问以下米尔电子官网链接:https://www.myir.cn/shows/23/14.html
    更多关于Remi Pi技术问题讨论请登录米尔官方论坛:https://bbs.myir-tech.com/forum-66-1.html
    购买链接:https://detail.tmall.com/item.htm?id=763219500729&skuId=5425000934998

    gdngkon0r3p64014920238.png

    gdngkon0r3p64014920238.png

    米尔电子最新“明星产品”速报

    2g1cuwr0jsr64014920338.png

    2g1cuwr0jsr64014920338.png


    04dqgwyoghg64014920438.png

    04dqgwyoghg64014920438.png


    5adfywbo3rr64014920538.png

    5adfywbo3rr64014920538.png


    ymcxvgl5qel64014920638.png

    ymcxvgl5qel64014920638.png


    oxbjtzs4yf164014920738.png

    oxbjtzs4yf164014920738.png


    米尔电子 领先的嵌入式处理器模块厂商关注“米尔MYiR”公众号?不定期分享产品资料及干货?第一时间发布米尔最新资讯
      
    长按二维码 关注我们

    pcrbnguulv164014920838.jpg

    pcrbnguulv164014920838.jpg

    想要了解更多信息,欢迎联系我们深圳总部电话:0755-25622735 17324413392地址:深圳坂田云里智能园2栋6楼上海办事处电话:021-62087019 17324413392北京办事处电话:010-84675491 13316862895技术支持电话:027-59621648邮箱:support.cn@myirtech.com
  • 回复

    使用道具 举报

    发表回复

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则


    联系客服 关注微信 下载APP 返回顶部 返回列表