[coreboot] F2A85-M coreboot not working

Rostislav Lisovy lisovy at gmail.com
Sun Mar 2 16:58:55 CET 2014


On Sun, 2014-03-02 at 00:00 -0600, Scott Duplichan wrote:
> This looks like a divide exception. Finding the source code
> for the failing divide might help narrow down the problem. I
> can't recreate your binary exactly so I can't find the failing
> instruction from the eip value. But based on register values,
> it looks like it is somewhere around line 334 of file
> amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GfxGmcInitTN.c
> You might be able to use the link map, disassembly, or debug
> prints to figure out the exact source line that is failing.

I forgot to add backtrace so here it comes:

Program received signal SIGFPE, Arithmetic exception.
0x0022fabf in GfxGmcInitializeSequencerTN (Gfx=0x10000660) at src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GfxGmcInitTN.c:334
warning: Source file is more recent than executable.
334	  scale_mp0 = (GfxLibGetMaxSclk (GnbLibGetHeader (Gfx)) * 100) / memps0_freq;

(gdb) bt
#0  0x0022fabf in GfxGmcInitializeSequencerTN (Gfx=0x10000660) at src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GfxGmcInitTN.c:334
#1  GfxGmcInitTN (Gfx=0x10000660) at src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GfxGmcInitTN.c:534
#2  0x00231898 in GfxMidInterfaceTN (StdHeader=0x100123e3) at src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GfxMidInitTN.c:183
#3  0x00239f90 in GnbLibDispatchFeatures (ConfigTable=0x2b1a10 <GnbMidFeatureTable+12>, StdHeader=StdHeader at entry=0x100123e3)
    at src/vendorcode/amd/agesa/f15tn/Proc/GNB/Common/GnbLibFeatures.c:99
#4  0x0023a107 in GnbInitAtMid (MidParamsPtr=MidParamsPtr at entry=0x100123e3) at src/vendorcode/amd/agesa/f15tn/Proc/GNB/GnbInitAtMid.c:92
#5  0x00246d98 in AmdInitMid (MidParams=0x100123e3) at src/vendorcode/amd/agesa/f15tn/Proc/Common/AmdInitMid.c:159
#6  0x00262629 in agesawrapper_amdinitmid () at src/mainboard/asus/f2a85-m/agesawrapper.c:398
#7  0x00260308 in domain_enable_resources (dev=0x2afab4 <_dev5>) at src/northbridge/amd/agesa/family15tn/northbridge.c:570
#8  0x0026a4f1 in enable_resources (link=0x2af680 <dev_root_links>) at src/device/device.c:876
#9  0x0026b64f in dev_enable () at src/device/device.c:1121
#10 0x00264a65 in bs_dev_enable (arg=0x0) at src/lib/hardwaremain.c:163
#11 0x00277749 in bs_walk_state_machine () at src/lib/hardwaremain.c:382
#12 main () at src/lib/hardwaremain.c:479

Thanks;
Rostislav Lisovy





More information about the coreboot mailing list