mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <J.Weitzel@phytec.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 04/17] ARM: am335x phytec phyCORE: Switch to devicetree probe support
Date: Tue, 10 Dec 2013 15:22:12 +0100	[thread overview]
Message-ID: <1386685332.3377.2.camel@lws-weitzel> (raw)
In-Reply-To: <1385484367-15366-5-git-send-email-s.hauer@pengutronix.de>

Am Dienstag, den 26.11.2013, 17:45 +0100 schrieb Sascha Hauer:
> This switches the am335x Phytec phyCORE to devicetree probe support.
> For now we use a linked in dtb.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/boards/pcm051/Makefile       |   2 +-
>  arch/arm/boards/pcm051/board.c        | 149 ++--------------------------------
>  arch/arm/boards/pcm051/mux.c          |  65 ---------------
>  arch/arm/boards/pcm051/mux.h          |   4 -
>  arch/arm/configs/pcm051_defconfig     |  26 ++++--
>  arch/arm/configs/pcm051_mlo_defconfig |   8 +-
>  6 files changed, 32 insertions(+), 222 deletions(-)
>  delete mode 100644 arch/arm/boards/pcm051/mux.c
>  delete mode 100644 arch/arm/boards/pcm051/mux.h
> 
> ...
> diff --git a/arch/arm/configs/pcm051_defconfig b/arch/arm/configs/pcm051_defconfig
> index 97e0940..e55ac47 100644
> --- a/arch/arm/configs/pcm051_defconfig
> +++ b/arch/arm/configs/pcm051_defconfig
> @@ -1,16 +1,21 @@
> +CONFIG_BUILTIN_DTB=y
> +CONFIG_BUILTIN_DTB_NAME="am335x-phytec-phycore"
>  CONFIG_ARCH_OMAP=y
> -CONFIG_ARCH_AM33XX=y
>  CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
>  CONFIG_MACH_PCM051=y
> -CONFIG_OMAP_UART1=y
> -CONFIG_AEABI=y
> +CONFIG_THUMB2_BAREBOX=y

Is there a reason to use thumb2 now?

