CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors

Supported Devices


Device name

Author/Maintainer


Introduction

The Raspberry Pi 2 Model B is the second generation Raspberry Pi based on a Broadcom BCM2836 SoC, with a quad-core ARM Cortex-A7 CPU

CPU Information

Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : BCM2709
Revision : a21041
boot.log

Installation

To begin installation, we need to setup an SD card for use with the raspberrypi2.
We will need at least 2 partitions, a fat32 boot partition and a root filesystem partition.
The fat32 boot partition must be first.
If the root filesystem partition is not the second partition, then the root must be specified in the cmdline.txt file.
The root filesystem type must be supported by kernel builtin driver or be provided for via initramfs.

You will need to download the firmware files from upstream RaspberryPi Foundation:
https://github.com/raspberrypi/firmware/raw/master/boot/bootcode.bin
https://github.com/raspberrypi/firmware/raw/master/boot/start.elf
https://github.com/raspberrypi/firmware/raw/master/boot/fixup.dat

Next, we need to download the kernel image, modules, and device tree files:
http://stygian.me/crux-arm/distfiles/kernel7-4.5.4.img
http://stygian.me/crux-arm/distfiles/modules-4.5.4-tar.xz
http://stygian.me/crux-arm/distfiles/dtb-4.5.4-tar.xz
http://stygian.me/crux-arm/distfiles/cmdline.txt
http://stygian.me/crux-arm/distfiles/config.txt

Last, we need to download a root filesystem:
http://resources.crux-arm.nu/releases/3.2/crux-arm-rootfs-3.2-raspberrypi2.tar.xz

Copy bootcode.bin, start.elf, fixup.dat, kernel image (kernel7-*.img), config.txt, and cmdline.txt to the boot partition.
Untar the dtb tarball on to the boot partition.
Untar the modules and rootfs tarballs on to the root filesystem partition.

The boot config.txt and cmdline.txt are our bootloader configuration files.

Documentation for config.txt can be found at https://www.raspberrypi.org/documentation/configuration/config-txt.md .
The linked config.txt is set up for booting with the new opensource vc4 gpu driver.

Documentation for cmdline.txt can be found at http://elinux.org/RPi_cmdline.txt .
Make sure that the root= and rootfstype= parts match the partition and filesystem type of your root partition.

Configuration

We should setup all the important files: pkgmk.conf, prt-get.conf, inittab, fstab, rc.conf, net ...

Any extra info