Balázs Vinarz has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30895
Change subject: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m ......................................................................
1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 271 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/1
diff --git a/Documentation/mainboard/asus/f2a85-m.md b/Documentation/mainboard/asus/f2a85-m.md new file mode 100644 index 0000000..c4ee0cf --- /dev/null +++ b/Documentation/mainboard/asus/f2a85-m.md @@ -0,0 +1,271 @@ +Disclaimer: This board is not widely sold any longer. However, refer to F2A85 series status for newer models. ASUS F2A85 PRO should be work in progress (WIP). +Contents + + 1 Status + 1.1 Supported processing units + 1.1.1 CPUs + 1.1.2 APUs + 1.2 Notes + 1.3 TODOs + 2 UEFI builds that allow flash chip access + 3 Hardware info + 3.1 DDR voltage controller + 3.2 The ASUS digi VRM + 3.3 Memory + 4 See also + 4.1 F2A85 series status + 5 References + +Status +Device/functionality Status Comments +CPU +CPU works OK the board will start with an AMD A8-5500 +L1 cache enabled OK +L2 cache enabled OK +L3 cache enabled N/A +Multiple CPU support OK +Multi-core support OK +Hardware virtualization Untested +RAM +EDO N/A +SDRAM N/A +SO-DIMM N/A +DDR N/A +DDR2 N/A +DDR3 OK Please select right voltage in menuconfig! Default is 1.5V but some DIMMs need more or less! +Dual channel support OK +ECC support N/A +On-board Hardware +On-board IDE 3.5" N/A +On-board IDE 2.5" N/A +On-board SATA OK Tested all ports of sixpack. +On-board SCSI N/A +On-board USB OK Issues with XHCI exist with Asus' BIOS as well +On-board VGA OK Use dd to extract the legacy BIOS, HDMI untested +On-board Ethernet OK +On-board Audio OK tested with headphones in line-out (lime colored) +On-board Modem N/A +On-board FireWire N/A +On-board Smartcard reader N/A +On-board CompactFlash N/A +On-board PCMCIA N/A +On-board Wifi N/A +On-board Bluetooth N/A +On-board SD card reader N/A +Add-on slots/cards +ISA add-on cards N/A +Audio/Modem-Riser (AMR/CNR) cards N/A +PCI add-on cards OK +Mini-PCI add-on cards N/A +Mini-PCI-Express add-on cards Unknown +PCI-X add-on cards N/A +AGP graphics cards N/A +PCI Express x1 add-on cards OK +PCI Express x2 add-on cards N/A +PCI Express x4 add-on cards OK +PCI Express x8 add-on cards N/A +PCI Express x16 add-on cards OK +PCI Express x32 add-on cards N/A +HTX add-on cards N/A +Legacy / Super I/O +Floppy N/A +Serial port 1 (COM1) OK +Serial port 2 (COM2) N/A +Parallel port N/A +PS/2 keyboard OK +PS/2 mouse Untested +Game port N/A +Infrared ? +PC speaker OK +DiskOnChip N/A +Input +Trackpoint N/A +Touchpad N/A +Fn Hotkeys N/A +Fingerprint Reader N/A +Laptop +Docking VGA N/A +Docking LAN N/A +Docking USB N/A +Docking Audio N/A +Docking Displayport N/A +Thinklight N/A +Webcam N/A +Miscellaneous +Sensors / fan control Untested +Hardware watchdog Unknown +SMBus Unknown +CAN bus N/A +CPU frequency scaling OK +Other powersaving features ? +ACPI OK ACPI power button event works, suspend is WIP (work in progress). +Reboot OK warm reboot from Asus' BIOS to coreboot does not work, use reset button after the first time you flash coreboot +Poweroff OK +Suspend OK +Nonstandard LEDs OK +High precision event timers (HPET) OK +Random number generator (RNG) ? +Wake on modem ring Untested +Wake on LAN Untested +Wake on keyboard Untested +Wake on mouse Untested +TPM Unknown +Flashrom OK +Supported processing units + +ASUS F2A85-M CPU specification:[1] + + AMD Socket FM2 Athlon�/A- Series Processors + Supports CPU up to 4 cores + Supports AMD� Turbo Core 3.0 Technology + Addenum: AMD Sempron X2 250[2] + +Note: Only AMD Virgo: "Trinity" desktop processing units are supported (see list below) but with a hack also Richland desktop processing units might work (contact via mailing list for details). Wikipedia's list of Trinity processors might be more actively maintained. +CPUs + + AMD Athlon X2 340 + AMD Athlon X4 740 + AMD Athlon X4 750k + +APUs + +The CPU architecture in these APUs are Piledriver, and their GPU is TeraScale 3 (VLIW4-based). + + AMD A4-5300 + AMD A4-5300B + AMD A6-5400K + AMD A6-5400B + AMD A8-5500 + AMD A8-5500B + AMD A8-5600K + AMD A10-5700 + AMD A10-5800B + AMD A10-5800K + AMD FirePro A300 - Only sold by OEM + AMD FirePro A320 - Only sold by OEM + +Notes + + Retrieve the VGA optionrom from the vendor EFI binary by running: + +dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768 + +(source) + +For internal VGA: Boot the legacy BIOS, and use VGA_support chapter + + Add the extracted VGA optionrom in menuconfig. The device ID for the APU graphics varies, run 'lspci -nn | grep VGA' to find the right ID. + If you use PS/2 de-select legacy free + De-select running option ROMs, Seabios will run the ROMs that coreboot loads into memory so you should get a text display from Seabios + It is required that seabios is the coreboot payload for the F2A85-M or the internal VGA will not be initialized. But read SeaBIOS for how to add payloads to SeaBIOS and set SeaBIOS' boot order to run your payload. + its internal VGA comes up just fine (using Change ID I9e0df1669d73863c95c36a3a7fee40d58f6f097e), with unpatched SeaBIOS and these settings: + CONFIG_VGA_ROM_RUN=y + CONFIG_PCI_ROM_RUN=y + CONFIG_ON_DEVICE_ROM_RUN=y + Hotswapping the PDIP BIOS chip has some issues (most likely USB3 XHCI, disable it in original bios before hot-flashing to coreboot). Drop a mail to mailing list if you have issues. + +TODOs + + test virtualization + test IOMMU + test HDMI: video over hdmi works with the extracted vga optionrom, audio is untested. + blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks) + fix mptable + fix resume with USB3.0 used (perhaps there is a bug in resume.c) + fix immediate resume after suspend (perhaps PCIe STS needs to be cleared) + +UEFI builds that allow flash chip access + + v5016 is untested, but expected to work as well + v5018 + v5103 + v5104 + v5107 + v5202 + v6002 + v6004 + v6102 + v6402 + v6404 (requires downgrading to v6402 to flash coreboot) + v6501 (requires downgrading to v6402 to flash coreboot) + v6502 (requires downgrading to v6402 to flash coreboot) + +Build v6502, v6501 and v6404 do not allow access to the flash chip. + +Fortunately it is possible to downgrade build v6502, v6501 and v6404 to v6402, with EZFlash. + +Downgrading is done by downloading build v6402 from ASUS' F2A85-M download page and copying it to (the root directory of) a FAT32 formatted USB flash drive. + +Enter the EFI setup, switch to advanced mode if necessary, open the 'Tool' tab and select "ASUS EZ Flash 2 Utility". +Hardware info + +This board ships with a socketed Winbond 25Q64F, 64 Mbit (8 Mbyte) chip, in PDIP 300 mil package: +Winbond 25Q64F + +The chip manual is available here + +For out of band flashing, I use a + + 3M test clip model 923739-08-ND + +It has .300" spacing, 8 pin DIP clip, gold finish and 'headless heads'. I hook this up to a bus pirate. This works but reading and writing take forever: + +# time /usr/src/flashrom/flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -w 20130826-coreboot.rom +flashrom v0.9.6.1-r1669 on Linux 3.8-2-amd64 (x86_64) +flashrom is free software, get the source code at http://www.flashrom.org + +Calibrating delay loop... OK. +Found Winbond flash chip "W25Q64" (8192 kB, SPI) on buspirate_spi. +Reading old flash chip contents... done. +Erasing and writing flash chip... Erase/write done. +Verifying flash... VERIFIED. + +real 35m35.409s +user 0m55.976s +sys 0m12.920s + +DDR voltage controller + +The DDR voltage controller is accessible through the AUX SMBUS device 0x15 and it is most likely driven by programmable current source NCT3933U (datasheet on nuvoton website). +The ASUS digi VRM + +The ASUS digi voltage controller is accessible through the SMBUS device 0x20 and it is most likely driven by CHL8318 or similar chip (re-branded) +Memory + +If you use single dimm plug it to DIMM_A2 or DIMM_B2. + +I use: + +2x 2GB DDR3 modules in blue slots: + +#modprobe i2c-piix4 +#modprobe eeprom +#decode-dimms + +---=== Memory Characteristics ===--- +Fine time base 2.500 ps +Medium time base 0.125 ns +Maximum module speed 1333MHz (PC3-10666) +Size 2048 MB +Banks x Rows x Columns x Bits 8 x 14 x 10 x 64 +Ranks 2 +SDRAM Device Width 8 bits +tCL-tRCD-tRP-tRAS 8-8-8-24 +Supported CAS Latencies (tCL) 9T, 8T, 7T, 6T + +See also +F2A85 series status + +Only boards with internal wiki page links are Supported Motherboards. + + ASUS F2A85-M + ASUS F2A85-M LE + ASUS F2A85-M PRO[3] - the most available model in the entire F2A85 series. Be sure to check its status to see what works and what doesn't. + ASUS F2A85-M2 - Confirmed working in the #coreboot IRC channel 2015-03-04. Unsure if WIP. + ASUS F2A85-M/CSM - Unsure if WIP. + +References + + Jump up ↑ https://www.asus.com/Motherboards/F2A85M/specifications/ + Jump up ↑ http://support.asus.com/Cpusupport/List.aspx?SLanguage=en&m=F2A85-M&... + Jump up ↑ http://www.asus.com/Motherboards/F2A85M_PRO/
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m ......................................................................
Patch Set 1:
(1 comment)
Documentation is now provided in Markdown format, please keep that in mind. This may be helpful: https://doc.coreboot.org/getting_started/writing_documentation.html
Also, it is worth noting that the documentation from old wiki may be outdated, so a sanity check on anything imported from the old wiki is definitely needed.
https://review.coreboot.org/#/c/30895/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30895/1//COMMIT_MSG@7 PS1, Line 7: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m This is not a proper commit summary. Something along the lines of "Documentation: Add Asus F2A85-M" would be better.
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m ......................................................................
Patch Set 1:
Patch Set 1:
(1 comment)
Documentation is now provided in Markdown format, please keep that in mind. This may be helpful: https://doc.coreboot.org/getting_started/writing_documentation.html
Also, it is worth noting that the documentation from old wiki may be outdated, so a sanity check on anything imported from the old wiki is definitely needed.
Reworked and updated with my findings, please review at: https://review.coreboot.org/c/coreboot/+/30896
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m ......................................................................
Patch Set 1:
Patch Set 1:
Patch Set 1:
(1 comment)
Documentation is now provided in Markdown format, please keep that in mind. This may be helpful: https://doc.coreboot.org/getting_started/writing_documentation.html
Also, it is worth noting that the documentation from old wiki may be outdated, so a sanity check on anything imported from the old wiki is definitely needed.
Reworked and updated with my findings, please review at: https://review.coreboot.org/c/coreboot/+/30896
I see... The idea of code review on gerrit is to work on one change and keep updating it until it is good enough. Then it gets merged in its final form. Therefore, creating a different commit on gerrit to update a change is unnecessary.
Say, for instance, that you would like to update this change. Just click the download button, select "cherry-pick" (there is a button to copy the listed command) and run the command on your computer, on the coreboot git repo, which will create a local commit (if it does not exist already). Then you can work locally on the change. Once you are done, "git add" what you have changed and "git commit --amend" the commit you cherry-picked (or previously had). Then, when you push the amended commit, it will update the existing change.
This only works as long as the "Change-Id:" git-tag (line in the commit message) is not changed, since this is what gerrit uses to keep track of changes.
Now you have two changes on gerrit: CB:30895 and CB:30896. Choose which one you would like to work on and please abandon the other since it is redudant. Thank you.
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m ......................................................................
Patch Set 1:
Patch Set 1:
Patch Set 1:
Patch Set 1:
(1 comment)
Documentation is now provided in Markdown format, please keep that in mind. This may be helpful: https://doc.coreboot.org/getting_started/writing_documentation.html
Also, it is worth noting that the documentation from old wiki may be outdated, so a sanity check on anything imported from the old wiki is definitely needed.
Reworked and updated with my findings, please review at: https://review.coreboot.org/c/coreboot/+/30896
I see... The idea of code review on gerrit is to work on one change and keep updating it until it is good enough. Then it gets merged in its final form. Therefore, creating a different commit on gerrit to update a change is unnecessary.
Say, for instance, that you would like to update this change. Just click the download button, select "cherry-pick" (there is a button to copy the listed command) and run the command on your computer, on the coreboot git repo, which will create a local commit (if it does not exist already). Then you can work locally on the change. Once you are done, "git add" what you have changed and "git commit --amend" the commit you cherry-picked (or previously had). Then, when you push the amended commit, it will update the existing change.
This only works as long as the "Change-Id:" git-tag (line in the commit message) is not changed, since this is what gerrit uses to keep track of changes.
Now you have two changes on gerrit: CB:30895 and CB:30896. Choose which one you would like to work on and please abandon the other since it is redudant. Thank you.
It's pretty clear now, thank you.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#2).
Change subject: Documentation: Add Asus F2A85-M 2nd version, reworked based on Asus P8H61-M LX as a template and the old wiki ......................................................................
Documentation: Add Asus F2A85-M 2nd version, reworked based on Asus P8H61-M LX as a template and the old wiki
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 149 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M 2nd version, reworked based on Asus P8H61-M LX as a template and the old wiki ......................................................................
Patch Set 2: Code-Review+1
(4 comments)
Looking much better!
https://review.coreboot.org/#/c/30895/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30895/2//COMMIT_MSG@8 PS2, Line 8: 2nd version, reworked based on Asus P8H61-M LX as a template and the old wiki Please add an empty line between the commit summary and the rest of the commit message
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... PS2, Line 8: - ASUS F2A85-M PRO - the most available model in the entire F2A85 series. Be sure to check its status to see what works and what doesn't. I think there is a line length limit, this mahy have to be split
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... PS2, Line 19: AX What does this mean?
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... PS2, Line 104: : ## Known issues Everything regarding what works and what does not is probably outdated. If you have any of the F2A85 series mainboards, could you please test with coreboot master? Thanks!
Hello Angel Pons, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#3).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
3rd version, minor edits
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 194 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 3: Code-Review+1
(1 comment)
Looks good!
https://review.coreboot.org/#/c/30895/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30895/3//COMMIT_MSG@9 PS3, Line 9: 3rd version, minor edits There is no need to list versions in the commit message, since gerrit numerates each patchset.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 3: Code-Review+1
(6 comments)
Very nice. Thank you for writing this. I have some more nitpicks. It’d be great if you fixed those.
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 14: Both "Trinity" and "Richland" desktop processing units are working Add a period/dot at the end of the sentence?
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 15: TeraScale 3 (VLIW4-based) A link to Wikipedia or some other page with details would be handy.
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 25: GPU(APUs only) Space before the (?
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 127: # dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768 Just indent with four spaces to have it mark up as code?
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 150: are also useless What does this mean? They do not work?
https://review.coreboot.org/#/c/30895/3/Documentation/mainboard/asus/f2a85-m... PS3, Line 180: PS/2 keyboard It says untested above.
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#4).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 196 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/4
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 4: Code-Review+1
(1 comment)
https://review.coreboot.org/#/c/30895/4/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/4/Documentation/mainboard/asus/f2a85-m... PS4, Line 15: are is
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#5).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 196 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/5
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 5: Code-Review+2
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 5: Code-Review+1
Very nice.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 5:
(5 comments)
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 105: b5016 is untested, but expected to work as well use a block
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 120: Fortunately it is possible to downgrade build v6502, v6501 and v6404 to v6402, with EZFlash. limit to 80 chars
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 135: - Select the 'export path' and 'link present' and option ROM '1002,9900' and click on 'Extract' limit to 80 chars
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 137: This version is usable for all the GPUs. use a block
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 189: - [Flash chip datasheet][W25Q64FV] does that work ?
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#6).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 198 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/6
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 6:
(10 comments)
So the new patchset in online, can I have a review?
Regards
https://review.coreboot.org/#/c/30895/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30895/1//COMMIT_MSG@7 PS1, Line 7: 1st version 1:1 copy from old wiki https://www.coreboot.org/Board:asus/f2a85-m
This is not a proper commit summary. […]
Ack
https://review.coreboot.org/#/c/30895/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30895/2//COMMIT_MSG@8 PS2, Line 8: 2nd version, reworked based on Asus P8H61-M LX as a template and the old wiki
Please add an empty line between the commit summary and the rest of the commit message
Ack
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... PS2, Line 8: - ASUS F2A85-M PRO - the most available model in the entire F2A85 series. Be sure to check its status to see what works and what doesn't.
I think there is a line length limit, this mahy have to be split
Ack
https://review.coreboot.org/#/c/30895/2/Documentation/mainboard/asus/f2a85-m... PS2, Line 19: AX
What does this mean?
Ack
https://review.coreboot.org/#/c/30895/4/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/4/Documentation/mainboard/asus/f2a85-m... PS4, Line 15: are
is
Ack
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 105: b5016 is untested, but expected to work as well
use a block
Done
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 120: Fortunately it is possible to downgrade build v6502, v6501 and v6404 to v6402, with EZFlash.
limit to 80 chars
Done
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 135: - Select the 'export path' and 'link present' and option ROM '1002,9900' and click on 'Extract'
limit to 80 chars
Done
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 137: This version is usable for all the GPUs.
use a block
Done
https://review.coreboot.org/#/c/30895/5/Documentation/mainboard/asus/f2a85-m... PS5, Line 189: - [Flash chip datasheet][W25Q64FV]
does that work ?
yes, the link is alive
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 6:
Please include it into the TOC tree.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 6:
(4 comments)
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 104: >v5016 is untested, but expected to work as well that's not valid markdown
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 140: >1002,9901 Trinity (Radeon HD 7660D) that's not valid markdown
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 152: - fix mptable Not sure what that should mean ?
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 157: - blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks) What known issues exists now ?
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#7).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md 1 file changed, 198 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/7
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 7:
(4 comments)
Patch Set 6:
Please include it into the TOC tree.
Can I have this version merged soon please? Is there anything left to do?
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 104: >v5016 is untested, but expected to work as well
that's not valid markdown
Done
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 140: >1002,9901 Trinity (Radeon HD 7660D)
that's not valid markdown
Done
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 152: - fix mptable
Not sure what that should mean ?
that's the processor's mptable (# x86info -mp). but seems to be fine, i'll remove this line.
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 157: - blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks)
What known issues exists now ?
these issues are marked with the release version, because these functions are not available since 4.8.1
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 7:
Still not referenced by index.md.
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 7:
Patch Set 7:
Still not referenced by index.md.
The recommendations mentioned for version 6 has been fixed in version 7. I'd don't really get you point here.
https://review.coreboot.org/c/coreboot/+/30895/6..7/Documentation/mainboard/...
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 7:
(1 comment)
Patch Set 7:
Patch Set 7:
Still not referenced by index.md.
The recommendations mentioned for version 6 has been fixed in version 7. I'd don't really get you point here.
https://review.coreboot.org/c/coreboot/+/30895/6..7/Documentation/mainboard/...
You must reference this new document in an existing markdown document, that is index.md.
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 157: - blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks)
these issues are marked with the release version, because these functions are not available since 4. […]
So it should read (since version 4.8.1) ?
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30895
to look at the new patch set (#8).
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com --- A Documentation/mainboard/asus/f2a85-m.md M Documentation/mainboard/index.md 2 files changed, 199 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/30895/8
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 8:
(1 comment)
You must reference this new document in an existing markdown document, that is index.md.
It's pretty clear now, I though all the *.md files are picked up automatically in the Documentation folder. Just like it happens with the Kconfig in the src/mainboard.
Thanks
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... File Documentation/mainboard/asus/f2a85-m.md:
https://review.coreboot.org/#/c/30895/6/Documentation/mainboard/asus/f2a85-m... PS6, Line 157: - blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks)
So it should read (since version 4.8. […]
No, I couldn't test weather these issues are still here or not. Because the prerequirement (S3 sleep) is not working at release 4.9. If you know a better definition, just let me know.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 8: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Documentation: Add Asus F2A85-M
Change-Id: I4d195f4833ba71fdc559815cafb0f5d0d254e897 Signed-off-by: Balazs Vinarz vinibali1@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/30895 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Rudolph siro@das-labor.org --- A Documentation/mainboard/asus/f2a85-m.md M Documentation/mainboard/index.md 2 files changed, 199 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Rudolph: Looks good to me, approved
diff --git a/Documentation/mainboard/asus/f2a85-m.md b/Documentation/mainboard/asus/f2a85-m.md new file mode 100644 index 0000000..dfde07f --- /dev/null +++ b/Documentation/mainboard/asus/f2a85-m.md @@ -0,0 +1,198 @@ +# ASUS F2A85-M + +This page describes how to run coreboot on the [ASUS F2A85-M]. + +## Variants +- ASUS F2A85-M - Working +- ASUS F2A85-M LE - Working +- ASUS F2A85-M PRO - Working +- ASUS F2A85-M2 - Working +- ASUS F2A85-M/CSM - Unsure if WIP. + +## Technology + +Both "Trinity" and "Richland" desktop processing units are working, +the CPU architecture in these CPUs/APUs is [Piledriver], +and their GPU is [TeraScale 3] (VLIW4-based). + +```eval_rst ++------------------+--------------------------------------------------+ +| F2A85-M | | ++------------------+--------------------------------------------------+ +| DDR voltage IC | Nuvoton NCT3933U (AUX SMBUS 0x15) | ++------------------+--------------------------------------------------+ +| Network | Realtek RTL8111F | ++------------------+--------------------------------------------------+ +| Northbridge | Integrated into CPU with IMC and GPU (APUs only) | ++------------------+--------------------------------------------------+ +| Southbridge | Hudson-D4 | ++------------------+--------------------------------------------------+ +| Sound IC | Realtek ALC887 | ++------------------+--------------------------------------------------+ +| Super I/O | ITE 8603E | ++------------------+--------------------------------------------------+ +| VRM controller | DIGI VRM ASP1106 (Rebranded RT8894A - SMBUS 0x20)| ++------------------+--------------------------------------------------+ +``` + +```eval_rst ++------------------+--------------------------------------------------+ +| F2A85-M LE | | ++------------------+--------------------------------------------------+ +| DDR voltage IC | Nuvoton NCT3933U (AUX SMBUS 0x15 - unconfirmed) | ++------------------+--------------------------------------------------+ +| Network | Realtek RTL8111F | ++------------------+--------------------------------------------------+ +| Northbridge | Integrated into CPU with IMC and GPU(APUs only) | ++------------------+--------------------------------------------------+ +| Southbridge | Hudson-D4 | ++------------------+--------------------------------------------------+ +| Sound IC | Realtek ALC887 | ++------------------+--------------------------------------------------+ +| Super I/O | ITE 8623E | ++------------------+--------------------------------------------------+ +| VRM controller | DIGI VRM ASP1106 (Rebranded RT8894A - SMBUS 0x20)| ++------------------+--------------------------------------------------+ +``` + +```eval_rst ++------------------+--------------------------------------------------+ +| F2A85-M PRO | | ++------------------+--------------------------------------------------+ +| DDR voltage IC | Nuvoton NCT3933U (?) | ++------------------+--------------------------------------------------+ +| Network | Realtek RTL8111F - Not working | ++------------------+--------------------------------------------------+ +| Northbridge | Integrated into CPU with IMC and GPU(APUs only) | ++------------------+--------------------------------------------------+ +| Southbridge | Hudson-D4 | ++------------------+--------------------------------------------------+ +| Sound IC | Realtek ALC887 | ++------------------+--------------------------------------------------+ +| Super I/O | Nuvoton NCT6779D | ++------------------+--------------------------------------------------+ +| VRM controller | DIGI VRM ASP1107 | ++------------------+--------------------------------------------------+ +``` + +## Flashing coreboot + +```eval_rst ++---------------------+------------+ +| Type | Value | ++=====================+============+ +| Socketed flash | yes | ++---------------------+------------+ +| Model | W25Q64F | ++---------------------+------------+ +| Size | 8 MiB | ++---------------------+------------+ +| Package | DIP-8 | ++---------------------+------------+ +| Write protection | no | ++---------------------+------------+ +| Dual BIOS feature | no | ++---------------------+------------+ +| Internal flashing | yes | ++---------------------+------------+ +``` + +### Internal programming + +The main SPI flash can be accessed using [flashrom]. +UEFI builds that allow flash chip access: +> v5016 is untested, but expected to work as well +> v5018 +> v5103 +> v5104 +> v5107 +> v5202 +> v6002 +> v6004 +> v6102 +> v6402 +> v6404 (requires downgrading to v6402 to flash coreboot) +> v6501 (requires downgrading to v6402 to flash coreboot) +> v6502 (requires downgrading to v6402 to flash coreboot) + +Build v6502, v6501 and v6404 do not allow access to the flash chip. +Fortunately it is possible to downgrade build v6502, v6501, v6404 to v6402, with EZFlash. +Downgrading is done by downloading build v6402 from ASUS' F2A85-M download page +and copying it to (the root directory of) a FAT32 formatted USB flash drive. +Enter the EFI setup, switch to advanced mode if necessary, +open the 'Tool' tab and select "ASUS EZ Flash 2 Utility". + +## Integrated graphics + +### Option 1: Retrieve the VGA optionrom from the vendor EFI binary by running: + + # dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768 + +### Option 2: Extract from the vendor binary + +Download the BIOS from the Support section at [ASUS F2A85-M]. +Using MMTool Aptio (versions 4.5.0 and 5.0.0): +- Load image, click on 'Extract tab' +- Select the 'export path' and 'link present' options +- Choose option ROM '1002,9900' and click on 'Extract' + +This version is usable for all the GPUs. +> 1002,9901 Trinity (Radeon HD 7660D) +> 1002,9904 Trinity (Radeon HD 7560D) +> 1002,990c Richland (Radeon HD 8670D) +> 1002,990e Richland (Radeon HD 8570D) +> 1002,9991 Trinity (Radeon HD 7540D) +> 1002,9993 Trinity (Radeon HD 7480D) +> 1002,9996 Richland (Radeon HD 8470D) +> 1002,9998 Richland (Radeon HD 8370D) +> 1002,999d Richland (Radeon HD 8550D) + +## Known issues + +- buggy USB 3.0 controller (works fine as 2.0 port) +- reboot, poweroff, S3 suspend/resume (broken since 4.8.1) + +## Known issues (untested because of non-working ACPI sleep) + +- blink in suspend mode (GP43, program LDN7 F8=23 and blink with F9=2 for 1s blinks) +- fix immediate resume after suspend (perhaps PCIe STS needs to be cleared) +- fix resume with USB3.0 used (perhaps there is a bug in resume.c) + +## Untested + +- audio over HDMI +- IOMMU +- PS/2 mouse + +## TODOs + +- manage to use one ATOMBIOS for all the integrated GPUs + +## Working + +- ACPI +- CPU frequency scaling +- flashrom under coreboot +- Gigabit Ethernet +- Hardware monitor +- Integrated graphics +- KVM +- Onboard audio +- PCIe +- PS/2 keyboard +- SATA +- Serial port +- SuperIO based fan control +- USB (XHCI is buggy) + +## Extra resources + +- [Board manual] +- Flash chip datasheet [W25Q64FV] + +[ASUS F2A85-M]: https://www.asus.com/Motherboards/F2A85M/ +[Board manual]: https://dlcdnets.asus.com/pub/ASUS/mb/SocketFM2/F2A85-M/E8005_F2A85-M.pdf +[flashrom]: https://flashrom.org/Flashrom +[Piledriver]: https://en.wikipedia.org/wiki/Piledriver_%28microarchitecture%29#APU_lines +[TeraScale 3]: https://en.wikipedia.org/wiki/TeraScale_%28microarchitecture%29#TeraScale_3 +[W25Q64FV]: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf diff --git a/Documentation/mainboard/index.md b/Documentation/mainboard/index.md index d8d3b76..56adb25 100644 --- a/Documentation/mainboard/index.md +++ b/Documentation/mainboard/index.md @@ -4,6 +4,7 @@
## ASUS
+- [F2A85-M](asus/f2a85-m.md) - [P8H61-M LX](asus/p8h61-m_lx.md)
## ASRock
Balázs Vinarz has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30895 )
Change subject: Documentation: Add Asus F2A85-M ......................................................................
Patch Set 9:
The blocks doesn't seem to work starting on the 104 and 140 lines.