unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Orians, Jeremiah (DTMB)" <OriansJ@michigan.gov>
To: General discussions about reproducible builds
	<rb-general@lists.reproducible-builds.org>,
	"Jeremiah@pdp10.guru" <Jeremiah@pdp10.guru>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>,
	"bootstrappable@freelists.org" <bootstrappable@freelists.org>
Subject: RE: [rb-general] A major milestone in bootstrapping
Date: Mon, 27 Aug 2018 12:19:09 +0000	[thread overview]
Message-ID: <CY1PR09MB0811BD98189060E6FF288E69C60B0@CY1PR09MB0811.namprd09.prod.outlook.com> (raw)
In-Reply-To: <871sakowvg.fsf@dustycloud.org>

> Interesting... I'm looking at
> https://github.com/oriansj/M2-Planet/blob/master/seed.M1
> How was it written?  It seems like a monumental task to write all that and keep enough context in one's head!  > Then again, I have never written assembly before...

If you'll notice https://github.com/oriansj/M2-Planet/blob/master/seed.M1#L2

It explicitly says it was generated from stage0 https://savannah.nongnu.org/projects/stage0/
Specifically cc_x86 http://git.savannah.nongnu.org/cgit/stage0.git/tree/stage2/cc_x86.s
Which was built by M0: http://git.savannah.nongnu.org/cgit/stage0.git/tree/stage1/M0-macro.hex2
Which was built by hex2: http://git.savannah.nongnu.org/cgit/stage0.git/tree/stage1/stage1_assembler-2.hex1
Which was built by hex1: http://git.savannah.nongnu.org/cgit/stage0.git/tree/stage1/stage1_assembler-1.hex0
Which was built by hex0: http://git.savannah.nongnu.org/cgit/stage0.git/tree/stage1/stage1_assembler-0.hex0
Which was the 250byte seed used

Well the work started back in 2016 with http://git.savannah.nongnu.org/cgit/stage0.git/tree/Linux%20Bootstrap/hex0.s 
and http://git.savannah.nongnu.org/cgit/stage0.git/tree/Linux%20Bootstrap/hex0.hex 

It was written one function at a time, with the arguments passed in registers and careful preservation of everything passed.

- Jeremiah Orians

  reply	other threads:[~2018-08-27 12:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27  0:34 A major milestone in bootstrapping Jeremiah
2018-08-27 11:46 ` Christopher Lemmer Webber
2018-08-27 12:19   ` Orians, Jeremiah (DTMB) [this message]
2018-08-29 16:16     ` [rb-general] " Christopher Lemmer Webber
2018-08-29 20:58 ` Joshua Branson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY1PR09MB0811BD98189060E6FF288E69C60B0@CY1PR09MB0811.namprd09.prod.outlook.com \
    --to=oriansj@michigan.gov \
    --cc=Jeremiah@pdp10.guru \
    --cc=bootstrappable@freelists.org \
    --cc=guix-devel@gnu.org \
    --cc=rb-general@lists.reproducible-builds.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).