From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Sa2aq-0006kl-PC for mharc-grub-devel@gnu.org; Thu, 31 May 2012 06:27:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sa2ah-0006ey-JU for grub-devel@gnu.org; Thu, 31 May 2012 06:26:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sa2ac-0003Ff-Md for grub-devel@gnu.org; Thu, 31 May 2012 06:26:51 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:60880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sa2ac-0003FS-DR for grub-devel@gnu.org; Thu, 31 May 2012 06:26:46 -0400 Received: by bkcjm19 with SMTP id jm19so793644bkc.0 for ; Thu, 31 May 2012 03:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=8jV3rcZG5m3ObL7YI3/tPMqA9nNdwg8Zho1RIbPLhWk=; b=n7FGZ54lIDWbVXCidTWWYb251geca6BspA7oepfNx5UReWvfN8CRVP4h7+BooMcuqa yO119HIIEvP1YCRyu/8CaSsd4b7dVu1kxXd4M0WORzZyD6EeZ0AB4hpDToaSaqigCkQV KxtMrGWyU5TdwAU+X/Tm177TkoULhtom0ng8x0bUSsph6WnatVfT5eSW3nl0zWSdzeQF cvRWN2wYfLMm/6b+qoyjSRABb99tLvZZgsved9DFEa611XdvZUkh2jJYBtvZ0PRFPjoQ Zv25ZUvu+BTgztCDjtoxaS2dXR+U4fSy9+EK0atUWNhQz6M8ezm8+3vm9Fw1mjQ/h9c5 qYPw== Received: by 10.205.119.12 with SMTP id fs12mr687592bkc.49.1338460004261; Thu, 31 May 2012 03:26:44 -0700 (PDT) Received: from debian.x201.phnet (59-232.197-178.cust.bluewin.ch. [178.197.232.59]) by mx.google.com with ESMTPS id iq16sm2665010bkc.6.2012.05.31.03.26.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 May 2012 03:26:43 -0700 (PDT) Message-ID: <4FC74761.6030206@gmail.com> Date: Thu, 31 May 2012 12:26:41 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Standalone Application in GRUB References: <4FC73DDD.1000909@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig07AF65C712B08DD1379E704C" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 10:26:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07AF65C712B08DD1379E704C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 31.05.2012 12:03, Parul Aggarwal wrote: > Thanks Vladimir. >=20 > 1. In uboot we can have standalone application (which uses uboot > functions) compiled and run independently on uboot prompt. As I > understand from your comments that in GRUB this is not possible. We > wanted to run the application in a way similar to memtest in GRUB. But > our application wants to use GRUB functions. It's not possible because of 3 factors: - On all platforms except EFI (and EMU) GRUB is prelinked at predetermined address. - All protocols except appleloader, EFI chainloader, newer linux, ia64 linux, ppc linux and sparc64 linux also load at predetermined address. - We don't have a complete control over memory map. Under such circumstances there is no way to ensure that there is no overlap between GRUB and payload. So you can't use GRUB functions. >=20 > 2. If I use dynamically loaded GRUB module for my application, does tha= t > mean that also I cannot compile module independently. Do i need to > compile the whole GRUB for that? Currently dependency tracking is done at compile time and there is no way to dependency-track 2 sets of modules at the same time. Patches are welcome.-- Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig07AF65C712B08DD1379E704C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk/HR2EACgkQNak7dOguQgnvRAD+LIsJu5JmKYwZCfJskDMCNuE0 V8PBFbt9ZPwAnVqo+ZwA/1FfCectMFdhVDZthFtc+2NYE1k4BJZSIbAi5dzTYcU7 =Vvqu -----END PGP SIGNATURE----- --------------enig07AF65C712B08DD1379E704C--