From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 97BCC81F4B for ; Thu, 9 Feb 2017 06:05:51 -0800 (PST) Received: by mail-qt0-x22b.google.com with SMTP id v23so4511477qtb.0 for ; Thu, 09 Feb 2017 06:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=C6PIINVNRjKGQ1LClgrRVjxlEVREOXUpTg4exA6vRMs=; b=f7oPQ+6rBuzjxAfluiJr8gOazOqThV4wdof4tVGzEVPmxlgdGlYA1txZwyBLVJkfn1 hcECRRQstl2+gYOwvTU/SCKpABlwRkseXr11uEpqd19FCB71Y3LaAII/g1W+EbIu5Ip3 R658MRvwJmov6+G0c6g9sj/HE09yjfD95bJdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=C6PIINVNRjKGQ1LClgrRVjxlEVREOXUpTg4exA6vRMs=; b=G1yR9x7oOjMld0WjGSyke2hXJBrZbURd7Ty3JAuduSc5aF5UJJ5U2ZvOhDrpyNcOD9 twb7JJGnsbgD60D8lqkLfdHxAUunwldIoEUkYP4nqSxATZuHVPc5uiLBKVFGn3Cpc0qb pbhmh5B2J5tiFNE/s5NBFrljXSBIPTHAy/+aDPxyYdq1GaWloxlf8uTDsBY1ytxKcL/b p34KAojktiOHKr6PjnPDbsArAMlBq5OgJgi47L/Wk/SIsfsjiFdMuYJHS5YwguY/28sK dApwhAzaUBzD+e7bF03o4vxtw1a7+yAAC76dh85/udH7xTEOuBxdmQALKgOipIg0MuRn FRDg== X-Gm-Message-State: AMke39lyzFLEmerAASFPEzQlYIO1mPEp6c7lDhpKiazC4GwNNx7nFFLTQDo2cx7YGQgriXQ3cZQ2gz6EEjL/ggyR X-Received: by 10.200.34.12 with SMTP id o12mr2907040qto.93.1486649150621; Thu, 09 Feb 2017 06:05:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.112.1 with HTTP; Thu, 9 Feb 2017 06:05:50 -0800 (PST) In-Reply-To: References: From: Jun Nie Date: Thu, 9 Feb 2017 22:05:50 +0800 Message-ID: To: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, Ronald.Cron@arm.com, Leif Lindholm Subject: Re: UEFI LinuxLoader app usage X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 14:05:51 -0000 Content-Type: text/plain; charset=UTF-8 2017-02-09 21:44 GMT+08:00 Jun Nie : > I am new to UEFI and trying to boot Linux with LinuxLoader app. But I > cannot find detail information for below questions. Could anyone point > out where I can find related information or example code? Thanks for > your time! > > 1. How to feed command line to this app so that ProcessAppCommandLine() can > process it? I know this app support parsing command line from shell. I am seeking method to launch this app from BDS directly without shell but cannot find where to specify value to LoadedImage->LoadOptions so that this app can get command line from it. > > 2. And how should I generate device path string for raw blockIO > device with specified offset/size? UEFI 2.6 spec does not provide much > information in 9.4.5 Media Device Path Rules. > > Thank you! > Jun