> If you store that spare rom in a safe place and only use it to boot<br>> from, you don't need an external programmer. A often used trick to<br>> ease removal is to glue a handle to the chip:<br>> <a href="http://www.settoplinux.org/images/thumb/5/56/Push_pin2.jpg/500px-Push_pin2.jpg" target="_blank">http://www.settoplinux.org/images/thumb/5/56/Push_pin2.jpg/500px-Push_pin2.jpg</a><br>
<br>Ok, if I understand it right, when I brick the first rom, I can boot using the second one into a freedos, remove the rom while the system is running and put the bricked rom in and flash the original BIOS, is that correct??<br>
The pin trick is very nice btw:)<br><br>> 4) Copy the files from the iwave board (cd src/mainboard/iwave/iWRainbowG6/ ; cp -r * ../../axiomtek/pico821/ ),<br>> edit at least devicetree.cb, Kconfig and mainboard.c. Then replace the names but keep the (C) copyright headers.<br>
<br>I suppose I will edit devicetree.cb file according to my lspci output, but I didn't get how to modify the lines similar to following:<br>chip southbridge/intel/sch<br>            register "pirqa_routing" = "0xa"<br>
            register "pirqb_routing" = "0xb"<br>Are those something about IRQ routing? my board also have Intel SCH so I hope they are the same..<br><br>And there is not much in mainboard.c file, I couldn't see much to change apart from the CHIP_NAME?<br>
<br>> Compile and run superiotool, it's in util/superiotool/<br><br>I have run it on my board, i have an " Winbond W83627HF/F/HG/G (id=0x52, rev=0x41)", but I don't know what iWRainbowG6 has on it? I looked at the code, but couldn't figure what it's SuperIO chip is? Anyone know, or own this board, could tell me?<br>
<br>Sorry it's been lots of questions, thank you very much for guiding,<br>Thanks in advance,<br>Alp<br><br><div class="gmail_quote">2011/10/7 Idwer Vollering <span dir="ltr"><<a href="mailto:vidwer@gmail.com">vidwer@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">2011/10/7 Alp Eren Köse <<a href="mailto:alperenkose@buyutech.com.tr">alperenkose@buyutech.com.tr</a>>:<br>

<div class="im">><br>
>> 1. Make sure you can recover from a bad image (extra flash chip with<br>
>> the original BIOS)<br>
><br>
> Ok, I have got a spare rom which is a "SST SST49LF008A" (1024 KB, FWH) with<br>
> the original bios, but i don't have an external programmer to flash if the<br>
> first one is bricked..<br>
<br>
</div>If you store that spare rom in a safe place and only use it to boot<br>
from, you don't need an external programmer. A often used trick to<br>
ease removal is to glue a handle to the chip:<br>
<a href="http://www.settoplinux.org/images/thumb/5/56/Push_pin2.jpg/500px-Push_pin2.jpg" target="_blank">http://www.settoplinux.org/images/thumb/5/56/Push_pin2.jpg/500px-Push_pin2.jpg</a><br>
<div class="im"><br>
><br>
>> 2. Make sure you can get serial output<br>
><br>
> I believe I can do it, the board has an RS232 port, so I guess i need a null<br>
> modem cable to connect it to the computer..<br>
><br>
>> 3. Choose the most similar supported motherboard<br>
><br>
> I guess it is the iWave iW-RainboW-G6 as Idwer Vollering suggested..<br>
><br>
>> 4. Change the code to support your board<br>
><br>
> Well this is a little problem, I don't know exactly where and what to change<br>
> in the code,<br>
> I believe i need to make a copy of src/mainboard/iwave/iWRainbowG6 and<br>
> modify files to fit it my mainboard..<br>
<br>
</div>0) Compile crossgcc: run "make crossgcc" in the top source directory<br>
1) Edit src/mainboard/Kconfig<br>
2) Make a directory named axiomtek/pico821 in src/mainboard/ (run this<br>
in the top source code directory: mkdir -p src/mainboard<br>
/axiomtek/pico821 )<br>
3) Add the file src/mainboard/axiomtek/Kconfig and edit that file,<br>
you'll want to take src/mainboard/iwave/iWRainbowG6/Kconfig as an<br>
example.<br>
4) Copy the files from the iwave board (cd<br>
src/mainboard/iwave/iWRainbowG6/ ; cp -r * ../../axiomtek/pico821/ ),<br>
edit at least devicetree.cb, Kconfig and mainboard.c. Then replace the<br>
names but keep the (C) copyright headers.<br>
5) "cd" back into the top source dir and run "make menuconfig ; make"<br>
(or make xconfig/gconfig) where you select the axiomtek mainboard.<br>
Exit the menu, save the configuration and run "make"; after a minute<br>
or so you should have the file build/coreboot.rom which you'll have to<br>
program into the first chip.<br>
6) Make sure that you have stored the spare rom in a safe place, then<br>
download, compile and install flashrom:<br>
<a href="http://www.flashrom.org/Downloads#Installation_from_source" target="_blank">http://www.flashrom.org/Downloads#Installation_from_source</a><br>
<br>
<a href="http://www.coreboot.org/Developer_Manual#How_to_support_a_new_board" target="_blank">http://www.coreboot.org/Developer_Manual#How_to_support_a_new_board</a><br>
<div class="im"><br>
> I have some C knowledge, but I would really need help, and some people to<br>
> show me the way what and where to change in the code at least to make it<br>
> work?<br>
><br>
>> 5. Try it<br>
>> 6. Iterate on 4&5 until you're happy with it<br>
>> 7. Send a patch<br>
><br>
> I would for sure send a patch if I can make it work :)<br>
> Btw the CPU and the southbridge/northbridge matches with the Rainbow-G6, but<br>
> I don't know about the SuperIO of it, there is just a "-" in the list of<br>
> supported motherboards for superIO of Rainbow-G6..<br>
<br>
</div>Compile and run superiotool, it's in util/superiotool/<br>
<div class="im"><br>
><br>
> Thanks in advance,<br>
> Alp<br>
><br>
> 2011/10/5 Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br>
>><br>
>> 2011/10/5 Alp Eren Köse <<a href="mailto:alperenkose@buyutech.com.tr">alperenkose@buyutech.com.tr</a>>:<br>
>> > Anyone has an idea?<br>
>> ><br>
>> > Another question is I can't find my mainboard vendor "Axiomtek" in<br>
>> > Mainboard<br>
>> > Vendor selection list in menuconfig as expectedly, but all the chips and<br>
>> > chipset of it seem to be supported as I see them in coreboot website. Is<br>
>> > it<br>
>> > still possible to install coreboot, if so how can I do it?<br>
>> > It would be really nice if someone could point a way..<br>
>><br>
>> Generally the steps are:<br>
>> 1. Make sure you can recover from a bad image (extra flash chip with<br>
>> the original BIOS)<br>
>> 2. Make sure you can get serial output<br>
>> 3. Choose the most similar supported motherboard<br>
>> 4. Change the code to support your board<br>
>> 5. Try it<br>
>> 6. Iterate on 4&5 until you're happy with it<br>
>> 7. Send a patch<br>
>><br>
>> If you don't have 1 & 2 you shouldn't try at all.<br>
>><br>
>> Good luck!<br>
>> Myles<br>
><br>
><br>
</div><div><div></div><div class="h5">> --<br>
> coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
> <a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
><br>
</div></div></blockquote></div><br>