OpenVoiceOS/buildroot-external/board/raspberrypi
j1nx e9ab307a5c No more console on TTY1 for cosmetics
As we now run our services as user service and enabled linger for
the default mycroft user we do not need any CLI on tty1 which prevents
linux messages being shown.
2022-10-11 12:28:55 +02:00
..
rootfs-overlay Use the old camera firmware based software stack (for now) 2022-05-17 09:13:51 +02:00
cmdline.txt No more console on TTY1 for cosmetics 2022-10-11 12:28:55 +02:00
config.txt Disable TV composite out 2022-01-28 09:58:05 +01:00
config_3_64bit.txt No longer use hardcoded screen resolutions 2022-05-30 18:44:16 +02:00
config_4_64bit.txt Fixes and additions to get back into shape 2022-09-29 14:02:47 +02:00
genimage-raspberrypi.cfg
genimage-raspberrypi0.cfg
genimage-raspberrypi0w.cfg
genimage-raspberrypi2.cfg
genimage-raspberrypi3-64.cfg Fix rpi3 config 2022-05-24 11:52:22 +02:00
genimage-raspberrypi3.cfg
genimage-raspberrypi4-64.cfg More fixes and tweaks. 2022-09-30 13:41:30 +02:00
genimage-raspberrypi4.cfg MycroftOS: Add RPI4 support. 2019-12-10 11:13:25 +01:00
kernel.config The big catch up game - part2 2022-09-25 18:44:08 +02:00
post-build.sh Get buildroot-external tree to reflect 2022.02.1 2022-05-12 10:46:41 +02:00
post-image.sh Get buildroot-external tree to reflect 2022.02.1 2022-05-12 10:46:41 +02:00
readme.txt MycroftOS: Add RPI4 support. 2019-12-10 11:13:25 +01:00

readme.txt

Raspberry Pi

Intro
=====

These instructions apply to all models of the Raspberry Pi:
  - the original models A and B,
  - the "enhanced" models A+ and B+,
  - the model B2 (aka Raspberry Pi 2)
  - the model B3 (aka Raspberry Pi 3).
  - the model B4 (aka Raspberry Pi 4).

How to build it
===============

Configure Buildroot
-------------------

There are two RaspberryPi defconfig files in Buildroot, one for each
major variant, which you should base your work on:

For models A, B, A+ or B+:

  $ make raspberrypi_defconfig

For model Zero (model A+ in smaller form factor):

  $ make raspberrypi0_defconfig

For model 2 B:

  $ make raspberrypi2_defconfig

For model 3 B and B+:

  $ make raspberrypi3_defconfig

For model 4 B:

  $ make raspberrypi4_defconfig

Build the rootfs
----------------

Note: you will need to have access to the network, since Buildroot will
download the packages' sources.

You may now build your rootfs with:

  $ make

(This may take a while, consider getting yourself a coffee ;-) )

Result of the build
-------------------

After building, you should obtain this tree:

    output/images/
    +-- bcm2708-rpi-b.dtb           [1]
    +-- bcm2708-rpi-b-plus.dtb      [1]
    +-- bcm2709-rpi-2-b.dtb         [1]
    +-- bcm2710-rpi-3-b.dtb         [1]
    +-- bcm2710-rpi-3-b-plus.dtb    [1]
    +-- bcm2711-rpi-4-b.dtb         [1]
    +-- boot.vfat
    +-- rootfs.ext4
    +-- rpi-firmware/
    |   +-- bootcode.bin
    |   +-- cmdline.txt
    |   +-- config.txt
    |   +-- fixup.dat
    |   +-- start.elf
    |   `-- overlays/               [2]
    +-- sdcard.img
    `-- zImage

[1] Not all of them will be present, depending on the RaspberryPi
    model you are using.

[2] Only for the Raspberry Pi 3/4 Models (overlay pi3-miniuart-bt is needed
    to enable the RPi3 serial console otherwise occupied by the bluetooth
    chip). Alternative would be to disable the serial console in cmdline.txt
    and /etc/inittab.

How to write the SD card
========================

Once the build process is finished you will have an image called "sdcard.img"
in the output/images/ directory.

Copy the bootable "sdcard.img" onto an SD card with "dd":

  $ sudo dd if=output/images/sdcard.img of=/dev/sdX

Insert the SDcard into your Raspberry Pi, and power it up. Your new system
should come up now and start two consoles: one on the serial port on
the P1 header, one on the HDMI output where you can login using a USB
keyboard.