[coreboot] Coreboot binary for ASUS F2A85-M

Martin Roth gaumless at gmail.com
Fri Jan 27 14:23:20 CET 2017


I'm not really sure what's going on, and without a debug console, it's
kind of hard to tell.
Here are some random thoughts to give you ideas for what you might
want to try next:

Does the system boot up otherwise?  Is it possible to ssh into it to
get the log out with the cbmem utility?  That would definitely help.

You might try a different payload to see if a different USB stack
works better for you. Since I'm not sure what the problem is, I'm not
sure why this might help.

You could also try downloading and building SeaBIOS separately, then
including the binary as an elf.  This would allow you to play with the
configuration a bit more.  You can copy the .config out of
coreboot/payloads/external/SeaBIOS/seabios.

Also, in your coreboot config, you might try turning off the "Serial
Port on SuperIO" under "Generic drivers".  It's still trying to send
data out to the serial port even though you don't have one.  This
probably won't change much else, but it will speed up your boot times.
Having it on tells SeaBIOS to send the the boot log out of serial as
well.

Martin

On Thu, Jan 26, 2017 at 3:11 AM, Maxim Gusev <mail at maximgusev.com> wrote:
> It is very strange, but my keyboard doesn't work.
> I have tried to connect another keyboard - LEDs blinked 20 percent of cases
> and also diesn't work.
>
> I took your advice Martin and increased the delay (200, 500, 5000)  - didn't
> help.
> cbfstool coreboot.rom add-int -i 200 -n "etc/usb-time-sigatt"
> Unfortunately I don't have the PS/2 keyboard:(
>
> Regards
> Maxim
>
>
> -------- Original Message --------
> Subject: Re: [coreboot] Coreboot binary for ASUS F2A85-M
> Local Time: 24 Января 2017 г. 10:17 вечера
> UTC Time: 24 Января 2017 г. 19:17
> From: gaumless at gmail.com
> To: Maxim Gusev <mail at maximgusev.com>
> Daniel Kulesz <daniel.ina1 at googlemail.com>, Kyösti Mälkki
> <kyosti.malkki at gmail.com>, hackurx at opensec.fr <hackurx at opensec.fr>,
> coreboot at coreboot.org <coreboot at coreboot.org>
>
> Using your ROM, I'm getting USB keyboard in both grub and linux.
>
> You might try setting SeaBIOS's usb-time-sigatt to something higher
> than 100: https://www.seabios.org/Runtime_config
>
> "The USB2 specification requires devices to signal that they are
> attached within 100ms of the USB port being powered on. Some USB
> devices are known to require more time. Prior to receiving an
> attachment signal there is no way to know if a USB port is empty or if
> it has a device attached. One may specify an amount of time here (in
> milliseconds, default 100) to wait for a USB device attachment signal.
> Increasing this value will also increase the overall machine bootup
> time."
>
> Here's the command to add a 200ms wait to your rom:
> cbfstool coreboot.rom add-int -i 200 -n "etc/usb-time-sigatt"
>
> Martin
>
> On Tue, Jan 24, 2017 at 9:55 AM, Maxim Gusev <mail at maximgusev.com> wrote:
>> Hi, Martin, Daniel, Kyösti, Loic,
>> Hi, friends
>>
>> The problem was in the programmer which programmed incorrectly.
>> Now I see the post codes and SeaBIOS works.
>> Also as you mentioned, it is important to put the memory in the slot
>> furthest away from the processor,
>> I have only one memory module and otherwise the system doesn't work.
>>
>> "As was mentioned by Daniel, you don't need the external
>> card's VBIOS built into the rom. If you're using SeaBIOS, it will
>> read the vbios directly from the card."
>>
>> You are right, in this case all is working, otherwise - doesn't (shouldn't
>> use VGAbios from the Internet in my case).
>>
>> Now my keyboard does not work (Logitech Y-UL76). I have tried in all slots
>> (even using 10 pin to usb adapter).
>> The power seems to be there, because the mouse once blinked when it was
>> connected-disconnected.
>> Usb settings enabled in config, as I understand. Please help to fix.
>>
>> Here is my config and binary (attached to the e-mail).
>> Config: http://pastebin.com/BYgiLabA
>>
>> Thank you very much!
>> Maxim
>> Tried in all slots (even using adapter 10 pin usb)
>>
>> -------- Original Message --------
>> Subject: Re: [coreboot] Coreboot binary for ASUS F2A85-M
>> Local Time: 24 Января 2017 г. 3:29 ночи
>> UTC Time: 24 Января 2017 г. 00:29
>> From: gaumless at gmail.com
>> To: Maxim Gusev <mail at maximgusev.com>
>> Daniel Kulesz <daniel.ina1 at googlemail.com>, coreboot at coreboot.org
>> <coreboot at coreboot.org>
>>
>> Hi Maxim,
>> Try this: Remove all of the memory in the board except for one DIMM
>> in the slot furthest away from the processor. AGESA on this chip has
>> a requirement (that some vendors apparently worked around) that DIMMs
>> be populated from the furthest slot to the closest.
>>
>> It looks like the code to route Port 80h to PCI isn't in that
>> chipset. That's something we should check before giving that option.
>>
>> As was mentioned by Daniel, you don't need (or want) the external
>> card's VBIOS built into the rom. If you're using SeaBIOS, it will
>> read the vbios directly from the card.
>>
>> If these steps don't help, I'll work with you to get a rom that boots for
>> you.
>>
>> Martin
>>
>> On Mon, Jan 23, 2017 at 3:12 PM, Maxim Gusev via coreboot
>> <coreboot at coreboot.org> wrote:
>>> Thank you for advise about pc speaker console! I will try it today.
>>> I am using CH341A programmer and its soft of 1.18 version. Also i am
>>> using
>>> the original WINBOND W25Q64BV 8mb chip.
>>> Yes, if I flash back the original UEFI ROM onto the chip - the system
>>> start
>>> up again.
>>>
>>> Maxim
>>>
>>>
>>> -------- Original Message --------
>>> Subject: Re: [coreboot] Coreboot binary for ASUS F2A85-M
>>> Local Time: 23 Января 2017 г. 11:03 вечера
>>> UTC Time: 23 Января 2017 г. 20:03
>>> From: daniel.ina1 at googlemail.com
>>> To: Maxim Gusev <mail at maximgusev.com>
>>> coreboot at coreboot.org <coreboot at coreboot.org>
>>>
>>> My F2A85-M is currently down, so I can't test it with your config - sorry
>>> (but maybe in two days or so). But one more thing you could try is the pc
>>> speaker console:
>>>
>>> https://www.coreboot.org/Spkmodem
>>>
>>> At least, if it starts beeping this would be already a good sign.
>>>
>>> Btw.: How did you actually flash coreboot onto the chip? And did you use
>>> the
>>> original BIOS chip? If not, did you make sure your other chip is also 8M
>>> in
>>> size? If you flash back the original ROM onto the chip - does the system
>>> start up again?
>>>
>>> Cheers, Daniel
>>>
>>>
>>> On Mon, 23 Jan 2017 14:16:25 -0500
>>> Maxim Gusev <mail at maximgusev.com> wrote:
>>>
>>>> I tried different ways to initialize the VGA card - does not work.
>>>> I also tried with your config file - did not work (as I remember, it was
>>>> further suggested in the manual mode to complete the configuration).
>>>> Here is my config file: http://pastebin.com/RVLcGku8
>>>> I have a feeling that coreboot is programmed or read (from the spi
>>>> flash)
>>>> to the wrong address,
>>>> although it is unlikely because it is, as I understand it, is written in
>>>> the mainboard sources, and I never touched them.
>>>>
>>>>
>>>>
>>>>
>>>> -------- Original Message --------
>>>> Subject: Re: [coreboot] Coreboot binary for ASUS F2A85-M
>>>> Local Time: 23 Января 2017 г. 10:01 вечера
>>>> UTC Time: 23 Января 2017 г. 19:01
>>>> From: daniel.ina1 at googlemail.com
>>>> To: Maxim Gusev <mail at maximgusev.com>
>>>> Kyösti Mälkki <kyosti.malkki at gmail.com>, coreboot at coreboot.org
>>>> <coreboot at coreboot.org>
>>>>
>>>> On Mon, 23 Jan 2017 15:51:16 +0200
>>>> Kyösti Mälkki <kyosti.malkki at gmail.com> wrote:
>>>>
>>>> > On Mon, Jan 23, 2017 at 2:41 PM, Maxim Gusev via coreboot <
>>>> > coreboot at coreboot.org> wrote:
>>>> >
>>>> > > Hi Daniel,
>>>> > >
>>>> > > Now I have compiled coreboot 4.5 with the SeaBIOS 1.9.3 as a payload
>>>> > > and
>>>> > > the VGAbios:
>>>> > > I am using the Asus EN8600GT as a videocard (PCIe) and I took out
>>>> > > the
>>>> > > binary here:
>>>> > > https://www.techpowerup.com/vgabios/?architecture=&
>>>> > > manufacturer=Asus&model=8600+GT&interface=PCI-E&memType=&
>>>> > > memSize=256&since=
>>>> > >
>>>>
>>>> To my understanding, when using an external graphics card you don't need
>>>> to extract or put any VGA blobs in. But you need to initialize the PCIe
>>>> video. Can you provide us with the full config you are using, please? Or
>>>> did
>>>> you try my config which I linked in my initial answer? (There, it should
>>>> be
>>>> already enabled as far as I remember)
>>>>
>>>> > > Also I have turned on in console settings "Show POST codes...", but
>>>> > > there
>>>> > > is nothing works:(
>>>> > >
>>>> >
>>>> > You probably also need POST_DEVICE_PCI_PCIE set in your .config. In
>>>> > menuconfig: "Device to send POST codes to" -> "PCI/PCIe".
>>>> >
>>>> > As for the serial port: I think this mainboard is not a retail
>>>> > version,
>>>> > but
>>>> > came from ASUS Essentio Desktop PC CM1745.
>>>> >
>>>> >
>>>> >
>>>> > http://www.ascendtech.us/asus-f2a85-m-cm1745-dp-motherboard_i_mb90mibiw5g0xbn.aspx
>>>> >
>>>> > Looks like RS232 level translator ICs are also missing and some other
>>>> > differences on BOM too.
>>>> >
>>>>
>>>> Indeed, there seem to be different versions of the board then. I have
>>>> the
>>>> retail version, and mine has the connectors soldered. Can someone update
>>>> the
>>>> wiki, please?
>>>>
>>>> Cheers, Daniel
>>>
>>>
>>>
>>> --
>>> coreboot mailing list: coreboot at coreboot.org
>>> https://www.coreboot.org/mailman/listinfo/coreboot
>>
>>
>
>



More information about the coreboot mailing list