All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.ru>
To: loongson-dev@googlegroups.com
Cc: gnewsense-dev <gnewsense-dev@nongnu.org>,
	phcoder@gmail.com, Danny Clark <djbclark@freedomincluded.com>,
	rms / fsf sysadmin / fsf volunteers / lemote <lemote@gnu.org>,
	The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [loongson-dev] Fuloong liberated
Date: Mon, 16 May 2011 22:05:23 +0600	[thread overview]
Message-ID: <20110516220523.77082d8a@natsu> (raw)
In-Reply-To: <4DD0EA8A.4080301@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]

On Mon, 16 May 2011 11:12:42 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> wrote:

> Hello all. As you all probably know the Floong as shipped by lemote uses
> a 64K binary blob to initialize the video which makes it non-free.
> Fortunately now there is an alternative: GRUB2.

Hello,

So you are replacing PMON with GRUB2, but are you sure the video BIOS is also
removed by this operation? And then, is it GRUB2 that initializes the video
chip instead of SiS BIOS, setting up VRAM timings, the video output, screen
mode, etc? Does it actually have special code for bringing up the SiS 315E?

> To generate firmware
> image do:
> bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
> cd grub
> ./configure --target=mipsel --with-platform=loongson
> make
> ./grub-mkimage -C xz -O mipsel-fuloong-flash -o grub.img -d grub-core/
> normal linux ata usb_keyboard ohci part_msdos ext2 xfs part_gpt ls halt
> reboot usbms gzio

Can you perhaps post a compiled firmware somewhere.

> The resulting grub.img can be flashed using flashrom
> http://flashrom.org/Flashrom. Be sure to have backup chip before
> flashing.

Also I believe it should be possible to chain-load this image from PMON for
testing, via the "load <filename>" command, and then "g".

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-05-16 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16  9:12 Fuloong liberated Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-16 16:05 ` Roman Mamedov [this message]
2011-05-16 17:02   ` [loongson-dev] " Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-16 17:36 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-16 19:45 ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110516220523.77082d8a@natsu \
    --to=rm@romanrm.ru \
    --cc=djbclark@freedomincluded.com \
    --cc=gnewsense-dev@nongnu.org \
    --cc=grub-devel@gnu.org \
    --cc=lemote@gnu.org \
    --cc=loongson-dev@googlegroups.com \
    --cc=phcoder@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.