From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.reverze.net ([82.161.88.7] helo=fsm.reverze.net) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYDCB-0006fh-HU for barebox@lists.infradead.org; Thu, 10 Apr 2014 11:31:05 +0000 Message-ID: <534680D8.3040409@reverze.net> Date: Thu, 10 Apr 2014 13:30:32 +0200 From: Michel Stam MIME-Version: 1.0 References: <20140405230029.876959920a802447aeb9720f@gmail.com> <20140410055200.GJ27055@pengutronix.de> In-Reply-To: <20140410055200.GJ27055@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4516034885204472750==" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: RFC: barebox-x86 as a coreboot payload To: Sascha Hauer Cc: "barebox@lists.infradead.org" This is a cryptographically signed message in MIME format. --===============4516034885204472750== Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020502020807090008060101" This is a cryptographically signed message in MIME format. --------------ms020502020807090008060101 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hello Sascha, > I think there is interest in EFI support. It's a good thing to implemen= t > a standard boot concept. It could be used on ARM aswell. > The really bad thing about EFI is that it requires runtime services to > access the EFI variables from the kernel. For this the kernel calls bac= k > into bootloader code. This concept stinks. The kernel should access the= > variables natively (With some data structure kernel and bootloader agre= e > about). I recently heard someone going into that direction, just can't > remember who it was. I took a small look at it, apparently there's attempts at a gcc=20 toolchain necessary for compiling this. And yes it has its own=20 development environment. http://wiki.osdev.org/UEFI http://sourceforge.net/projects/gnu-efi/ I might get to that some day, its not on my immediate list as yet. > I don't know either. Do you want to do framebuffer console support > aswell? That might be difficult. I was thinking using VESA VBE for this. Maybe looking at the linux=20 kernel code may help here, as VESA VBE seems to have graphical/text=20 modes, having a framebuffer driver on barebox/x86 would be nice. This will be next after the keyboard driver. Michel On 04/10/2014 07:52 AM, Sascha Hauer wrote: > On Sun, Apr 06, 2014 at 04:32:19PM +0200, Michel Stam wrote: >> Hello Antony, >> >> Interesting idea- I wonder if its difficult given that U-boot is >> already supported? >> >> Personally I have no experience with coreboot, the systems I test on >> are industrial x86 SBCs with their own BIOS. I suppose it is oossible,= >> maybe we can borrow code from u-boot. >> >> Another thing along the sane lines that crossed my mind is EFI support= >> for barebox, I wonder if theres interest in that? > I think there is interest in EFI support. It's a good thing to implemen= t > a standard boot concept. It could be used on ARM aswell. > The really bad thing about EFI is that it requires runtime services to > access the EFI variables from the kernel. For this the kernel calls bac= k > into bootloader code. This concept stinks. The kernel should access the= > variables natively (With some data structure kernel and bootloader agre= e > about). I recently heard someone going into that direction, just can't > remember who it was. > >> Next on my list is keyboard/VGA, maybe VESA support if I have the >> time. I would like to see a console, possibly a framebuffer driver. No= >> idea how difficult that will be. > I don't know either. Do you want to do framebuffer console support > aswell? That might be difficult. > > Sascha > --------------ms020502020807090008060101 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMmzCC BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3 MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBD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YJKoZIhvcNAQkEMRYEFBKrnxyPCrtcIg1NvQ9TWjgq4IMkMGwGCSqGSIb3DQEJDzFf MF0wCwYJYIZIAWUDBAEqMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgIC AIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgaUGCSsGAQQBgjcQ BDGBlzCBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0 Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgMJaQ4wgacGCyqG SIb3DQEJEAILMYGXoIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UE AxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwlp DjANBgkqhkiG9w0BAQEFAASCAQCVtutsqrpBkwQSyKwAQTY27rRFvVEoGthY6GgciWorFaOr moVVPMegEEe4Jv+SlI4nOo834iYE8HiOladUZF6hdfn/QZpsEgxkFYKkKFUvvhMgmj9bujoF ngEi+DRleXgu42mP7nXL5LFkYxU8ZkQPP2wrbdkpBWpcdu697IOG0qs00HqEYG2mpM6xGWJB 7TYfSBrcnrqCq5zcuxTjP4g4+lKowwu8bRLcEfbpRYdFy9x/r7nyxNEIaEcEUWwTssE5cShK UbSzBj7JBIu1TgkjzkK/iYr6kkW+yVe5R/w4rHLUFS8/duLeyNcjqo7h20A9fdwEPIrHrmqD KTRPfF/IAAAAAAAA --------------ms020502020807090008060101-- --===============4516034885204472750== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============4516034885204472750==--