Git Product home page Git Product logo

partup's Introduction

partup - System Initialization Program

Documentation Status

Dependencies

The following tools and libraries must be installed on the target system for partup to run:

For building partup from source and generating its documentation the following additional dependencies are needed:

Building

Build partup using the Meson Build system:

meson setup build
meson compile -C build

Running

partup works in two steps:

  1. Create a partup package by specifying a package name, the layout configuration file and all files that should be written to the target:

    partup package mypackage.partup u-boot.bin zImage rootfs.tar.gz layout.yaml
    
  2. Install the package to the target:

    partup install mypackage.partup /dev/mmcblk0
    

Documentation

Install the dependencies needed for building the documentation:

virtualenv -v env
source env/bin/activate
pip install -r doc/requirements.txt

Configure the build directory for building the documentation:

meson setup --reconfigure build -Ddoc=true

Build the documentation:

meson compile -C build doc

Installation

From Source

Install partup on the current system. If enabled, the documentation will be installed as well:

meson install -C build

Ubuntu and Debian

For Debian-based systems (and most other Linux Distributions), it is easiest to install partup by downloading the latest statically built binary from the release page: https://github.com/phytec/partup/releases

Install the downloaded binary to a directory contained in $PATH, e.g. /usr/local/bin:

install -m 755 ~/Downloads/partup-v0.0.0-amd64 /usr/local/bin/

Make sure to specify the correct path you downloaded partup to, as the above is just an example.

Arch Linux

partup is available in the AUR (Arch Linux User Repository): https://aur.archlinux.org/packages/partup

Yocto

A Yocto recipe is available in meta-phytec.

License

partup is licensed under the GNU General Public License version 3. See LICENSE for more information.

partup - System Initialization Program

Copyright (C) 2023 PHYTEC Messtechnik GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

partup's People

Contributors

landerweit-phytec avatar mschwan-phytec avatar smk-embedded avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.