commit | ac78ef66b9e10b6fc2109600a5658fbb7de12e4e | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Wed Nov 08 14:48:52 2017 +1030 |
committer | Joel Stanley <joel@jms.id.au> | Fri Dec 01 15:26:55 2017 +1030 |
tree | ac0cbffcdf8045eed8ea251c23a7568decae6e25 | |
parent | 64187e71709c5f468ed5fc0301b9d495dee8d961 [diff] |
buildroot: Move to buildroot 2017.11 Upstream changelog: https://git.buildroot.net/buildroot/plain/CHANGES?id=2017.11 Changed packages from previous release (2017.08.2): mdadm: 3.3.4 -> 4.0 glibc: 2.25 -> glibc-2.26-73-g4b692dffb95ac4812b161eb6a16113d7e824982e ethtool: 4.10 -> 4.13 linux-headers: 4.14 -> 4.14.2 util-linux: 2.30.1 -> 2.31 eudev: 3.2.2 -> 3.2.4 Signed-off-by: Joel Stanley <joel@jms.id.au>
The OpenPOWER firmware build process uses Buildroot to create a toolchain and build the various components of the PNOR firmware, including Hostboot, Skiboot, OCC, Petitboot etc.
Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build
Mailing list: openpower-firmware@lists.ozlabs.org
Info/Subscribe: https://lists.ozlabs.org/listinfo/openpower-firmware
Archives: https://lists.ozlabs.org/pipermail/openpower-firmware/
To build an image for a Palmetto system:
git clone --recursive git@github.com:open-power/op-build.git cd op-build . op-build-env op-build palmetto_defconfig && op-build
There are also default configurations for other platforms in openpower/configs/
such as Habanero and Firestone.
Buildroot/op-build supports both native and cross-compilation - it will automatically download and build an appropriate toolchain as part of the build process, so you don't need to worry about setting up a cross-compiler. Cross-compiling from a x86-64 host is officially supported.
Install Ubuntu (>= 14.04) or Debian (>= 7.5) 64-bit.
Enable Universe (Ubuntu only):
sudo apt-get install software-properties-common sudo add-apt-repository universe
Install the packages necessary for the build:
sudo apt-get install cscope ctags libz-dev libexpat-dev \ python language-pack-en texinfo \ build-essential g++ git bison flex unzip \ libssl-dev libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc \ wget bc
Install Fedora 25 64-bit (older Fedora should also work).
Install the packages necessary for the build:
sudo dnf install gcc-c++ flex bison git ctags cscope expat-devel patch \ zlib-devel zlib-static texinfo perl-bignum "perl(XML::Simple)" \ "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" \ "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" libxml2-devel \ which wget unzip tar cpio python bzip2 bc findutils ncurses-devel