Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Stefan Roese
On 30.10.18 23:43, Boris Brezillon wrote: On Tue, 30 Oct 2018 23:02:50 +0100 Boris Brezillon wrote: On Tue, 30 Oct 2018 11:59:13 +0100 Stefan Roese wrote: On 30.10.18 11:41, Boris Brezillon wrote: On Tue, 30 Oct 2018 11:13:37 +0100 Stefan Roese wrote: Hi Boris, On 30.10.18 11:03,

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 23:43:40 +0100 Miquel Raynal wrote: > Hi Boris, > > Boris Brezillon wrote on Tue, 30 Oct 2018 > 23:02:50 +0100: > > > On Tue, 30 Oct 2018 11:59:13 +0100 > > Stefan Roese wrote: > > > > > On 30.10.18 11:41, Boris Brezillon wrote: > > > > On Tue, 30 Oct 2018 11:13:37

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Miquel Raynal
Hi Boris, Boris Brezillon wrote on Tue, 30 Oct 2018 23:02:50 +0100: > On Tue, 30 Oct 2018 11:59:13 +0100 > Stefan Roese wrote: > > > On 30.10.18 11:41, Boris Brezillon wrote: > > > On Tue, 30 Oct 2018 11:13:37 +0100 > > > Stefan Roese wrote: > > > > > >> Hi Boris, > > >> > > >> On 30.1

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 23:02:50 +0100 Boris Brezillon wrote: > On Tue, 30 Oct 2018 11:59:13 +0100 > Stefan Roese wrote: > > > On 30.10.18 11:41, Boris Brezillon wrote: > > > On Tue, 30 Oct 2018 11:13:37 +0100 > > > Stefan Roese wrote: > > > > > >> Hi Boris, > > >> > > >> On 30.10.18 11:03,

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 11:59:13 +0100 Stefan Roese wrote: > On 30.10.18 11:41, Boris Brezillon wrote: > > On Tue, 30 Oct 2018 11:13:37 +0100 > > Stefan Roese wrote: > > > >> Hi Boris, > >> > >> On 30.10.18 11:03, Boris Brezillon wrote: > >>> On Tue, 30 Oct 2018 10:51:51 +0100 > >>> Stefan Roes

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 11:59:13 +0100 Stefan Roese wrote: > On 30.10.18 11:41, Boris Brezillon wrote: > > On Tue, 30 Oct 2018 11:13:37 +0100 > > Stefan Roese wrote: > > > >> Hi Boris, > >> > >> On 30.10.18 11:03, Boris Brezillon wrote: > >>> On Tue, 30 Oct 2018 10:51:51 +0100 > >>> Stefan Roes

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Stefan Roese
On 30.10.18 11:41, Boris Brezillon wrote: On Tue, 30 Oct 2018 11:13:37 +0100 Stefan Roese wrote: Hi Boris, On 30.10.18 11:03, Boris Brezillon wrote: On Tue, 30 Oct 2018 10:51:51 +0100 Stefan Roese wrote: Calling "mtdparts" currently fails when its called before any other mtd command (o

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 11:13:37 +0100 Stefan Roese wrote: > Hi Boris, > > On 30.10.18 11:03, Boris Brezillon wrote: > > On Tue, 30 Oct 2018 10:51:51 +0100 > > Stefan Roese wrote: > > > >> Calling "mtdparts" currently fails when its called before any other mtd > >> command (or ubi command) has b

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Stefan Roese
Hi Boris, On 30.10.18 11:03, Boris Brezillon wrote: On Tue, 30 Oct 2018 10:51:51 +0100 Stefan Roese wrote: Calling "mtdparts" currently fails when its called before any other mtd command (or ubi command) has been called. The MTD devices are not probed at this point and therefore it fails e.g.

Re: [U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Boris Brezillon
On Tue, 30 Oct 2018 10:51:51 +0100 Stefan Roese wrote: > Calling "mtdparts" currently fails when its called before any other mtd > command (or ubi command) has been called. The MTD devices are not > probed at this point and therefore it fails e.g. with this message: > > => mtdparts > Device sp

[U-Boot] [PATCH] cmd: mtdparts: Probe MTD devices in mtdparts_init()

2018-10-30 Thread Stefan Roese
Calling "mtdparts" currently fails when its called before any other mtd command (or ubi command) has been called. The MTD devices are not probed at this point and therefore it fails e.g. with this message: => mtdparts Device spi-nand0 not found! This patch adds a call to mtd_probe_devices() to mt