[U-Boot] [PATCH 1/2] fsl_sec : Move SEC CCSR definition to common include

2014-09-08 Thread Ruchika Gupta
Freescale SEC controller has been used for mpc8xxx. It will be used for ARM-based SoC as well. This patch moves the CCSR defintion of SEC to common include Signed-off-by: Ruchika Gupta CC: York Sun --- arch/powerpc/include/asm/immap_85xx.h | 67 +- include/fsl_sec.h

[U-Boot] [PATCH 2/2] fsl_sec : Change accessor function to take care of endianness

2014-09-08 Thread Ruchika Gupta
SEC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of SEC IP. So update acessor functions with common SEC acessor functions to take care both type of endianness. Signed-off-by: Ruchika Gupta CC: York Sun --- README

[U-Boot] [PATCH v2 1/2] imx: mx6q/dlarm2: Change to use generic board

2014-09-08 Thread Ye . Li
Enable the CONFIG_SYS_GENERIC_BOARD for imx6q/dl arm2 board to use generic board. Signed-off-by: Ye.Li --- Changes since v1: - Rework the short log subject include/configs/mx6qarm2.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qarm2.h b/include/c

[U-Boot] [PATCH v2 2/2] imx: mx6slevk: Change to use generic board

2014-09-08 Thread Ye . Li
Enable CONFIG_SYS_GENERIC_BOARD for imx6slevk to use generic board. Signed-off-by: Ye.Li --- Changes since v1: - Rework the short log subject include/configs/mx6slevk.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slev

[U-Boot] [PATCH v2 2/4] imx: mx6qsabreauto: Rename the imximage.cfg to mx6q.cfg

2014-09-08 Thread Ye . Li
Rename the imximage.cfg to mx6q.cfg. No function change at all Signed-off-by: Ye.Li --- Changes since v1: - Use format-patch -M to detect renames - Rework the short log subject .../mx6qsabreauto/{imximage.cfg => mx6q.cfg} |2 +- configs/mx6qsabreauto_defconfig|

[U-Boot] [PATCH v2 1/4] imx: mx6sabresd/sabreauto: Move MX6Q/DL DDR and FDT configs to defconfig

2014-09-08 Thread Ye . Li
To support more iMX6 variants, 1. Make the DDR size configurable based on the defconfig file 2. Make the FDT file configurable based on the defconfig file Signed-off-by: Ye.Li --- Changes since v1: - Rework the short log subject board/freescale/mx6qsabreauto/mx6qsabreauto.c |2 +- board/fre

[U-Boot] [PATCH v2 3/4] imx: mx6solosabresd: Add the i.MX6Solo SABRESD board support

2014-09-08 Thread Ye . Li
The i.MX6solo SABRE-SD board configuration has the following difference with i.MX6dl sabre-sd: - DDR bus width: 32bit - DDR capacity: 512M Signed-off-by: Ye.Li --- Changes since v1: - Remove the "nosmp" kernel parameter, since kernel can detect cores number by SCU. - Rework the short log subje

[U-Boot] [PATCH v2 4/4] imx: mx6solosabreauto: Add the i.MX6Solo SABREAUTO board support

2014-09-08 Thread Ye . Li
This patch is to add the i.MX6solo sabreauto support, The i.MX6solo sabreauto board configuration has the following difference with i.MX6dl sabreauto: - DDR bus width: 32bit - DDR capacity: 1024M Signed-off-by: Ye.Li --- Changes since v1: - Rework the short log subject board/freescale/mx6qsa

Re: [U-Boot] [PATCH 0/5] ARM: sheevaplug: refresh for 201410

2014-09-08 Thread Nobuhiro Iwamatsu
Hi, Albert. These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u-boot-arm directly? Best regards, Nobuhiro 2014-09-08 1:01 GMT+09:00 Gerald Kerma : > This serie of patches add some needed features to sheevaplug > > Gerald Kerma (5): > ARM: sheevaplu

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Wolfgang Denk
Dear Chris, In message you wrote: > > Do you mean the address or the value? FYI the 77fb addresses are > what I believe to be the correct relocated address. It's the f0d0 > address for NetArpWaitTimerStart that I believe is causing the problem > I am seeing. Of course you are right. S

Re: [U-Boot] [PATCH] mpc8xx: move common linker scripts into the CPU directory

