From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965261AbbLOPfp (ORCPT ); Tue, 15 Dec 2015 10:35:45 -0500 Received: from mail-qk0-f173.google.com ([209.85.220.173]:36564 "EHLO mail-qk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964999AbbLOPfn (ORCPT ); Tue, 15 Dec 2015 10:35:43 -0500 MIME-Version: 1.0 In-Reply-To: References: <1447426572-11756-1-git-send-email-holgerschurig@gmail.com> Date: Tue, 15 Dec 2015 16:35:42 +0100 Message-ID: Subject: Re: [RFC 0/6] mmc: Field Firmware Update From: Ulf Hansson To: Holger Schurig Cc: Avi Shchislowski , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Alex Lemberg , Chris Ball , Baolin Wang Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Chris, Baolin On 25 November 2015 at 09:56, Holger Schurig wrote: > We had to modify the last patch a bit and was able to update a Kingston > device from Firmware 0xba to 0xbd. But when doing this in user-space only is > now the way to go, I should probably not submit it anymore? > > BTW, for this Kingston "EMMC16G-WL110-EBAU" the argument in the ext_csd is > bogus. You need to use the "ffu_arg" hack from the mmc-utils patch and use > argument 0x0000ffff. Sigh. They can't even stick to the standard. > >> Could you please add the original: > > Sorry, yes I could. But I won't, because if this can now be done reliably > from user-space, there is no need to do this in kernel. So I guess the > chances that a kernel solution get's applies is next to zero. Hi Holger, Sorry for the delay. My advise right now is to try this out via the mmc ioctl in userspace, yes. Although, if you encounter any issues with that approach that it might not be reliable, I am open to look into the in-kernel solution again. Regarding mmc-utils as where I recommend you to implement this, I have been thinking of moving this tool into the tools directory in the kernel. Baolin Wang, at Linaro is currently looking into this to see if it's feasible. Ideas/comments are usual greatly appreciated. Kind regards Uffe