<div dir="ltr">Hi Ken,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 9:16 PM, KenD <span dir="ltr"><<a href="mailto:Ken.Dickey@whidbey.com" target="_blank">Ken.Dickey@whidbey.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Eliot,<br>
<br>
I have gotten a bit lost, but getting closer.<br>
<br>
I am now able to run Squeak 5.0 on my ARM Chromebook via:<br>
<br>
stkspurlinuxhtARM-15.24.3386.tgz<br>
<br>
In Cog/image I loaded a Squeak5.0.image with<br>
BuildSqueakSpurTrunkVMMakerImage.st<br>
LoadReader.st<br>
StartReader.st<br></blockquote><div><br></div><div>Oops, the image building scripts are in image/old. I forgot that now that Squeak 5.0 is released I'd cleaned up the scripts and left only ones to create 64-bit images. Forgive me. So....</div><div><br></div><div>0. cd to the image directory</div><div>1. build a VMMaker.oscog image via</div><div>$ buildsqueaktrunkvmmakerimage.sh</div><div><br></div><div>2. get that image to convert a Cuis image by adapting old/BuildSpurTrunkImage.st</div><div><div>| pwd |</div><div>Utilities authorInitialsPerSe isEmpty ifTrue:</div><div> [Utilities setAuthorInitials: 'autoboot'].</div><div>pwd := FileDirectory default fullName.</div><div>SpurBootstrap bootstrapSqueakImage: pwd, '/', 'trunk46forspur'.</div><div>SpurBootstrapMonticelloPackagePatcher new</div><div> from: 'temp-v3-repository' to: 'temp-spur-repository';</div><div> patch.</div><div>Smalltalk snapshot: false andQuit: true</div></div><div><br></div><div>I suggest you start-up that image and explore the bootstrap. There are two parts:</div><div><br></div><div> SpurBootstrap bootstrapSqueakImage: pwd, '/', 'cuis'<br></div><div><br></div><div>will try to produce a cuis-spur.image and cuis-spur.changes from cuis.image & cuis.changes. But the modified methods won't contain source; they'll be decompiled.</div><div><br></div><div><div>SpurBootstrapMonticelloPackagePatcher new</div><div> from: 'temp-v3-repository' to: 'temp-spur-repository';</div><div> patch.</div></div><div><br></div><div>will try and patch the Collections, Compiler, Kernel & System packages in the first repository into new versions with the modified source in the second repository. One can then load these packages in the cuis-spur.image to get the correct source.</div><div><br></div><div>Over time I modified the bootstrap so that there was an automated patching process. We can set something up for Cuis later on. First concentrate on getting bootstrapSqueakImage: to produce an image that starts up. Then concentrate on SpurBootstrapMonticelloPackagePatcher to get patched packages that can be loaded into cuis-spur.image, and then you can think about the release process and making the transition.</div><div><br></div><div>And if you have an urgent question I'm on Skype at eliotmiranda.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I then save & restart the image with the equivalent of<br>
squeak reader.image <Cuis4.2.image >Cuis5.0.image<br>
<br>
But get a zero length Cuis5.0.image result.<br>
<br>
As the reader.image quits immediately, I did not get to see what the code should be doing.<br>
<br>
A usage hint would be helpful here.<br>
<br>
Thanks much,<br>
-KenD<br>
<span class=""><font color="#888888"><br>
<br>
<br>
--<br>
-KenD<br>
</font></span></blockquote></div><br><br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>