On Fri, 29 Apr 2022 15:59:44 +0800 Weijie Gao <weijie....@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? Marek