aboutsummaryrefslogtreecommitdiff
path: root/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh
Commit message (Collapse)AuthorAge
* bcm27xx: use PARTUUID for root in cmdlineÁlvaro Fernández Rojas2024-03-04
| | | | | | This allows booting from USB/NVME while keeping SD compatibility. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx: base-files: fix platform_copy_configÁlvaro Fernández Rojas2024-03-04
| | | | | | | /boot/kernel*.img wildcard only works without quotation marks. Fixes: 1a5e51ab0011 ("bcm27xx: base-files: fix platform_copy_config") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx: base-files: fix platform_copy_configÁlvaro Fernández Rojas2024-02-01
| | | | | | | Only bcm2708 and bcm2709 use "kernel.img" file name. bcm2710 and bcm2711 use "kernel8.img" and bcm2712 uses "kernel_2712.img". Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx: fix unmounting /boot after sysupgradeStijn Tintel2020-06-07
| | | | | | | | Due to a typo, /boot is not properly unmounted after copying the backup file to it. Fix the typo to solve this. Fixes: 246916ddf4a1 ("brcm2708: use x86's upgrade scripts for all rpi targets") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* bcm27xx: backup /boot/cmdline.txt and restore earlyStijn Tintel2020-05-03
| | | | | | | | | | | | 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>
* brcm2708: rename target to bcm27xxAdrian Schmutzler2020-02-14
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>