This website requires JavaScript.
Explore
Help
Register
Sign in
Difuse
/
difos
Watch
2
Star
0
Fork
You've already forked difos
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
49ab97ca86
difos
/
target
/
linux
/
bcm27xx
/
base-files
/
lib
/
upgrade
/
keep.d
/
platform
3 lines
35 B
Text
Raw
Normal View
History
Unescape
Escape
bcm27xx: backup /boot/cmdline.txt and restore early If you want to use the Raspberry Pi UART, "console=serial0,115200" needs to be removed from the kernel cmdline. This is done by editing /boot/cmdline.txt. However, this file is not currently backed up during sysupgrade, so this effectively breaks HATs that require the use of the UART every sysupgrade. Backup this file during sysupgrade, and restore it before rebooting. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-04-16 21:32:18 +00:00
/boot/cmdline.txt
brcm2708: restore /boot/config.txt before reboot The Raspberry Pi bootloader reads configuration values from config.txt in the boot partition. This file allows to specify the amount of memory to assign to the GPU, the license keys for hardware MPEG-2 and VC-1 decoding, Device Tree parameters and overlays, and lots of other things. Since sysupgrade only restores the configuration after booting the newly flashed image, these values will not be active, even if sysupgrade would save /boot/config.txt. To solve this, add the file to the files to be backed up, and restore it in platform_copy_config, before reboot. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-10-21 11:51:14 +00:00
/boot/config.txt
Reference in a new issue
Copy permalink