2014-09-08 Thread Stefan Roese
On 09.09.2014 08:12, Masahiro Yamada wrote: Each CPU of PowerPC has its default linker script under the CPU directory, except mpc8xx. Every mpc8xx board has its own linker script under the board directory, resulting in lots of duplication of linker scripts. I notice eight mpc8xx boards have the

[U-Boot] [PATCH] mpc8xx: move common linker scripts into the CPU directory

2014-09-08 Thread Masahiro Yamada
Each CPU of PowerPC has its default linker script under the CPU directory, except mpc8xx. Every mpc8xx board has its own linker script under the board directory, resulting in lots of duplication of linker scripts. I notice eight mpc8xx boards have the same linker script. We can decrease the numbe

Re: [U-Boot] [PATCH 0/8] samsung: Use common config files with Samsung boards (help wanted)

2014-09-08 Thread Simon Glass
Hi Minkyu, On 25 July 2014 08:43, Simon Glass wrote: > Hi Lucasz, > > On 24 July 2014 09:34, Lukasz Majewski wrote: > > Hi Simon, > > > >> This series tries to unify the Samsung board configs into a few header > >> files for exynos5 and exynos5. > >> > >> The purpose is to make it easier to mov

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-08 Thread Li Ye-B37916
Hi Fabio, On 9/9/2014 11:56 AM, Fabio Estevam wrote: > Hi Ye, > > On Tue, Sep 9, 2014 at 12:35 AM, Li Ye-B37916 wrote: >> This is a real mx6solo processor on this board. >> Your question reminders me this bootarg is indeed for simulation. In fsl >> release, we provide a feature to simulate the m

Re: [U-Boot] VxWorks Booting using U-boot as Bootloader

2014-09-08 Thread Hannes Petermaier
Hi Ashish, okay - i am using vxworks 6.9.3.3, and there is is a issue around the interrupt vectors. In later versions 6.9.4 upwards windriver takes care about this and sets up the interruptvectors. U-Boot does sets them to some address within u-boot code, but vxWorks expects that the interrupt

Re: [U-Boot] [PATCH] mx6qsabreauto: Remove imx6q-sabreauto.dts

2014-09-08 Thread Masahiro Yamada
Hi Stefano, On Fri, 5 Sep 2014 16:26:48 -0300 Otavio Salvador wrote: > On Fri, Sep 5, 2014 at 3:36 PM, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Commit fa9c021632473 ("mx6: add example DTB for mx6qsabreauto") introduced > > 'imx6q-sabreauto.dts' but it adds no real value as the dt

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-08 Thread Fabio Estevam
Hi Ye, On Tue, Sep 9, 2014 at 12:35 AM, Li Ye-B37916 wrote: > > This is a real mx6solo processor on this board. > Your question reminders me this bootarg is indeed for simulation. In fsl > release, we provide a feature to simulate the mx6dl for mx6solo. But on a > real mx6solo board, this boota

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-08 Thread Li Ye-B37916
On 9/9/2014 7:41 AM, Otavio Salvador wrote: > On Wed, Sep 3, 2014 at 4:23 AM, Li Ye-B37916 wrote: >> On 9/2/2014 10:06 PM, Fabio Estevam wrote: >>> On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li wrote: >>> #ifdef CONFIG_SUPPORT_EMMC_BOOT #define EMMC_ENV \ "emmcdev=2\0" \ @@

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Masahiro Yamada
Hi Daniel, On Mon, 08 Sep 2014 21:23:05 +0200 Daniel Schwierzeck wrote: > > > diff --git a/dts/Kconfig b/dts/Kconfig > > new file mode 100644 > > index 000..98b2357 > > --- /dev/null > > +++ b/dts/Kconfig > > @@ -0,0 +1,46 @@ > > +# > > +# Device Tree Control > > +# > > +# TODO: > > +# T

[U-Boot] [PATCH v3 2/5] imx: mx6qarm2: Change the mmcroot and mmcpart env value

2014-09-08 Thread Ye . Li
1. Set the image load partition to the first FAT partition. 2. Set the kernel rootfs partition to the second partition. Signed-off-by: Ye.Li --- Changes since v2: - Rework the short log subject Changes since v1: - None include/configs/mx6qarm2.h |4 ++-- 1 files changed, 2 insertions(+), 2

[U-Boot] [PATCH v3 4/5] imx: mx6: Checking PLL2 PFD0 and PFD2 for periph_clk before PFD reset

2014-09-08 Thread Ye . Li
Checking the pre_periph_clk_sel and pre_periph2_clk of CCM CBCMR register, if the PLL2 PFD0 or PLL2 PFD2 is used for the clock source, do not reset this PFD to avoid system hang. Customers may set this in DDR script or use BT_FREQ to select low freq boot. Signed-off-by: Ye.Li --- Changes since v2

[U-Boot] [PATCH v3 1/5] imx: mx6qarm2: Add the kernel FDT Loading support

2014-09-08 Thread Ye . Li
To support loading FDT file for kernel, add the fdt address, file and loading script to arm2 board default environment. Signed-off-by: Ye.Li --- Changes since v2: - Rework the short log subject. Changes since v1: - None include/configs/mx6qarm2.h | 41 ++--

[U-Boot] [PATCH v3 5/5] imx: mx6dlarm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards

2014-09-08 Thread Ye . Li
Update the ddr scripts for LPDDR2 and add two build configs for LPDDR2 arm2 board. Since the LPDDR2 arm2 board has different DDR size, use CONFIG_DDR_MB in defconfig to replace the PHYS_SDRAM_SIZE. Signed-off-by: Ye.Li --- Changes since v2: - Rework the short log subject Changes since v1: - The

[U-Boot] [PATCH v3 3/5] imx: mx6dlarm2: Add support for i.MX6DL arm2 DDR3 board

2014-09-08 Thread Ye . Li
This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2 shared the same board with i.MX6Q ARM2 board since the i.MX6DL is pin-pin compatible with i.MX6Q. The patch also support the DDR 32-BIT mode option. Please define CONFIG_DDR_32BIT in the board configure file to enable DDR 32-BIT mode

Re: [U-Boot] VxWorks Booting using U-boot as Bootloader

2014-09-08 Thread Ashish Khetan
Hi Hannes Thanks for your reply. I am using VxWorks 6.7 and the image is not stripped. The loadaddress is also same within kernel configuration. I am using bootvx command to boot VxWorks. Do I need to update boot parameters? On Sep 8, 2014 4:11 PM, "Hannes Petermaier" < hannes.peterma...@br-auto

[U-Boot] [RFC PATCH v1] powerpc: Fix off-by-one error in relocation

2014-09-08 Thread Chris Packham
When the got2 pointers were adjusted after relocation the last entry was missed. For most builds was something innocuous and there was no observable problem but at least for the P2041RDB board this ended up being NetArpWaitTimerStart which caused the ARP packets to timeout immediately. On Mon, Sep

Re: [U-Boot] [PATCH v7 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-09-08 Thread Fabio Estevam
Hi Tom, On Sat, Aug 30, 2014 at 4:21 PM, Tom Rini wrote: > On Sat, Aug 30, 2014 at 02:22:22PM -0300, Fabio Estevam wrote: >> Tom, Joe or Stefano, >> >> On Mon, Aug 25, 2014 at 4:51 PM, Marek Vasut wrote: >> > On Monday, August 25, 2014 at 06:34:16 PM, Fabio Estevam wrote: >> >> mx6solox has a re

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-08 Thread Otavio Salvador
On Wed, Sep 3, 2014 at 4:23 AM, Li Ye-B37916 wrote: > > On 9/2/2014 10:06 PM, Fabio Estevam wrote: >> On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li wrote: >> >>> #ifdef CONFIG_SUPPORT_EMMC_BOOT >>> #define EMMC_ENV \ >>> "emmcdev=2\0" \ >>> @@ -146,7 +155,8 @@ >>> "fi; "

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
Hi Jocke, On Tue, Sep 9, 2014 at 12:22 AM, Joakim Tjernlund wrote: >> >> > >> > There are some disadvantages to living in a weird timezone, mostly >> > that you end up having conversations with yourself. >> > >> > On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham > >> wrote: >> > > Hi All, >> > > >>

Re: [U-Boot] please pull u-boot-samsung master

2014-09-08 Thread Albert ARIBAUD
Hi Minkyu, On Fri, 05 Sep 2014 21:30:51 +0900, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit d6c1ffc7d23f4fe4ae8c91101861055b8e1501b6: > > Prepare v2014.10-rc2 (2014-09-02 16:58:29 -0400) > > are available in the git repository at: > > http://git.denx.de/u-boot

Re: [U-Boot] Please pull u-boot-ti/master

2014-09-08 Thread Albert ARIBAUD
Hi Tom, On Thu, 4 Sep 2014 16:48:16 -0400, Tom Rini wrote: > Hey, > > The following changes since commit d6c1ffc7d23f4fe4ae8c91101861055b8e1501b6: > > Prepare v2014.10-rc2 (2014-09-02 16:58:29 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-ti.git master >

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
Hi Wolfgang, On Tue, Sep 9, 2014 at 8:21 AM, Wolfgang Denk wrote: > Dear Chris, > > In message > you > wrote: >> > ... >> > Which yields the following output >> > >> > NetArpWaitTimerStart = 0 >> > &NetArpWaitTimerStart = f0d0 >> > NetArpWaitTry = 1 >> > &NetArpWaitTry = 7ffb0058 >

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
On Mon, Sep 8, 2014 at 9:04 PM, Joakim Tjernlund wrote: >> >> There are some disadvantages to living in a weird timezone, mostly >> that you end up having conversations with yourself. >> >> On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham > wrote: >> > Hi All, >> > >> > I have come across what I thi

Re: [U-Boot] how to pass ubott version to kernel

2014-09-08 Thread Wolfgang Denk
Dear Tony, In message <1410205208.86586.yahoomail...@web171306.mail.ir2.yahoo.com> you wrote: > > Anyone knows how can I pass a string (uboot ver) to the kernel, > so that will be possibel > to print it when boot is ready.I have FreeBSD > 8.2 on a arm cpu. I don't know about *BSD, but in Linu

Re: [U-Boot] passing board description structure when loading OS image

2014-09-08 Thread Wolfgang Denk
Dear Ivan, In message you wrote: > > Is there any special reason to not pass the board description > structure to OS when loading OS image ? u-boot does not pass Passing a binary data structure like bd_t is an extremely ugly, error prone and risky way to transfer information between independen

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Wolfgang Denk
Dear Chris, In message you wrote: > ... > > Which yields the following output > > > > NetArpWaitTimerStart = 0 > > &NetArpWaitTimerStart = f0d0 > > NetArpWaitTry = 1 > > &NetArpWaitTry = 7ffb0058 > > NetArpWaitTxPacketSize = 42 > > &NetArpWaitTxPacketSize = 7ffb0078 -

[U-Boot] how to pass ubott version to kernel

2014-09-08 Thread tony moseby
Hello, Anyone knows how can I pass a string (uboot ver) to the kernel, so that will be possibel to print it when boot is ready.I have FreeBSD 8.2 on a arm cpu. Thanks for your help BR/T ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Masahiro YAMADA
Hi Samsung developers, Simon Glass, 2014-09-09 1:10 GMT+09:00 Masahiro YAMADA : > Hi Stephen, > > > 2014-09-09 0:58 GMT+09:00 Stephen Warren : >> On 09/08/2014 09:57 AM, Masahiro YAMADA wrote: >>> >>> Hi Stephen, >>> >>> >>> >>> 2014-09-09 0:04 GMT+09:00 Stephen Warren : >>> I don't believe

[U-Boot] [Patch v3 5/5] ARMv8/ls2085a: Move u-boot location to make room for RCW

2014-09-08 Thread York Sun
When booting with SP, RCW resides at the beginning of IFC NOR flash. Signed-off-by: York Sun --- Change log v3: no change v2: no change include/configs/ls2085a_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2

[U-Boot] [PATCH] net: usb: Add SMSC copyright to smsc95xx driver

2014-09-08 Thread Simon Glass
This driver was upstreamed without an SMSC copyright, even thought it seems that SMSC was the original author. See the kernel version for a code comparison: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2f7ca802bdae2ca41022618391c70c2876d92190 It's not clear who actua

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Daniel Schwierzeck
Hi Masahiro, On 07.09.2014 10:43, Masahiro Yamada wrote: > This commit moves: > CONFIG_OF_CONTROL > CONFIG_OF_SEPARATE > CONFIG_OF_EMBED > CONFIG_OF_HOSTFILE > > Because these options are currently not supported for SPL, > the "Device Tree Control" menu does not appear in the SPL > config

[U-Boot] [Patch v3 4/5] ARMv8/ls2085a: Enable secondary cores

2014-09-08 Thread York Sun
Spin table is at the very beginning of boot code. Each core has an individual release address within the spin table, the ft_cpu_setup fn updates the "cpu-release-addr" property of each cpu node with the corresponding release address. Also fix CPU_RELEASE_ADDR to point to secondary_boot_func. Sign

[U-Boot] [Patch v3 3/5] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-09-08 Thread York Sun
Secondary cores need to be released from holdoff by boot release registers. With GPP bootrom, they can boot from main memory directly. Individual spin table is used for each core. Spin table and the boot page is reserved in device tree so OS won't overwrite. Signed-off-by: York Sun Signed-off-by:

[U-Boot] [Patch v3 2/5] fdt_support: Make of_bus_default_count_cells non static

2014-09-08 Thread York Sun
From: Arnab Basu of_bus_default_count_cells can be used to get the #address-cells and #size-cells defined by the current node's parent node. This is required when using of_read_number to read from FDT nodes that can be 32 or 64 bytes depending on values defined by the parent. Signed-off-by: Arna

[U-Boot] [Patch v3 1/5] fdt_support: Move of_read_number to fdt_support.h

2014-09-08 Thread York Sun
From: Arnab Basu This is being done so that it can be used outside 'fdt_support.c'. Making life more convenient when reading device node properties that can be 32 or 64 bits long. Signed-off-by: Arnab Basu Cc: Scott Wood --- Change log v3: no change v2: new patch common/fdt_support.c |

Re: [U-Boot] [PATCH] generic_board: do not set gd->fdt_blob unless CONFIG_OF_CONTROL=y

2014-09-08 Thread Simon Glass
Hi Masahiro, On 6 September 2014 11:09, Masahiro YAMADA wrote: > Hi Simon, > > > 2014-09-07 1:33 GMT+09:00 Simon Glass : >>> /* Allow the early environment to override the fdt address */ >>> gd->fdt_blob = (void *)getenv_ulong("fdtcontroladdr", 16, >>>

Re: [U-Boot] [PATCH 08/10] kconfig: remove config_cmd_defaults.h

2014-09-08 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 07/10] kconfig: move CONFIG_CMD_IMPORTENV to Kconfig

2014-09-08 Thread Simon Glass
Tested with sandbox: Acked-by: Simon Glass Tested-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 06/10] kconfig: move CONFIG_CMD_GO to Kconfig

2014-09-08 Thread Simon Glass
Tested with sandbox: Acked-by: Simon Glass Tested-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 05/10] kconfig: move CONFIG_CMD_EXPORTENV to Kconfig

2014-09-08 Thread Simon Glass
Tested with sandbox: Acked-by: Simon Glass Tested-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 04/10] kconfig: move CONFIG_CMD_CRC32 to Kconfig

2014-09-08 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/10] kconfig: move CONFIG_CMD_BOOTM to Kconfig

2014-09-08 Thread Simon Glass
Hi Masahiro, On 7 September 2014 02:43, Masahiro Yamada wrote: > CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h > which is forcebly included from each board. > So, the default value of "config CMD_BOOTM" should be "y". > > For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA

Re: [U-Boot] [PATCH 02/10] kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig

2014-09-08 Thread Simon Glass
Tested with sandbox: Acked-by: Simon Glass Tested-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 01/10] kconfig: add blank Kconfig files

2014-09-08 Thread Simon Glass
Tested with sandbox: Acked-by: Simon Glass Tested-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Please pull u-boot-fsl-qoriq

2014-09-08 Thread York Sun
Tom, This is the first pull request from u-boot-fsl-qoriq repository. In this set, I have v6 patches for Freescale Layerscape 1 SoC LS102xA with ARMv7 cores. These patches have been verified on the boards and compiled with the latest buildman "./tools/buildman/buildman -b u-boot-fsl-qoriq powerpc

Re: [U-Boot] [PATCH v3 5/6] arm: debug: add Kconfig entries for lowlevel debug

2014-09-08 Thread Simon Glass
Hi Tom, On 6 September 2014 06:03, Tom Rini wrote: > On Wed, Sep 03, 2014 at 06:01:44PM -0600, Simon Glass wrote: > > Hi Masahiro, > > > > On 31 August 2014 20:06, Masahiro Yamada > wrote: > > > We have not had a good method to debug the early boot stage such as > > > lowlevel_init function. I

[U-Boot] [PATCH] mtdcore: Fix a build error with CONFIG_CMD_MTDPARTS_SPREAD

2014-09-08 Thread Maxin B. John
This patch fixes the build error for CONFIG_CMD_MTDPARTS_SPREAD Signed-off-by: Maxin B. John --- drivers/mtd/mtdcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 6ad0357..c9efb3f 100644 --- a/drivers/mtd/mtdcore.c +

