[PATCH v3 00/15] Add support for MediaTek MT7621 SoC

Weijie Gao weijie.gao at mediatek.com
Sat Apr 30 15:31:15 CEST 2022


On Fri, 2022-04-29 at 17:13 +0200, Marek Behún wrote:
> On Fri, 29 Apr 2022 15:59:44 +0800
> Weijie Gao <weijie.gao at mediatek.com> wrote:
> 
> > On Fri, 2022-04-29 at 08:15 +0200, Stefan Roese wrote:
> > > Hi Weijie
> > > 
> > > On 4/29/22 03:23, Weijie Gao wrote:  
> > > > Hi Marek,
> > > > 
> > > > Yes. MT7621 does need such a proprietary binary for DDR
> > > > initialization
> > > > and calibration. That's why I submit only the ram-bootable part
> > > > here.
> > > > 
> > > > I'm considering to create a preloader to load and run DDR
> > > > init&calib
> > > > binary and ram-bootable u-boot image. The ram-bootable u-boot
> > > > image
> > > > can be appended to the proloader to form the flash-bootable
> > > > bootloader.
> > > > 
> > > > The source code of preloader will be uploaded to github.  
> > > 
> > > Just to be sure: You are not implementing this preloader as an U-
> > > Boot
> > > SPL loader, as this would conflict with U-Boot's GPL
> > > compatibility?  
> > 
> > Yes. Submitting the source code of this binary also violates MTK's
> > non-
> > disclosure agreement.
> 
> Isn't it possible to submit the DDR training code in binary version,
> and somehow call into it from SPL?

It's possible and I've already implemented it. But will u-boot accept
binary file?

> 
> Marek


More information about the U-Boot mailing list