[U-Boot] Bogus message about SCSI during build

Bin Meng bmeng.cn at gmail.com
Tue Jan 8 01:04:14 UTC 2019


Hi Andy,

On Tue, Jan 8, 2019 at 2:38 AM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
>
> On Mon, Jan 7, 2019 at 8:34 PM Andy Shevchenko
> <andy.shevchenko at gmail.com> wrote:
> > On Wed, Dec 26, 2018 at 6:38 PM Tom Rini <trini at konsulko.com> wrote:
> > > On Thu, Dec 13, 2018 at 12:52:21PM +0800, Bin Meng wrote:
> > > > On Wed, Dec 12, 2018 at 12:21 AM Andy Shevchenko
> > > > <andy.shevchenko at gmail.com> wrote:
>
> > > > > Since X86 implies SCSI and Intel Edison board does not use it, I have got a
> > > > > ===================== WARNING ======================
> > > > > This board does not use CONFIG_DM_SCSI. Please update
> > > > > the storage controller to use CONFIG_DM_SCSI before the v2019.07 release.
> > > > > Failure to update by the deadline may result in board removal.
> > > > > See doc/driver-model/MIGRATION.txt for more info.
> > > > > ====================================================
> > > > >
> > > > > Is anybody aware of?
> > > >
> > > > AFAIK , this warning message is intentional to push board maintainers
> > > > to convert their boards over to driver model.
> > > >
> > > > For the edison board, if SCSI is not used. you can turn it off in the
> > > > board defconfig file.
> > >
> > > Right.  Our warnings now are perhaps a bit too easy to trip over because
> > > there are cases like this where you don't need SCSI (or other things)
> > > but have them on without having DM_xxx and BLK enabled.  In this case
> > > the right thing to do is disable stuff you don't need.
> >
> > What stuff?
> > The platform does have DM_MMC and BLK as far as I can see, other than
> > that I have no idea how CONFIG_DM_SCSI becomes set.
> > Something broken upper, not on this certain board.
>
> config X86
> ...
>     imply DM_SCSI
> ...
>
> This has to be fixed, not my board. Message now is bogus.
>

No. SCSI is common for almost all x86 boards, hence we use 'imply'.
And we acknowledge that some boards may not have it so we don't use
'select'.  You can turn it off in your board defconfig.

Regards,
Bin


More information about the U-Boot mailing list