<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Here is how I got coreboot working on a Wyse S50:<br><br>Prerequisites:<br>- VSA blob for AMD Geode<br>- Coreboot toolchain on Ubuntu VM<br>- TinyCore Linux USB boot stick (for flashing with flashrom)<br><br><br>VSA blob for AMD Geode:<br><br>There is a blob available for download on the coreboot sites, but I haven’t tested it. I built my own blob using this method:<br><br>I did all my work in VirtualBox VMs, starting with a fresh install of <br>Windows 2000, updated to SP4, plus some newer patches. C drive is NTFS. <br>Then I did the following:<br> <br>Install unzip:<br>I used this one: <a href="http://gnuwin32.sourceforge.net/packages/unzip.ht">http://gnuwin32.sourceforge.net/packages/unzip.ht</a><br><br>Install MASM 6.11:<br>download it from: <br><a href="http://cvrce.blog.com/2009/08/28/masm-v611-free-download/">http://cvrce.blog.com/2009/08/28/masm-v611-free-download/</a><br>masm611.zip<br>masm 615.zip<br><br>run setup.exe from the disk1 directory<br>NT only<br>MASM.EXE: no<br>Help files: no<br>Sample programs: no<br>Install to C:\MASM611\BIN<br>add to path C:\MASM611\BIN<br><br>Patch to MASM 6.14:<br>unpack ML614.EXE to a temporary directory<br>Follow the directions in README.TXT<br>copy patch files to C:\MASM611<br>- PATCH.EXE<br>- PATCH.RTD<br>- PATCH.RTP<br>run PATCH.EXE from within C:\MASM611<br>copy H2INC.EXE and H2INC.ERR to C:\MASM611\BIN (overwrite the existing <br>files)<br><br>Install VC++ 1.52c:<br>download it from: <br>http://vetusware.com/download/Visual%20C%2B%2B%201.52c/?id=9008<br>Microsoft - Visual C++ 1.52c - Installation CD.zip<br>unzip the MSVC15 folder to C:\ (you don't need to run setup)<br>create environment variable LIB=C:\MSVC15\LIB<br>add to path C:\MSVC15\BIN<br><br>I used an Ubuntu machine to get the source files:<br>git clone http://dev.laptop.org/git/geode-vsa <br><br><br>If you've done everything right, then go in to the source build <br>directory, and run:<br>nmake all<br><br><br>Based on my coreboot mailing list post of January 10, 2014<br>http://www.coreboot.org/pipermail/coreboot/2014-January/076992.html<br><br><br><br>Coreboot toolchain on Ubuntu VM:<br><br>I did all my work in VirtualBox VMs, starting with a fresh install of <br>Ubuntu 10.04.<br><br>Then I did this:<br><br>Install sshd:<br>sudo apt-get install openssh-server<br><br>Install ncurses<br>sudo apt-get install libncurses5-dev<br><br>Install git:<br>sudo apt-get install git-core<br><br>Install subversion:<br>sudo apt-get install subversion<br><br>Install g++:<br>sudo apt-get install g++<br><br>Get buildrom:<br>svn co svn://coreboot.org/buildrom<br><br>Get source for geode-vsa:<br>git clone http://dev.laptop.org/git/geode-vsa<br><br>Install Coreboot:<br>(yes, but this installs the newest branch - need the one specified in fijam’s blog posting instead: <br>git clone http://review.coreboot.org/p/coreboot<br>cd coreboot<br>git checkout eb84f6a978147fbe543fbe15af254632f215098a<br>git submodule update --init<br>(that last step gets aebd21811dc9c9a171e629150d9d8a239a8b0338)<br>Then optionally get the binary blobs:<br>git clone http://review.coreboot.org/p/blobs.git<br>in there, in the cpu/amd/geode_lx directory is the publically available binary Geode VSA blob. Else can use the one I built.<br><br>Assuming the Geode VSA blob has already been built, we are now ready to configure and build Coreboot.<br><br>make menuconfig<br>make<br><br>(make V=1 to get verbose output)<br><br>Based on fijam’s blog posting:<br>http://fijam.eu.org/blog/how-to-put-coreboot-on-wyse-S30s50/<br><br><br><br>Flashing the ROM using flashrom on TinyCore Linux, USB boot stick, running on stock Wyse S50:<br><br>I’m not sure that these notes are 100% correct, but I’ll include them anyway.<br><br>Get Tiny Core Linux base system:<br>http://tinycorelinux.net/5.x/x86/release/TinyCore-current.iso<br><br>Boot from the CD, choose: “Core with X/GUI (TinyCore) + Installation Extension”<br><br>Run the tc-install app, and choose these options to install to a USB stick:<br><br>install to sdx (the one that is not the one booted from!)<br>Boot options - 800x600 VGA (and optional foreign language keyboard layout - Norwegian in my case):<br>vga=789 kmap=qwerty/no-latin1<br>Other:<br>- Choose GUI or CLI only<br>- Installer Application (if need to use for installing)<br>- Remaster Tool (if need to use for making USB boot sticks)<br>- Non-US keyboard layout support<br><br>On first boot, might want to change/fix screen resolution:<br>- Control Panel > xvesa<br><br>Set keyboard map to norwegian:<br>- Exit X (ctrl-alt-F1)<br>- sudo loadkmap < /usr/share/kmap/qwerty/no-latin1.kmap<br>- Test the new map<br>- Re-enter X (ctrl-alt-F2)<br>- Make the change permanent - edit /mnt/sda1/tce/boot/extlinux/extlinux.conf, append bootcode: kmap=qwerty/no-latin1<br>(kmap=qwerty/dk-latin1 for Danish)<br><br><br>Installing apps on CLI:<br>http://wiki.tinycorelinux.net/wiki:install_app_commands<br><br>Shutdown with backup from CLI:<br>filetool.sh -b<br>exitcheck.sh shutdown<br><br>Install OpenSSH: (to get ssh, scp, sshd etc.)<br>tce-load -wi openssh.tcz<br><br>Configure sshd (optional):<br>in /usr/local/etc/ssh/<br>sudo cp sshd_config.example sshd_config<br>sudo /usr/local/etc/init.d/openssh start<br>set tc user's password<br><br><br>Install dev tools: <br>tce-load -wi compiletc.tcz<br>tce-load -wi gcc.tcz<br>tce-load -wi make.tcz<br>tce-load -wi libpci-dev.tcz<br><br>Install other tools (optional - not needed for build):<br>tce-load -wi man.tcz<br>tce-load -wi appbrowser-cli.tcz<br><br>Install svn:<br>tce-load -wi svn.tcz<br><br>Get flashrom source:<br><br>svn co svn://flashrom.org/flashrom/trunk flashrom<br><br>Build flashrom:<br><br>cd flashrom<br>make<br>sudo make install<br><br><br>Based on the guide at http://www.parkytowers.me.uk/thin/wyse/s10/Firmware.shtml<br><br>To be used for reading and writing flash module in Wyse S50.<br><br>I couldn’t get the built flashrom to be persistent across TinyCore boots, but it is easy enough to just repeat the “Build flashrom” step to get it working again.<br><br><br>Sorry, I have not noted the details of what was configured in make menuconfig, but as I recall, I chose the Wyse platform wish SeaBIOS and set console serial port speed to whatever value I was using on my terminal machine. Important, as there is no working VGA, and I’m not sure that USB is working either (for keyboard). I then booted NanoBSD that I had previously installed on the internal IDE storage, and could ssh into it just fine. Hurrah.<div><br></div><div>Good luck!</div><div><br></div><div>  -Jamie<br><br><br><div><div>On Sep 22, 2014, at 22:39 , Olliver Schinagl <oliver+list@schinagl.nl> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 04/09/2014 10:29 PM, Jamie Lodberg wrote:<br><blockquote type="cite"><br>On Apr 8, 2014, at 21:58 , Jamie Lodberg wrote:<br><br><blockquote type="cite">On 8. apr. 2014, at 13:40, jamie@toasty.dk wrote:<br><br><blockquote type="cite"><br>I then tested again on another S50: Backed up the factory ROM image, flashed my coreboot.rom, then flashed again with the factory ROM image - that box is still working. When I find my PLCC puller, I will try to revive the bricked S50.<br><br><br></blockquote><br>A quick status update here - I found my PLCC puller!<br><br>My Tiny Core Linux flashrom rig is definitely working - I revived the bricked S50 by flashing a factory image to it.<br><br>(Then I bricked it again hehe)<br></blockquote><br>Success!<br><br>Haha silly me - I don't think they were bricked at all… as fijam wrote on his blog posting, the power button and LED don't work with coreboot. I had forgotten about this. I connected up a serial cable and saw that it was starting coreboot! Then I watched NanoBSD boot (with NO pcib hangs!!) and was able to ssh into it.<br><br>Only problem so far is FreeBSD complaining about an interrupt storm on IRQ 10 when I have the serial port connected. Hm.<br><br>Anyway, this is fantastic!!! :D<br></blockquote>When you get it all sorted, can you get us enlightened folks some more detailed instructions how to get it all to build :)<br><br>Olliver<br><blockquote type="cite"><br> -Jamie<br><br></blockquote><br><br>--<span class="Apple-converted-space"> </span><br>coreboot mailing list:<span class="Apple-converted-space"> </span><a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br><a href="http://www.coreboot.org/mailman/listinfo/coreboot">http://www.coreboot.org/mailman/listinfo/coreboot</a></div></blockquote></div><br></div></body></html>