commit | c7248eb11c5d04d5baf64183ef841f5ce25fe557 | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Mon Dec 05 17:48:43 2016 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 04 17:13:00 2017 +0000 |
tree | 628479da1e9d515a6d7ce34d356a45bde077ed4f | |
parent | a3b8a0af9efd37c7b6f8ac64dcb2f356298885f8 [diff] |
Remove setting of explicit ramdisk load address U-Boot in Aspeed's SDK had a hack to manually relocate the ramdisk into RAM because of a bug that caused the normal ramdisk relocation not to happen if ATAGS was being used. Now that the ATAGS ramdisk relocation bug is fixed, the load address and entrypoint of a ramdisk image are ignored. The ramdisk is relocated to an address chosen by U-Boot and the address is passed to the kernel. Remove the override of oe_mkimage() in obmc-phosphor-image_types_uboot as the default implementation is sufficient. This also removes the only reference to a fixed ramdisk location in RAM. Change-Id: Id92c8dc9ebeb905401e3056fcf841d982abbd3d1 Signed-off-by: Rick Altherr <raltherr@google.com>
OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.
On Ubuntu 14.04 the following packages are required to build the default target
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
On Fedora 23 the following packages are required to build the default target:
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
To start a build:
cd <builddir> . <repodir>/openbmc-env bitbake obmc-phosphor-image