background image

                MYD-Y7Z010/007S Board Linux Development Manual 

 

MYIR Electronics Limited

 | 

 

[email protected]

 

 

www.myirtech.com

                       

10

 / 

14

 

Appendix I Disclaimer   

This  User  Manual  (the  "Manual")  is  proprietary  to  MYIR  Electronics  Limited.  ("MYIR")  and  no 

ownership  rights  are  hereby  transferred.  No  part  of  the  Manual  shall  be  used,  reproduced, 

translated, converted, adapted, stored in a retrieval system, communicated or transmitted by any 

means,  for  any  commercial  purpose,  including  without  limitation,  sale,  resale,  license,  rental  or 

lease, without the prior express written consent of MYIR. 

MYIR does not make any representations, warranties or guarantees, express or implied, as to the 

accuracy or completeness of the Manual. Users must be aware that updates and amendments 

will be made from time to time to the Manual. It is the user's responsibility to determine whether 

there have been any such updates or amendments. Neither MYIR nor any of its directors, officers, 

employees  or  agents  shall  be  liable  in  contract,  tort  or  in  any  other  manner  whatsoever  to  any 

person  for  any  loss,  damage,  injury,  liability,  cost  or  expense  of  any  nature,  including  without 

limitation incidental, special, direct or consequential damages arising out of or in connection with 

the use of the Manual. 

 

 

 

Summary of Contents for MYD-Y7Z010/007S

Page 1: ...MYD Y7Z010 007S Board Linux Development Manual MYIR Electronics Limited sales myirtech com www myirtech com MYD Y7Z010 007S Board Linux Development Manual V1 0 ...

Page 2: ...Z010 007S Board Linux Development Manual MYIR Electronics Limited sales myirtech com www myirtech com Revision History Revision Date Revised Contents Version Revised By Reviewed By 2018 1 3 First Edition V1 0 ...

Page 3: ...ISHMENT WORKING DIRECTORY 3 2 2 SET CROSS COMPILE TOOL 3 2 3 INSTALL TOOL 3 CHAPTER 3 LINUX SYSTEM COMPILE 3 3 1 COMPILE BOOTLOADER 3 3 2 COMPILE LINUX KERNEL 4 3 3 CREATE ROOT FILESYSTEM 4 3 4 MAKE FILE SYSTEM 5 3 4 1Make Ramdisk 5 3 4 2Modify Rootfs 6 CHAPTER 4 DOWNLOAD LINUX SYSTEM 6 4 1 CREATE A MICRO SD CARD 6 4 2 PREPARE IMAGE FILE 7 4 3 START INSTALL 8 CHAPTER 5 LINUX APPLICATION 8 5 1 LED ...

Page 4: ...untu system 1 2 Software Resources Category Name Remark Code Tool chains gcc 4 6 1 gcc version 4 6 1 Sourcery CodeBench Lite 2011 09 50 Boot loader boot bin First bootstrap Include FSBL and u boot Yes Linux Kernel Linux 3 15 0 Linux kernel customized for the MYD Y7Z010 007S Board hardware Yes Driver USB host USB host driver Yes Ethernet Gigabit Ethernet driver 3 net interfaces Yes MMC SD TF MMC SD...

Page 5: ..._GNU_Linux bin export CROSS_COMPILE arm xilinx linux gnueabi After executing the export commands input arm and then press the Tab key to check whether or not the export settings has been executed successfully These settings are only valid for the current terminal if it is required to keep them permanently please add above commands to script file bashrc 2 3 Install Tool Install other necessary tool...

Page 6: ...e code cd WORKDIR Kernel tar xvjf linux xlnx tar bz2 cd linux xlnx Compile the source code make ARCH arm CROSS_COMPILE arm xilinx linux gnueabi distclean make ARCH arm CROSS_COMPILE arm xilinx linux gnueabi zynq_myd_defconfig make ARCH arm CROSS_COMPILE arm xilinx linux gnueabi uImage make ARCH arm CROSS_COMPILE arm xilinx linux gnueabi dtbs After compiling it will generate the uImage in the arch ...

Page 7: ... file generated by mkimage and generate a new ramdisk image gz dd if uramdisk image gz of ramdisk image gz bs 64 skip 1 gunzip ramdisk image gz to generate ramdisk image gunzip ramdisk image gz Create a new mount directory ramdiskdir and mount the ramdisk image file mkdir p ramdiskdir sudo mount o loop rw ramdisk image ramdiskdir Enter the ramdiskdir directory and modify it if necessary Generatea ...

Page 8: ...r cvf rootfs tar Chapter 4 Download Linux System In here we will boot from Micro SD Card using Ramdisk then install bootloader and kernel to QSPI Flash install rootfs to eMMC 4 1 Create a Micro SD Card TF card format Please format the TF Card using the HP USB Disk Storage Format Tool 2 0 6 tool in directory 03 Tools of the DVD disk Insert the TF card into the USB card reader then connect the card ...

Page 9: ...e make backup before formatting 4 2 Prepare Image File Copy the image to the Micro SD Card which just create You can find all of them in the CDROM Image Description boot bin This is the system startup program including fsbl and u boot The specific building methods will be described in MYD Y7Z010 007S Board Programmable Logic Development Manual 7z010 bit XC7Z010 Bitstream File 7z007 bit XC7Z007S Bi...

Page 10: ...07 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 i...

Page 11: ...elopment board and connect J8 to PC Execute the following command and the LED on the development board will flash rapidly led test 5 2 CAN This example demonstrates how to use CAN by Linux API please refer to the source codes for detailed information Copy the executable file can test from directory WORKDIR Examples can test to the development board and connect J8 to PC Execute the following comman...

Page 12: ...or express written consent of MYIR MYIR does not make any representations warranties or guarantees express or implied as to the accuracy or completeness of the Manual Users must be aware that updates and amendments will be made from time to time to the Manual It is the user s responsibility to determine whether there have been any such updates or amendments Neither MYIR nor any of its directors of...

Page 13: ...IR regards the product quality as the life of an enterprise We strictly check and control the core board design the procurement of components production control product testing packaging shipping and other aspects and strive to provide products with best quality to customers We believe that only quality products and excellent services can ensure the long term cooperation and mutual benefit Price M...

Page 14: ...e months free maintenance service since the purchase date But following situations are not included in the scope of our free maintenance service The warranty period is expired The customer cannot provide proof of purchase or the product has no serial number The customer has not followed the instruction of the manual which has caused the damage the product Due to the natural disasters unexpected ma...

Page 15: ...ranty period but out of free maintenance service scope MYIR provides maintenance service but shall charge some basic material cost for products out of warranty period MYIR provides maintenance service but shall charge some basic material cost and handling fee 4 Shipping cost During the warranty period the shipping cost which delivered to MYIR should be responsible by user MYIR will pay for the ret...

Page 16: ...or Building No 2 Fada Road Yunli Intelligent Park Bantian Longgang District Shenzhen Guangdong China 518129 Phone 86 755 22984836 Fax 86 755 25532724 Sales E mail sales myirtech com or myirtech yahoo com Support E mail support myirtech com support Website http www myirtech com Thanks for using MYIR s products and services For more information please refer to the website or contact MYIR ...

Reviews: