From: alex-ml@posteo.de
To: 9front@9front.org
Subject: Re: [9front] Reform MNT Boot Process
Date: Tue, 13 Feb 2024 08:53:34 +0000 [thread overview]
Message-ID: <4a2514d128964fcc79a3551435bd61f1@posteo.de> (raw)
In-Reply-To: <0d6c5dd266d1c157ae26f230cca39802@posteo.de>
Hello everyone,
Thanks to Sigrid, I have found the struct legacy_img_hdr on
https://github.com/u-boot/u-boot/blob/master/include/image.h, which
helps a lot in understanding /sys/src/cmd/aux/txt2uimage.c/, but I still
have a few questions:
If there is a "legacy" struct, is there possibly a newer struct that
could also be used?
The "Image Magic Number" in /sys/src/cmd/aux/txt2uimage.c/ is the same
es the one defined in include/image.h, but what is its function? (And
why is it that number?)
Why are 8 bit added to the Image Data Size? (header[12])
Why is IH_OS_INVALID (0) used instead of IH_OS_PLAN9 (23)? (header[28])
Why is IH_ARCH_INVALID (0) used instead of IH_ARCH_ARM64 (22)?
(header[29])
Thank you very much in advance!
prev parent reply other threads:[~2024-02-13 8:54 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
2024-02-12 14:01 ` Sigrid Solveig Haflínudóttir
2024-02-13 7:25 ` alex-ml
2024-02-13 8:53 ` alex-ml [this message]
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=4a2514d128964fcc79a3551435bd61f1@posteo.de \
--to=alex-ml@posteo.de \
--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).