Skip to content

rushup/build-artik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARTIK Build system

Contents

  1. Introduction
  2. Directory structure
  3. Build guide
  4. Install guide

1. Introduction

This 'build-artik' repository helps to create an ARTIK sd fuse image which can do eMMC recovery from sdcard. Due to long build time of fedora image, the root file system is provided by prebuilt binary and download it from server during build.


2. Directory structure

  • config: Build configurations for artik5 and artik10
    • common.cfg: common configurations for artik5 and artik10
    • artik5.cfg: common.cfg + artik5 specific configurations
    • artik10.cfg: common.cfg + artik10 specific configurations
    • artik710.cfg: common.cfg + artik710 specific configurations
    • artik710_ubuntu.cfg: common.cfg + artik710 ubuntu specific configurations
    • artik710s.cfg: common.cfg + artik710 + artik710s specific configurations
    • artik530.cfg: common.cfg + artik530 specific configurations
    • artik530_ubuntu.cfg: common.cfg + artik530 ubuntu specific configurations
  • prebuilt : prebuilt binaries for artik5 and artik10
    • artik10: early stage bootloaders of artik10
  • build_uboot.sh: u-boot build script
  • build_kernel.sh: linux kernel build script
  • build_fedora.sh: fedora build script(Packages + Rootfs tarball)
  • build_ubuntu.sh: ubuntu build script(Packages + Rootfs tarball)
  • mkbootimg.sh: generate /boot partition image which contains kernel, dtb and ramdisk
  • mksdboot.sh: generate a sdcard early boot image(from bl1 to u-boot)
  • mksdfuse.sh: build script for generating sd fusing image from binaries
  • release.sh: build u-boot/kernel and generate sd fusing image

3. Build guide

3.1 Install packages

sudo apt-get install kpartx u-boot-tools gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu device-tree-compiler

3.2.1. clone the sources through git

Please ensure u-boot-artik and linux-artik directory on top of the build-artik.

  • KITRA710C
    • u-boot-artik
    • linux-artik
    • build-artik
    • boot-firmwares-artik710
mkdir kitra710c
cd kitra710c
git clone https://github.com/rushup/rushup-linux-artik.git -b Kitra710C-os3.1-v0.4
git clone https://github.com/rushup/rushup-u-boot-artik.git -b Kitra710C-os3.1-v0.4
git clone https://github.com/rushup/build-artik.git -b A710_os_3.1.0
git clone https://github.com/SamsungARTIK/boot-firmwares-artik710.git -b A710_os_3.1.0
cd build-artik

3.3 Generate a sd fuse image(for eMMC recovery from sd card)

  • kitra710C
./release.sh -c config/kitra710C_ubuntu.cfg

The output will be 'output/images/artik710/YYYYMMDD.HHMMSS/artik710_sdfuse_UNRELEASED_XXX.img'

3.4 Generate a sd bootable image(for SD Card Booting)

  • kitra710C
./release.sh -c config/kitra710C_ubuntu.cfg -m

4. Install guide

Please refer https://developer.artik.io/documentation/updating-artik-image.html

About

Source to create SD Fuse images for Samsung ARTIK 5, 7 and 10 families.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%