[coreboot] On loongson CPU or MIPS ARCH

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Mon Apr 29 03:58:57 CEST 2013

On 29.04.2013 03:18, li guang wrote:

> 在 2013-04-26五的 22:08 +0200,Vladimir 'φ-coder/phcoder' Serbinenko写
> 道:
>>>> do we have plan to add loongson CPU or MIPS ARCH support?
>> Loongson platforms are very different from any x86 boards. I believe
>> that coreboot in this case would get more in the way than help. I ported
>> GRUB to be firmware on Yeloong 2F and Fuloong 2F. Everything coreboot
>> does on x86 including video init holds under 1000 lines of assembly code
>> for yeeloong. See fwstart.S in GRUB tree.
>> What is your goal? Can we perhaps adapt GRUB to your needs?
> First step is to boot a platform based on loongson 2E, so I have to
> at least port CPU start up code, bonito and vt82c686(seems done in
> coreboot) init code.

But what is the bigger picture? Don't get me wrong, coreboot is great
for x86 but for loongson its init framework is somewhat overkill and
initing naively is more appropriate. What do you think to use as
payload? You need something as GRUB for it since the chip is too small
to hold a kernel anyway.
You can already load GRUB from pmon on fuloong 2E so you can get an
idea. I myself don't have a 2E system so as-firmware port was never done.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20130429/1d295d03/attachment.sig>

More information about the coreboot mailing list