Re: [coreboot] Unable to start correctly coreboot on Asus f2a85-m REV 1.02
Scott wrote: diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c index 8157b57..bfcaa9a 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnLogicalIdTables.c @@ -86,6 +86,12 @@ STATIC CONST CPU_LOGICAL_ID_XLAT ROMDATA CpuF15TnLogicalIdAndRevArray[] = 0x6101, AMD_F15_TN_A1 }, + + { // HACK: let Richland run Trinity agesa code +0x6131, +AMD_F15_TN_A1 + }, + { 0x6100, 0x0100ull Perfect! It works, thank you very much! Coreboot log: http://pastebin.com/B0Z1bTQu Diff (I used CROSSGCC 1.23 because CROSSGCC 1.24 can not be compil on my system - Debian Wheezy amd64) : http://pastebin.com/nbt0JmqN My config file : http://pastebin.com/zJLQPkgX My CPU seems a little slower but it works :) It remains only to integrate this into the wiki and coreboot, I know that I can count on you ;) From my side I will continue my tests. Thank you everybody, best regards. -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] F2A85-M coreboot not working
Rostislav Lisovy [mailto:lis...@gmail.com] wrote: ]Hello; ]I am trying to run coreboot on F2A85-M motherboard (without VGA support ]enabled). The CPU used is AMD Trinity A8-5600K, RAM is Kingston HyperX ]PnP 4GB (2x2GB) DDR3 1866 ](http://www.kingston.com/datasheets/KHX1866C11D3P1K2_4G.pdf). ] ]I cloned the coreboot repository and ran 'make menuconfig'. The only ]options I set were motherboard vendor and type (RAM voltage is the ]default value of 1.5V). The desired payload is the default SeaBIOS. I ]have no interest in enabling VGA, thus I did not try to enable it. ]I used flashrom to flash the image. When I try to boot, execution fails ]with the following message (full log in the attachment): ] ] Enabling resources... ] ] Fam15 - domain_enable_resources: AmdInitMid. ] agesawrapper_amdinitmid Unexpected Exception: 0 @ 10:0022fabf - Halting ] Code: 0 eflags: 00010046 ] eax: 0002e630 ebx: 014d ecx: 0002 edx: ] edi: 100123e3 esi: ebp: 1660 esp: 002bcd60 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. Thanks, Scott ]The number on my PCI POST card is 0x1. ] ]Unfortunately I have no other RAM modules to try. I tried to change the ]position from blue slots to black slots but then I got: ] ] coreboot-4.0-5584-ge92155f-dirty Sat Mar 1 21:05:40 CET 2014 starting... ] BSP Family_Model: 00610f01 ] cpu_init_detectedx = ] agesawrapper_amdinitreset Fch OEM config in INIT RESET Done ] Got past agesawrapper_amdinitearly ] ASSERTION FAILED: file 'src/vendorcode/amd/agesa/f15tn/Proc/Mem/Main/mmExcludeDimm.c', line 236 ] ]The command 'make crossgcc' also seems not to help at all. ] ]I will appreciate any ideas. ] ]Regards; ]Rostislav Lisovy -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot