mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Sascha Hauer" <s.hauer@pengutronix.de>
To: "Alexander Shiyan" <eagle.alexander923@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: RK3588 optee question
Date: Thu, 13 Aug 2026 06:41:55 +0000	[thread overview]
Message-ID: <20260813064155.TaLuwgpeK6L0RQyT2kUY1bcP9b56R7SHE2RYtABI6cg@z> (raw)
In-Reply-To: <CAP1tNvRw3xWZCs3KUFMH7=9f7s8Op8-5hQUCFiFE8LY+mcp+VQ@mail.gmail.com>

On 2026-08-12 17:44, Alexander Shiyan wrote:
> Hello Sascha.
> 
> After enabling CONFIG_ARCH_ROCKCHIP_ATF_PASS_FDT=y the following build
> errors occur:
> 
> CC [P]  arch/arm/mach-rockchip/rk3588.pbl.o
> In file included from include/linux/array_size.h:6,
> from include/linux/kernel.h:6,
> from /home/ARM64/barebox/arch/arm/include/asm/barebox-arm.h:17,
> from include/mach/rockchip/bootrom.h:9,
> from arch/arm/mach-rockchip/bootrom.c:2:
> include/linux/build_bug.h:100:41: error: static assertion failed:
> "sizeof(structrockchip_scratch_space) <= CONFIG_SCRATCH_SIZE"

Set CONFIG_SCRATCH_SIZE=0x100000

Seems we have to look into it to get a sane default.

Sascha

--
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:[~2026-08-13  6:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11 11:51 Alexander Shiyan
2026-08-11 12:19 ` Ahmad Fatoum
2026-08-11 12:54   ` Alexander Shiyan
2026-08-11 14:07     ` Ahmad Fatoum
2026-08-11 14:13       ` Alexander Shiyan
2026-08-12  6:25 ` Sascha Hauer
     [not found] ` <6a7c11f4.bd9e1b36.35e6eb.4491SMTPIN_ADDED_MISSING@mx.google.com>
2026-08-12 14:44   ` Alexander Shiyan
2026-08-13  6:41     ` Sascha Hauer [this message]
     [not found]     ` <6a7d6747.1bdbcb37.263332.61abSMTPIN_ADDED_MISSING@mx.google.com>
2026-08-14  6:49       ` Alexander Shiyan

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=20260813064155.TaLuwgpeK6L0RQyT2kUY1bcP9b56R7SHE2RYtABI6cg@z \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=eagle.alexander923@gmail.com \
    /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