All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>,
	Lothar Felten <lothar.felten@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] board/bananapi/bananapi-m2-berry: switch to use extlinux.conf
Date: Thu, 2 Nov 2023 19:07:48 +0100	[thread overview]
Message-ID: <20231102190748.3232ab71@windsurf> (raw)
In-Reply-To: <20231013210841.153788-1-giulio.benetti@benettiengineering.com>

Hello Giulio,

Thanks for your work on this!

On Fri, 13 Oct 2023 23:08:40 +0200
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> diff --git a/board/bananapi/bananapi-m2-berry/genimage.cfg b/board/bananapi/bananapi-m2-berry/genimage.cfg
> index 535f3dffee..92c8677545 100644
> --- a/board/bananapi/bananapi-m2-berry/genimage.cfg
> +++ b/board/bananapi/bananapi-m2-berry/genimage.cfg
> @@ -1,15 +1,3 @@
> -image boot.vfat {
> -	vfat {
> -		files = {
> -			"zImage",
> -			"sun8i-v40-bananapi-m2-berry.dtb",
> -			"boot.scr"
> -		}
> -	}
> -
> -	size = 64M
> -}
> -
>  image sdcard.img {
>  	hdimage {
>  	}
> @@ -21,12 +9,6 @@ image sdcard.img {
>  		size = 1016K # 1MB - 8KB
>  	}
>  
> -	partition boot {
> -		partition-type = 0xC
> -		bootable = "true"
> -		image = "boot.vfat"
> -	}
> -
>  	partition rootfs {
>  		partition-type = 0x83
>  		image = "rootfs.ext4"

Are you sure this works? Indeed the FAT partition used to have the
bootable = "true" flag. Now, no partition has this flag. But from what
I remember, the heuristic that U-Boot uses to determine which partition
has the extlinux.conf file is precisely this bootable flag.

Could you double check this?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2023-11-02 18:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13 21:08 [Buildroot] [PATCH 1/2] board/bananapi/bananapi-m2-berry: switch to use extlinux.conf Giulio Benetti
2023-10-13 21:08 ` [Buildroot] [PATCH 2/2] board/bananapi/bananapi-m2-ultra: " Giulio Benetti
2023-11-02 18:07 ` Thomas Petazzoni via buildroot [this message]
2023-11-02 18:30   ` [Buildroot] [PATCH 1/2] board/bananapi/bananapi-m2-berry: " Giulio Benetti
2023-11-04 14:01     ` Thomas Petazzoni via buildroot
2023-11-04 14:13       ` Giulio Benetti
2023-11-04 14:07 ` Thomas Petazzoni via buildroot

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=20231102190748.3232ab71@windsurf \
    --to=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=jagan@amarulasolutions.com \
    --cc=lothar.felten@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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.