All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
Cc: Heiko Thiery <heiko.thiery@gmail.com>,
	"Yann E. MORIN" <yann.morin.1998@free.fr>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] board/kontron/pitx-imx8m: use extlinux instead of U-Boot boot script
Date: Mon, 24 Jan 2022 09:12:47 +0100	[thread overview]
Message-ID: <2BFF5C08-8E54-4689-894E-0A0BE3D6A71A@benettiengineering.com> (raw)
In-Reply-To: <1dea301e-8425-a1ca-fc69-db338825b19c@gmail.com>


> Il giorno 24 gen 2022, alle ore 06:43, Sergey Kuzminov <kuzminov.sergey81@gmail.com> ha scritto:
> 
> Hi All,
> 
> 24.01.2022 01:01, Giulio Benetti:
>> IMHO the worst drawback I see while using extlinux.conf VS boot.scr is the missing checksum. Especially on embedded systems we deeply treat.
>> Not having such checksum can make system booting without a parameter on linux command line for example, only because 1 ASCII has been corrupted.
>> I prefer the system to not boot at all in general instead of having it "working" while hiding some potential problem.
>> What do you and All think about this?
> 
> IMHO extlinux.conf is more debugging friendly.
> 
> Boot.scr requires the following command:
> mkimage -C none -A arm -T script -d boot.cmd boot.scr
> 
> The mkimage utility (BR2_PACKAGE_HOST_UBOOT_TOOLS) is not on the board, you need to transfer the converted file over the network. Or reconnect the microSD card.

I agree with this too. I’ve found myself many times blaming because I couldn’t simply modify boot.scr on target and reboot.
But I find it still dangerous.

Another thing that I don’t find possible to do with extlinux.conf is using uboot scripting possibility that enables you to do lot or things, like fdt-overlay expand and apply, show a bmp instead of having a static splashscreen and so on.

I don’t think this is achievable with extlinux.conf

These are only my thoughts but I still don’t have a solution honestly. In particular to uniform boards.

Best regards
Giulio
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-01-24  8:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17  8:06 [Buildroot] [PATCH 1/2] board/kontron/pitx-imx8m: use extlinux instead of U-Boot boot script Heiko Thiery
2022-01-17  8:06 ` [Buildroot] [PATCH 2/2] configs/kontron_pitx_imx8m_defconfig: bump kernel to 5.16.1 Heiko Thiery
2022-01-22 14:11   ` Thomas Petazzoni
2022-01-22 14:11 ` [Buildroot] [PATCH 1/2] board/kontron/pitx-imx8m: use extlinux instead of U-Boot boot script Thomas Petazzoni
2022-01-22 15:59   ` Heiko Thiery
2022-01-23 22:01   ` Giulio Benetti
2022-01-24  5:42     ` Sergey Kuzminov
2022-01-24  8:12       ` Giulio Benetti [this message]
2022-02-12 13:50   ` Arnout Vandecappelle

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=2BFF5C08-8E54-4689-894E-0A0BE3D6A71A@benettiengineering.com \
    --to=giulio.benetti@benettiengineering.com \
    --cc=buildroot@buildroot.org \
    --cc=heiko.thiery@gmail.com \
    --cc=kuzminov.sergey81@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.