Jan
>  CONFIG_ARM_BOARD_APPEND_ATAG=y
>  CONFIG_CMD_ARM_MMUINFO=y
>  CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
>  CONFIG_ARM_UNWIND=y
> +CONFIG_PBL_IMAGE=y
> +CONFIG_PBL_RELOCATABLE=y
>  CONFIG_MMU=y
> -CONFIG_TEXT_BASE=0x8f000000
> -CONFIG_MALLOC_SIZE=0x2000000
> +CONFIG_TEXT_BASE=0x0
> +CONFIG_MALLOC_SIZE=0x0
> +CONFIG_MALLOC_TLSF=y
> +CONFIG_KALLSYMS=y
> +CONFIG_RELOCATABLE=y
>  CONFIG_PROMPT="barebox@pcm051>"
>  CONFIG_LONGHELP=y
>  CONFIG_HUSH_FANCY_PROMPT=y
> @@ -21,9 +26,6 @@ CONFIG_MENU=y
>  CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
>  CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/pcm051/env"
>  CONFIG_DEBUG_INFO=y
> -CONFIG_ENABLE_FLASH_NOISE=y
> -CONFIG_ENABLE_PARTITION_NOISE=y
> -CONFIG_ENABLE_DEVICE_NOISE=y
>  CONFIG_CMD_EDIT=y
>  CONFIG_CMD_SLEEP=y
>  CONFIG_CMD_SAVEENV=y
> @@ -44,6 +46,7 @@ CONFIG_CMD_UBIFORMAT=y
>  CONFIG_CMD_BOOTM_SHOW_TYPE=y
>  CONFIG_CMD_UIMAGE=y
>  CONFIG_CMD_BOOTZ=y
> +# CONFIG_CMD_BOOTU is not set
>  CONFIG_CMD_RESET=y
>  CONFIG_CMD_GO=y
>  CONFIG_CMD_BAREBOX_UPDATE=y
> @@ -57,6 +60,8 @@ CONFIG_NET=y
>  CONFIG_NET_DHCP=y
>  CONFIG_NET_NFS=y
>  CONFIG_NET_PING=y
> +CONFIG_OFDEVICE=y
> +CONFIG_OF_BAREBOX_DRIVERS=y
>  CONFIG_DRIVER_SERIAL_NS16550=y
>  CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
>  CONFIG_DRIVER_NET_CPSW=y
> @@ -67,13 +72,16 @@ CONFIG_MTD=y
>  CONFIG_MTD_M25P80=y
>  CONFIG_NAND=y
>  CONFIG_NAND_OMAP_GPMC=y
> -CONFIG_UBI=y
> +CONFIG_MTD_UBI=y
>  CONFIG_USB=y
>  CONFIG_MCI=y
>  CONFIG_MCI_STARTUP=y
>  CONFIG_MCI_OMAP_HSMMC=y
>  CONFIG_EEPROM_AT24=y
>  CONFIG_GPIO_GENERIC_PLATFORM=y
> +CONFIG_PINCTRL=y
> +CONFIG_PINCTRL_SINGLE=y
> +CONFIG_BUS_OMAP_GPMC=y
>  CONFIG_FS_TFTP=y
>  CONFIG_FS_NFS=y
>  CONFIG_FS_FAT=y
> diff --git a/arch/arm/configs/pcm051_mlo_defconfig b/arch/arm/configs/pcm051_mlo_defconfig
> index ea65979..4f6a7b1 100644
> --- a/arch/arm/configs/pcm051_mlo_defconfig
> +++ b/arch/arm/configs/pcm051_mlo_defconfig
> @@ -1,8 +1,8 @@
> +CONFIG_BUILTIN_DTB=y
> +CONFIG_BUILTIN_DTB_NAME="am335x-phytec-phycore"
>  CONFIG_ARCH_OMAP=y
> -CONFIG_ARCH_AM33XX=y
>  CONFIG_OMAP_BUILD_IFT=y
>  CONFIG_MACH_PCM051=y
> -CONFIG_OMAP_UART1=y
>  CONFIG_THUMB2_BAREBOX=y
>  # CONFIG_CMD_ARM_CPUINFO is not set
>  # CONFIG_MEMINFO is not set
> @@ -17,6 +17,7 @@ CONFIG_SHELL_NONE=y
>  # CONFIG_TIMESTAMP is not set
>  CONFIG_CONSOLE_SIMPLE=y
>  # CONFIG_DEFAULT_ENVIRONMENT is not set
> +CONFIG_OFDEVICE=y
>  CONFIG_DRIVER_SERIAL_NS16550=y
>  CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
>  CONFIG_DRIVER_SPI_OMAP3=y
> @@ -27,6 +28,9 @@ CONFIG_NAND_OMAP_GPMC=y
>  CONFIG_MCI=y
>  CONFIG_MCI_STARTUP=y
>  CONFIG_MCI_OMAP_HSMMC=y
> +CONFIG_PINCTRL=y
> +CONFIG_PINCTRL_SINGLE=y
> +CONFIG_BUS_OMAP_GPMC=y
>  # CONFIG_FS_RAMFS is not set
>  # CONFIG_FS_DEVFS is not set
>  CONFIG_FS_FAT=y



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-12-10 14:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 16:45 [PATCH] AM33xx devicetree support Sascha Hauer
2013-11-26 16:45 ` [PATCH 01/17] ARM: Make multi images startup process simpler Sascha Hauer
2013-11-26 16:45 ` [PATCH 02/17] ARM: Make ENTRY_FUNCTION more robust Sascha Hauer
2013-11-26 16:45 ` [PATCH 03/17] ARM: Add base am335x-phytec-phycore devicetree file Sascha Hauer
2013-11-26 16:45 ` [PATCH 04/17] ARM: am335x phytec phyCORE: Switch to devicetree probe support Sascha Hauer
2013-11-27  3:20   ` Alexander Aring
2013-11-27  7:43     ` Sascha Hauer
2013-12-10 14:22   ` Jan Weitzel [this message]
2013-12-10 14:24     ` Sascha Hauer
2013-12-11  8:33       ` Jan Weitzel
2013-11-26 16:45 ` [PATCH 05/17] ARM: am33xx Phytec phyCORE: initialize debug UART Sascha Hauer
2013-11-26 16:45 ` [PATCH 06/17] ARM: am33xx Phytec phyCORE: Switch to multiimage support Sascha Hauer
2013-11-26 16:45 ` [PATCH 07/17] ARM: am33xx Phytec phyCORE: update defconfig Sascha Hauer
2013-11-26 16:45 ` [PATCH 08/17] ARM: dts: Add am33xx beaglebone(black) dts files Sascha Hauer
2013-11-26 16:45 ` [PATCH 09/17] ARM: am33xx: beaglebone: remove mlo_large_defconfig Sascha Hauer
2013-11-26 16:46 ` [PATCH 10/17] ARM: beaglebone: Add memory to devicetrees Sascha Hauer
2013-11-26 16:46 ` [PATCH 11/17] ARM: beaglebone: Switch to devicetree and multiimage Sascha Hauer
2013-11-26 16:46 ` [PATCH 12/17] ARM: am335x Phytec phyCORE: Move partition descriptions to devicetree Sascha Hauer
2013-11-26 16:46 ` [PATCH 13/17] ARM: OMAP: Safe boot info in fixed SRAM address Sascha Hauer
2013-11-26 16:46 ` [PATCH 14/17] ARM: am335x Phytec phyCORE: configure environment from devicetree Sascha Hauer
2013-11-26 16:46 ` [PATCH 15/17] ARM: beaglebone: configure console " Sascha Hauer
2013-11-26 16:46 ` [PATCH 16/17] ARM: OMAP: introduce multiboard support and move am33xx boards to it Sascha Hauer
2013-11-26 16:46 ` [PATCH 17/17] ARM: OMAP: consolidate am335x mlo defconfigs Sascha Hauer
2014-02-25 11:12   ` Carlos Fernández

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=1386685332.3377.2.camel@lws-weitzel \
    --to=j.weitzel@phytec.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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