Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lothar Felten <lothar.felten@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] configs: beaglebone: bump kernel and uboot version
Date: Thu, 15 Feb 2018 12:36:38 +0100	[thread overview]
Message-ID: <1518694598.11238.29.camel@gmail.com> (raw)
In-Reply-To: <f7a469db-18e2-862d-7307-9d5a582e08e2@mind.be>

Hi Arnout,

thanks for reviewing the patch

On Thu, 2018-02-08 at 18:04 +0100, Arnout Vandecappelle wrote:
>  Hi Lothar,
> 
>  Sorry to bother you with more questions :-)
> 
> On 08-02-18 08:51, Lothar Felten wrote:
> > Switch to Linux kernel version 4.9.59 from the TI SDK 04.02.00.09
> > (TI SDK release date: 23.12.2017)
> > Updated uboot to version 2018.01
> > 
> > v2:
> > - set uboot version to 2018.01 in defconfig
> > - keep default rootfs size
> > - keep Kconfig for uboot
> 
>  Side remark: we don't want to include the patch changelog in our git
> history,
> so in the future put it below a --- line:
> 
> > 
> > Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
> 
> ---
> Here.

ok.

> > ---
> >  board/beaglebone/uEnv.txt    | 8 ++++++--
> >  configs/beaglebone_defconfig | 9 +++------
> >  2 files changed, 9 insertions(+), 8 deletions(-)
> > 
> > diff --git a/board/beaglebone/uEnv.txt b/board/beaglebone/uEnv.txt
> > index 70b3b721..8365c3af 100644
> > --- a/board/beaglebone/uEnv.txt
> > +++ b/board/beaglebone/uEnv.txt
> > @@ -1,4 +1,8 @@
> >  bootpart=0:1
> > +devtype=mmc
> >  bootdir=
> > -bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw
> > rootfstype=ext4 rootwait
> > -uenvcmd=run loadimage;run loadfdt;printenv bootargs;bootz
> > ${loadaddr} - ${fdtaddr};
> > +bootfile=zImage
> > +bootpartition=mmcblk0p2
> > +set_mmc1=if test $board_name = A33515BB; then setenv bootpartition
> > mmcblk1p2; fi; 
> 
>  The ; at the end of the line here is a bit weird but OK.

I'll clean it up.

> 
>  It would have been nice to mention in the commit message why this
> change is
> made. I guess it is to support a new revision of the board. Which
> really should
> have been done in a separate commit, unless this revision is only
> supported by
> the newer U-Boot/kernel (though I don't really mind squashing the
> commits).
> 
Ti ships a custom u-boot-2017.01, 2018.01 works fine too except it does
not pass the correct root device to the kernel in case of the ti-
am335x-evm. The additional line fixes this.

> 
> > +set_bootargs=setenv bootargs console=ttyO0,115200n8
> > root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
> > +uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run
> > loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr};
> > diff --git a/configs/beaglebone_defconfig
> > b/configs/beaglebone_defconfig
> > index 611b6941..eea20436 100644
> > --- a/configs/beaglebone_defconfig
> > +++ b/configs/beaglebone_defconfig
> > @@ -1,13 +1,13 @@
> 
> [snip]
> >  BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm"
> > -BR2_TARGET_UBOOT_NEEDS_DTC=y
> 
>  Are you sure U-Boot doesn't need dtc anymore? Did you test with a
> clean build?

No, that one should remain.
I do test with a clean build but I do have a local dtc too.

> 
>  Regards,
>  Arnout
> 
> >  # BR2_TARGET_UBOOT_FORMAT_BIN is not set
> >  BR2_TARGET_UBOOT_FORMAT_IMG=y
> > -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
> > -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin"
> >  BR2_TARGET_UBOOT_SPL=y
> >  BR2_TARGET_UBOOT_SPL_NAME="MLO"
> >  BR2_PACKAGE_HOST_DOSFSTOOLS=y
> > 
> 
> 

Best regards,
Lothar

      reply	other threads:[~2018-02-15 11:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08  7:51 [Buildroot] [PATCH v2] configs: beaglebone: bump kernel and uboot version Lothar Felten
2018-02-08 17:04 ` Arnout Vandecappelle
2018-02-15 11:36   ` Lothar Felten [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=1518694598.11238.29.camel@gmail.com \
    --to=lothar.felten@gmail.com \
    --cc=buildroot@busybox.net \
    /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