All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theo Debrouwere <theo.debrouwere@skynet.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] BeagleBoard X15: new board
Date: Fri, 16 Dec 2016 23:27:49 +0100	[thread overview]
Message-ID: <20161216222749.p2qhprdn3arg2bpc@skynet.be> (raw)
In-Reply-To: <87d1gsasv8.fsf@dell.be.48ers.dk>

>  > diff --git a/board/beagleboardx15/uEnv.txt b/board/beagleboardx15/uEnv.txt
>  > new file mode 100644
>  > index 0000000..0af0eef
>  > --- /dev/null
>  > +++ b/board/beagleboardx15/uEnv.txt
>  > @@ -0,0 +1,9 @@
>  > +# This uEnv.txt file can contain additional environment settings that you
>  > +# want to set in U-Boot at boot time.  This can be simple variables such
>  > +# as the serverip or custom variables.  The format of this file is:
>  > +#    variable=value
>  > +# NOTE: This file will be evaluated after the bootcmd is run and the
>  > +#       bootcmd must be set to load this file if it exists (this is the
>  > +#       default on all newer U-Boot images.  This also means that some
>  > +#       variables such as bootdelay cannot be changed by this file since
>  > +#       it is not evaluated until the bootcmd is run.
> 
> Is this file really needed if it only contains comments?

No, it isn't necessary. I just wanted to provide a sample file on the sd-card
image. Should I remove it?

> 
> > diff --git a/configs/beagleboardx15_defconfig b/configs/beagleboardx15_defconfig
>  > new file mode 100644
>  > index 0000000..17181d9
>  > --- /dev/null
>  > +++ b/configs/beagleboardx15_defconfig
>  > @@ -0,0 +1,33 @@
>  > +BR2_arm=y
>  > +BR2_cortex_a15=y
>  > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
>  > +BR2_TARGET_GENERIC_HOSTNAME="beagleboardx15"
>  > +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2"
> 
> Does the kernel not boot with console=ttyS2,.. ? If so, then the default
> of /dev/console should work as well.
> 


U-boot (both ti's release & mainline) currently contains 'console=ttyO2',
but the kernel 'changes' it to ttyS2.

*snip*
[    0.000772] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000779] This ensures that you still see kernel messages. Please
[    0.000784] update your kernel commandline.
*snip*

This can be fixed with this config line, although I can also provide a patch.
Or fix it inside the uEnv.txt

> > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh"
>  > +BR2_LINUX_KERNEL=y
>  > +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>  > +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.ti.com/processor-sdk/processor-sdk-linux.git"
>  > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="db0b54cdadef2d754ef7c2d8dd7300ef085985ef"
>  > +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>  > +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beagleboardx15/linux-4.4.config"
>  > +BR2_LINUX_KERNEL_DTS_SUPPORT=y
>  > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-evm am57xx-evm-reva3"
>  > +BR2_LINUX_KERNEL_INSTALL_TARGET=y
>  > +BR2_TARGET_ROOTFS_EXT2=y
>  > +BR2_TARGET_ROOTFS_EXT2_4=y
>  > +BR2_TARGET_UBOOT=y
>  > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>  > +BR2_TARGET_UBOOT_CUSTOM_GIT=y
>  > +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.ti.com/ti-u-boot/ti-u-boot.git"
>  > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="2f757e5b2c6b260c647a8a1bb295537f07c3a8b9"
>  > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm"
> 
> Are the custom repos needed? I see that mainline u-boot and Linux
> atleast has "some" support for this defconfig / dts'es.

I haven't checked if mainline has the same level of board support
as TI's trees.

Let me check that.

  reply	other threads:[~2016-12-16 22:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 22:37 [Buildroot] [PATCH] BeagleBoard X15: new board Theo Debrouwere
2016-12-16 13:47 ` Peter Korsgaard
2016-12-16 22:27   ` Theo Debrouwere [this message]
2016-12-17 13:12     ` Thomas Petazzoni
2016-12-17 16:48       ` Peter Korsgaard
2016-12-18 21:35 ` Theo Debrouwere
2016-12-18 21:43   ` Theo Debrouwere
2016-12-18 22:06   ` Peter Korsgaard
2016-12-18 22:20     ` Theo Debrouwere

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=20161216222749.p2qhprdn3arg2bpc@skynet.be \
    --to=theo.debrouwere@skynet.be \
    --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 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.