All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Kojedzinszky <richard@kojedz.in>
To: u-boot@lists.denx.de
Subject: Radxa rock-pi-3a
Date: Fri, 08 Apr 2022 09:44:25 +0200	[thread overview]
Message-ID: <774b3ce33306097071e79a6b9bb3b092@kojedz.in> (raw)

Dear community,

I own a rock-pi-3a board with 8G ram. Right now, radxa's u-boot is 
capable of detecting the whole amount during boot. Upstream u-boot shows 
1G of dram installed.

I've started with evb-rk3568_defconfig.

What I would like to achieve is that u-boot load grub-efi, to finally 
boot the operating system. Howewer, with radxa uboot, and using 
grub-efi, the kernel sees 4G only. If I boot the kernel image directly 
from radxa u-boot, the whole 8G is visible. I assume that efi is broken 
somehow, as I get multiple warnings from kernel regarding EFI firmware.


Reading radxa's u-boot, it seems that it uses ATAGs do detect memory 
size. Am I in the right way?

Would it be beneficial to port some of that code to upstream u-boot, or 
are there other solutions to detect correct memory size?


Thanks in advance,
Richard

             reply	other threads:[~2022-04-08 12:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08  7:44 Richard Kojedzinszky [this message]
2022-04-09  2:28 ` Radxa rock-pi-3a Kever Yang
2022-04-09  4:56   ` Richard Kojedzinszky
2022-04-09  7:30     ` Richard Kojedzinszky

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=774b3ce33306097071e79a6b9bb3b092@kojedz.in \
    --to=richard@kojedz.in \
    --cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.