Commit Graph

27 Commits

Author SHA1 Message Date
Sota4Ever
0cf155f3f7 board: Add support for r8s (Samsung Galaxy S20 FE)
Signed-off-by: Denzeel Oliva <wachiturroxd150@gmail.com>
2024-11-16 13:10:28 +00:00
Ivaylo Ivanov
eba7aec49d drivers: samsung: Introduce exynos-speedy
Speedy is a serial communication bus that is typically used in
Exynos SoC devices for communicating with a PMIC. Implement
basic support for it, as well as add its first user - s2mps17 in
board-dreamlte.

Also, while at it, implement a simple readl function.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-28 15:09:59 +02:00
Ivaylo Ivanov
8b562d28fa board: Set CONFIG_RAMDISK_ENTRY for all exynos990 platforms
Needed for Linux to boot a ramdisk, works on all 990 platforms and
removes the need of configuring it manually.

Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
2024-10-22 11:27:50 +03:00
Igor Belwon
2d34fc0f91 [FIX] board: samsung: Fix compile issues due to missing headers
The board files for all boards except for dreamlte and j4lte
are missing drivers/framework.h and lib/simplefb.h headers.
This causes build failures on all targets except for dreamlte
and j4lte.

This commit includes said headers.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-12 19:49:36 +03:00
Ivaylo Ivanov
9c60b66f71 AARCH64: Allow for embedding an initramfs
This actually breaks the armv7 port. It has to be revisited in the
future, since it not only is not compilable right now, but also
cannot boot linux properly. TODO

Also introduce a new C-based __memcpy_optimized that does not
cause an exception on some devices when copying the initramfs.
This issue has to be debugged further.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-12 19:43:05 +03:00
Ivaylo Ivanov
81d26edaa3 uniLoader: Mass rework
arch: aarch64: Load addresses via page + offset
arch: aarch64: Align the TEXT region
drivers: Introduce an empty framework
board: Rework to be PIC

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-08 21:22:21 +03:00
Ivaylo Ivanov
b301e51432 board: Introduce board file configurations
This is meant to replace the current Kconfig / SoC / Board files
configuration, which is ugly and annoying to maintain. Begin
by creating the board files registration framework and
transitioning all exynos boards to it. This also opens room for
creating the drivers registration framework in the future.

All non-samsung boards will be no longer able to do their board
configuration until they're also transitioned.

Every new board must have the following structure:
struct board_data default_board = {
	.name = "DEFAULT",
	.init = NULL,
	.late_init = NULL,
	.driver_setup = NULL,
};

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-09-26 15:34:26 +03:00
chmcax
571fcac1f7 board: Add support for gta4xl (Samsung Galaxy Tab S6 Lite)
Signed-off-by: Alexandru Chimac	<alexchimac@protonmail.com>
2024-09-15 09:53:37 +03:00
Ivaylo Ivanov
b37e225721 arch: arm: Implement TEXT_BASE instead of using a hardcoded address
This was an issue for other armv7 boards that have slightly different
addresses till now. This also allows to start working on relocation
in the near future for both armv7 and aarch64.

While we're at it, fix some mistakes here and there.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-08-06 11:12:31 +03:00
predefine
e3ecb8206c j4lte: fix PAYLOAD_ENTRY
0x40008000 is used by kernel, and can be rewrited by new payload
2024-03-13 04:02:43 +07:00
predefine
61bb21275c add BGRA support 2023-11-10 23:06:34 +07:00
Ivaylo Ivanov
c93df2826e
Merge branch 'master' into master 2023-08-15 14:01:46 +03:00
predefine
9d2a29835c add Samsung Galaxy J4lte & Exynos 7570 support 2023-08-12 01:35:57 +07:00
BotchedRPR
6f83a56d5e
Add support for c1s (Samsung Galaxy Note20) 2023-08-09 13:56:10 +02:00
Ivaylo Ivanov
ed246836e9 lib: simplefb: Add support for RGB888 24bpp (dependant on the stride)
Also comes with small changes here and there.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2023-07-24 09:54:16 +03:00
Ivaylo Ivanov
05a43c1d73
Merge branch 'master' into master 2023-07-18 14:59:15 +03:00
Ivaylo Ivanov
ed98b5d900 .: Multiple changes
arch: Implement ARM32 support
soc: Implement ARM32 support for MSM8916
board: Implement ARM32 support for Samsung Galaxy J5 2015
include: main: Revert built-in memcpy, rearrange and add support for writel
lib: simplefb: Make the clear screen function usable

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Cc: Efim Girjeu <efimgirjeu@gmail.com>
2023-07-18 14:41:37 +03:00
halal-beef
5901622aaa Support for the exynos990 and the Samsung S20 2023-07-16 10:20:06 +01:00
David Wronek
2daacf4645
board: zeroflte: Add support for Samsung Galaxy S6
Signed-off-by: David Wronek <w.david0@protonmail.com>
2022-07-09 09:44:58 +02:00
Faiz Faadhillah
e55d091dcc board: noblelte: Add support for Samsung Galaxy Note5
Signed-off-by: Faiz Faadhillah <faiz.faadhillah@gmail.com>
2022-06-29 13:02:28 +07:00
David Wronek
79c5d972e1 board: jackpotlte: Add support for Samsung Galaxy A8 (2018)
Signed-off-by: David Wronek <w.david0@protonmail.com>
2022-06-15 17:49:48 +03:00
Markuss Broks
0ac15a9da6 main: Drop PAYLOAD_SIZE, use compile time kernel size
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
2022-06-14 19:06:38 +03:00
ivoszbg
4d1a5f84bc board: Drop Board specific headers
It isn't required anymore, as we've moved on to Kconfig.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2022-06-14 18:51:04 +03:00
Markuss Broks
9850f8756b board: starlte: Add support for Samsung Galaxy S9
Also while we're at it, do some cleanup.
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
2022-06-14 18:46:17 +03:00
ivoszbg
fd8ed2d1b8 uniLoader: Migrate to kconfig based configurations
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2022-06-14 18:02:47 +03:00
ivoszbg
94b2cf0c4a board: apple: Add basic iPhone 6 support
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2022-06-12 19:08:34 +03:00
ivoszbg
6b4830e362 .: Initiate the project
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2022-06-12 17:09:32 +03:00