Re: [U-Boot] [PATCH 10/10] kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-08 Thread Masahiro YAMADA
Hi Fabio, 2014-09-09 1:28 GMT+09:00 Fabio Estevam : > On Sun, Sep 7, 2014 at 5:43 AM, Masahiro Yamada > wrote: > >> --- a/configs/mx6dlsabreauto_defconfig >> +++ b/configs/mx6dlsabreauto_defconfig >> @@ -1,3 +1,4 @@ >> >> CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.

Re: [U-Boot] [PATCH 10/10] kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-08 Thread Masahiro YAMADA
Hi Stephen 2014-09-09 0:04 GMT+09:00 Stephen Warren : > On 09/07/2014 02:43 AM, Masahiro Yamada wrote: >> >> This option specifies the default Device Tree used for the run-time >> configuration of U-Boot. > > > Same comment here. I will rephrase the help comment in v2. -- Best Regards Masahiro

Re: [U-Boot] [PATCH 10/10] kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-08 Thread Fabio Estevam
On Sun, Sep 7, 2014 at 5:43 AM, Masahiro Yamada wrote: > --- a/configs/mx6dlsabreauto_defconfig > +++ b/configs/mx6dlsabreauto_defconfig > @@ -1,3 +1,4 @@ > > CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/mx6dl.cfg,MX6DL" > CONFIG_ARM=y > CONFIG_TARGET_MX6QSABREAUTO=y > +

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Masahiro YAMADA
Hi Stephen, 2014-09-09 0:58 GMT+09:00 Stephen Warren : > On 09/08/2014 09:57 AM, Masahiro YAMADA wrote: >> >> Hi Stephen, >> >> >> >> 2014-09-09 0:04 GMT+09:00 Stephen Warren : >> >>> I don't believe this is the correct approach; CONFIG_OF_CONTROL isn't a >>> user-configurable option, and hence s

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Stephen Warren
On 09/08/2014 09:57 AM, Masahiro YAMADA wrote: Hi Stephen, 2014-09-09 0:04 GMT+09:00 Stephen Warren : I don't believe this is the correct approach; CONFIG_OF_CONTROL isn't a user-configurable option, and hence shouldn't show up in *_defconfig. "select OF_CONTROL" in a Kconfig file probably m

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Masahiro YAMADA
Hi Stephen, 2014-09-09 0:04 GMT+09:00 Stephen Warren : > I don't believe this is the correct approach; CONFIG_OF_CONTROL isn't a > user-configurable option, and hence shouldn't show up in *_defconfig. > "select OF_CONTROL" in a Kconfig file probably makes sense though. I think it depends on t

Re: [U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Stephen Warren
On 09/07/2014 02:43 AM, Masahiro Yamada wrote: This commit moves: CONFIG_OF_CONTROL CONFIG_OF_SEPARATE CONFIG_OF_EMBED CONFIG_OF_HOSTFILE Because these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration. Note: zynq-co

Re: [U-Boot] [PATCH 10/10] kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-08 Thread Stephen Warren
On 09/07/2014 02:43 AM, Masahiro Yamada wrote: This option specifies the default Device Tree used for the run-time configuration of U-Boot. Same comment here. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 07/40] fdt: Add a subnodes iterator macro

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/40] fdt: Add a function to return PCI BDF triplet

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 05/40] fdt: Add resource parsing functions

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 04/40] fdt: Add functions to retrieve strings

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 03/40] fdt: Add a function to get the index of a string

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/40] fdt: Add a function to count strings

