board: add support for Motorola Edge 30 Fusion

Add basic support for Motorola tundra, usable to boot mainline Linux.
UniLoader has to be packaged with mkbootimg (header_version 3), as it
acts as a wrapper for the kernel image and tree.
This commit is contained in:
Ivaylo Ivanov authored and Igor Bełwon committed 2026-05-11 22:04:15 +02:00
1 parent 24dd909e25
commit 732d6f30b9
4 files changed
+49

No files matched your search

+7
View File
@@ -49,6 +49,13 @@ menu "Device Support"
help
Say Y if you want to include support for the Lenovo Idea Tab Pro
config MOTOROLA_TUNDRA
bool "Support for Motorola Edge 30 fusion"
default n
depends on SM8350
help
Say Y if you want to include support for Motorola Edge 30 fusion
config NOKIA_ESSENTIAL
bool "Support for Nokia 3"
default n
+1
View File
@@ -5,6 +5,7 @@ lib-$(CONFIG_HUAWEI_AGASSI2) += huawei/board-agassi2.o
lib-$(CONFIG_INFINIX_X6710) += infinix/board-x6710.o
lib-$(CONFIG_ITEL_P682LPN) += itel/board-p682lpn.o
lib-$(CONFIG_LENOVO_TB373FU) += lenovo/board-tb373fu.o
lib-$(CONFIG_MOTOROLA_TUNDRA) += motorola/board-tundra.o
lib-$(CONFIG_NOKIA_ESSENTIAL) += nokia/board-essential.o
lib-$(CONFIG_NOTHING_TETRIS) += nothing/board-tetris.o
lib-$(CONFIG_QEMU_BOARD_VIRT) += qemu/board-virt.o
+34
View File
@@ -0,0 +1,34 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2026, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#ifdef CONFIG_SIMPLE_FB
static struct video_info tundra_fb = {
.format = FB_FORMAT_ARGB8888,
.width = 1080,
.height = 2400,
.stride = 4,
.scale = 2,
.address = (void *)0xe1000000
};
#endif
int tundra_drv(void)
{
#ifdef CONFIG_SIMPLE_FB
REGISTER_DRIVER("simplefb", simplefb_probe, &tundra_fb);
#endif
return 0;
}
struct board_data board_ops = {
.name = "motorola-tundra",
.ops = {
.drivers_init = tundra_drv
},
.quirks = 0
};
+7
View File
@@ -0,0 +1,7 @@
CONFIG_POSITION_INDEPENDENT=y
CONFIG_LINUX_KRNL_HEADER_IMG=y
CONFIG_SM8350=y
CONFIG_MOTOROLA_TUNDRA=y
CONFIG_TEXT_BASE=0x87000000
CONFIG_PAYLOAD_ENTRY=0x90000000
CONFIG_RAMDISK_ENTRY=0xaeba8000