U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH V4 2/2] riscv: board: Support OpenPiton SoC
Date: Fri, 7 May 2021 09:17:06 -0400	[thread overview]
Message-ID: <40dedd43-0af7-ce90-839e-cde2b52f1486@gmail.com> (raw)
In-Reply-To: <CAEUhbmUoc+pntVdBnzikt=FHzdfiZY0kZ7mnGqa70k0iFs9yiA@mail.gmail.com>

On 5/7/21 9:11 AM, Bin Meng wrote:
> On Fri, May 7, 2021 at 9:03 PM Sean Anderson <seanga2@gmail.com> wrote:
>>
>> On 5/6/21 11:48 PM, Tianrui Wei wrote:
>>>
>>> On 5/7/2021 11:41 AM, Sean Anderson wrote:
>>>> On 5/6/21 11:28 PM, Tianrui Wei wrote:
>>>>>
>>>>> On 5/7/2021 11:15 AM, Sean Anderson wrote:
>>>>>> On 5/6/21 11:06 PM, Tianrui Wei wrote:
>>>>>>> Hi Sean,
>>>>>>>
>>>>>>>
>>>>>>> Many thanks again for reviewing our code! We really appreciate it. Will fix the things you're suggesting ;p Though I have a few questions in line in the comment. Also, checkpatch didn't catch any of the identation issues. I was wondering if there are some specific flags to enable some of the checks? I'm running ./utils/checkpatch.pl this.patch right now.
>>>>>>>
> 
> [snip]
> 
>>>>>>>
>>>>>>>
>>>>>>> No we don't support fit yet for some hardware reasons.
>>>>>>
>>>>>> Can you elaborate on that? I wasn't aware of any restrictions in this
>>>>>> area.
>>>>>
>>>>>
>>>>> So OpenPiton is actually some kind of SoC generator that generates
>>>>> different SoC on FPGA. The device tree was generated at bitstream
>>>>> creation time to facilitate different configurations, so each board
>>>>> can have different device trees. We're aware of any way to do this in
>>>>> FIT.
>>>>
>>>> Oh, so you're saying that the devicetree is placed at a specific address
>>>> in hardware? Does it need any fixups?
>>>
>>>
>>> No for now we just embed it in SPL, will be converted into the bootrom for the chip with a small ZSBL.
>>
>> Well, atm you are using the DTS embedded in U-Boot.
>>
>> I don't know what the correct way to do this is...
>>
>> +CC Bin, Heinrich: Do you have a comment on this?
> 
> I am not sure I followed this correctly. Ideally we should use OF_SEPARATE.

As I understand it, Tianrui would like to use the same FDT that U-Boot
uses for Linux as well. Is doing something like

>> +    "fdt addr ${fdtcontroladdr}; " \
>> +    "fdt move ${fdtcontroladdr} ${fdt_addr_r}; " \
>> +    "booti ${loadaddr} - ${fdt_addr_r}; " 

the right way to go about this? Can any other platforms be used as a
reference here (perhaps qemu)?

--Sean

> 
>>
>>>
>>> Also, now that you mention fixups u-boot spl doesn't work at high address like 0xffffff0000 for now. Is that the case?
>>
>> What happens why you try that?
>>
> 
> Regards,
> Bin
> 

  reply	other threads:[~2021-05-07 13:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06  3:42 [PATCH V4 2/2] riscv: board: Support OpenPiton SoC Tianrui Wei
2021-05-07  2:32 ` Sean Anderson
2021-05-07  3:06   ` Tianrui Wei
2021-05-07  3:15     ` Sean Anderson
2021-05-07  3:28       ` Tianrui Wei
2021-05-07  3:41         ` Sean Anderson
2021-05-07  3:48           ` Tianrui Wei
2021-05-07 13:03             ` Sean Anderson
2021-05-07 13:11               ` Bin Meng
2021-05-07 13:17                 ` Sean Anderson [this message]
2021-05-07 13:43                   ` Bin Meng
2021-05-08  4:59                     ` Tianrui Wei
2021-05-08  4:57               ` Tianrui Wei
2021-05-08 15:14                 ` Sean Anderson
2021-05-08 17:57                   ` Tianrui Wei
2021-05-12 16:37                   ` Tianrui Wei
2021-05-12 17:14                     ` Sean Anderson
2021-05-13  5:06                       ` Tianrui Wei
2021-05-13  6:32                         ` Bin Meng
2021-05-13  6:50                           ` Tianrui Wei
2021-05-13  7:49                             ` Bin Meng
2021-05-19  6:45                               ` Tianrui Wei

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=40dedd43-0af7-ce90-839e-cde2b52f1486@gmail.com \
    --to=seanga2@gmail.com \
    --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