2014-09-08 Thread Simon Glass
Applied to u-boot-fdt/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-08 Thread Chen-Yu Tsai
This patch adds the basic clocks support for the Allwinner A31 (sun6i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. This includes changes from the following commits from u-boot-sunxi: a92051b ARM:

[U-Boot] [PATCH 5/7] ARM: sunxi-mmc: Add mmc support for sun6i / A31

2014-09-08 Thread Chen-Yu Tsai
From: Hans de Goede Signed-off-by: Hans de Goede [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes, squash "sunxi-mmc: sun6i has its fifo at a different address"] Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/mmc.h | 2 -- drivers/mmc/s

[U-Boot] [PATCH 7/7] ARM: sunxi: Add basic A31 support

2014-09-08 Thread Chen-Yu Tsai
From: Maxime Ripard Add a new sun6i machine that doesn't do much for now. Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: use SPDX labels, adapt to Kconfig system, drop ifdef around mmc and smp code, drop MACH_TYPE] Signed-off-by: Chen-Yu Tsai --- ar

[U-Boot] [PATCH 3/7] ARM: sun6i: Add support for the new power control module found on the A31

2014-09-08 Thread Chen-Yu Tsai
From: Oliver Schinagl To setup clocks and control voltages. HdG: Rename the files from the somewhat generic pmu name to prcm.{c,h} HdG: Make the prcm code only deal with the prcm, remove axp221 bits Signed-off-by: Oliver Schinagl Signed-off-by: Hans de Goede [w...@csie.org: spacing fixes repo

[U-Boot] [PATCH 2/7] ARM: sun6i: Add base address for the new controllers in A31

2014-09-08 Thread Chen-Yu Tsai
From: Oliver Schinagl A31 has several new and changed memory address. This patch adds them. Signed-off-by: Oliver Schinagl Signed-off-by: Hans de Goede Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpu.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/

[U-Boot] [PATCH 6/7] ARM: sun6i: Setup the A31 UART0 muxing

2014-09-08 Thread Chen-Yu Tsai
From: Maxime Ripard Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0 muxing"] Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/board.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv

[U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-09-08 Thread Chen-Yu Tsai
BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. Signed-off-by: Chen-Yu Tsai --- include/configs/sunxi-common.h | 8 +++- 1 file changed,

[U-Boot] [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-08 Thread Chen-Yu Tsai
Hi everyone, This series add basic support for Allwinner's A31 SoC. The patches, excluding the first one, were cherry-picked from u-boot-sunxi. Due to the difference between u-boot mainline and u-boot-sunxi, some patches were rearranged or squashed to better fit the current state of u-boot, and no

Re: [U-Boot] [RFCv2] mainline u-boot on socfpga

2014-09-08 Thread Michal Simek
Hi Pavel, On 09/08/2014 02:08 PM, Pavel Machek wrote: > Hi! > > I know coding style leaves something to be desired. It is more than this. Also SPDX license headers, etc. > But.. it recognizes MMC/ethernet, and can load linux kernel. > > Unfortunately, 1MB of memory at 0 is not available for so

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Joakim Tjernlund
> > > > > There are some disadvantages to living in a weird timezone, mostly > > that you end up having conversations with yourself. > > > > On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham > wrote: > > > Hi All, > > > > > > I have come across what I think is a relocation problem for powerpc. >

[U-Boot] [RFCv2] mainline u-boot on socfpga

2014-09-08 Thread Pavel Machek
Hi! I know coding style leaves something to be desired. But.. it recognizes MMC/ethernet, and can load linux kernel. Unfortunately, 1MB of memory at 0 is not available for some reason; but linux works ok if you avoid that area. "fpga load 0" now seems to work. For some reason, I had to rewrit

Re: [U-Boot] [PATCH v3 3/4] cleanup code which handles the Android sparse image format

2014-09-08 Thread Tom Rini
On Mon, Sep 08, 2014 at 12:49:56PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Thu, Sep 04, 2014 at 07:28:04AM +0200, Wolfgang Denk wrote: > > > Dear Steve Rae, > > > > > > In message <1409763954-5494-4-git-send-email-s...@broadcom.com> you > > > wrote: > > > > - port dprintf() to debug() >

Re: [U-Boot] [PATCH v3 3/4] cleanup code which handles the Android sparse image format

2014-09-08 Thread Lukasz Majewski
Hi Tom, > On Thu, Sep 04, 2014 at 07:28:04AM +0200, Wolfgang Denk wrote: > > Dear Steve Rae, > > > > In message <1409763954-5494-4-git-send-email-s...@broadcom.com> you > > wrote: > > > - port dprintf() to debug() > > > - update formatting > > > > > > Signed-off-by: Steve Rae > > > --- > > > >

Re: [U-Boot] VxWorks Booting using U-boot as Bootloader

2014-09-08 Thread Hannes Petermaier
Hi Ashish, i had a problem booting vxworks in the past around interrupt vectors. Which version of vxworks you are using ? do you use a stripped image ? is the loadaddress the same within kernel configuration ? best regards, hannes > From: Ashish Khetan > To: u-boot@lists.denx.de > Date: 04.09.2

Re: [U-Boot] Recommended MIPS toolchain

2014-09-08 Thread Daniel Schwierzeck
Hi Masahiro, On 08.09.2014 11:29, Masahiro Yamada wrote: > Hi Daniel, Vasili, > > >>> >>> sorry if I was not accurate enough but with introduction of Kbuild >>> "USE_PRIVATE_LIBGCC=yes" was changed to "CONFIG_USE_PRIVATE_LIBGCC=y". >>> To support different U-Boot versions you should set both var

Re: [U-Boot] [PATCH] nand/denali: Adding Denali NAND driver support

2014-09-08 Thread Chin Liang See
Hi Masahiro, On Fri, 2014-09-05 at 12:01 +0900, Masahiro Yamada wrote: > Hi Chin, > > Are you planning to send v10 > with the fixes suggested by Scott? > I am out of office and I will look into the comments by mid of this week. Thanks Chin Liang > > Best Regards > Masahiro Yamada > > > >

Re: [U-Boot] Recommended MIPS toolchain

2014-09-08 Thread Vasili Galka
Hi Masahiro, On Mon, Sep 8, 2014 at 12:29 PM, Masahiro Yamada wrote: > Hi Daniel, Vasili, > > > > > > > > sorry if I was not accurate enough but with introduction of Kbuild > > > "USE_PRIVATE_LIBGCC=yes" was changed to "CONFIG_USE_PRIVATE_LIBGCC=y". > > > To support different U-Boot versions you

Re: [U-Boot] Recommended MIPS toolchain

2014-09-08 Thread Masahiro Yamada
Hi Daniel, Vasili, > > > > sorry if I was not accurate enough but with introduction of Kbuild > > "USE_PRIVATE_LIBGCC=yes" was changed to "CONFIG_USE_PRIVATE_LIBGCC=y". > > To support different U-Boot versions you should set both variants: > > > > export USE_PRIVATE_LIBGCC=yes > > export CONFIG_U

[U-Boot] passing board description structure when loading OS image

2014-09-08 Thread Ivan Krivonos
Hi everyone, Is there any special reason to not pass the board description structure to OS when loading OS image ? u-boot does not pass bd_t pointer to any images not loaded with "bootm". We cannot convert our image to u-boot format and we want to access board description structure. Could you plea

[U-Boot] [PATCH 10/10] kconfig: CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-08 Thread Masahiro Yamada
This option specifies the default Device Tree used for the run-time configuration of U-Boot. Signed-off-by: Masahiro Yamada Cc: Simon Glass Cc: Stephen Warren Cc: Minkyu Kang Cc: Michal Simek --- configs/am335x_boneblack_vboot_defconfig | 1 + configs/arndale_defconfig| 1 +

[U-Boot] [PATCH 0/10] Move some CONFIGs to Kconfig

2014-09-08 Thread Masahiro Yamada
Now we have the basic Kconfig infrastructure and we are ready to move CONFIG options from header files to Kconfig. We do not have to rush to do it at once. We can do it little by little when we find some time. (Of course, this task is too tedious to do by hand. I wrote a script to do it automatic

[U-Boot] [PATCH 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-08 Thread Masahiro Yamada
This commit moves: CONFIG_OF_CONTROL CONFIG_OF_SEPARATE CONFIG_OF_EMBED CONFIG_OF_HOSTFILE Because these options are currently not supported for SPL, the "Device Tree Control" menu does not appear in the SPL configuration. Note: zynq-common.h should be adjusted so as not to change the def

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Joakim Tjernlund
> > There are some disadvantages to living in a weird timezone, mostly > that you end up having conversations with yourself. > > On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham wrote: > > Hi All, > > > > I have come across what I think is a relocation problem for powerpc. > > > > I've added the f

[U-Boot] [PATCH] microblaze: remove #ident directive to fix build error

2014-09-08 Thread Masahiro Yamada
The microblaze-generic board fails to build at least with the kernel.org crosstool: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ x86_64-gcc-4.9.0-nolibc_microblaze-linux.tar.xz $ make CROSS_COMPILE=microblaze-linux- microblaze-generic_defconfig all [ snip ] CC disk/p

[U-Boot] [PATCH] board/t1040qds: Add sgmii ports support in 0xA7 protocol

2014-09-08 Thread Priyanka Jain
T1042QDS (T1042 is T1040 Personality without L2 switch) supports following sgmii interfaces with serdes protocol 0xA7 -SGMII-MAC3 on Lane B - slot 7 -SGMII-MAC5 on Lane H - slot 7 -SGMII2.5G-MAC1 on Lane C - slot 6 -SGMII2.5G-MAC2 on Lane D - slot 5 Add support of above sgmii interfaces Signed-of