hrev43826 adds 1 changeset to branch 'master' old head: b44d24c0add302a34ae55a305d9bac69b0ee4a1c new head: 33e204adeeb3d3b1f8f983063e0437e7bada4fb3 ---------------------------------------------------------------------------- 33e204a: jam: Add binary bootloader for Raspberry Pi * Version 17-02-2012 * Used to initialize the Raspberry Pi GPU and boot it * License is permissive, I've also included the confirmation email on this license. * Little bootloader documentation. * Still nothing to get excited about, preliminary. [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev43826 Commit: 33e204adeeb3d3b1f8f983063e0437e7bada4fb3 URL: http://cgit.haiku-os.org/haiku/commit/?id=33e204a Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> Date: Tue Mar 6 02:43:16 2012 UTC ---------------------------------------------------------------------------- 8 files changed, 59 insertions(+), 0 deletions(-) build/jam/board/raspberry_pi/arm128_start.elf | Bin 0 -> 2001244 bytes build/jam/board/raspberry_pi/arm192_start.elf | Bin 0 -> 2001244 bytes build/jam/board/raspberry_pi/arm224_start.elf | Bin 0 -> 2001244 bytes build/jam/board/raspberry_pi/bootcode.bin | Bin 0 -> 16528 bytes build/jam/board/raspberry_pi/cmdline.txt | 2 + build/jam/board/raspberry_pi/info.txt | 32 +++++++++++++++++++++ build/jam/board/raspberry_pi/license.txt | 25 ++++++++++++++++ build/jam/board/raspberry_pi/loader.bin | Bin 0 -> 314691 bytes ---------------------------------------------------------------------------- diff --git a/build/jam/board/raspberry_pi/arm128_start.elf b/build/jam/board/raspberry_pi/arm128_start.elf new file mode 100755 index 0000000..dbe272c Binary files /dev/null and b/build/jam/board/raspberry_pi/arm128_start.elf differ diff --git a/build/jam/board/raspberry_pi/arm192_start.elf b/build/jam/board/raspberry_pi/arm192_start.elf new file mode 100755 index 0000000..41c27f1 Binary files /dev/null and b/build/jam/board/raspberry_pi/arm192_start.elf differ diff --git a/build/jam/board/raspberry_pi/arm224_start.elf b/build/jam/board/raspberry_pi/arm224_start.elf new file mode 100755 index 0000000..119ac74 Binary files /dev/null and b/build/jam/board/raspberry_pi/arm224_start.elf differ diff --git a/build/jam/board/raspberry_pi/bootcode.bin b/build/jam/board/raspberry_pi/bootcode.bin new file mode 100755 index 0000000..209d119 Binary files /dev/null and b/build/jam/board/raspberry_pi/bootcode.bin differ diff --git a/build/jam/board/raspberry_pi/cmdline.txt b/build/jam/board/raspberry_pi/cmdline.txt new file mode 100755 index 0000000..bf19ae6 --- /dev/null +++ b/build/jam/board/raspberry_pi/cmdline.txt @@ -0,0 +1,2 @@ +dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait + diff --git a/build/jam/board/raspberry_pi/info.txt b/build/jam/board/raspberry_pi/info.txt new file mode 100644 index 0000000..9b69e40 --- /dev/null +++ b/build/jam/board/raspberry_pi/info.txt @@ -0,0 +1,32 @@ +Some early bootloader information from Raspberry Pi foundation... + +Setting up the boot partition + +partition 1 -- FAT32, bootable flag, type 'c' +partition 2 -- os, whatever + +The boot partition must contain the following files, +get them from one of the official images: + +* bootcode.bin : 2nd stage bootloader, starts with SDRAM disabled +* loader.bin : 3rd stage bootloader, starts with SDRAM enabled +* start.elf: The GPU binary firmware image, provided by the foundation. +* kernel.img: The OS kernel to load on the ARM processor. + Normally this is Linux - see instructions for compiling a kernel. +* cmdline.txt: Parameters passed to the kernel on boot. + +Optional files: +* config.txt: A configuration file read by the GPU. + Use this to override set the video mode, alter system clock speeds, + voltages, etc. +* vlls directory: Additional GPU code, e.g. extra codecs. + Not present in the initial release. + +Additional GPU firmware images, rename over start.elf to use them: +* arm128_start.elf : 128M ARM, 128M GPU split + - use this for heavy 3D work, possibly also required for some video decoding) +* arm192_start.elf : 192M ARM, 64M GPU split + - this is the default +* arm224_start.elf : 224M ARM, 32M GPU split + - (use this for Linux only with no 3D or video processing. + Its enough for the 1080p framebuffer, but not much else) diff --git a/build/jam/board/raspberry_pi/license.txt b/build/jam/board/raspberry_pi/license.txt new file mode 100644 index 0000000..b7d6e33 --- /dev/null +++ b/build/jam/board/raspberry_pi/license.txt @@ -0,0 +1,25 @@ +-------- Original Message -------- +Subject: Re: What is the arm224_start.elf license info? +Date: 05.03.2012 14:18 +From: Eben Upton +To: Alexander von Gluck + +Hi Alex +The stuff in the boot partition is released under an extremely +permissive license - it's freely redistributable for any purpose +related to Raspberry Pi (such as yours). + +Cheers +Eben Upton +Executive Director, Raspberry Pi Foundation + +On Sun, Mar 4, 2012 at 2:13 PM, Alexander von Gluck +<kallisti5@xxxxxxxxxxx> wrote: +> What is the license for the arm224_start.elf and friends GPU first stage +> stuff? +> +> I am toying with a Haiku port and thought it would be nice to add these to +> our repository. +> +> Thanks! +> -- Alex diff --git a/build/jam/board/raspberry_pi/loader.bin b/build/jam/board/raspberry_pi/loader.bin new file mode 100755 index 0000000..3f7dc90 Binary files /dev/null and b/build/jam/board/raspberry_pi/loader.bin differ