Skip to content

Commit

Permalink
Update README.md to list build requirements. Let buildroot build uboo…
Browse files Browse the repository at this point in the history
…t-tools for the host system
  • Loading branch information
maxnet committed Jan 2, 2013
1 parent d25a618 commit 939a0ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ buildroot-2012.05 - build system to create a minimal Linux operating system to r
buildroot-2012.05/package/berrybootgui2/init - script that gets executed on boot, starts BerrybootGUI
```

==
Build requirements
==

Berryboot uses Buildroot to build a minimal Linux operating system to run under.
Buildroot requires that the following packages are installed: http://www.buildroot.org/downloads/manual/manual.html#requirement

===
To build for Raspberry Pi
===
Expand Down
4 changes: 2 additions & 2 deletions buildroot-2012.05/.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
# Buildroot 2012.05-g32dc4de-dirty Configuration
# Buildroot 2012.05-gd25a618-dirty Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_arm=y
Expand Down Expand Up @@ -1057,7 +1057,7 @@ BR2_PACKAGE_CRYPTSETUP=y
# BR2_PACKAGE_HOST_LPC3250LOADER is not set
# BR2_PACKAGE_HOST_OPENOCD is not set
# BR2_PACKAGE_HOST_SAM_BA is not set
# BR2_PACKAGE_HOST_UBOOT_TOOLS is not set
BR2_PACKAGE_HOST_UBOOT_TOOLS=y

#
# Filesystem images
Expand Down
4 changes: 1 addition & 3 deletions rebuild-berryboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -e

command -v mkimage >/dev/null || { echo "mkimage not found. Install u-boot-tools." ; exit 1; }

if [ ! -e output/LICENSE.berryboot ]; then
cp -f LICENSE.berryboot output
fi
Expand All @@ -23,7 +21,7 @@ cp output/images/shared.tgz ../output
#cp output/images/zImage ../output/kernel_berryboot.img
cp output/images/zImage ../output/kernel_rpi_aufs.img
#cp output/images/rootfs.cpio.gz ../output/berryboot.img
mkimage -A arm -T ramdisk -C none -n "uInitrd" -d output/images/rootfs.cpio.gz ../output/berryboot.img
output/host/usr/bin/mkimage -A arm -T ramdisk -C none -n "uInitrd" -d output/images/rootfs.cpio.gz ../output/berryboot.img

cd ..
if [ ! -e output/start.elf ]; then
Expand Down

0 comments on commit 939a0ce

Please sign in to comment.