Re: [U-Boot] [RFC v3 PATCH 3/4] pinctrl: add simple pinctrl implementation

2015-08-25 Thread Masahiro Yamada
Hi Simon, 2015-08-12 23:16 GMT+09:00 Simon Glass : >> diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h >> index 42008da..b2ba0b4 100644 >> --- a/include/dm/pinctrl.h >> +++ b/include/dm/pinctrl.h >> @@ -85,6 +85,8 @@ struct pinctrl_ops { >> int (*pinconf_group_set)(struct udevice

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Pavel Machek
On Tue 2015-08-25 10:25:35, Bin Meng wrote: > Hi, > > With latest u-boot/master, TFTP is seriously broken. Sorry about that. > => tftp 10 bzImage > Speed: 100, full duplex > Using pch_gbe device > TFTP from server 10.10.0.8; our IP address is 10.10.0.100; sending > through gateway 10.10.0.1

Re: [U-Boot] [PATCH v2 0/4] distro_bootcmd: Add support for booting from ubifs

2015-08-25 Thread Hans de Goede
Hi, On 24-08-15 18:57, Scott Wood wrote: On Sat, 2015-08-22 at 20:04 +0200, Hans de Goede wrote: Hi Stephen & Scott, As requested by Stephen here is a new version of my patch-set to add mtd with ubi on top with ubifs on top support to distro_bootcmd, this time using the generic filesystem rela

Re: [U-Boot] [PATCH 2/4] sunxi_nand_spl: Remove NAND_SUNXI_SPL_SYNDROME_PARTITIONS_END

2015-08-25 Thread Hans de Goede
Hi, On 24-08-15 19:02, Scott Wood wrote: On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: We only ever use syndrome mode for the partitions which contain the SPL, as that is required for the BROM to be able to read the SPL. Instead of using some arbritray limit for deciding whether or n

[U-Boot] [PATCH 5/9] x86: crownbay: Convert to use CONFIG_DM_USB

2015-08-25 Thread Bin Meng
Move to driver model for USB on Intel Crown Bay. Signed-off-by: Bin Meng --- configs/crownbay_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig index 4fc1827..6edd710 100644 --- a/configs/crownbay_defconfig +++ b/configs/crow

[U-Boot] [PATCH 2/9] net: e1000: Fix build warnings for 32-bit

2015-08-25 Thread Bin Meng
commit 6497e37 "net: e1000: Support 64-bit physical address" causes compiler warnings on 32-bit U-Boot build below. drivers/net/e1000.c: In function 'e1000_configure_tx': drivers/net/e1000.c:4982:2: warning: right shift count >= width of type [enabled by default] drivers/net/e1000.c: In function

[U-Boot] [PATCH 4/9] dm: eth: Correctly detect alias in eth_get_dev_by_name()

2015-08-25 Thread Bin Meng
When given a device name string, we should test if it contains "eth" before we treat it as an alias. With this commit, now we are really able to rotate between network interfaces with driver model (previously it was broken). Signed-off-by: Bin Meng --- net/eth.c | 2 +- 1 file changed, 1 inse

[U-Boot] [PATCH 1/9] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet"

2015-08-25 Thread Bin Meng
Testing either pch_gbe or e1000 driver via tftp command on Intel Crown Bay board, shows the following failure. TFTP error: 'Unsupported option(s) requested' (8) It turns out commit 620776d causes this. Revert this commit for now. Signed-off-by: Bin Meng --- net/tftp.c | 10 +- 1 f

[U-Boot] [PATCH 3/9] dm: eth: Do not call board_eth_init() or cpu_eth_init()

2015-08-25 Thread Bin Meng
With driver model, board_eth_init() or cpu_eth_init() is not needed. Remove the call to these in eth_common_init(). Signed-off-by: Bin Meng --- net/eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/eth.c b/net/eth.c index d3ec8d6..0b4b08a 100644 --- a/net/eth.c +++ b/net/eth.c @@

[U-Boot] [PATCH 7/9] net: pch_gbe: Convert to driver model

2015-08-25 Thread Bin Meng
This commit converts pch_gbe ethernet driver to driver model. Since this driver is only used by Intel Crown Bay board, the conversion does not keep the non-dm version. Signed-off-by: Bin Meng --- drivers/net/pch_gbe.c | 133 +++--- drivers/net/pch_gb

[U-Boot] [PATCH 6/9] x86: crownbay: Convert to use CONFIG_DM_ETH for E1000

2015-08-25 Thread Bin Meng
Since E1000 driver has been converted to driver model, enable it on Intel Crown Bay. But the Intel Topcliff GbE driver has not been converted to driver model yet, disable it for now. Signed-off-by: Bin Meng --- board/intel/crownbay/crownbay.c | 6 -- configs/crownbay_defconfig | 2 +-

[U-Boot] [PATCH 8/9] net: pch_gbe: Add Kconfig option

2015-08-25 Thread Bin Meng
Add Kconfig option in preparation for moving board to use Kconfig. Signed-off-by: Bin Meng --- drivers/net/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 7367d9e..ccaf675 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kco

[U-Boot] [PATCH 9/9] x86: crownbay: Enable CONFIG_PCH_GBE

2015-08-25 Thread Bin Meng
Now that we have converted the pch_gbe driver to driver moel, enable it on Intel Crown Bay board. Signed-off-by: Bin Meng --- configs/crownbay_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig index f027faf..f328159 100644 ---

Re: [U-Boot] [PATCH v2 0/4] distro_bootcmd: Add support for booting from ubifs

2015-08-25 Thread Heiko Schocher
Hello Hans, Am 25.08.2015 um 09:15 schrieb Hans de Goede: Hi, On 24-08-15 18:57, Scott Wood wrote: On Sat, 2015-08-22 at 20:04 +0200, Hans de Goede wrote: Hi Stephen & Scott, As requested by Stephen here is a new version of my patch-set to add mtd with ubi on top with ubifs on top support to

Re: [U-Boot] [PATCH v2 1/1] lib/display_options: Fix print_freq

2015-08-25 Thread Heiko Schocher
Hello Suriyan, Am 25.08.2015 um 07:59 schrieb Suriyan Ramasami: Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. Booting an odroid U3 board, one sees this: CPU: Exynos4412 @ GHz instead of: CPU: Exynos4412 @ 1 GHz This change was done to get rid of compiler warnings rela

Re: [U-Boot] [PATCH] sunxi: Enable non-secure access to RTC on sun6i (A31s)

2015-08-25 Thread Chen-Yu Tsai
On Tue, Aug 25, 2015 at 3:34 PM, Marc Zyngier wrote: > On Tue, 25 Aug 2015 10:49:19 +0800 > Chen-Yu Tsai wrote: > > Hi, > > Thanks for putting this patch together. A few comments below: > >> On the A31s the RTC is by default secured. Thus when u-boot >> loads the kernel in non-secure world, the R

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Bin Meng
Hi Joe, On Tue, Aug 25, 2015 at 12:24 PM, Joe Hershberger wrote: > Hi Bin, > > On Mon, Aug 24, 2015 at 11:05 PM, Bin Meng wrote: >> Hi Joe, >> >> On Tue, Aug 25, 2015 at 11:42 AM, Joe Hershberger >> wrote: >>> Hi Bin, >>> >>> On Mon, Aug 24, 2015 at 9:25 PM, Bin Meng wrote: Hi,

Re: [U-Boot] [PATCH] sunxi: Enable non-secure access to RTC on sun6i (A31s)

2015-08-25 Thread Marc Zyngier
On Tue, 25 Aug 2015 10:49:19 +0800 Chen-Yu Tsai wrote: Hi, Thanks for putting this patch together. A few comments below: > On the A31s the RTC is by default secured. Thus when u-boot > loads the kernel in non-secure world, the RTC is unavailable. The > SoC has a TrustZone Protection Controller,

Re: [U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard

2015-08-25 Thread Anatolij Gustschin
Hi Bin, On Mon, 24 Aug 2015 01:00:07 -0700 Bin Meng wrote: > So far if CONFIG_VGA_AS_SINGLE_DEVICE is not defined, the VGA device > will try to initialize a keyboard device (for x86, it is i8042). But > if i8042 controller initialization fails (eg: there is no keyboard > connected to the PS/2 po

Re: [U-Boot] [PATCH] sunxi: Enable non-secure access to RTC on sun6i (A31s)

2015-08-25 Thread Hans de Goede
Hi, On 25-08-15 09:40, Chen-Yu Tsai wrote: On Tue, Aug 25, 2015 at 3:34 PM, Marc Zyngier wrote: On Tue, 25 Aug 2015 10:49:19 +0800 Chen-Yu Tsai wrote: Hi, Thanks for putting this patch together. A few comments below: On the A31s the RTC is by default secured. Thus when u-boot loads the ke

[U-Boot] [PATCH] picosam9g45: adopt CONFIG_SYS_PROMPT

2015-08-25 Thread Andreas Bießmann
Commit 181bd9dc61d2da88b78f1c1138a685dae39354d6 introduced Kconfig selection for SYS_PROMPT. When applying the new picosam9g45 board this change slipped through, adopt it. Signed-off-by: Andreas Bießmann --- configs/picosam9g45_defconfig | 1 + include/configs/picosam9g45.h | 1 - 2 files chang

Re: [U-Boot] [PATCH v3 7/7] video: ct69000: Remove unused codes

2015-08-25 Thread Anatolij Gustschin
On Mon, 24 Aug 2015 01:00:09 -0700 Bin Meng wrote: > Remove unused CONFIG_USE_CPCIDVI wrapped codes. > > Signed-off-by: Bin Meng Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard

2015-08-25 Thread Anatolij Gustschin
Hi Simon, On Mon, 24 Aug 2015 22:13:41 -0600 Simon Glass wrote: > On 24 August 2015 at 02:00, Bin Meng wrote: > > So far if CONFIG_VGA_AS_SINGLE_DEVICE is not defined, the VGA device > > will try to initialize a keyboard device (for x86, it is i8042). But > > if i8042 controller initialization

Re: [U-Boot] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-08-25 Thread Andreas Bießmann
On 07/28/2015 05:00 PM, Tom Rini wrote: > On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: > >> In order to achieve reproducible builds in U-Boot, timestamps that are >> defined >> at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH >> environment >> variable al

[U-Boot] [PATCH] exynos: Rise ARM voltage to 1.1V for chained bootloaders

2015-08-25 Thread Misha Komarovskiy
If board uses downstream Chrome OS U-Boot as first stage bootloader and upstream version is chained second stage, 1.1V is minimum voltage borderline. Signed-off-by: Misha Komarovskiy --- board/samsung/common/exynos5-dt.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Bin Meng
Hi Pavel, On Tue, Aug 25, 2015 at 3:12 PM, Pavel Machek wrote: > On Tue 2015-08-25 10:25:35, Bin Meng wrote: >> Hi, >> >> With latest u-boot/master, TFTP is seriously broken. > > Sorry about that. > >> => tftp 10 bzImage >> Speed: 100, full duplex >> Using pch_gbe device >> TFTP from server 1

Re: [U-Boot] [U-Boot, v5, 5/8] omap-common: SYS_BOOT-based fallback boot device selection for peripheral boot

2015-08-25 Thread Schmelzer Hannes
Hi Paul, Tom, i am failing bring up my AM335x boards (tseries, kwb) with bare UART connection since introducing this change. -- U-Boot SPL 2015.10-rc2-00079-g35f2192-dirty (Aug 25 2015 - 07:34:24) boot device - 0 SPL: Unsupported Boot Device (0)! ### ERROR ### Please RESET the board ### --- T

[U-Boot] [PATCH] powerpc/t4240qds: add support of reading Core voltage

2015-08-25 Thread shh.xie
From: Shaohui Xie A U-boot CMD vdd_read is implemented to read Core voltage. Signed-off-by: Shaohui Xie --- board/freescale/t4qds/t4240qds.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/board/freescale/t4qds/t4240qds.c b/board/freescale/t4qds/t4240qds.c i

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Bin Meng
On Tue, Aug 25, 2015 at 4:58 PM, Bin Meng wrote: > Hi Pavel, > > On Tue, Aug 25, 2015 at 3:12 PM, Pavel Machek wrote: >> On Tue 2015-08-25 10:25:35, Bin Meng wrote: >>> Hi, >>> >>> With latest u-boot/master, TFTP is seriously broken. >> >> Sorry about that. >> >>> => tftp 10 bzImage >>> Speed

Re: [U-Boot] [PATCH 1/9] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet"

2015-08-25 Thread Bin Meng
Hi Joe, On Tue, Aug 25, 2015 at 3:22 PM, Bin Meng wrote: > Testing either pch_gbe or e1000 driver via tftp command on Intel > Crown Bay board, shows the following failure. > > TFTP error: 'Unsupported option(s) requested' (8) > > It turns out commit 620776d causes this. Revert this commit for

Re: [U-Boot] [RFC PATCH 1/3] expose eth_is_active() function to test network device state

2015-08-25 Thread Bernhard Nortmann
Am 24.08.2015 um 19:02 schrieb Joe Hershberger: Hi Simon, On Mon, Aug 24, 2015 at 11:59 AM, Simon Glass wrote: Hi Bernhard, [...] i.e. sunxi GMAC (by simply adding #define CONFIG_NETCONSOLE). In that case how about adding that config to that board? Does it cause problems for other people? I'

Re: [U-Boot] [Reproducible-builds] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-08-25 Thread Vagrant Cascadian
On 2015-08-25, Andreas Bießmann wrote: > On 07/28/2015 05:00 PM, Tom Rini wrote: >> On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: >>> In order to achieve reproducible builds in U-Boot, timestamps that are >>> defined >>> at build-time have to be somewhat eliminated. The SOURCE

Re: [U-Boot] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-08-25 Thread Fabio Estevam
On Thu, Jul 30, 2015 at 11:54 PM, Bin Meng wrote: > This commit breaks the following commit: > > commit f3f431a712729a1af94d01bd1bfde17a252ff02c > Author: Chris Packham > Date: Sun May 10 21:02:09 2015 +1200 > > Makefile: Add U_BOOT_TZ and include in version > > Define U_BOOT_TZ alongs

Re: [U-Boot] [PATCH] sunxi: Enable non-secure access to RTC on sun6i (A31s)

2015-08-25 Thread Marc Zyngier
On 25/08/15 08:40, Chen-Yu Tsai wrote: > On Tue, Aug 25, 2015 at 3:34 PM, Marc Zyngier wrote: >> On Tue, 25 Aug 2015 10:49:19 +0800 >> Chen-Yu Tsai wrote: >> >> Hi, >> >> Thanks for putting this patch together. A few comments below: >> >>> On the A31s the RTC is by default secured. Thus when u-bo

Re: [U-Boot] [Reproducible-builds] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-08-25 Thread Andreas Bießmann
On 08/25/2015 11:55 AM, Vagrant Cascadian wrote: > On 2015-08-25, Andreas Bießmann wrote: >> On 07/28/2015 05:00 PM, Tom Rini wrote: >>> On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: In order to achieve reproducible builds in U-Boot, timestamps that are defined

Re: [U-Boot] [PATCH v3 1/2] Makefile: Use correct timezone for U_BOOT_TZ

2015-08-25 Thread Andreas Bießmann
On 08/13/2015 08:08 AM, Chris Packham wrote: > When building with SOURCE_DATE_EPOCH the timezone is in UTC. When > building normally the timezone is taken from the build machine's locale > setting. > > Signed-off-by: Chris Packham > Tested-by: Bin Meng > Tested-by: Paul Kocialkowski This also

[U-Boot] [PATCH] net: bootp fix vci string on SPL-Boot

2015-08-25 Thread Hannes Schmelzer
If CONFIG_CMD_DHCP is enabled, the vci (vendor-class-identifier) string isn't inserted into the bootp-packet during SPL stage because the CONFIG_BOOTP_VCI_STRING instead CONFIG_SPL_NET_VCI_STRING We fix this with testing for CONFIG_SPL_BUILD and testing for existing CONFIG_SPL_NET_VCI_STRING. Si

Re: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-08-25 Thread Heiko Schocher
Hello Hans, Am 22.08.2015 um 20:04 schrieb Hans de Goede: Modify the ubifs u-boot wrapper function prototypes for generic fs use, and give them their own header file. This is a preparation patch for adding ubifs support to the generic fs code from fs/fs.c. Signed-off-by: Hans de Goede --- c

Re: [U-Boot] [PATCH v2 2/4] ubifs: Add functions for generic fs use

2015-08-25 Thread Heiko Schocher
Hello Hans, Am 22.08.2015 um 20:04 schrieb Hans de Goede: Implement the necessary functions for implementing generic fs support for ubifs. Signed-off-by: Hans de Goede --- fs/ubifs/ubifs.c | 62 +++ include/ubifs_uboot.h | 4 2 fil

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-25 Thread Thierry Reding
On Mon, Aug 24, 2015 at 10:58:48AM -0600, Simon Glass wrote: > +Nikita > > Hi Thierry, > > On 24 August 2015 at 04:12, Thierry Reding wrote: > > On Fri, Aug 21, 2015 at 06:37:37PM -0600, Simon Glass wrote: > > [...] > >> I have serious doubts about the wisdom of requiring a contributor to > >> c

Re: [U-Boot] [PATCH v2 3/4] ubifs: Add generic fs support

2015-08-25 Thread Heiko Schocher
Hello Hans, Am 22.08.2015 um 20:04 schrieb Hans de Goede: Add generic fs support, so that commands like ls, load and test -e can be used on ubifs. Signed-off-by: Hans de Goede --- disk/part.c | 23 +++ fs/fs.c | 16 include/fs.h | 1 + 3 files c

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Pavel Machek
On Tue 2015-08-25 16:58:58, Bin Meng wrote: > Hi Pavel, > > On Tue, Aug 25, 2015 at 3:12 PM, Pavel Machek wrote: > > On Tue 2015-08-25 10:25:35, Bin Meng wrote: > >> Hi, > >> > >> With latest u-boot/master, TFTP is seriously broken. > > > > Sorry about that. > > > >> => tftp 10 bzImage > >> S

[U-Boot] SOURCE_DATE_EPOCH must not be linux only... (was Re: [Reproducible-builds] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH)

2015-08-25 Thread Holger Levsen
Hi, (just stating the (IMHO) obvious here…) On Dienstag, 25. August 2015, Vagrant Cascadian wrote: > There was a proposed patch which only uses the GNU date extensions if > SOURCE_DATE_EPOCH environment variable is set, would this sufficiently > address your concerns, at least for the short term?

Re: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-08-25 Thread Hans de Goede
Hi, On 25-08-15 13:00, Heiko Schocher wrote: Hello Hans, Am 22.08.2015 um 20:04 schrieb Hans de Goede: Modify the ubifs u-boot wrapper function prototypes for generic fs use, and give them their own header file. This is a preparation patch for adding ubifs support to the generic fs code from

[U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant

2015-08-25 Thread Pavel Machek
tftp timeout of 100msec gives good performance on local ethernet, but some servers (Centos) refuse to operate, and it is against RFC 2349. This fixes regression caused by 620776d734e4b126c407f636bda825a594a17723 . Signed-off-by: Pavel Machek diff --git a/net/tftp.c b/net/tftp.c index 18ce84c.

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-25 Thread Christian Riesch
Hi Simon, On Wed, Aug 19, 2015 at 6:35 AM, Simon Glass wrote: > All boards should be converted to generic board by now. Change the rest > over. If this causes run-time breakages then we can remove those boards. Why not just remove these apparently unmaintained boards, as announced in [1]? Regar

[U-Boot] [PATCH v4 0/3] add pinctrl driver framework

2015-08-25 Thread Masahiro Yamada
I am trying my best to have this subsystem as DT-compatible with Linux as possible, also saving memory foot print as a boot loader. It would be very appreciated if Linus Walleij, the maintainer of pinctrl subsystem in Linux, would check this series if he could find some time. Masahiro Yamada (3)

Re: [U-Boot] [PATCH v4 9/9] dfu: tftp: Kconfig: Enable DFU_TFTP support on the am335x_boneblack_defconfig

2015-08-25 Thread Joe Hershberger
Hi Lukasz, On Sun, Aug 23, 2015 at 5:21 PM, Lukasz Majewski wrote: > This commit enables support for DFU_TFTP on the am335x bone black device. > > Signed-off-by: Lukasz Majewski Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-25 Thread Masahiro Yamada
2015-08-22 5:44 GMT+09:00 Masahiro Yamada : > Hi Simon, > > > 2015-08-22 2:53 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 19 August 2015 at 19:36, Masahiro Yamada >> wrote: >>> 2015-08-19 13:35 GMT+09:00 Simon Glass : All boards should be converted to generic board by now. Change the res

[U-Boot] [PATCH] board/BuR: simplify default IP-setup on B&R boards.

2015-08-25 Thread Hannes Schmelzer
To simplify and having a common default IP-setup on all B&R boards we introduce an environment variable "brdefaultip" which does following. Test if ${ipaddr} is empty, if yes it set's up some defaults: - ipaddr : 192.168.60.1 - netmask : 255.255.255.0 - gatewayip: 192.168.60.254 - serverip : 19

Re: [U-Boot] [PATCH v3 2/2] Makefile: Add SOURCE_DATE_TZ

2015-08-25 Thread Paul Kocialkowski
Le jeudi 13 août 2015 à 18:08 +1200, Chris Packham a écrit : > Along with SOURCE_DATE_EPOCH SOURCE_DATE_TZ can be used to recreate a > build with a specific date timestamp. This allows the verification of > source supplied with a pre-compiled binary. > > If SOURCE_DATE_EPOCH is supplied SOURCE_DAT

Re: [U-Boot] [PATCH v3 1/2] Makefile: Use correct timezone for U_BOOT_TZ

2015-08-25 Thread Paul Kocialkowski
Le jeudi 13 août 2015 à 18:08 +1200, Chris Packham a écrit : > When building with SOURCE_DATE_EPOCH the timezone is in UTC. When > building normally the timezone is taken from the build machine's locale > setting. Looks good to me! > Signed-off-by: Chris Packham > Tested-by: Bin Meng > Tested-b

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Hannes Schmelzer
Hi, i've same problem. Running tftp-hpa on Linux Mint 17. cat /etc/default/tftpd-hpa # /etc/default/tftpd-hpa RUN_DAEMON="yes" TFTP_USERNAME="tftp" TFTP_DIRECTORY="/tftpboot/tseries" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="-l -s" best regards, Hannes On 25.08.2015 09:40, Bin Meng wrote: Hi

Re: [U-Boot] [Reproducible-builds] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-08-25 Thread Paul Kocialkowski
Le mardi 25 août 2015 à 12:20 +0200, Andreas Bießmann a écrit : > On 08/25/2015 11:55 AM, Vagrant Cascadian wrote: > > On 2015-08-25, Andreas Bießmann wrote: > >> On 07/28/2015 05:00 PM, Tom Rini wrote: > >>> On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: > In order to achi

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Pavel Machek
On Tue 2015-08-25 14:13:17, Hannes Schmelzer wrote: > Hi, > > i've same problem. > > Running tftp-hpa on Linux Mint 17. > > cat /etc/default/tftpd-hpa > # /etc/default/tftpd-hpa > RUN_DAEMON="yes" > TFTP_USERNAME="tftp" > TFTP_DIRECTORY="/tftpboot/tseries" > TFTP_ADDRESS="0.0.0.0:69" > TFTP_OPTI

[U-Boot] [PATCH 2/2] sunxi: Add inet98v_rev2 defconfig and dts file

2015-08-25 Thread Hans de Goede
The inet98v_rev2 is a pcb used in generic A13 based tablets. It features volume buttons, a power barrel, micro-usb otg, headphone connector and a power button. The dts file is identical to the one submitted to the upstream kernel. Signed-off-by: Hans de Goede --- arch/arm/dts/Makefile

[U-Boot] [PATCH 1/2] sunxi: Ampe_A76_defconfig: Add otg id pin configuration

2015-08-25 Thread Hans de Goede
Add otg id pin configuration, this speeds up bootup when no host cable is plugged into the otg port. Signed-off-by: Hans de Goede --- configs/Ampe_A76_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Ampe_A76_defconfig b/configs/Ampe_A76_defconfig index 3aaf029..85724b0 1006

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-08-25 Thread Hannes Schmelzer
Hi Pavel, this works for me. many thanks. I will looking for some patch coming soon. best regards, Hannes On 25.08.2015 14:19, Pavel Machek wrote: On Tue 2015-08-25 14:13:17, Hannes Schmelzer wrote: Hi, i've same problem. Running tftp-hpa on Linux Mint 17. cat /etc/default/tftpd-hpa # /e

[U-Boot] [PATCH 3/3] arm: mvebu: Only set CONFIG_SKIP_LOWLEVEL_INIT for SPL

2015-08-25 Thread Stefan Roese
When running on the AXP I sometimes noticed a strange behavior. As some characters are not echoed on the U-Boot prompt. Not disabling the lowlevel_init code, especially calling cpu_init_cp15() in the main U-Boot seems to solve this issue. Signed-off-by: Stefan Roese --- arch/arm/mach-mvebu/cpu.c

[U-Boot] [PATCH 2/3] arm: mvebu: Add option to use UART xmodem protocol via kwboot

2015-08-25 Thread Stefan Roese
This patch enables the use of the kwboot tool, to boot mainline U-Boot on the Marvell Armada XP/38x SoC's. This is done by returning to the SoC's BootROM after SPL has initialized the SDRAM. We need to make sure to not reconfigure the internal register space and MBARs. Otherwise the BootROM will no

[U-Boot] [PATCH 1/3] arm: mvebu: Move Armada XP/38x Kconfig to mach specific Kconfig file

2015-08-25 Thread Stefan Roese
Introduce a mach-mvebu/Kconfig for all Armada based SoC's. Signed-off-by: Stefan Roese --- arch/arm/Kconfig| 16 arch/arm/mach-mvebu/Kconfig | 21 + board/Marvell/db-88f6820-gp/Kconfig | 3 --- board/Marvell/db-mv784mp-gp/Kconfig

Re: [U-Boot] [U-Boot, v5, 5/8] omap-common: SYS_BOOT-based fallback boot device selection for peripheral boot

2015-08-25 Thread Paul Kocialkowski
Le mardi 25 août 2015 à 10:40 +0200, Schmelzer Hannes a écrit : > Hi Paul, Tom, > > i am failing bring up my AM335x boards (tseries, kwb) with bare UART > connection since introducing this change. Does this mean that you're trying to get the device to load the full U-Boot binary over UART? > For

Re: [U-Boot] [U-Boot, v5, 5/8] omap-common: SYS_BOOT-based fallback boot device selection for peripheral boot

2015-08-25 Thread Hannes Schmelzer
Hi Paul, thanks for answer. On 25.08.2015 14:27, Paul Kocialkowski wrote: Le mardi 25 août 2015 à 10:40 +0200, Schmelzer Hannes a écrit : Hi Paul, Tom, i am failing bring up my AM335x boards (tseries, kwb) with bare UART connection since introducing this change. Does this mean that you're try

[U-Boot] [PATCH] net: protect status led access in bootp

2015-08-25 Thread Thomas Chou
This fixes the error when STATUS_LED_BOOT is not defined. Signed-off-by: Thomas Chou --- net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bootp.c b/net/bootp.c index 43466af..ab17869 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -349,7 +349,7 @@ static void boo

Re: [U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant

2015-08-25 Thread Bin Meng
Hi Pavel, Joe, On Tue, Aug 25, 2015 at 7:44 PM, Pavel Machek wrote: > > > tftp timeout of 100msec gives good performance on local ethernet, but > some servers (Centos) refuse to operate, and it is against RFC 2349. > > This fixes regression caused by > 620776d734e4b126c407f636bda825a594a17723 . >

[U-Boot] [PATCH V2] ARM: rpi: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support

2015-08-25 Thread Guillaume GARDET
Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support and enable it to set 'board_rev' and 'board_name' envs. 'board_rev' can be used in scripts to determine what board we are running on and 'board_name' for pretty printing. Signed-off-by: Guillaume GARDET Cc: Stephen Warren --- Changes in V2:

[U-Boot] [PATCH] MIPS: add atomic operations support.

2015-08-25 Thread Govindraj Raja
some of the u-boot frameworks like ubi-fs and eth_gadget uses atomic_* api's. So add atomic api's for mips. This makes ubi-fs on nand work with mips platform. Signed-off-by: Govindraj Raja --- arch/mips/include/asm/atomic.h | 90 ++ 1 file changed, 90 ins

Re: [U-Boot] x86: EFI: boot fails at exit_boot_services - Was: Stuck trying to build a non-qemu EFI payload

2015-08-25 Thread Stoppa, Igor
Hi Simon, thanks for helping, please find my reply below. On 21 August 2015 at 23:51, Simon Glass wrote: > Note that once you call exit_boot_services you will not be able to use > the console. Be careful here - the board may appear to hang but > actually it is broken by you trying to output to t

Re: [U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant

2015-08-25 Thread Pavel Machek
On Tue 2015-08-25 21:03:26, Bin Meng wrote: > Hi Pavel, Joe, > > On Tue, Aug 25, 2015 at 7:44 PM, Pavel Machek wrote: > > > > > > tftp timeout of 100msec gives good performance on local ethernet, but > > some servers (Centos) refuse to operate, and it is against RFC 2349. > > > > This fixes regre

Re: [U-Boot] [U-Boot, v5, 5/8] omap-common: SYS_BOOT-based fallback boot device selection for peripheral boot

2015-08-25 Thread Paul Kocialkowski
> > If I got everything right, the bootrom is passing BOOT_DEVICE_UART as > > boot device, but you haven't selected CONFIG_SPL_YMODEM_SUPPORT. Thus, > > it falls back to asking omap_sys_boot_device, which is not implemented. > I don't think, there is everything right. Have a closer look to the #ifd

Re: [U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant

2015-08-25 Thread Tom Rini
On Tue, Aug 25, 2015 at 04:32:48PM +0200, Pavel Machek wrote: > On Tue 2015-08-25 21:03:26, Bin Meng wrote: > > Hi Pavel, Joe, > > > > On Tue, Aug 25, 2015 at 7:44 PM, Pavel Machek wrote: > > > > > > > > > tftp timeout of 100msec gives good performance on local ethernet, but > > > some servers (C

Re: [U-Boot] [PATCH] board/BuR: simplify default IP-setup on B&R boards.

2015-08-25 Thread Tom Rini
On Tue, Aug 25, 2015 at 01:55:41PM +0200, Hannes Schmelzer wrote: > To simplify and having a common default IP-setup on all B&R boards we > introduce an environment variable "brdefaultip" which does following. > > Test if ${ipaddr} is empty, if yes it set's up some defaults: > - ipaddr : 192.16

[U-Boot] [PATCH] Fix bad return value checks (detected with Coccinelle)

2015-08-25 Thread Thomas Huth
In the "Getting Started with Coccinelle - KVM edition" presentation that has been held by Julia Lawall at the KVM forum 2015 (see the slides at http://events.linuxfoundation.org/sites/events/files/slides/tutorial_kvm_0.pdf), she pointed out some bad return value checks in U-Boot that can be detecte

Re: [U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant

2015-08-25 Thread Pavel Machek
On Tue 2015-08-25 10:49:10, Tom Rini wrote: > On Tue, Aug 25, 2015 at 04:32:48PM +0200, Pavel Machek wrote: > > On Tue 2015-08-25 21:03:26, Bin Meng wrote: > > > Hi Pavel, Joe, > > > > > > On Tue, Aug 25, 2015 at 7:44 PM, Pavel Machek wrote: > > > > > > > > > > > > tftp timeout of 100msec gives g

[U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-25 Thread Paul Kocialkowski
The SYS_BOOT-based fallback shouldn't only check for one of the conditions of use and then let the switch/case handle each boot device without enforcing the conditions for each type of boot device again. For instance, this behaviour would trigger the fallback for UART when BOOT_DEVICE_UART is defi

Re: [U-Boot] [PATCH 1/3] drivers: Introduce a simplified remoteproc framework

2015-08-25 Thread Nishanth Menon
On 08/25/2015 12:04 AM, Simon Glass wrote: [...] >> index ..e8fdb124e251 >> --- /dev/null >> +++ b/common/cmd_remoteproc.c >> @@ -0,0 +1,224 @@ >> +/* >> + * (C) Copyright 2015 >> + * Texas Instruments Incorporated - http://www.ti.com/ >> + * SPDX-License-Identifier:GPL-2.0+ >> + */

Re: [U-Boot] [PATCH v2 1/1] lib/display_options: Fix print_freq

2015-08-25 Thread Joe Hershberger
On Tue, Aug 25, 2015 at 12:59 AM, Suriyan Ramasami wrote: > Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. > Booting an odroid U3 board, one sees this: > CPU: Exynos4412 @ GHz > instead of: > CPU: Exynos4412 @ 1 GHz > > This change was done to get rid of compiler warnings

Re: [U-Boot] [PATCH 3/3] sandbox: Introduce dummy remoteproc nodes

2015-08-25 Thread Nishanth Menon
On 08/25/2015 12:04 AM, Simon Glass wrote: > Hi Nishanth, > > On 24 August 2015 at 11:28, Nishanth Menon wrote: >> Introduce dummy devices for sandbox remoteproc device and enable it by >> default >> >> Signed-off-by: Nishanth Menon >> --- >> arch/sandbox/dts/test.dts | 13 + >> con

Re: [U-Boot] [PATCH 2/3] remoteproc: Introduce a sandbox dummy driver

2015-08-25 Thread Nishanth Menon
On 08/25/2015 12:04 AM, Simon Glass wrote: [...] >> +# Please keep the configuration alphabetically sorted. >> +config DM_TESTPROC_SANDBOX > > Should this be REMOTEPROC_SANDBOX? Yep - will do. >> diff --git a/drivers/remoteproc/sandbox_testproc.c >> b/drivers/remoteproc/sandbox_testproc.c >> ne

Re: [U-Boot] [PATCH 0/3] drivers/sandbox: Introduce a simplified remoteproc framework

2015-08-25 Thread Nishanth Menon
On 08/25/2015 12:04 AM, Simon Glass wrote: [...] > Can you please also add a test to test/dm/remoteproc.c? It should try > a few operations as a sanity check. Ideally it shouldn't output > anything on the console. OK. Will do. Thanks a ton for the detailed review. I will try and get everything do

Re: [U-Boot] [RFC PATCH 1/3] expose eth_is_active() function to test network device state

2015-08-25 Thread Joe Hershberger
Hi Bernhard, On Tue, Aug 25, 2015 at 4:53 AM, Bernhard Nortmann wrote: > Am 24.08.2015 um 19:02 schrieb Joe Hershberger: >> >> Hi Simon, >> >> On Mon, Aug 24, 2015 at 11:59 AM, Simon Glass wrote: >>> >>> Hi Bernhard, >>> >>> [...] >>> i.e. sunxi GMAC (by simply adding #define CONFIG_NETCONSOLE).

Re: [U-Boot] [PATCH] board/BuR: simplify default IP-setup on B&R boards.

2015-08-25 Thread Joe Hershberger
Hi Hannes, On Tue, Aug 25, 2015 at 6:55 AM, Hannes Schmelzer wrote: > To simplify and having a common default IP-setup on all B&R boards we > introduce an environment variable "brdefaultip" which does following. > > Test if ${ipaddr} is empty, if yes it set's up some defaults: > - ipaddr : 192.

Re: [U-Boot] [PATCH] net: bootp fix vci string on SPL-Boot

2015-08-25 Thread Joe Hershberger
Hi Hannes, On Tue, Aug 25, 2015 at 5:17 AM, Hannes Schmelzer wrote: > If CONFIG_CMD_DHCP is enabled, the vci (vendor-class-identifier) string > isn't inserted into the bootp-packet during SPL stage because the > > CONFIG_BOOTP_VCI_STRING > instead > CONFIG_SPL_NET_VCI_STRING > > We fix this with

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-25 Thread Simon Glass
Hi Thierry, On 25 August 2015 at 05:02, Thierry Reding wrote: > On Mon, Aug 24, 2015 at 10:58:48AM -0600, Simon Glass wrote: >> +Nikita >> >> Hi Thierry, >> >> On 24 August 2015 at 04:12, Thierry Reding wrote: >> > On Fri, Aug 21, 2015 at 06:37:37PM -0600, Simon Glass wrote: >> > [...] >> >> I h

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-25 Thread Tom Rini
On Tue, Aug 25, 2015 at 05:40:53PM +0200, Paul Kocialkowski wrote: > The SYS_BOOT-based fallback shouldn't only check for one of the conditions of > use and then let the switch/case handle each boot device without enforcing the > conditions for each type of boot device again. > > For instance, th

Re: [U-Boot] [PATCH 1/9] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet"

2015-08-25 Thread Joe Hershberger
Hi Bin, On Tue, Aug 25, 2015 at 4:26 AM, Bin Meng wrote: > Hi Joe, > > On Tue, Aug 25, 2015 at 3:22 PM, Bin Meng wrote: >> Testing either pch_gbe or e1000 driver via tftp command on Intel >> Crown Bay board, shows the following failure. >> >> TFTP error: 'Unsupported option(s) requested' (8)

Re: [U-Boot] [PATCH] net: protect status led access in bootp

2015-08-25 Thread Joe Hershberger
Hi Thomas, On Tue, Aug 25, 2015 at 7:54 AM, Thomas Chou wrote: > This fixes the error when STATUS_LED_BOOT is not defined. > > Signed-off-by: Thomas Chou Acked-by: Joe Hershberger Don't forget to Cc: the maintainer of the area you are patching. Thanks, -Joe __

[U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Adrian Alonso
- Rework imx_thermal driver to be used across i.MX processor that support thermal sensors - Make read_cpu_temperature SoC dependent Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/mx6/soc.c | 86 +++- arch/arm/imx-common/cpu.c

Re: [U-Boot] [PATCH v5 05/13] imx: mx7 dm thermal driver support

2015-08-25 Thread Alonso Adrian
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Sunday, August 23, 2015 11:04 AM > To: Alonso Lazcano Adrian-B38018 ; u- > b...@lists.denx.de; sba...@denx.de; Estevam Fabio-R49496 > > Cc: ota...@ossystems.com.br; Li Frank-B20596 ; > Garg Nitin-B37173

Re: [U-Boot] x86: EFI: boot fails at exit_boot_services - Was: Stuck trying to build a non-qemu EFI payload

2015-08-25 Thread Simon Glass
Hi Igor, On 25 August 2015 at 07:18, Stoppa, Igor wrote: > Hi Simon, > thanks for helping, please find my reply below. > > On 21 August 2015 at 23:51, Simon Glass wrote: > >> Note that once you call exit_boot_services you will not be able to use >> the console. Be careful here - the board may ap

Re: [U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Stefano Babic
Hi Adrian, On 25/08/2015 18:07, Adrian Alonso wrote: > - Rework imx_thermal driver to be used across i.MX > processor that support thermal sensors ok > - Make read_cpu_temperature SoC dependent Agree on that, but why moving into the soc / cpu file ? We have a driver for a specific hardware.

Re: [U-Boot] [PATCH] net: bootp fix vci string on SPL-Boot

2015-08-25 Thread Tom Rini
On Tue, Aug 25, 2015 at 12:17:59PM +0200, Hannes Schmelzer wrote: > If CONFIG_CMD_DHCP is enabled, the vci (vendor-class-identifier) string > isn't inserted into the bootp-packet during SPL stage because the > > CONFIG_BOOTP_VCI_STRING > instead > CONFIG_SPL_NET_VCI_STRING > > We fix this with t

Re: [U-Boot] [PATCH 2/9] net: e1000: Fix build warnings for 32-bit

2015-08-25 Thread Scott Wood
On Tue, 2015-08-25 at 00:22 -0700, Bin Meng wrote: > commit 6497e37 "net: e1000: Support 64-bit physical address" causes > compiler warnings on 32-bit U-Boot build below. > > drivers/net/e1000.c: In function 'e1000_configure_tx': > drivers/net/e1000.c:4982:2: warning: right shift count >= width of

Re: [U-Boot] [RFC PATCH 1/3] expose eth_is_active() function to test network device state

2015-08-25 Thread Bernhard Nortmann
Am 25.08.2015 um 17:55 schrieb Joe Hershberger: > Hi Bernhard, > > [...] > It's good to have a build target and also a test or so. We should > maybe enable it in sandbox. I'm not familiar at all with the U-Boot "sandbox" architecture, so I'd prefer to leave that to someone else. > I'm pretty s

Re: [U-Boot] [PATCH v4 12/33] mkimage: Allow padding to any length

2015-08-25 Thread Joe Hershberger
Hi Simon, On Mon, Aug 24, 2015 at 10:12 AM, Simon Glass wrote: > At present there is an arbitrary limit of 4KB for padding. Rockchip needs > more than that, so remove this restriction. > > Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger ___ U

Re: [U-Boot] [PATCH v4 13/33] mkimage: Allow the original file size to be recorded

2015-08-25 Thread Joe Hershberger
Hi Simon, On Mon, Aug 24, 2015 at 10:12 AM, Simon Glass wrote: > Allow the image handler to store the original input file size so that it > can reference it later. > > Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-

Re: [U-Boot] [RFC PATCH 1/3] expose eth_is_active() function to test network device state

2015-08-25 Thread Joe Hershberger
Hi Bernhard, On Tue, Aug 25, 2015 at 1:01 PM, Bernhard Nortmann wrote: > Am 25.08.2015 um 17:55 schrieb Joe Hershberger: >> Hi Bernhard, >> >> [...] >> It's good to have a build target and also a test or so. We should >> maybe enable it in sandbox. > > I'm not familiar at all with the U-Boot "san

Re: [U-Boot] [PATCH v4 27/33] rockchip: Add an MMC driver

2015-08-25 Thread Andre Przywara
Hi Simon, On 24/08/15 16:12, Simon Glass wrote: > Add an MMC driver which supports RK3288, but may also support other SoCs. > It uses the Designware MMC device. > > Signed-off-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/mmc/Kconfig

Re: [U-Boot] [PATCH v2 06/28] tpm: Move the I2C TPM code into one file

2015-08-25 Thread Christophe Ricard
Hi Simon, Le 25/08/2015 06:13, Simon Glass a écrit : Hi Christophe, On 24 August 2015 at 14:24, Christophe Ricard wrote: Hi Simon, I don't disagree with this patch (from patch 6 to patch 12). However, i believe it would be better to have this driver renamed tpm_i2c_infineon as shown in my pr

Re: [U-Boot] [PATCH v2 20/28] tpm: Check that parse_byte_string() has data to parse

2015-08-25 Thread Christophe Ricard
Hi Simon, Le 25/08/2015 06:13, Simon Glass a écrit : Hi Christophe, On 24 August 2015 at 14:22, Christophe Ricard wrote: Hi Simon, Print an error ? Are you sure ? I guess the comment is not accurate ;). Well returning NULL from parse_byte_string() will cause an error to be printed by the ca

  1   2   >