public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [RFC] Vocore2 MMC needs clock patches
Date: Tue, 21 Jan 2020 13:08:01 +0100	[thread overview]
Message-ID: <958c9044-e22f-e709-dae5-c693af752250@denx.de> (raw)
In-Reply-To: <a20996c9-c948-e104-db53-e36ce42bb18b@mclink.it>

Hi Mauro,

On 21.01.20 12:27, Mauro Condarelli wrote:
> Thanks Weijie,
> I made the changes You suggested.
> I have also seen You sent a new version of Your patches.
> Since mine are based on yours I *think* I should suspend
> sending my VoCore2 patches till Yours are fixed and integrated
> into master.
> 
> @Stefan Roese: is this the right course of action?

I think in the current state of Weijie's patches (v3), you can resume
sending your VoCore2 support based on this latest patchset to the
list. Please don't attach a patch but send it inline next time
(git send-email) to enable review.
  
> I am happy what I have (pending further test, of course!),
> but I want this integrated in upstream master, if possible,
> so I'm prepared to rebase my patches after Weijie ones
> are in.
> 
> Any comment welcome.
> 
> Side Question: Stefan wrote:
>> Most of this can be done by using the
>> RAM version now (again). There is no additional RAM booting target now
>> any more. You can use the normal U-Boot image for this now. Please note
>> the changes TEXT_BASE here. Its now 0x80200000.
> This actually seems to work right if I start from my original u-boot
> (1.1.3,
> flashed at start of SPI NOR), but it fails if I start from a flashed (at the
> same location) u-boot-mtmips.bin
> I *think* this happens because unpacking actually writes u-boot at
> 0x80200000 and runs it from there, so "load usb 0:1 80200000 u-boot.bin"
> (or equivalent) will overwrite the running u-boot and the following
> "go ${fileaddr}" fails:
>     ## Starting application at 0x80200000 ...
>     <DEAD>

No, U-Boot relocates itself to the end of RAM and runs from there. So
this should work. Perhaps a cache flush is missing.

I'll give it a try on my LinkIt board as well later.

> Note that if I load the same version flashed it works ok (presumably because
> I'm  overwriting with the same content, so no harm done).
> How can I load in RAM end test a new version once I flash new-style u-boot?
> I am thinking about relinking at a different address, but I'm unsure.

See above.

Thanks,
Stefan

  reply	other threads:[~2020-01-21 12:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 23:55 [RFC] Vocore2 MMC needs clock patches Mauro Condarelli
2020-01-21  3:11 ` Weijie Gao
2020-01-21 11:27   ` Mauro Condarelli
2020-01-21 12:08     ` Stefan Roese [this message]
2020-01-22 20:16       ` Mauro Condarelli
2020-01-22 21:13         ` Mauro Condarelli
2020-01-23  6:00         ` Stefan Roese

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=958c9044-e22f-e709-dae5-c693af752250@denx.de \
    --to=sr@denx.de \
    --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