From: Xavier Drudis Ferran <xdrudis@tinet.cat>
To: u-boot@lists.denx.de
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu,
kever.yang@rock-chips.com, lukma@denx.de, seanga2@gmail.com
Subject: [PATCH 0/3] arm: rockchip: rk3399: rock-pi-4: power domain driver to boot from MMCSD
Date: Thu, 2 Jun 2022 13:02:00 +0200 [thread overview]
Message-ID: <20220602110200.GB1727@begut> (raw)
Hello.
I've been trying to compile myself all the stack to boot a Radxa Rock
Pi 4B.
I've found and worked around a few issues and I'm starting to select,
clean up and send the patches I used.
Since I'm new to the project I may have overseen something obvious. If
so sorry. For the rest I hope something can be useful to others.
Likewise I've found a couple of suspicions lines in clk_rk3399.c, but
since I haven't found cases where they give problems, I should not
send changes, or should I?
This series is the minimum I needed to be able to boot linux-libre
from a SD card, which wasn't possible for me just from master. It
still displays some errors, but I leave them for later because it
boots.
The series is basically about trying not to overlap ATF, enabling a
couple of clocks that MMCSD uses, and adding a power domain driver for
rockchip, since I guess the DTS must have been updated from linux and
the board may have worked before but the new DTS maybe broke boot from
SD.
I'm not sure why power domain drivers in U-Boot leave the clocks they
need enabled, but I tried to disable them once powered up and it
didn't boot.
If people wants to test with other rockchip SOCs that'd be welcome,
but I'm not sure whether they need the new driver. For now I only
configured it for Rock Pi 4.
Thanks beforehand for any feedback. Specially if I should run any tests.
--
Xavier Drudis Ferran
next reply other threads:[~2022-06-02 11:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 11:02 Xavier Drudis Ferran [this message]
2022-06-02 11:05 ` [PATCH 1/3] Reserve some RAM at 0 for bl31_0x00000000.bin for Radxa Rock Pi 4 Xavier Drudis Ferran
2022-06-02 11:06 ` [PATCH 2/3] Add a couple of missing clocks for MMCSD Xavier Drudis Ferran
2022-06-02 11:08 ` [PATCH 3/3] arm: rockchip: rk3399: Power domain driver for rockchip Xavier Drudis Ferran
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=20220602110200.GB1727@begut \
--to=xdrudis@tinet.cat \
--cc=kever.yang@rock-chips.com \
--cc=lukma@denx.de \
--cc=philipp.tomsich@vrull.eu \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--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