Commit graph

56 commits

Author SHA1 Message Date
Matthias Reichl
fe21297a01 RPi: make bootloader files optional
RPi4 only needs start.elf/fixup.dat, RPi5 doesn't need any of them

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-10-08 11:57:04 +02:00
Matthias Reichl
a581207139 RPi: config.txt: document how to enable composite video
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Matthias Reichl
5a02115f31 RPi: add distroconfig-composite.txt files
This allows users to easily enable composite video out by changing
the include in config.txt.

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Matthias Reichl
4337d4ff7e bcm2835-bootloader: support multiple distroconfig files in update/release
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Matthias Reichl
4f500a3421 RPi: config.txt: document how to enable analog audio output
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-05-23 16:26:59 +02:00
Matthias Reichl
5e23471713 RPi: add display_auto_detect=1 to distroconfig.txt
This enables automatic loading of overlays for detected DSI displays.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-05-23 16:26:59 +02:00
Matthias Reichl
91be0b98e4 RPi: excplicitly end overlay scope in distroconfig.txt
This ensures dt parameters like dtparam=audio=on which appear
after "include distroconfig" are applied to the base dt instead
of the last dtoverlay loaded in distroconfig.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-19 17:32:28 +02:00
Matthias Reichl
138ee44cb9 bcm2835-bootloader: config.txt cosmetics
Add commended-out example dtoverlay line and info how to enable
GPIO IR receiver.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-12-07 21:48:31 +01:00
Matthias Reichl
c88a508544 bcm2835-bootloader: check config.txt version in update.sh
Replace current config.txt with default version if the version
info is missing or below the required minimum version.

This is needed to roll out required changes if users update from
LibreELEC 9.x

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-11-24 12:01:54 +01:00
Matthias Reichl
73704db1f5 bcm2835-bootloader: cleanup config.txt
Drop commented-out hdmi_force_hotplug option which won't work
anymore with KMS and force_turbo=0 which is already the default.

Fix URL to config.txt documentation (aligned with shorturl from
RPiOS).

Cleanup comments, fix typos.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-11-24 11:35:33 +01:00
Matthias Reichl
475052cc02 bcm2835-bootloader: add version info to config.txt
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-11-24 10:45:40 +01:00
Matthias Reichl
6534c52c99 bcm2835-bootloader: move update.sh from RPi project to files
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-11-23 21:29:58 +01:00
Matthias Reichl
a6d2bcd7e0 bcm2835-bootloader: move (distro)config.txt to files
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-11-23 21:28:05 +01:00
Matthias Reichl
49de9ccd71 RPi: add disable_fw_kms_setup=1 to distroconfig.txt
This prevents the firmware choosing a mode that might not be
available in the KMS driver and lets DRM choose the perferred
mode.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
2e28f625a6 RPi: sync config.txt with RPi4
We only need a bit of gpu mem for H264 decoding, vc4/v3d uses cma.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-04 11:30:02 +02:00
Matthias Reichl
883d91efc1 bcm2835-bootloader: enable vc4-kms-v3d
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-04 11:30:02 +02:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
MilhouseVH
e691b3b693 packages: correct original copyright 2019-03-26 16:43:42 +00:00
CvH
1690150728 spdx: packages/tools 2018-07-18 22:37:47 +02:00
Carlos Garcés
d3430d3110 cosmetics: misc. https URL replacements 2017-03-24 19:27:41 +04:00
MilhouseVH
8eb6fd23bf RPi: Refresh default config.txt 2016-06-15 04:54:06 +01:00
Mark Walker
b81c15c241 Make suggested changes for PR. 2016-06-10 13:30:28 +02:00
Mark Walker
311d20b12b Add distroconfig.txt to enable distribution specific config.txt overrides,
without compromising custom edits in the config.txt file.
2016-06-10 13:30:20 +02:00
Age Bosma
228a291af1 Include RPi 2 overlock mode preset
From the official RPi config tool: 4ee1fde44e

A small fix for turbo to match the config tool and an additional RPi2 preset.
Several tutorials only talk about 1000-500-500, but it actually needs the over_voltage in this config to be stable. So I think it's good to have it mentioned in the default config comments.
2015-09-01 21:42:50 +02:00
Stefan Saraev
f857087f89 remove create_installsrtick* / create_sdcard 2015-03-25 21:42:55 +02:00
Stephan Raue
3644e402f7 bcm2835-bootloader: update default config.txt
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-02-02 22:02:59 +01:00
Stephan Raue
7c30888a38 bcm2835-bootloader: add support to install dtb files, thanks to Milhouse
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-01-25 13:51:37 +01:00
Stefan Saraev
051c53e39d create_sdcard: remove support for creating images
this is legacy, and probably broken. now we do provide
ready to use images.

this reverts debed63cff
2015-01-09 13:39:49 +02:00
MilhouseVH
81c662eb6e Update create_sdcard so that it creates a 256MiB system partition
Drop unit cyl
2014-12-10 01:26:16 +00:00
Stephan Raue
d1d03629ee bcm2835-bootloader: update initial config.txt, dont change gpu_mem values anymore on update
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 10:42:12 +01:00
Stephan Raue
5bf72ecfbe bcm2835-bootloader: use 128MB as GPU MEM, even on 256MB RPis
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 10:42:12 +01:00
Steeve Morin
8a972b66c9 bcm2835-bootloader create_sdcard: create the storage partition aligned on 4mb 2014-03-18 02:41:12 +01:00
Steeve Morin
81bdf9adb2 bcm2835-bootloader: create flash/sdcard optimized ext4 filesystem
See http://blogofterje.wordpress.com/2012/01/14/optimizing-fs-on-sd-card/ for
reference:
- disable journaling
- set stride and stripe-width
- set block size to 4k
2014-03-18 02:22:39 +01:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stephan Raue
5008775eba bcm2835-bootloader: fix create sdcard script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-09-16 00:35:42 +02:00
Stephan Raue
930cc19128 bcm2835-bootloader: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-09-01 18:31:44 +02:00
James Belchamber
76cc529617 Replaced if with case
Because bash is the devil ;)
2013-09-01 12:41:19 +01:00
James Belchamber
c3f556486e Added wildcard to mmcblk/loop if statement
This wound me up no end until I realised it was only checking for mmcblk0. My chromebook has mmcblk0 in use so the sd card was showing up as mmcblk1. It's also not inconceivable for people to have more than one SD card plugged in at once.
2013-08-17 23:22:42 +01:00
Stephan Raue
03fc497501 bcm2835-bootloader: disable ssh by default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-06-30 11:33:43 +02:00
Daniel Forsberg
cd3108c549 RPi: changed gpu_mem to 100mb for 256mb RPis. fixes #1713 2013-05-16 13:48:46 +02:00
Stephan Raue
7fcee9b44a bcm2835-bootloader: fill INSTALL file with some infos
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 16:19:38 +02:00
Stephan Raue
6712c5db3f bcm2835-bootloader: use again 128MB GPU mem as default for 256MB RPi's
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-17 21:40:29 +01:00
Stephan Raue
53b78bb5ed bcm2835-bootloader: install start_x.elf and fixup_x.dat too
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-02-02 14:37:35 +01:00
Stephan Raue
f53aff9cd5 bcm2835-bootloader: dont use /dev/shm, this fixes #1544
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-12-02 23:45:53 +01:00
MikeBuzz
b81fd26810 Update packages/tools/bcm2835-bootloader/files/3rdparty/bootloader/config.txt
Corrected to make more sense
2012-10-23 12:09:56 +02:00
Stephan Raue
c2ed696a82 bcm2835-bootloader: fix typos in config.txt, thanks to 'rduke'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-20 21:26:39 +02:00
Stephan Raue
3b8b60341d bcm2835-bootloader: update to bcm2835-bootloader-c58f722, add default config.txt
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-10-20 19:39:38 +02:00
Chris Swan
2dd0307b97 additional sync before losetup -d
seems to be required by some disk subsystems, otherwise losetup -d fails due to device or resource busy
2012-09-05 01:23:19 +02:00
Chris Swan
15bf3b423b -I option used on mkfs.vfat for /dev/loop0 support 2012-09-05 01:19:04 +02:00
Chris Swan
4b3717515c forcing vfat as needed for /dev/loop0 2012-09-05 01:03:50 +02:00