Giter Site home page Giter Site logo

m57_card10g's Introduction

PetaLinux User Application Template
===================================

This directory contains a PetaLinux user application created from a template.

If you are developing your application from scratch, simply start editing the
file platform.c.

You can easily import any existing application code by copying it into this 
directory, and editing the automatically generated Makefile.

Before building the application, you will need to enable the application
from PetaLinux menuconfig by running:
    "petalinux-config -c rootfs"
You will see your application in the "Applications --->" submenu.

To build your application, simply run "petalinux-build -c platform".
This command will build your application and will install your application
into the target file system host copy.

You will also need to rebuild PetaLinux bootable images so that the images
is updated with the updated target filesystem copy, run this command:
    "petalinux-build -x package"

You can also run one PetaLinux command to install the application to the
target filesystem host copy and update the bootable images as follows:
    "petalinux-build"

To add extra source code files (for example, to split a large application into 
multiple source files), add the relevant .o files to the list in the local 
Makefile where indicated.  

To have other files (for example application configuration files or scripts) 
copied into the root file system, add addition lines under the "install:"
target in the Makefile.  For example:

    $(TARGETINST) myfile.conf /etc

Copy the file myfile.conf from this directory into the /etc directory
on the Embedded Linux filesystem).

Another example:
    (TARGETINST) -a "some text here" /etc/system.conf

Add the line "some text here" to the /etc/system.conf file.

See ${PETALINUX}/components/rootfs/targetroot-inst.sh for details and more options.

m57_card10g's People

Contributors

yaochangsong avatar xu-github-sys avatar yonguser avatar rosycloudes avatar 535700690 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.