Permalink
Browse files

Replaced BuildRoot's Raspberry Pi support with rpi-buildroot

  • Loading branch information...
1 parent 92043e0 commit b6e2523fdafa7ebf18b6a70d97a9ee65987f29bc @gamaral committed Feb 11, 2013
@@ -2,10 +2,11 @@
TARGET="${1}"
-# move kernel
-cp ${TARGET}/../build/linux-*/System.map ${TARGET}/boot/System.map
+# copy System.map
cp ${TARGET}/../build/linux-*/System.map ${TARGET}/System.map
-mv ${TARGET}/boot/zImage ${TARGET}/boot/kernel.img 2> /dev/null
+
+# move kernel
+mv ${TARGET}/../images/zImage ${TARGET}/../images/boot/kernel.img
exit 0

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,29 +0,0 @@
-Copyright (c) 2006, Broadcom Corporation.
-All rights reserved.
-
-Redistribution. Redistribution and use in binary form, without
-modification, are permitted provided that the following conditions are
-met:
-
-* This software may only be used for the purposes of developing for,
- running or using a Raspberry Pi device.
-* Redistributions must reproduce the above copyright notice and the
- following disclaimer in the documentation and/or other materials
- provided with the distribution.
-* Neither the name of Broadcom Corporation nor the names of its suppliers
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
-CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
-BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
-USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
Binary file not shown.
@@ -1 +0,0 @@
-dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
@@ -1,46 +0,0 @@
-# uncomment if you get no picture on HDMI for a default "safe" mode
-#hdmi_safe=1
-
-# uncomment this if your display has a black border of unused pixels visible
-# and your display can output without overscan
-disable_overscan=1
-
-# uncomment the following to adjust overscan. Use positive numbers if console
-# goes off screen, and negative if there is too much border
-overscan_left=16
-overscan_right=16
-overscan_top=16
-overscan_bottom=16
-
-# uncomment to force a console size. By default it will be display's size minus
-# overscan.
-#framebuffer_width=1280
-#framebuffer_height=720
-
-# uncomment if hdmi display is not detected and composite is being output
-#hdmi_force_hotplug=1
-
-# uncomment to force a specific HDMI mode (this will force VGA)
-#hdmi_group=1
-#hdmi_mode=1
-
-# uncomment to force a HDMI mode rather than DVI. This can make audio work in
-# DMT (computer monitor) modes
-#hdmi_drive=2
-
-# uncomment to increase signal to HDMI, if you have interference, blanking, or
-# no display
-config_hdmi_boost=4
-
-# uncomment for composite PAL
-#sdtv_mode=2
-
-# uncomment to overclock the arm. 700 MHz is the default.
-arm_freq=1000
-
-# turbo
-core_freq=500
-sdram_freq=500
-over_voltage=6
-
-# for more options see http://elinux.org/RPi_config.txt
Binary file not shown.
Binary file not shown.
View
@@ -11,6 +11,7 @@ source "boot/mxs-bootlets/Config.in"
source "boot/syslinux/Config.in"
source "boot/uboot/Config.in"
source "boot/xloader/Config.in"
+source "boot/rpi/Config.in"
endmenu
View
@@ -0,0 +1,8 @@
+config BR2_TARGET_RPI
+ bool "rpi"
+ depends on BR2_arm
+ help
+ RaspberryPi Boot Formware
+
+ https://github.com/raspberrypi/firmware
+
@@ -11,4 +11,4 @@ gpu_mem_256=100
gpu_mem_512=100
sdram_freq=400
over_voltage=0
-cmdline="dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
+cmdline="dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
View
@@ -0,0 +1,19 @@
+#############################################################
+#
+# rpi
+#
+#############################################################
+
+RPI_VERSION = master
+RPI_SITE = git://github.com/gamaral/rpi-firmware.git
+RPI_LICENSE = BSD-3c
+RPI_LICENSE_FILE = boot/LICENCE.broadcom
+
+define RPI_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/boot/bootcode.bin $(BINARIES_DIR)/boot/bootcode.bin
+ $(INSTALL) -D -m 0644 $(@D)/boot/start.elf $(BINARIES_DIR)/boot/start.elf
+ $(INSTALL) -D -m 0644 $(@D)/boot/fixup.dat $(BINARIES_DIR)/boot/fixup.dat
+ $(INSTALL) -D -m 0644 boot/rpi/config.txt $(BINARIES_DIR)/boot/config.txt
+endef
+
+$(eval $(generic-package))
Oops, something went wrong.

0 comments on commit b6e2523

Please sign in to comment.