To support bootstrap from SD card run a detect all before mounting the SD card.
Signed-off-by: Sam Ravnborg <s...@ravnborg.org> --- 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 +++ b/lib/bootstrap/disk.c @@ -21,6 +21,8 @@ void* bootstrap_read_disk(const char *dev, const char *fstype) size_t len; const char *path = "/"; + device_detect_all(); + ret = mount(dev, fstype, path, NULL); if (ret) { bootstrap_err("mounting %s failed with %d\n", dev, ret); -- 2.12.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox