MYD-Y7Z010/007S Board Linux Development Manual
MYIR Electronics Limited
|
8
/
14
uEnv.txt
U-boot Environment File
rootfs.tar
Root filesystem, it will copy to eMMC
Table 4-2
4.3 Start Install
⑴
set sw1: 1 off, 2 on;
(2)Insert TF card which just copyed image. Connect the serial port, set baud rate to 115200,
then powered on;
(3) It will load into Ramdisk, Enter Linux command, keyin as follow:
welcome to myir board
myir login: root
[root@myir ~]#/updatesys.sh /mnt/mmcblk1p1
The script will be copy BOOT.bin, 7z010.bit/7z007.bit, devicetree.dtb and uImage into the
QSPI-Flash, copy the rootfs.tar to eMMC.
(4) After the programming is completed, set sw1: 1 on, 2 on, Power ON again.
Chapter 5 Linux Application
MYD-Y7Z010/007S Board provides demo programs for common peripherals. These programs
and source codes are storaged in the "<WORKDIR>/Examples/" directory. Please compile the
source codes according to the “Makefile” or “README” file in directory:
$ cd <WORKDIR>/Examples/
$ export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
$ make
Connect J8, set the baud rate for 115200, 8 data bits, stop bits 1, no parity; Copy the
corresponding executable program to the development board. If the program can not be executed,
please execute the following command first:
# chmod +x <program-to-be-executed>