diff --git a/board/Kconfig b/board/Kconfig index d4ea60c..f8baf41 100644 --- a/board/Kconfig +++ b/board/Kconfig @@ -166,12 +166,10 @@ menu "Device Specific Addresses" hex "Payload Entry Address" default 0x050000000 if SAMSUNG_J4LTE default 0x090000000 if SAMSUNG_J5LTE - default 0x090000000 if SAMSUNG_GTA4XL default 0x60000000 if VOLLA_ALGIZ config RAMDISK_ENTRY hex "Ramdisk Entry Address" - default 0x084000000 if SAMSUNG_GTA4XL default 0x51100000 if VOLLA_ALGIZ config FRAMEBUFFER_BASE @@ -180,7 +178,6 @@ menu "Device Specific Addresses" default 0 default 0x067000000 if SAMSUNG_J4LTE default 0x08e000000 if SAMSUNG_J5LTE - default 0x0ca000000 if SAMSUNG_GTA4XL default 0x7d010000 if VOLLA_ALGIZ config FRAMEBUFFER_WIDTH @@ -189,7 +186,6 @@ menu "Device Specific Addresses" default 0 default 720 if SAMSUNG_J4LTE default 720 if SAMSUNG_J5LTE - default 1200 if SAMSUNG_GTA4XL default 1080 if VOLLA_ALGIZ config FRAMEBUFFER_HEIGHT @@ -198,7 +194,6 @@ menu "Device Specific Addresses" default 0 default 1280 if SAMSUNG_J4LTE default 1280 if SAMSUNG_J5LTE - default 2000 if SAMSUNG_GTA4XL default 2400 if VOLLA_ALGIZ config FRAMEBUFFER_STRIDE @@ -207,7 +202,6 @@ menu "Device Specific Addresses" default 0 default 4 if SAMSUNG_J4LTE default 3 if SAMSUNG_J5LTE - default 4 if SAMSUNG_GTA4XL default 4 if VOLLA_ALGIZ config FRAMEBUFFER_BGRA diff --git a/board/samsung/board-gta4xl.c b/board/samsung/board-gta4xl.c index f87213b..2fa8886 100644 --- a/board/samsung/board-gta4xl.c +++ b/board/samsung/board-gta4xl.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2024 Alexandru Chimac + * Copyright (c) 2025, Alexandru Chimac * Copyright (c) 2024, Ivaylo Ivanov */ #include @@ -27,10 +27,10 @@ int gta4xl_late_init(void) #ifdef CONFIG_SIMPLE_FB static struct video_info gta4xl_fb = { .format = FB_FORMAT_ARGB8888, - .width = CONFIG_FRAMEBUFFER_WIDTH, - .height = CONFIG_FRAMEBUFFER_HEIGHT, - .stride = CONFIG_FRAMEBUFFER_STRIDE, - .address = (void *)CONFIG_FRAMEBUFFER_BASE + .width = 1200, + .height = 2000, + .stride = 4, + .address = (void *)0xca000000 }; #endif diff --git a/configs/gta4xl_defconfig b/configs/gta4xl_defconfig index d64ec75..57bee72 100644 --- a/configs/gta4xl_defconfig +++ b/configs/gta4xl_defconfig @@ -1,3 +1,7 @@ CONFIG_CROSS_COMPILE="aarch64-linux-gnu-" CONFIG_EXYNOS_9610=y CONFIG_SAMSUNG_GTA4XL=y +CONFIG_POSITION_INDEPENDENT=y +CONFIG_TEXT_BASE=0x88000000 +CONFIG_PAYLOAD_ENTRY=0x90000000 +CONFIG_RAMDISK_ENTRY=0x84000000