From: "Sigrid Solveig Haflínudóttir" <sigrid@ftrv.se>
To: 9front@9front.org
Subject: Re: [9front] Reform MNT Boot Process
Date: Mon, 12 Feb 2024 14:52:05 +0100 [thread overview]
Message-ID: <C8CFD652C333F402D0024F36F83A9223@ftrv.se> (raw)
In-Reply-To: <1ef18420c4f54c9155a18c7d6dd16ca5@posteo.de>
Quoth alex-ml@posteo.de:
> My guess would be that flash.bin (built via the mkfile) is loading the
> kernel with the information from boot.scr (also built via mkfile). Is
> that right? In this case, the boot process would be a bit easier than
> described above (at least with fewer steps).
Yes. flash.bin is U-Boot built for Reform. It is in turn the one
loading the kernel by following the instructions in boot.txt (which
gets "compiled" into boot.scr).
> In /sys/src/cmd/aux/txt2uimage.c/, which is used in the recipe for
> boot.scr, there are some numbers that I would like to understand where
> they come from. Is there some documentation explaining how an uimage and
> / or header has to look like? Unfortunately I wasn't able to find this
> information on https://docs.u-boot.org/.
>
> And the same question for /sys/src/boot/reform/boot.txt/, where some
> addresses are given. How do I obtain this information?
"uImage" is a wrapper for whichever files you intend to use with
U-Boot. In this specific case it tells U-Boot it's a "script" file
with a specific load address (where to put the "raw" unwrapped data)
and an entry point (where to start execution from). I am not sure
where to find any documentation for this besides looking at U-Boot
sources (include/image.h describes a lot of it).
>
> I am very sorry for my beginner questions and I would really appreciate
> any explanations/hints to help me understand what happens during the
> boot process.
Don't think it's beginner questions but even if those were, no harm in
asking.
next prev parent reply other threads:[~2024-02-12 13:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 8:17 alex-ml
2024-02-12 13:52 ` Sigrid Solveig Haflínudóttir [this message]
2024-02-12 14:01 ` Sigrid Solveig Haflínudóttir
2024-02-13 7:25 ` alex-ml
2024-02-13 8:53 ` alex-ml
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C8CFD652C333F402D0024F36F83A9223@ftrv.se \
--to=sigrid@ftrv.se \
--cc=9front@9front.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.
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 NNTP newsgroup(s).