The resulting grub.img can be flashed using flashrom
http://flashrom.org/Flashrom. Be sure to have backup chip before
flashing. Fortunately the chip is socketed so you can easily replace it.
Although the image such created worked fine for me, it wasn't tested
enough yet so have a backup chip and please, report if you encounter any
problems.
Have fun
@Danny, @Lemote: is anybody interested in distributing Fuloongs with GRUB
@FSF, rms: if anybody distributes Fuloong this way can it be endorsed by
FSF?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
> 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