Re: [U-Boot] Quick guide to Kconfig

2014-07-31 Thread Frank Ihle
Hi Masahiro, thanks! it's running nicely. I see you're running the GUI with lxdialog, and it's nice to see that more and more build systems come together to one "base", which makes it much easier for further developing. I've just started using it on our project too, but the integration is a pr

Re: [U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Ian Campbell
On Thu, 2014-07-31 at 13:30 +0900, Masahiro Yamada wrote: > Hi Tom, Albert, Hans, > > > I am afraid we are going to be in trouble > with this pre-Kconfig based PR > because it includes various new boards. Yeah, I was wondering how this would work! > (We can fix the merge conflict, > but it is n

Re: [U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Hans de Goede
Hi, On 07/31/2014 09:54 AM, Ian Campbell wrote: > On Thu, 2014-07-31 at 13:30 +0900, Masahiro Yamada wrote: >> Hi Tom, Albert, Hans, >> >> >> I am afraid we are going to be in trouble >> with this pre-Kconfig based PR >> because it includes various new boards. > > Yeah, I was wondering how this w

Re: [U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Masahiro Yamada
Hi Ian, Hans, On Thu, 31 Jul 2014 08:54:09 +0100 Ian Campbell wrote: > On Thu, 2014-07-31 at 13:30 +0900, Masahiro Yamada wrote: > > Hi Tom, Albert, Hans, > > > > > > I am afraid we are going to be in trouble > > with this pre-Kconfig based PR > > because it includes various new boards. > >

Re: [U-Boot] Can not boot Linux with new FIT image on ARMv8

2014-07-31 Thread Simon Glass
Hi, On 31 July 2014 02:24, Duxiaoqiang wrote: > Hi Simon > > > >> This problem has confused me several days, I will appreciated if you > can give me susggestions. > > >You could try 'setenv verify n' to turn off verification. That will make > sure that the problem is actually related to verifi

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-31 Thread Simon Glass
Hi Stephen, On 30 July 2014 20:57, Stephen Warren wrote: > On 07/30/2014 10:09 AM, Simon Glass wrote: > >> Hi Stephen, >> >> On 30 July 2014 16:47, Stephen Warren wrote: >> >>> On 07/30/2014 09:26 AM, Simon Glass wrote: >>> Hi Stephen, On 12 June 2014 23:31, Stephen Warren

Re: [U-Boot] [PATCH v2 7/8] Makefile: default to cc for host compiler

2014-07-31 Thread Masahiro Yamada
Hi Jeroen, On Wed, 30 Jul 2014 21:54:55 +0200 Jeroen Hofstee wrote: > Since the host compiler might not be gcc but e.g. clang > default to cc to invoke it. > > cc: Masahiro Yamada > cc: Tom Rini > Signed-off-by: Jeroen Hofstee > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 de

[U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin

2014-07-31 Thread TigerLiu
Hi, Albert: I am studying 2014.07 release u-boot package. I found u-boot.bin's first bytes were not code in start.S . Taken for compling smdkv310 as an example: The compiled u-boot.bin's first 0x20 bytes were: 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-07-31 Thread Ian Campbell
On Wed, 2014-07-30 at 16:37 -0600, Stephen Warren wrote: > From: Dennis Gilmore > > This generic $bootcmd, and associated support macros, automatically > searches a defined set of storage devices (or network protocols) for an > extlinux configuration file or U-Boot boot script in various standard

[U-Boot] [PATCH 3/3] cm-t54: convert to generic board

2014-07-31 Thread Dmitry Lifshitz
Use generic board setup functions by defining CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Dmitry Lifshitz --- include/configs/cm_t54.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h index db04095..df93a59 100644 --- a/i

[U-Boot] [PATCH 0/3] cm-t54: misc board fixes, convert to generic board

2014-07-31 Thread Dmitry Lifshitz
Fix MAC address data read (from EEPROM) issue and boot mode check. Convert to generic board. Dmitry Lifshitz (3): cm-t54: fix EEPROM read return value check cm-t54: fix eMMC boot mode check cm-t54: convert to generic board board/compulab/cm_t54/cm_t54.c |6 +++--- include/configs/cm_t5

[U-Boot] [PATCH 1/3] cm-t54: fix EEPROM read return value check

2014-07-31 Thread Dmitry Lifshitz
Fix cl_eeprom_read_mac_addr() return value check. Fix long line codding style issue in board_init(). Signed-off-by: Dmitry Lifshitz --- board/compulab/cm_t54/cm_t54.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/compulab/cm_t54/cm_t54.c b/board/compulab/cm_t5

[U-Boot] [PATCH 2/3] cm-t54: fix eMMC boot mode check

2014-07-31 Thread Dmitry Lifshitz
Boot from eMMC boot partition corresponds to BOOT_DEVICE_MMC2 omap_bootmode, while BOOT_DEVICE_MMC2_2 corresponds to the user data partition boot. Fix mmc_get_env_part() boot mode check to use a correct value. Signed-off-by: Dmitry Lifshitz --- board/compulab/cm_t54/cm_t54.c |2 +- 1 files

Re: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py

2014-07-31 Thread Tom Rini
On Thu, Jul 31, 2014 at 11:22:05AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > On Wed, 30 Jul 2014 10:07:19 -0400 > Tom Rini wrote: > > > On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote: > > > > > Now the primary data for each board is in Kconfig, defconfig and > > > MAINTAIN

Re: [U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin

2014-07-31 Thread Jon Loeliger
On Thu, Jul 31, 2014 at 5:24 AM, wrote: > Hi, Albert: > > I am studying 2014.07 release u-boot package. > > I found u-boot.bin's first bytes were not code in start.S . > > Taken for compling smdkv310 as an example: > > The compiled u-boot.bin's first 0x20 bytes were: > > 18 F0 9F E5 18 F0 9F E5 1

Re: [U-Boot] [U-boot] the first 0x20 bytes in u-boot.bin

2014-07-31 Thread Christian Riesch
Hi, On Thu, Jul 31, 2014 at 12:24 PM, wrote: > Hi, Albert: > > I am studying 2014.07 release u-boot package. > > I found u-boot.bin's first bytes were not code in start.S . For ARM processors, it's in arch/arm/lib/vectors.S. Regards, Christian > > Taken for compling smdkv310 as an example: >

[U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Hans de Goede
This fixes the following compiler warning: In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized] jump->offset = strlen(r

[U-Boot] Setting Uboot environment variables from within Linux

2014-07-31 Thread Rossco
Hi, I have an issue when attempting to access my uboot variables from within my linux distribution. My set-up is as follows... Cyclone V SoC with ARM Cortex A9 processor running 3.11 kernel (git revision a946a64), uboot version 2013.01.01 - only modification being to configure for QSPI boot and

Re: [U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Hans de Goede
Hi, On 07/31/2014 10:23 AM, Masahiro Yamada wrote: > Hi Ian, Hans, > > > On Thu, 31 Jul 2014 08:54:09 +0100 > Ian Campbell wrote: > >> On Thu, 2014-07-31 at 13:30 +0900, Masahiro Yamada wrote: >>> Hi Tom, Albert, Hans, >>> >>> >>> I am afraid we are going to be in trouble >>> with this pre-Kco

[U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Hans de Goede
Hi Albert Note: 1) This superseeds my previous pull-req as that conflicted with the Kconfig changes which have landed in u-boot/master, this pull-req replaces all the boards.cfg changes from the previous series with defconfig changes / additions; 2) Since this new pull-req is intended to resol

Re: [U-Boot] Quick guide to Kconfig

2014-07-31 Thread Hans de Goede
Hi, On 07/31/2014 06:51 AM, Masahiro Yamada wrote: > Hi all, > > > > The mainline has switched to Kconfig. > > Please make sure to use "make _defconfig" > instead of "make _config". > > > > [1] Board Configuration > > make _defconfig > > > > [2] Modify configuration > > > make

Re: [U-Boot] Quick guide to Kconfig

2014-07-31 Thread Ian Campbell
On Thu, 2014-07-31 at 16:38 +0200, Hans de Goede wrote: > make Foo_defconfig > make menuconfig > > make I was hoping that I might eventually be able to do something like make Foo_defconfig CONFIG_SPL_FEL=y or perhaps make Foo_defconfig S:CONFIG_SPL_FEL=y and have it DTRT(tm). > I

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-07-31 Thread Stephen Warren
On 07/31/2014 04:47 AM, Ian Campbell wrote: On Wed, 2014-07-30 at 16:37 -0600, Stephen Warren wrote: From: Dennis Gilmore This generic $bootcmd, and associated support macros, automatically searches a defined set of storage devices (or network protocols) for an extlinux configuration file or U

Re: [U-Boot] [PATCH v3 0/4] Implement "fastboot flash" for eMMC

2014-07-31 Thread Steve Rae
On 14-07-30 06:23 PM, Marek Vasut wrote: On Thursday, July 31, 2014 at 03:02:37 AM, Steve Rae wrote: On 14-06-26 01:13 PM, Steve Rae wrote: This series implements the "fastboot flash" command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the "fastboot fla

Re: [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions

2014-07-31 Thread Steve Rae
On 14-07-30 06:25 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:21 PM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae --- This file is ASIS from: https://raw.githubusercontent.com/AOSB/android_system_core/master/libspars e/spars

[U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stefan Agner
This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role port) - Network (via ASIX USB) Signed-off-by: Stefan Agner --- arch/arm/Kconfig | 4 + arch/arm/d

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Simon Glass
Hi Stefan, On 31 July 2014 18:36, Stefan Agner wrote: > > This adds board support for the Toradex Colibri T30 module. > A few quick questions below... > > Working functions: > - SD card boot > - eMMC environment and boot > - USB host/USB client (on the dual role port) > - Network (via ASIX USB

Re: [U-Boot] [PATCH] pxe: detect image format before calling bootm/bootz

2014-07-31 Thread Stephen Warren
On 07/30/2014 04:54 PM, Bryan Wu wrote: Trying bootm for zImage will print out several error message which is not necessary for this case. So detect image format firstly, only try bootm for legacy and FIT format image then try bootz for others. diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stefan Agner
Hi Simon, Am 2014-07-31 19:41, schrieb Simon Glass: > Hi Stefan, > > On 31 July 2014 18:36, Stefan Agner wrote: >> >> This adds board support for the Toradex Colibri T30 module. >> > > A few quick questions below... > > >> >> Working functions: >> - SD card boot >> - eMMC environment and boot

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-31 Thread Stephen Warren
On 07/31/2014 03:56 AM, Simon Glass wrote: Hi Stephen, On 30 July 2014 20:57, Stephen Warren mailto:swar...@wwwdotorg.org>> wrote: On 07/30/2014 10:09 AM, Simon Glass wrote: Hi Stephen, On 30 July 2014 16:47, Stephen Warren mailto:swar...@wwwdotorg.org>> wrote:

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stephen Warren
On 07/31/2014 11:36 AM, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. Working functions: - SD card boot - eMMC environment and boot - USB host/USB client (on the dual role port) - Network (via ASIX USB) arch/arm/Kconfig |

Re: [U-Boot] [PATCH] drivers: net: remove dead drivers

2014-07-31 Thread Joe Hershberger
On Wed, Jul 30, 2014 at 5:26 AM, Masahiro Yamada wrote: > > The following configs are not defined at all: > > - CONFIG_FTMAC110 > - CONFIG_INCA_IP_SWITCH > - CONFIG_PBL2800_ETHER > - CONFIG_PHY_ICPLUS > > Signed-off-by: Masahiro Yamada > --- > > drivers/net/Makefile | 3 - > drivers/n

[U-Boot] [PATCH] lib: lmb: fix overflow in __lmb_alloc_base w/ large RAM

2014-07-31 Thread Stephen Warren
From: Stephen Warren If a 32-bit system has 2GB of RAM, and the base address of that RAM is 2GB, then start+size will overflow a 32-bit value (to a value of 0). __lmb_alloc_base is affected by this; it calculates the minimum of (start+size of RAM) and max_addr. However, when start+size is 0, it

Re: [U-Boot] [PATCH] ARM: tegra: Use mem size from MC rather than ODMDATA

2014-07-31 Thread Stephen Warren
On 07/02/2014 02:12 PM, Stephen Warren wrote: From: Stephen Warren In at least Tegra124, the Tegra memory controller (MC) has a register that controls the memory size. Read this to determine the memory size rather than requiring this to be redundantly encoded into the ODMDATA. This way, changes

Re: [U-Boot] [PATCH 1/4] Add option -r to env import to allow import of text files with CRLF as line endings

2014-07-31 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:47:57PM -0600, Stephen Warren wrote: > On 07/14/2014 09:49 AM, Alexander Holler wrote: > >When this option is enabled, CRLF is treated like LF when importing > >environments > >from text files, which means CRs ('\r') in front of LFs ('\n') are just > >ignored. > > > >D

Re: [U-Boot] [PATCH] omap5912osk: change the status to Orphan

2014-07-31 Thread Tom Rini
On Thu, Jul 31, 2014 at 02:57:12PM +0900, Masahiro Yamada wrote: > Emails to "Rishi Bhattacharya " > have been bouncing. > > Signed-off-by: Masahiro Yamada > Cc: Tom Rini > --- > > This patch is here because Tom did not respond to my request: > http://thread.gmane.org/gmane.comp.boot-loaders.u-

Re: [U-Boot] [PATCH 1/4] Add option -r to env import to allow import of text files with CRLF as line endings

2014-07-31 Thread Stephen Warren
On 07/31/2014 01:51 PM, Tom Rini wrote: On Wed, Jul 30, 2014 at 04:47:57PM -0600, Stephen Warren wrote: On 07/14/2014 09:49 AM, Alexander Holler wrote: When this option is enabled, CRLF is treated like LF when importing environments >from text files, which means CRs ('\r') in front of LFs ('\

Re: [U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Jeroen Hofstee
Hello Hans, On 31-07-14 16:21, Hans de Goede wrote: This fixes the following compiler warning: In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this functi

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-07-31 Thread Stephen Warren
On 07/30/2014 03:49 AM, Simon Glass wrote: Some Tegra device tree files do not include information about the serial ports. Add this and also add information about the input clock speed. The console alias needs to be set up to indicate which port is used for the console. Also add a binding file

Re: [U-Boot] [PATCH v3 15/16] RFC: dm: tegra: Enable driver model for serial

2014-07-31 Thread Stephen Warren
On 07/30/2014 03:49 AM, Simon Glass wrote: Use driver model for serial ports (for test and comment only). A couple of nits: diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h #define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ +#define CONFIG_SYS_MALLOC_F

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-07-31 Thread Stephen Warren
On 07/30/2014 03:49 AM, Simon Glass wrote: If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.

Re: [U-Boot] [PATCH v3 16/16] dm: tegra: Use V_NS16550_CLK only in SPL builds

2014-07-31 Thread Stephen Warren
On 07/30/2014 03:49 AM, Simon Glass wrote: Since Tegra now uses driver model for serial, adjust the definition of V_NS16550_CLK so that it is clear that this is only used for SPL. May as well squash this into the previous patch. ___ U-Boot mailing lis

Re: [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig

2014-07-31 Thread Tom Rini
On Wed, Jul 30, 2014 at 08:08:02PM -0600, Stephen Warren wrote: > On 07/30/2014 07:56 PM, Masahiro Yamada wrote: > > Hi Stephen, > > > > > > On Wed, 30 Jul 2014 17:05:21 -0600 > > Stephen Warren wrote: > > > >> On 07/29/2014 11:08 PM, Masahiro Yamada wrote: > >>> This commit enables Kconfig. >

Re: [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig

2014-07-31 Thread Stephen Warren
On 07/31/2014 02:34 PM, Tom Rini wrote: On Wed, Jul 30, 2014 at 08:08:02PM -0600, Stephen Warren wrote: On 07/30/2014 07:56 PM, Masahiro Yamada wrote: Hi Stephen, On Wed, 30 Jul 2014 17:05:21 -0600 Stephen Warren wrote: On 07/29/2014 11:08 PM, Masahiro Yamada wrote: This commit enables Kc

Re: [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig

2014-07-31 Thread Jeroen Hofstee
On 31-07-14 22:55, Stephen Warren wrote: On 07/31/2014 02:34 PM, Tom Rini wrote: On Wed, Jul 30, 2014 at 08:08:02PM -0600, Stephen Warren wrote: On 07/30/2014 07:56 PM, Masahiro Yamada wrote: Hi Stephen, On Wed, 30 Jul 2014 17:05:21 -0600 Stephen Warren wrote: On 07/29/2014 11:08 PM, Mas

Re: [U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Hans de Goede
Hi, On 07/31/2014 10:10 PM, Jeroen Hofstee wrote: > Hello Hans, > > On 31-07-14 16:21, Hans de Goede wrote: >> This fixes the following compiler warning: >> >> In file included from scripts/kconfig/zconf.tab.c:2537:0: >> scripts/kconfig/menu.c: In function ‘get_symbol_str’: >> scripts/kconfig/men

Re: [U-Boot] [PATCH] pxe: detect image format before calling bootm/bootz

2014-07-31 Thread Bryan Wu
On Thu, Jul 31, 2014 at 10:36 AM, Stephen Warren wrote: > On 07/30/2014 04:54 PM, Bryan Wu wrote: >> >> Trying bootm for zImage will print out several error message which >> is not necessary for this case. So detect image format firstly, only >> try bootm for legacy and FIT format image then try b

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Simon Glass
Hi Stefan, On 31 July 2014 19:00, Stefan Agner wrote: > Hi Simon, > > Am 2014-07-31 19:41, schrieb Simon Glass: >> Hi Stefan, >> >> On 31 July 2014 18:36, Stefan Agner wrote: >>> >>> This adds board support for the Toradex Colibri T30 module. >>> >> >> A few quick questions below... >> >> >>> >>

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-31 Thread Simon Glass
Hi Stephen, On 31 July 2014 10:56, Simon Glass wrote: > Hi Stephen, > > On 30 July 2014 20:57, Stephen Warren wrote: >> >> On 07/30/2014 10:09 AM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 30 July 2014 16:47, Stephen Warren wrote: On 07/30/2014 09:26 AM, Simon Glass wrote: >>>

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-07-31 Thread Simon Glass
Hi Stephen, On 30 July 2014 23:37, Stephen Warren wrote: > From: Dennis Gilmore > > This generic $bootcmd, and associated support macros, automatically > searches a defined set of storage devices (or network protocols) for an > extlinux configuration file or U-Boot boot script in various standar

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-07-31 Thread Simon Glass
Hi Stephen, On 31 July 2014 21:16, Stephen Warren wrote: > On 07/30/2014 03:49 AM, Simon Glass wrote: >> >> Some Tegra device tree files do not include information about the serial >> ports. Add this and also add information about the input clock speed. >> >> The console alias needs to be set up

Re: [U-Boot] [PATCH v3 15/16] RFC: dm: tegra: Enable driver model for serial

2014-07-31 Thread Simon Glass
Hi Stephen, On 31 July 2014 21:18, Stephen Warren wrote: > On 07/30/2014 03:49 AM, Simon Glass wrote: >> >> Use driver model for serial ports (for test and comment only). > > > A couple of nits: > >> diff --git a/include/configs/tegra-common.h >> b/include/configs/tegra-common.h > > >> #define

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-07-31 Thread Simon Glass
Hi Stephen, On 31 July 2014 21:20, Stephen Warren wrote: > On 07/30/2014 03:49 AM, Simon Glass wrote: >> >> If the sandbox device tree is provided to U-Boot (with the -d flag) then >> it >> will use the device tree version in preference to the built-in device. The >> only difference is the colour

Re: [U-Boot] [PATCH v3 16/16] dm: tegra: Use V_NS16550_CLK only in SPL builds

2014-07-31 Thread Simon Glass
Hi Stephen, On 31 July 2014 21:22, Stephen Warren wrote: > On 07/30/2014 03:49 AM, Simon Glass wrote: >> >> Since Tegra now uses driver model for serial, adjust the definition of >> V_NS16550_CLK so that it is clear that this is only used for SPL. > > > May as well squash this into the previous p

Re: [U-Boot] [PATCH v8 0/13] Kconfig for U-Boot

2014-07-31 Thread Simon Glass
On 30 July 2014 20:16, Tom Rini wrote: > On Wed, Jul 30, 2014 at 02:08:12PM +0900, Masahiro Yamada wrote: > >> This series introduces Kconfig. >> >> Besides Linux Kernel, Kconfig is used in some projects, >> such as, BusyBox, Buildroot. >> >> But our situation is a little more complicated. >> For

Re: [U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Jeroen Hofstee
Hello Hans, On 31-07-14 16:21, Hans de Goede wrote: This fixes the following compiler warning: In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this functi

Re: [U-Boot] [PATCH] ARM: tegra: add Colibri T30 board support

2014-07-31 Thread Stephen Warren
On 07/31/2014 03:55 PM, Simon Glass wrote: On 31 July 2014 19:00, Stefan Agner wrote: Am 2014-07-31 19:41, schrieb Simon Glass: On 31 July 2014 18:36, Stefan Agner wrote: This adds board support for the Toradex Colibri T30 module. +/* + * Enable AX88772B USB to LAN controller + */ +void

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-31 Thread Stephen Warren
On 07/31/2014 03:58 PM, Simon Glass wrote: On 31 July 2014 10:56, Simon Glass wrote: ... Firstly we need to establish that GPIOs have names and that these should be supported in U-Boot. Without agreement on this point we might not get much further. Can I please press you on this point, as it

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-07-31 Thread Stephen Warren
On 07/31/2014 04:03 PM, Simon Glass wrote: Hi Stephen, On 30 July 2014 23:37, Stephen Warren wrote: From: Dennis Gilmore This generic $bootcmd, and associated support macros, automatically searches a defined set of storage devices (or network protocols) for an extlinux configuration file or

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-07-31 Thread Stephen Warren
On 07/31/2014 04:10 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:16, Stephen Warren wrote: On 07/30/2014 03:49 AM, Simon Glass wrote: Some Tegra device tree files do not include information about the serial ports. Add this and also add information about the input clock speed. The c

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-07-31 Thread Stephen Warren
On 07/31/2014 04:13 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:20, Stephen Warren wrote: On 07/30/2014 03:49 AM, Simon Glass wrote: If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. Th

[U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-07-31 Thread Allen Martin
Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as "nyan" in the ChromeOS trees. Signed-off-by: Allen Martin --- C

Re: [U-Boot] [PATCH v1 2/4] get_maintainer.pl: import script from linux 3.15

2014-07-31 Thread Daniel Schwierzeck
On 30.07.2014 15:52, Simon Glass wrote: > Hi Daniel, > > On 26 July 2014 19:54, Daniel Schwierzeck > wrote: >> Signed-off-by: Daniel Schwierzeck > > Can you please check this? I see differences between this script and > the Linux v3.15 version (commit 1860e37). > Strange, I still can't see

Re: [U-Boot] [PATCH v2] ARM: tegra: Add support for norrin board

2014-07-31 Thread Stephen Warren
On 07/31/2014 05:14 PM, Allen Martin wrote: Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as "nyan" in the Chrom

[U-Boot] [PATCH] ARM: tegra: remove custom define for Jetson TK1

2014-07-31 Thread Stephen Warren
From: Stephen Warren Now that Kconfig has a per-board option, we can use that directly rather than inventing a custom define for the AS3722 code to determine which board it's being built for. Signed-off-by: Stephen Warren --- board/nvidia/venice2/as3722_init.h | 2 +- configs/jetson-tk1_defcon

[U-Boot] [PATCH] git-mailrc: add a kconfig alias

2014-07-31 Thread Stephen Warren
From: Stephen Warren It's easier to Cc Masahiro on Kconfig-related changes with a git-mailrc alias. Signed-off-by: Stephen Warren --- doc/git-mailrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index ae7e7bfb5bba..5b1885514889 100644 --- a/doc/git-mailr

[U-Boot] [PATCH v3 2/4] get_maintainer.pl: import script from linux 3.15

2014-07-31 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- Changes in v3: None Changes in v2: None scripts/get_maintainer.pl | 2249 + 1 file changed, 2249 insertions(+) create mode 100755 scripts/get_maintainer.pl diff --git a/scripts/get_maintainer.pl b/scripts/get_ma

[U-Boot] [PATCH v3 1/4] MAINTAINERS: add initial version

2014-07-31 Thread Daniel Schwierzeck
MAINTAINERS contains all currently known custodians based on infos from wiki [1] and u-boot git forks [2]. [1] http://www.denx.de/wiki/U-Boot/Custodians [2] http://git.denx.de/?p=u-boot.git;a=forks Signed-off-by: Daniel Schwierzeck --- Changes in v3: - add more F: lines for I.MX - fix and ad

[U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-07-31 Thread Daniel Schwierzeck
This series imports get_maintainer.pl from kernel and reintroduce the MAINTAINERS file in the according format. Currently one have to manually grep all infos about board maintainers or custodians from various sources like git log, wiki or boards.cfg. get_maintainer.pl makes this task much easier.

[U-Boot] [PATCH v3 3/4] get_maintainer.pl: adapt to U-Boot tree

2014-07-31 Thread Daniel Schwierzeck
Switch core maintainer to Tom Rini. Adapt directory layout for git tree detection. Signed-off-by: Daniel Schwierzeck Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: None scripts/get_maintainer.pl | 23 --- 1 file changed, 12 insertions(

[U-Boot] [PATCH v3 4/4] get_maintainer.pl: add support for scanning multiple MAINTAINERS files

2014-07-31 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- Changes in v3: None Changes in v2: None scripts/get_maintainer.pl | 68 ++- 1 file changed, 44 insertions(+), 24 deletions(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index e62c468..7717

[U-Boot] [PATCH 3/3] bootm: use genimg_get_kernel_addr()

2014-07-31 Thread Bryan Wu
Use the new API which is originally taken out from boot_get_kernel of bootm.c Signed-off-by: Bryan Wu --- common/bootm.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/common/bootm.c b/common/bootm.c index 7ec2ed8..aee68cd 100644 --- a/common/bootm

[U-Boot] [PATCH 2/3] pxe: detect image format before calling bootm/bootz

2014-07-31 Thread Bryan Wu
Trying bootm for zImage will print out several error message which is not necessary for this case. So detect image format firstly, only try bootm for legacy and FIT format image then try bootz for others. This patch needs new function genimg_get_kernel_addr(). Signed-off-by: Bryan Wu --- common

[U-Boot] [PATCH 1/3] image: introduce genimg_get_kernel_addr()

2014-07-31 Thread Bryan Wu
Kernel address is normally stored as a string argument of bootm or bootz. This function is taken out from boot_get_kernel() of bootm.c, which can be reused by others. Signed-off-by: Bryan Wu --- common/image.c | 43 +++ include/image.h | 1 + 2 files cha

[U-Boot] [PATCH 0/3] introduce genimg_get_kernel_addr()

2014-07-31 Thread Bryan Wu
When trying to fix the error message issue in pxe sysboot, we found it's need a real kernel address for further image format detection. So I take out such code from boot_get_kernel() of bootm.c and create the new API functin genimg_get_kernel_addr(). Then convert pxe/sysboot and bootm.c to use it.

Re: [U-Boot] Please pull u-boot-sunxi.git/master

2014-07-31 Thread Masahiro Yamada
Hi Hans, On Thu, 31 Jul 2014 16:30:22 +0200 Hans de Goede wrote: > Hi Albert > > Note: > > 1) This superseeds my previous pull-req as that conflicted with the Kconfig > changes > which have landed in u-boot/master, this pull-req replaces all the boards.cfg > changes > from the previous seri

[U-Boot] MDIO_DEVAD_NONE

2014-07-31 Thread Danny Gale
Hi all, We are working on porting u-boot to a new board based around the Freescale T4240. We also have a 10G BASE-T PHY on board. We're running into some difficulty bringing up the XFI XGMII interface between the T4240 and the PHY and verifying that it's set up correctly. One of the things I

Re: [U-Boot] [PATCH] ARM: tegra: remove custom define for Jetson TK1

2014-07-31 Thread Masahiro Yamada
Hi Stephen, On Thu, 31 Jul 2014 17:29:38 -0600 Stephen Warren wrote: > From: Stephen Warren > > Now that Kconfig has a per-board option, we can use that directly rather > than inventing a custom define for the AS3722 code to determine which > board it's being built for. > > Signed-off-by: S

Re: [U-Boot] [PATCH] git-mailrc: add a kconfig alias

2014-07-31 Thread Masahiro Yamada
On Thu, 31 Jul 2014 17:30:03 -0600 Stephen Warren wrote: > From: Stephen Warren > > It's easier to Cc Masahiro on Kconfig-related changes with a git-mailrc > alias. > > Signed-off-by: Stephen Warren Acked-by: Masahiro Yamada ___ U-Boot mailing l

[U-Boot] [PATCH 2/3] driver/mc: Add Layerscape Management Complex wrapper function

2014-07-31 Thread Lijun Pan
Management Complex wrapper functions are built upon the Management Complex hardware interface. These wrapper functions are OS dependent, which vary in U-boot and Linux. Current patch supports MC portal flib version 0.4. Signed-off-by: Lijun Pan --- arch/arm/cpu/armv8/fsl-lsch3/cpu.c

[U-Boot] [PATCH 3/3] driver/mc: print Management Complex version info

2014-07-31 Thread Lijun Pan
After the MC is booted, u-boot should print out the Management Complex version info where appropriate. Also, clean up the code to make checkpatch.pl happy. Signed-off-by: Lijun Pan Signed-off-by: J. German Rivera --- drivers/net/fsl_mc/mc.c | 130 ++-

[U-Boot] [PATCH 1/3] driver/mc: Add Layerscape Management Complex hardware interface

2014-07-31 Thread Lijun Pan
Management Complex (MC) Portal is an interface between MC firmware and U-boot/Linux. U-boot/Linux could interact with MC firmware through sending/receiving MC commands to/from MC firmware. This patch enables the hardware interface between MC firmware and U-boot/Linux. Current patch supports MC port

[U-Boot] [PATCH v3] powerpc/t104xrdb: Add T1042RDB board support

2014-07-31 Thread Vijay Rai
T1042RDB is a Freescale reference board that hosts the T1042 SoC (and variants). The board is similar to T1040RDB, T1042 is a reduced personality of T1040 SoC without Integrated 8-port Gigabit(L2 Switch). T1042RDB is configured with serdes protocol 0x86 which can support following interfaces - 2 R

Re: [U-Boot] Quick guide to Kconfig

2014-07-31 Thread Masahiro Yamada
Hi Hans, On Thu, 31 Jul 2014 16:38:47 +0200 Hans de Goede wrote: > Hi, > > On 07/31/2014 06:51 AM, Masahiro Yamada wrote: > > Hi all, > > > > > > > > The mainline has switched to Kconfig. > > > > Please make sure to use "make _defconfig" > > instead of "make _config". > > > > > > > > [1

Re: [U-Boot] Quick guide to Kconfig

2014-07-31 Thread Masahiro Yamada
Hi Ian, On Thu, 31 Jul 2014 16:07:54 +0100 Ian Campbell wrote: > On Thu, 2014-07-31 at 16:38 +0200, Hans de Goede wrote: > > make Foo_defconfig > > make menuconfig > > > > make > > I was hoping that I might eventually be able to do something like > make Foo_defconfig CONFIG_SPL_FEL=y

Re: [U-Boot] [PATCH] drivers: net: remove dead drivers

2014-07-31 Thread Masahiro Yamada
Hi Joe, On Thu, 31 Jul 2014 14:32:47 -0500 Joe Hershberger wrote: > On Wed, Jul 30, 2014 at 5:26 AM, Masahiro Yamada > wrote: > > > > The following configs are not defined at all: > > > > - CONFIG_FTMAC110 > > - CONFIG_INCA_IP_SWITCH > > - CONFIG_PBL2800_ETHER > > - CONFIG_PHY_ICPLUS > > >