From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtDCr-00044K-BZ for barebox@lists.infradead.org; Mon, 11 Feb 2019 15:09:14 +0000 Received: by mail-wm1-x330.google.com with SMTP id t200so17696844wmt.0 for ; Mon, 11 Feb 2019 07:09:12 -0800 (PST) Received: from [192.168.106.167] (77-111-10-47.ipv4.tusmobil.si. [77.111.10.47]) by smtp.gmail.com with ESMTPSA id h17sm5985811wrq.17.2019.02.11.07.09.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 07:09:10 -0800 (PST) From: =?UTF-8?B?VG9tYcW+IMWgb2xj?= Message-ID: Date: Mon, 11 Feb 2019 16:09:09 +0100 MIME-Version: 1.0 Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Accessing MMC/SD card storage on Raspberry Pi To: "barebox@lists.infradead.org" RGVhciBhbGwsCgpJJ3ZlIGJlZW4gdHJ5aW5nIHRvIHNldCB1cCBCYXJlYm94IG9uIGEgUmFzcGJl cnJ5IFBpIENvbXB1dGUgTW9kdWxlIDMuIApBZnRlciBzb21lIHNtYWxsIGZpeGVzIChzZWUgYmVs b3cpIEkndmUgZ290IDIwMTkuMDEuMCB0byBib290IHRvIGEgCmNvbW1hbmQgbGluZSBvbiB0aGUg c2VyaWFsIHBvcnQuIEhvd2V2ZXIgSSBjYW4ndCBnZXQgYWNjZXNzIHRvIHRoZSBNTUMgCnN0b3Jh Z2UgdG8gbG9hZCBhIGtlcm5lbCAoIm5vIC9kZXYvZGlzazAuMC4gdXNpbmcgZGVmYXVsdCBlbnYi KQoKT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