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.
- 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
- prebuilt : prebuilt binaries for artik5 and artik10
- artik5: early stage bootloaders of artik5
- artik10: early stage bootloaders of artik10
- uInitrd: prebuilt ramdisk(can be generated from initrd-artik)
- build_uboot.sh: u-boot build script
- build_kernel.sh: linux kernel build script
- expand_rootfs.sh: Expand the last rootfs partition of microsd card
- 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
sudo apt-get install kpartx u-boot-tools gcc-arm-linux-gnueabihf
Please ensure u-boot-artik and linux-artik directory on top of the build-artik.
u-boot-artik/ linux-artik/ build-artik/
- artik5>
mkdir artik5
cd artik5
git clone https://github.com/SamsungARTIK/linux-artik.git -b release/artik520/artik_os_1.0.0
git clone https://github.com/SamsungARTIK/u-boot-artik.git -b release/artik520/artik_os_1.0.0
git clone https://github.com/SamsungARTIK/build-artik.git -b release/artik520/artik_os_1.0.0
cd build-artik
- artik10>
mkdir artik10
cd artik10
git clone https://github.com/SamsungARTIK/linux-artik.git -b release/artik1020/artik_os_1.0.0
git clone https://github.com/SamsungARTIK/u-boot-artik.git -b release/artik1020/artik_os_1.0.0
git clone https://github.com/SamsungARTIK/build-artik.git -b release/artik1020/artik_os_1.0.0
cd build-artik
- artik5>
./release.sh -c config/artik5.cfg
- artik10>
./release.sh -c config/artik10.cfg
The output will be 'output/images/artik5/YYYYMMDD.HHMMSS/artik5_sdfuse.img'
- artik5>
./release.sh -c config/artik5.cfg -m
- artik10>
./release.sh -c config/artik10.cfg -m
Please refer https://developer.artik.io/documentation/updating-artik-image.html