[coreboot] On loongson CPU or MIPS ARCH
lig.fnst at cn.fujitsu.com
Mon Apr 29 04:12:50 CEST 2013
在 2013-04-29一的 03:58 +0200，Vladimir 'φ-coder/phcoder' Serbinenko写
> 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?
Sorry, No picture for me,
I just start to consider this few days ago.
> 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.
Yes, I'm querying coreboot for the similar consideration.
Is payload indispensable?
can we directly load kernel image?
> 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.
More information about the coreboot