From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from doppler.thel33t.co.uk ([185.153.207.61]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnmeZ-0003kb-RQ for barebox@lists.infradead.org; Thu, 09 Aug 2018 15:15:12 +0000 MIME-Version: 1.0 Date: Thu, 09 Aug 2018 16:14:48 +0100 From: Leigh Brown In-Reply-To: <20180806183610.rro2xem64rljdsvy@pengutronix.de> References: <844001fa78a52f48a3cb1e9189831456@solinno.co.uk> <20180806183610.rro2xem64rljdsvy@pengutronix.de> Message-ID: <998b78c5d1dec5b03b7c9dadc42f32ae@solinno.co.uk> 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: Re: Help requested with Barebox on Globalscale Mirabox To: =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= Cc: Barebox SGkgVXdlLAoKT24gMjAxOC0wOC0wNiAxOTozNiwgVXdlIEtsZWluZS1Lw7ZuaWcgd3JvdGU6Cj4g SGVsbG8gTGVpZ2gsCj4gCj4gT24gVHVlLCBKdWwgMzEsIDIwMTggYXQgMDI6MjE6MDRQTSArMDEw MCwgTGVpZ2ggQnJvd24gd3JvdGU6Cj4+IEhhdmUgSSBtaXNzZWQgYW55IHN0ZXBzPyAgQW55IGhl bHAgd291bGQgYmUgZ3JlYXRseSBhcHByZWNpYXRlZC4KPiAKPiBMb29rcyBnb29kLgo+IAo+IFdo aWNoIHJldmlzaW9uIGFyZSB5b3Ugb24gKGkuZS4gZ2l0IHJldi1wYXJzZSBAIGluIHlvdXIgYmFy ZWJveCBjb3B5KT8KPiBXaGF0IGlzIGN1cnJlbnRseSBydW5uaW5nIG9uIHRoZSBkZXZpY2U/CgpJ IHdhcyBydW5uaW5nIGFnYWluc3QgdGhlIHNhb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