public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gunjan Gupta <viraniac@gmail.com>
To: u-boot@lists.denx.de
Cc: Jernej Skrabec <jernej.skrabec@siol.net>,
	Ondrej Jirman <megi@xff.cz>, Gunjan Gupta <viraniac@gmail.com>,
	Andre Przywara <andre.przywara@arm.com>,
	Jagan Teki <jagan@amarulasolutions.com>
Subject: [PATCH 0/1] Fix for U-Boot SPL hang on sunxi H6 due to incorrect ram size detection
Date: Sun,  1 Oct 2023 21:43:31 +0530	[thread overview]
Message-ID: <20231001161336.31140-1-viraniac@gmail.com> (raw)


On Orange Pi 3 LTS, sometimes on reboot, SPL detects ram as 4 GB instead
of 2 GB. This leads to a hang later and board fails to boot. Fix is
tested by leaving the device in a reboot loop overnight where device
successfully rebooted 1350+ times by the time I stopped rebooting it.


Gunjan Gupta (1):
  sunxi: dram: Fix incorrect ram size detection for some H6 boards

 arch/arm/mach-sunxi/dram_helpers.c   | 1 +
 arch/arm/mach-sunxi/dram_sun50i_h6.c | 2 ++
 2 files changed, 3 insertions(+)

-- 
2.42.0


             reply	other threads:[~2023-10-01 16:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-01 16:13 Gunjan Gupta [this message]
2023-10-01 16:13 ` [PATCH 1/1] sunxi: dram: Fix incorrect ram size detection for some H6 boards Gunjan Gupta
2023-10-02 11:26   ` Andre Przywara
2023-10-02 12:42     ` Gunjan Gupta
2023-10-02 18:59       ` Jernej Škrabec
2023-10-20 23:38         ` Andre Przywara
2023-10-21  5:48           ` Jernej Škrabec
2023-10-21  9:40             ` Gunjan Gupta
2023-10-02 18:50     ` Jernej Škrabec
2023-10-03  9:48       ` Andre Przywara

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=20231001161336.31140-1-viraniac@gmail.com \
    --to=viraniac@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@siol.net \
    --cc=megi@xff.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox