Uncompressing coreboot to RAM. Jumping to image. Check CBFS header at fffedfe0 magic is ffffffff ERROR: No valid CBFS header found! CBFS: Could not find file fallback/coreboot_ram Jumping to image.
I can reproduce this on hardware on ASUS P2B-F and Biostar M6TBA, but I guess it happens on all 440BX boards, maybe also for other chipsets, didn't check yet.
RAM init works ok (tested with ram_check()) so I think bad RAM init can be ruled out. Also, disabling HIGH TABLES didn't seem to improve anything here.
Here's a sample CBFS output:
./coreboot.rom: 256 kB, bootblocksize 73728, romsize 262144, offset 0x0 Alignment: 64 bytes
Name Offset Type Size normal/payload 0x0 payload 28850 normal/coreboot_ram 0x7100 stage 46897 fallback/payload 0x12880 payload 28850 fallback/coreboot_ram 0x19980 stage 46893 0x25100 null 36536
Not sure why it says "Check CBFS header at fffedfe0" as CBFS_HEADPTR_ADDR is defined as 0xFFFFFFFc...
I'm thankful for any hints.
Uwe.
Am Sonntag, den 04.10.2009, 20:08 +0200 schrieb Uwe Hermann:
Uncompressing coreboot to RAM. Jumping to image. Check CBFS header at fffedfe0 magic is ffffffff ERROR: No valid CBFS header found! CBFS: Could not find file fallback/coreboot_ram Jumping to image.
I can reproduce this on hardware on ASUS P2B-F and Biostar M6TBA, but I guess it happens on all 440BX boards, maybe also for other chipsets, didn't check yet.
RAM init works ok (tested with ram_check()) so I think bad RAM init can be ruled out. Also, disabling HIGH TABLES didn't seem to improve anything here.
Here's a sample CBFS output:
./coreboot.rom: 256 kB, bootblocksize 73728, romsize 262144, offset 0x0 Alignment: 64 bytes
Name Offset Type Size normal/payload 0x0 payload 28850 normal/coreboot_ram 0x7100 stage 46897 fallback/payload 0x12880 payload 28850 fallback/coreboot_ram 0x19980 stage 46893 0x25100 null 36536
Not sure why it says "Check CBFS header at fffedfe0" as CBFS_HEADPTR_ADDR is defined as 0xFFFFFFFc...
That I can answer: fffffffc contains the address that points to the CBFS header (so it likely contains fffedfe0)
A magic of 0xffffffff is suspicious, are you sure the ROM is entirely mapped before coreboot_ram is loaded?
Patrick
On Sun, Oct 04, 2009 at 08:26:17PM +0200, Patrick Georgi wrote:
Am Sonntag, den 04.10.2009, 20:08 +0200 schrieb Uwe Hermann:
Uncompressing coreboot to RAM. Jumping to image. Check CBFS header at fffedfe0 magic is ffffffff ERROR: No valid CBFS header found! CBFS: Could not find file fallback/coreboot_ram Jumping to image.
[...]
A magic of 0xffffffff is suspicious, are you sure the ROM is entirely mapped before coreboot_ram is loaded?
That was indeed the problem, thanks!
We need to check for all chipsets and boards that full ROM access is enabled very early (before any CBFS header parsing), e.g. right after serial port init.
The attached patch does that for all 440BX boards.
Uwe.
Am Montag, den 05.10.2009, 01:13 +0200 schrieb Uwe Hermann:
We need to check for all chipsets and boards that full ROM access is enabled very early (before any CBFS header parsing), e.g. right after serial port init.
The attached patch does that for all 440BX boards.
Thank you for your effort!
Acked-by: Patrick Georgi patrick.georgi@coresystems.de
On Mon, Oct 05, 2009 at 01:18:02AM +0200, Patrick Georgi wrote:
Am Montag, den 05.10.2009, 01:13 +0200 schrieb Uwe Hermann:
We need to check for all chipsets and boards that full ROM access is enabled very early (before any CBFS header parsing), e.g. right after serial port init.
The attached patch does that for all 440BX boards.
Thank you for your effort!
Acked-by: Patrick Georgi patrick.georgi@coresystems.de
Thanks, r4721.
Uwe.
Uwe Hermann wrote:
Uncompressing coreboot to RAM. Jumping to image. Check CBFS header at fffedfe0 magic is ffffffff ERROR: No valid CBFS header found! CBFS: Could not find file fallback/coreboot_ram Jumping to image.
I can reproduce this on hardware on ASUS P2B-F and Biostar M6TBA, but I guess it happens on all 440BX boards, maybe also for other chipsets, didn't check yet.
I get something similar on the Soyo SY-6BA+ III board, only the address is different:
Copying coreboot to RAM. Jumping to image. Check CBFS header at fffeffe0 magic is ffffffff ERROR: No valid CBFS header found! CBFS: Could not find file fallback/coreboot_ram Jumping to image.
Booting from the vendor BIOS into Linux then swapping to the Coreboot ROM and typing 'reboot' made it get further, if that helps.