Hi! I'm porting ThinkPad X120e(I based my work on asrock/e350m1). Sometimes it boots, other times it hangs on src/vendorcode/amd/cimx/sb800/SBPort.c:294 RWMEM (ACPI_MMIO_BASE + PMIO_BASE + SB_PMIOA_REGC8, AccWidthUint8, 0xEF, 0x10); I've used post_code() to find the offending line. It happens before EHCI debug starts so I have only postcodes to work with. I've tried searching in the documentation on developer.amd.com but I can't figure out what that code is doing. Should I just try to comment out the offending line? Any hints?
The chipset is Hudson-M1 (A50M). Side note: The southbridge gets very hot quickly(it's cool on stock bios). I installed a radiator until I'll find out what's wrong.
Hi,
You can use Bolton datasheets, should be same/similar. http://support.amd.com/TechDocs/51192_Bolton_FCH_RRG.pdf
The said register access is forcing to use overriden EFUSE values, so I would say you have to check how their are programmed. Maybe you are trying to enable the EC without EC firmware? Or perhaps the chip does not like the override efuses.
I guess you should also use have a look to AGESA fam15h code as it has Proc/Fch directory for Hudson, no idea why you are trying to use old cimx code? (perhaps to avoid AGESA?)
Thanks Rudolf
I've rechecked where the issue was, after i pulled updates from repository and now it hangs on different line. I tried to insert delays to check if it was effect of something else. It's not. I must have made a mistake, sorry for confusion.
The line is src/vendorcode/amd/cimx/sb800/SBPort.c:296 WriteIO (0xCF9, AccWidthUint8, &dbValue);
I found out that this is a known problem, and there is a suggested workaround. AMD A45/A50M/A55E Fusion Controller Hub Product Errata 15 USB Resets Asynchronously With Port CF9h Hard Reset (page 13)
Thanks for Your help!