aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-11-10 17:00:28 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-11-10 17:01:58 +0100
commit890800e24f31720cdc6614445ce6ee043bd540b4 (patch)
treef779b552b46a4377f8879355bba3671afe81dcd8 /board
parentc85d4c956d7bba3236cb399d3032d092ba79e28b (diff)
Added the configuration for the raspberry 3a
Diffstat (limited to 'board')
-rw-r--r--board/config_3_64.txt37
-rw-r--r--board/genimage-raspberrypi3_64.cfg34
2 files changed, 71 insertions, 0 deletions
diff --git a/board/config_3_64.txt b/board/config_3_64.txt
new file mode 100644
index 0000000..50ba763
--- /dev/null
+++ b/board/config_3_64.txt
@@ -0,0 +1,37 @@
+# Please note that this is only a sample, we recommend you to change it to fit
+# your needs.
+# You should override this file using a post-build script.
+# See http://buildroot.org/manual.html#rootfs-custom
+# and http://elinux.org/RPiconfig for a description of config.txt syntax
+
+# We always use the same names, the real used variant is selected by
+# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice
+start_file=start.elf
+fixup_file=fixup.dat
+
+kernel=Image
+
+# To use an external initramfs file
+#initramfs rootfs.cpio.gz
+
+# Disable overscan assuming the display supports displaying the full resolution
+# If the text shown on the screen disappears off the edge, comment this out
+disable_overscan=1
+
+# How much memory in MB to assign to the GPU on Pi models having
+# 256, 512 or 1024 MB total memory
+gpu_mem_256=100
+gpu_mem_512=100
+gpu_mem_1024=100
+boot_delay=0
+initial_turbo=10
+dtoverlay=dwc2
+
+# enable 64bits support
+arm_64bit=1
+
+# https://github.com/raspberrypi/firmware/tree/master/boot/overlays
+dtparam=krnbt=on
+dtparam=i2c=on
+dtparam=audio=on
+dtoverlay=allo-boss-dac-pcm512x-audio
diff --git a/board/genimage-raspberrypi3_64.cfg b/board/genimage-raspberrypi3_64.cfg
new file mode 100644
index 0000000..8cbcd91
--- /dev/null
+++ b/board/genimage-raspberrypi3_64.cfg
@@ -0,0 +1,34 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2710-rpi-3-b.dtb",
+ "bcm2710-rpi-3-b-plus.dtb",
+ "bcm2837-rpi-3-b.dtb",
+ "rpi-firmware/bootcode.bin",
+ "rpi-firmware/cmdline.txt",
+ "rpi-firmware/config.txt",
+ "rpi-firmware/fixup.dat",
+ "rpi-firmware/start.elf",
+ "rpi-firmware/overlays",
+ "Image"
+ }
+ }
+
+ size = 32M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}