From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 61ACF27157 for ; Tue, 13 Feb 2024 09:54:54 +0100 (CET) Received: from mout02.posteo.de ([185.67.36.66]) by 9front; Tue Feb 13 03:53:39 -0500 2024 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4C14C240101 for <9front@9front.org>; Tue, 13 Feb 2024 09:53:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1707814415; bh=YNLCecMdU68eorsyZJxkn8A4gN6u96GkfyQXVCj2600=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:Message-ID:From; b=Z+/kP6P1jN8/T1XJjBLbHYQh9pcDLH/iE9d6T2ixfNgy9hmRfOArQGB3IKwexjmNE MRddF3YAcdkFvI246n8VYgQYp5W7cRu2kDizAemz89vRONvg2qzsXjiBD/Wtm9O90Q azKHBAxOSuP1pkH1thz46FOmULt6G+rMH+bVttAkdJODaJk/F3gQdjn7vR9jKv+Jew zfP/khUN+QGjGppDnqhufNtiagC65Al7Hp5PT3VYYeUk1Mk0n2cix88onjcsVKn8Ke mxUVaO6HZnOHz7clCUuEWZoPQx123SDoFw5YAl7eVBQYinLi/ISLxB0t6kp6nB4ujn e6x02MCgTe23A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYw8t6mwJz9rxX for <9front@9front.org>; Tue, 13 Feb 2024 09:53:34 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 13 Feb 2024 08:53:34 +0000 From: alex-ml@posteo.de To: 9front@9front.org In-Reply-To: <0d6c5dd266d1c157ae26f230cca39802@posteo.de> References: <3DF5CA38A7012EFE175EBFD814CE7121@ftrv.se> <0d6c5dd266d1c157ae26f230cca39802@posteo.de> Message-ID: <4a2514d128964fcc79a3551435bd61f1@posteo.de> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: NoSQL YAML over ActivityPub deep-learning CMS cache session control Subject: Re: [9front] Reform MNT Boot Process Reply-To: 9front@9front.org Precedence: bulk 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!