mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v1 4/4] ARM: boards: add support for Samsung Galaxy S20 5G (x1s)
Date: Wed, 30 Jul 2025 11:44:27 +0200	[thread overview]
Message-ID: <1a0e5c13-14b5-4021-9baf-c2e701478c80@pengutronix.de> (raw)
In-Reply-To: <17756254-8151-4c61-95be-2878bc736622@gmail.com>

Hi,

On 7/30/25 11:16, Ivaylo Ivanov wrote:
> On 7/30/25 11:48, Ahmad Fatoum wrote:
>> Hi Ivaylo,
>>
>> On 7/29/25 22:36, Ivaylo Ivanov wrote:
>>> Add support for Samsung Galaxy S20 5G, based on exynos990, to the
>>> current samsung board support. This platform, just like exynos8895,
>>> needs a bit to be set in order to allow the framebuffer to refresh.
>>>
>> Oh, a shame that I sold the old S20 FE I had. :/
>> I still have a rooted S10e though. I should give this a try when I have
>> time.
> 
> Heh, I was thinking about getting an s10e to bring up mainline linux on it,
> but I do have quite a lot of devices to work on right now. At the very least,
> I expect to throw in support for 7580 and 8890 in the future for both
> mainline linux and barebox. The plan ideally will be to bring up support for
> exynos7580 in barebox to a decent state, with mmc and usb working at least.
> S20 series are decently supported, but nothing exciting yet.

Cool stuff. Looking forward to it. :-)

> Another qustion: are there any plans to support booting fit images from an
> address in ram instead of a file? I suspect porting over all the ufs stuff from
> linux will be a hassle

It's something we will want sooner or later, but yes, it will likely be
involved.

> , so for S20 (which does not have an sd card slot, only ufs)
> booting a fit image that s-boot has loaded into ram for us might be neat.
> As far as I've seen, only "go" can do that, but not "bootm".

$ addpart /dev/ram0 0x1000@0x1000(fit)
$ bootm /dev/ram0.fit

would've been the workaround so far.

Since the fuzzing infrastructure has been merged, we also have
ramdisk_init, which sets up a block device on top of a memory buffer
without block layer caching. I think that's sufficient to implement
losetup(8), which would go beyond addpart and even allow mounting file
systems from the loop device.

Cheers,
Ahmad



> 
> Best regards,
> Ivaylo
> 
>>
>>> diff --git a/arch/arm/dts/exynos990-x1s.dts b/arch/arm/dts/exynos990-x1s.dts
>>> new file mode 100644
>>> index 00000000..19d59eaa
>>> --- /dev/null
>>> +++ b/arch/arm/dts/exynos990-x1s.dts
>>> @@ -0,0 +1,13 @@
>>> +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
>>> +/*
>>> + * Samsung Galaxy S20 5G (x1s/SM-G981B) barebox device tree source
>>> + *
>>> + * Copyright (c) 2025, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
>>> + */
>>> +
>>> +/dts-v1/;
>>> +#include <arm64/exynos/exynos990-x1s.dts>
>>> +
>>> +/ {
>>> +	barebox,disable-deep-probe;
>> Same comment: we want deep probe as default eventually. Did you run into
>> problems without this?
>>
>> Cheers,
>> Ahmad
>>
>>> +};
> 
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2025-07-30  9:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 20:36 [PATCH v1 0/4] ARM: boards: add support for Samsung Galaxy S8 and S20 5G Ivaylo Ivanov
2025-07-29 20:36 ` [PATCH v1 1/4] video: simplefb-client: switch to dev_get_resource Ivaylo Ivanov
2025-07-30  8:11   ` Ahmad Fatoum
2025-07-30 11:28     ` Ivaylo Ivanov
2025-07-30 12:31       ` Ahmad Fatoum
2025-07-29 20:36 ` [PATCH v1 2/4] clocksource: arm_architected_timer: support clock-frequency Ivaylo Ivanov
2025-07-30  8:13   ` Ahmad Fatoum
2025-08-05  7:40   ` (subset) " Sascha Hauer
2025-07-29 20:36 ` [PATCH v1 3/4] ARM: boards: add support for Samsung Galaxy S8 (dreamlte) Ivaylo Ivanov
2025-07-30  8:31   ` Ahmad Fatoum
2025-07-30  9:09     ` Ivaylo Ivanov
2025-07-30  9:33       ` Ahmad Fatoum
2025-07-30 11:12         ` Ivaylo Ivanov
2025-07-29 20:36 ` [PATCH v1 4/4] ARM: boards: add support for Samsung Galaxy S20 5G (x1s) Ivaylo Ivanov
2025-07-30  8:48   ` Ahmad Fatoum
2025-07-30  9:16     ` Ivaylo Ivanov
2025-07-30  9:44       ` Ahmad Fatoum [this message]
2025-07-30 11:18         ` Ivaylo Ivanov
2025-07-30 12:50           ` Ahmad Fatoum
2025-07-30 13:12             ` Ivaylo Ivanov
2025-07-30 13:26               ` Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a0e5c13-14b5-4021-9baf-c2e701478c80@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=ivo.ivanov.ivanov1@gmail.com \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox