Re: [coreboot] Tianocore boot fails, [GSoc] CBFS support in tiano - discussion (C Ganesh Sundar)

2015-03-15 Thread Marc Jones
Hi Ganesh,

On Thu, Mar 12, 2015 at 1:35 PM 107112...@nitt.edu wrote:


 Hi!

 I tried booting ELILO (disk.img - in gpt), ubuntu  windows 8(iso) on QEMU
 but wasn't successful. I am able to boot into serial uefi shell only(a
 blank fully black screen). I tried std vga ROM in QEMU too but no result.
 Any comments/help would be grateful. Below is the serial output:


I don't use qemu often, but filo, grub2, or seabios for paylaods to boot
gpt.


 Booting EFI DVD/CDROM
   BlockSize : 2048
   LastBlock : 1E9AF3
   BlockSize : 2048
   LastBlock : 7
   BlockSize : 2048
   LastBlock : 1E9539
 PlatformBdsBootFail
 Boot Failed. EFI DVD/CDROM
 Memory  Previous  CurrentNext
   TypePages Pages Pages
 ==      
0A0004  0002  0004
090008  0002  0008
000004    0004
060065  0051  0065
050030  002D  0030
030180  0170  0180
040F00  07C2  0F00
 Booting EFI Internal Shell
 InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 78064A8
 Loading driver at 0x6B0E000 EntryPoint=0x6B0E240 Shell.efi
 --


 I want to try creating CBFS support in tianocore by writing a UEFI DXE
 Driver.
 Since the ROM's address will be known, raw access of memory
 corresponding to the
 ROM could be done and parsing functions provided. For CBFS located
 elsewhere a
 base address could be provided as an argument. Existing cbfstool's
 code could be
 used. I would like to know if this is a correct approach.


You could read up on the cbfs header to understand how the addressing would
work.




 Thanking You!
 Ganesh

 --
 coreboot mailing list: coreboot@coreboot.org
 http://www.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

[coreboot] Tianocore boot fails, [GSoc] CBFS support in tiano - discussion (C Ganesh Sundar)

2015-03-12 Thread 107112017


Hi!

I tried booting ELILO (disk.img - in gpt), ubuntu  windows 8(iso) on QEMU
but wasn't successful. I am able to boot into serial uefi shell only(a
blank fully black screen). I tried std vga ROM in QEMU too but no result.
Any comments/help would be grateful. Below is the serial output:

Booting EFI DVD/CDROM
 BlockSize : 2048
 LastBlock : 1E9AF3
 BlockSize : 2048
 LastBlock : 7
 BlockSize : 2048
 LastBlock : 1E9539
PlatformBdsBootFail
Boot Failed. EFI DVD/CDROM
Memory  Previous  CurrentNext
 TypePages Pages Pages
==      
  0A0004  0002  0004
  090008  0002  0008
  000004    0004
  060065  0051  0065
  050030  002D  0030
  030180  0170  0180
  040F00  07C2  0F00
Booting EFI Internal Shell
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 78064A8
Loading driver at 0x6B0E000 EntryPoint=0x6B0E240 Shell.efi
--


I want to try creating CBFS support in tianocore by writing a UEFI DXE Driver.
Since the ROM's address will be known, raw access of memory  
corresponding to the

ROM could be done and parsing functions provided. For CBFS located elsewhere a
base address could be provided as an argument. Existing cbfstool's  
code could be

used. I would like to know if this is a correct approach.


Thanking You!
Ganesh

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot