Remove lk2nd screen version tag, make LK2ND_VERSION neutral, and refresh archives
- Remove LK2ND_VERSION from lk2nd/device/menu/menu.c (display_fastboot_menu and display_default_image_on_screen) in bootloader/lk2nd/nokia-beatles.patch so the BANANARCHY LINUX boot splash renders intact and boot/Fastboot-recovery screens carry no OS version tag.
- Replace -a1109-r3 / -a1114-r1 / -a1120-r1 suffixes in scripts/build-lk2nd-{beatles,coconut,sparkler}.sh with OS-version-neutral bananarchy-<target>{,-diag,-display} tags and enforce this in scripts/check-lk2nd-{beatles,coconut,sparkler}.py and scripts/check-rebuild.sh.
- Rebuild all 9 lk2nd images and refresh the a1120 (cocojamboo) display lk2nd and archive SHA-256 hashes in scripts/check-rebuild.sh, CHANGELOG.md, bootloader/lk2nd/README.md, and AGENTS.md.
This commit is contained in:
1 parent
1e7077e314
commit
6cedcf980c
11 files changed
+112
-18
No files matched your search
@@ -663,6 +663,50 @@ index 0000000..dab182c
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/lk2nd/device/menu/menu.c b/lk2nd/device/menu/menu.c
|
||||
index 28ab377..ac8b641 100644
|
||||
--- a/lk2nd/device/menu/menu.c
|
||||
+++ b/lk2nd/device/menu/menu.c
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
#include <lk2nd/device/keys.h>
|
||||
#include <lk2nd/util/minmax.h>
|
||||
-#include <lk2nd/version.h>
|
||||
|
||||
#include "../device.h"
|
||||
|
||||
@@ -191,7 +190,6 @@ void display_fastboot_menu(void)
|
||||
scale_factor = old_scale;
|
||||
incr = FONT_HEIGHT * scale_factor;
|
||||
|
||||
- fbcon_puts_ln(SILVER, y, incr, true, LK2ND_VERSION);
|
||||
if (lk2nd_dev.model)
|
||||
fbcon_puts_ln(SILVER, y, incr, true, lk2nd_dev.model);
|
||||
else
|
||||
@@ -287,19 +285,10 @@ void display_fastboot_menu(void)
|
||||
void display_default_image_on_screen(void);
|
||||
void display_default_image_on_screen(void)
|
||||
{
|
||||
- struct fbcon_config *fb = fbcon_display();
|
||||
- int y, incr;
|
||||
-
|
||||
- /*
|
||||
- * Make sure the specified line lenght fits on the screen.
|
||||
- */
|
||||
- scale_factor = max(1U, min(fb->width, fb->height) / (FONT_WIDTH * MIN_LINE));
|
||||
- incr = FONT_HEIGHT * scale_factor;
|
||||
- y = fb->height - 3 * incr;
|
||||
-
|
||||
- fbcon_clear_msg(y / FONT_HEIGHT, y / FONT_HEIGHT + 3 * scale_factor);
|
||||
+ if (!fbcon_display())
|
||||
+ return;
|
||||
|
||||
- fbcon_puts_ln(WHITE, y, incr, true, xstr(BOARD));
|
||||
- fbcon_puts_ln(SILVER, y, incr, true, LK2ND_VERSION);
|
||||
+ /* Flush the branded Bananarchy splash painted by spi_display_setup()
|
||||
+ * intact without overwriting its bottom strip with BOARD/version. */
|
||||
fbcon_flush();
|
||||
}
|
||||
diff --git a/lk2nd/fastboot/fetch.c b/lk2nd/fastboot/fetch.c
|
||||
index a60173f..b961995 100644
|
||||
--- a/lk2nd/fastboot/fetch.c
|
||||
|
||||
Reference in new issue
Block a user