Oceanic 5205-5inMFD
###################

Hardware Access
***************

BSP Build
*********
Manual Build
============
Image building need host to ready with all necessary tools ready, refer `here <https://wiki.amarulasolutions.com/found/host/tools.html#arm64>`_

Below are the details of Image build for SoPine board.

ATF
---

::

        $ git clone https://github.com/apritzel/arm-trusted-firmware.git
        $ cd arm-trusted-firmware
        $ make PLAT=sun50iw1p1 bl31
        $ export BL31=/path/to/arm-trusted-firmware/build/sun50iw1p1/release/bl31.bin
        
U-Boot
------

::

        $ git clone git://git.denx.de/u-boot.git
        $ cd u-boot
        $ make oceanic_5205_5inmfd_defconfig
        $ make 
        
Linux
-----

::

        $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        $ cd linux-next
        $ make mrproper
        $ ARCH=arm64 make defconfig
        $ ARCH=arm64 make -j 4 Image dtbs

Buildroot
=========

Read readme.txt from board/oceanic/5205-5inmfd/readme.tx for more info.

::

        $ git clone https://github.com/amarula/buildroot-amarula
        $ cd buildroot
        $ git checkout -b 5inmfd origin/5inmfd
        $ make oceanic_5205_5inmfd_defconfig
        $ make