Re: [coreboot] Intel Leafhill/Apollolake wrong CBFS header address in coreboot.rom

2017-03-20 Thread Aaron Durbin via coreboot
On Sun, Mar 19, 2017 at 1:20 AM, Gailu Singh wrote: > Failing grub code > -- > static void > init_cbfsdisk (void) > { > grub_uint32_t ptr; > struct cbfs_header *head; > > ptr = *(grub_uint32_t *) 0xfffc; > head = (struct

Re: [coreboot] Intel Leafhill/Apollolake wrong CBFS header address in coreboot.rom

2017-03-19 Thread Gailu Singh
Failing grub code -- static void init_cbfsdisk (void) { grub_uint32_t ptr; struct cbfs_header *head; ptr = *(grub_uint32_t *) 0xfffc; head = (struct cbfs_header *) (grub_addr_t) ptr; grub_dprintf ("cbfs", "head=%p\n", head); /* coreboot

[coreboot] Intel Leafhill/Apollolake wrong CBFS header address in coreboot.rom

2017-03-19 Thread Gailu Singh
Hi Experts, On Intel Leafhill board grub fails to find cbfsdisk. We tried to debug and found that cbfs header address validation fails. According to https://github.com/mrnuke/coreboot/blob/master/documentation/cbfs.txt, "A pointer to the location of the header will be located at offset -4 from