From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NzFcZ-0004XV-JM for mharc-grub-devel@gnu.org; Tue, 06 Apr 2010 16:43:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzFcX-0004Wf-E5 for grub-devel@gnu.org; Tue, 06 Apr 2010 16:43:37 -0400 Received: from [140.186.70.92] (port=53344 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzFcV-0004Vg-Bg for grub-devel@gnu.org; Tue, 06 Apr 2010 16:43:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzFcT-0003tY-QG for grub-devel@gnu.org; Tue, 06 Apr 2010 16:43:35 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:64978) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzFcT-0003tQ-Fh; Tue, 06 Apr 2010 16:43:33 -0400 Received: by bwz23 with SMTP id 23so293035bwz.26 for ; Tue, 06 Apr 2010 13:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type; bh=DIXE5FB2JFBq6eT29dQPXiQtNgGUQJQWwCYQUZE44kc=; b=lv5xuAcMtZysvQWGY7FM3//B2qWQt6AgGabk5K/gLDCO3KFuKoTXWXxQeZ4A8ddu5i kubb92j6F83Pd5T60wql4peui+CssVM2YEJoXIVHddU4I8S74g2JbViqyQdw/1LDKNjp 95vwpY3792GIZ3UwA9cL4arcnPSsmky4A96sk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type; b=pKuhll/ZGDOtI2t2n/eIRDjTJPoM2BvOI6eNk2Fy04cVDyEyg7lGsmc6rS7oxIueVp XAYmwI6RKoqnMt6TohF7W5CDmYlfPgNooKjLHznsXLNffhNJAbt98yhhaXcgt2Px7Mf8 mEZKhFLurEXaWvXsXYUGcmxOoPVRoqPLDwshs= Received: by 10.204.131.80 with SMTP id w16mr25720bks.35.1270586611125; Tue, 06 Apr 2010 13:43:31 -0700 (PDT) Received: from debian.bg45.phnet (39-82.203-62.cust.bluewin.ch [62.203.82.39]) by mx.google.com with ESMTPS id 14sm6498430bwz.14.2010.04.06.13.43.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Apr 2010 13:43:30 -0700 (PDT) Message-ID: <4BBB9CEA.704@gmail.com> Date: Tue, 06 Apr 2010 22:43:22 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GRUB 2 , loongson-dev@googlegroups.com, rms / fsf sysadmin / fsf volunteers / lemote X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigF1E41D94F3ABFDE1A0530512" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: GRUB as firmware available for Yeeloong X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 20:43:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF1E41D94F3ABFDE1A0530512 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, all. I'm happy to announce that today I had a first grub able to load linux while playing a role of firmware. It's possible that some of peripherals aren't inited but I have a working desktop in linux BEWARE: it's alpha Few advantages: -Modularity. Put in flash what you want in flash. -Flexibility. You can embed a script in flash image. -Filesystem and Partition tables support. With it you can load kernels from e.g. lvm, gpt, zfs, xfs, ufs,... -Serial port support. You can have a console on serial port in addition or instead of keyboard+screen. Default is to use only grpahic console. If it's asked often enough it can be changed to default double console -Most of features available with x86 grub are available on yeeloong too. ToDos (you can ask for more precise status on those items if you're interested or want to volunteer): -Currently grub has no flasher. So when grub is in flash one can't use it to flash something else from it (but flashrom from OS should be usable). Possible solutions: -- Convince pmon guys to drop advertisement clause from relevant files, then it can be ported to grub -- Port flashrom. Only part of it is license compatible but it seems like that part is all we want -- Flash from OS with flashrom. -Add NVRAM support. -Add compression. -Optimise video for 16-bit screen -UDMA support for faster kernel loading. -USB support -Network support How to obtain. It's available as a bzr checkout from: http://bzr.savannah.gnu.org/r/grub/people/phcoder/yeeloong-fw/ Prerequisites: automake, ruby, autoconf, python, gcc, bison Compilation: =2E/configure make =2E/grub-mkimage -O yeeloong_flash -o grub.img -d . sh normal linux minicmd part_msdos ata ext2 reboot halt serial before you proceed further be sure to have a way to restore your flash. I recommend having a separate PLCC chip with working pmon and hot-swapping technique. If you don't understand the last sentence please do NOT proceed. DISCLAIMER: NO WARRANTY of whatever damage would occur to your computer Then in pmon: load -r -f bfc00000 /grub.img --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigF1E41D94F3ABFDE1A0530512 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAku7nPAACgkQNak7dOguQgmgtAD+KEWP66cHaCto6Wkkis7E7V4p ZTnDFuSm6ACXrJgHO5sBALLxfUhJH7dtztYA1NsPntTQfPgylugO+0s4R0On/f0F =Eyrw -----END PGP SIGNATURE----- --------------enigF1E41D94F3ABFDE1A0530512--