Re: [PATCH v1 2/3] lib: bootstrap: detect SD card before mounting

2019-01-02 Thread Sam Ravnborg
Hi Andrey. > > To support bootstrap from SD card run a detect all before > > mounting the SD card. > > > > Signed-off-by: Sam Ravnborg > > --- > > lib/bootstrap/disk.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/lib/bootstrap/disk.c b/lib/bootstrap/disk.c > > index

Re: [PATCH v1 2/3] lib: bootstrap: detect SD card before mounting

2019-01-02 Thread Andrey Smirnov
On Wed, Jan 2, 2019 at 12:26 PM Sam Ravnborg wrote: > > To support bootstrap from SD card run a detect all before > mounting the SD card. > > Signed-off-by: Sam Ravnborg > --- > lib/bootstrap/disk.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/bootstrap/disk.c

[PATCH v1 3/3] at91sam9263ek: add bootstrap support

2019-01-02 Thread Sam Ravnborg
Fix lowlevel init to get reset vector. Add new MACH_AT91SAM9263EK_BOOTSTRAP config entry used when building the bootstrap variant. The new config entry is required as we cannot combine MULTI_IMAGE with a bootstrap variant. With this we have two config symbols that points to the same board

[PATCH v1 2/3] lib: bootstrap: detect SD card before mounting

2019-01-02 Thread Sam Ravnborg
To support bootstrap from SD card run a detect all before mounting the SD card. Signed-off-by: Sam Ravnborg --- lib/bootstrap/disk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bootstrap/disk.c b/lib/bootstrap/disk.c index fd016166e..77be95c2f 100644 --- a/lib/bootstrap/disk.c +++

[PATCH v1 1/3] arm: at91: fix clock to mci1 for at91sam9263

2019-01-02 Thread Sam Ravnborg
at91_add_device_mci() was missing configuration of PIOA6 when configuring mci1. With this fix we can read data from SD card with at91sam9263ek, when built without DT. Building without a DT is required when we do a bootstrap build. The other at91samxxx_devices was checked - only the 9263 was

[PATCH v1 0/3] bootstrap support for AT91SAM9263-EK

2019-01-02 Thread Sam Ravnborg
This small patchset enables bootstrap support for the Atmel AT91SAM9263-EK evaluation board. To achive this there is one questionaable fix in lib/bootstrap/disk.c - where a detect_all() is used to allow us to mount the SD card. I dunno if this is the right approach, but it was required to mount

[PATCH] mci: skip of_partitions_register_fixup for boot partitions

2019-01-02 Thread Ahmad Fatoum
The bootN-partitions binding is barebox-specific, so it shouldn't be fixed up into the kernel device tree. Suggested-by: Sascha Hauer Signed-off-by: Ahmad Fatoum --- drivers/mci/mci-core.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mci/mci-core.c