[U-Boot] [PATCH] arm, at91: add reset controller status register

2015-01-20 Thread Heiko Schocher
add reset controller status register Signed-off-by: Heiko Schocher --- arch/arm/include/asm/arch-at91/at91_rstc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-at91/at91_rstc.h b/arch/arm/include/asm/arch-at91/at91_rstc.h index a942342..e4eb3da 100644 --- a/ar

[U-Boot] [PATCH v1 4/4] arm, at91, taurus: enable WDT

2015-01-20 Thread Heiko Schocher
enable WDT for the taurus board. Signed-off-by: Heiko Schocher --- include/configs/taurus.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/taurus.h b/include/configs/taurus.h index 65468ad..b61dc2d 100644 --- a/include/configs/taurus.h +++ b/include/configs/taurus.h @

[U-Boot] [PATCH v1 3/4] arm, at91, wdt: make timeout configurable

2015-01-20 Thread Heiko Schocher
make the HW WDT timeout configurable through the define CONFIG_AT91_HW_WDT_TIMEOUT. Signed-off-by: Heiko Schocher --- README | 3 +++ drivers/watchdog/at91sam9_wdt.c | 4 2 files changed, 7 insertions(+) diff --git a/README b/README index fefa71c..5cce4c2 100644 -

[U-Boot] [PATCH v1 2/4] common/board_f: add at91 wdt

2015-01-20 Thread Heiko Schocher
call hw_watchdog_init() also if CONFIG_AT91SAM9_WATCHDOG is used. Signed-off-by: Heiko Schocher --- common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 3a4b32c..693a75c 100644 --- a/common/board_f.c +++ b/common/board_f.

[U-Boot] [PATCH v1 1/4] arm, at91, wdt: do not disable WDT in SPL

2015-01-20 Thread Heiko Schocher
if CONFIG_AT91SAM9_WATCHDOG is set, do not disable WDT in SPL Signed-off-by: Heiko Schocher --- arch/arm/cpu/at91-common/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c index 6473320..aaa5eec 100644 --- a/arch/arm/cp

Re: [U-Boot] [PATCH] board_f: save "malloc_base" from zeroing in case of CONFIG_SYS_MALLOC_F_LEN

2015-01-20 Thread Albert ARIBAUD
Hello Alexey, On Tue, 20 Jan 2015 13:06:57 +, Alexey Brodkin wrote: > Hi Albert, > > On Tue, 2015-01-20 at 08:07 +0100, Albert ARIBAUD wrote: > > Hello Alexey, > > > > On Mon, 19 Jan 2015 20:55:03 +0300, Alexey Brodkin > > wrote: > > > In case of CONFIG_SYS_MALLOC_F_LEN "malloc_base" is us

Re: [U-Boot] Disable tftp and access

2015-01-20 Thread Albert ARIBAUD
Hello Jakub, On Tue, 20 Jan 2015 20:09:21 +0100, Jakub Jančo wrote: > Hello, > > I want to disable uboot tftp on my device and if uboot allow some > login/access(eg. by console) then disable it too. > > My aim is to lock uboot except booting image(OS), I want manage it only > from OS(changing e

Re: [U-Boot] [PATCH 05/12] sunxi: Move setting of CPU system control register SMP bit to save_boot_params

2015-01-20 Thread Albert ARIBAUD
Hello Hans, On Tue, 20 Jan 2015 15:32:34 +0100, Hans de Goede wrote: > Hi, > > On 20-01-15 11:22, Albert ARIBAUD wrote: > > Hello Hans, > > > > I'm leaning toward grouping all CP15 inits (including cache(s) > > and TLB disabling and maybe VBAR setting) in a single CP15 call to > > a single soc_i

Re: [U-Boot] [PATCH v3] Enable journal replay for UBIFS

2015-01-20 Thread Heiko Schocher
Hello Anton, Am 20.01.2015 15:22, schrieb Anton Habegger: Hello Heiko Thank you fro the review. I added atomic_long_read in ubifs.h as for other atomic operations. Hmm.. I see, there are other missing "atomic" defines for UBI also ... Ok, I tend to accept your patch, but the correct way would

[U-Boot] [PATCH v2 1/3] ARM: UniPhier: use for readability

2015-01-20 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v2: - Split into two patches arch/arm/include/asm/arch-uniphier/sg-regs.h | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm/include/asm/arch-uniphier/sg-regs.h b/arch/arm/include/asm/arch-uni

[U-Boot] [PATCH v2 2/3] ARM: UniPhier: rename SG_MEMCONF_* macros for readability

2015-01-20 Thread Masahiro Yamada
Match the suffixes of SG_MEMCONF_* macros with SZ_* macros defined by for readability. Signed-off-by: Masahiro Yamada --- Changes in v2: - Split into two patches arch/arm/include/asm/arch-uniphier/sg-regs.h | 40 ++-- 1 file changed, 20 insertions(+), 20 deletions(-)

[U-Boot] [PATCH v2 0/3] ARM: UniPhier: fix SocGlue header

2015-01-20 Thread Masahiro Yamada
Masahiro Yamada (3): ARM: UniPhier: use for readability ARM: UniPhier: rename SG_MEMCONF_* macros for readability ARM: UniPhier: add SG_MEMCONF macros for DDR channel 2 arch/arm/include/asm/arch-uniphier/sg-regs.h | 109 +++ 1 file changed, 77 insertions(+), 32 d

[U-Boot] [PATCH v2 3/3] ARM: UniPhier: add SG_MEMCONF macros for DDR channel 2

2015-01-20 Thread Masahiro Yamada
PH1-sLD3, PH1-LD6b have DDR channel 2. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/include/asm/arch-uniphier/sg-regs.h | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/include/asm/arch-uniphier/sg-regs.h b/arch/arm/include/asm/arch

[U-Boot] [PATCH] ARM: UniPhier: remove non-sense inline directives

2015-01-20 Thread Masahiro Yamada
The inlining is done by GCC when needed, there is no need to do it explicitly. Furthermore, the inline keyword does not force-inline the code, but is only a hint for the compiler. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/uniphier/ph1-ld4/umc_init.c | 4 ++-- arch/arm/cpu/armv7/uni

[U-Boot] [PATCH v2] ARM: UniPhier: add static to local functions

2015-01-20 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix umc_init.c too arch/arm/cpu/armv7/uniphier/ph1-ld4/pll_init.c | 6 +++--- arch/arm/cpu/armv7/uniphier/ph1-ld4/umc_init.c | 4 ++-- arch/arm/cpu/armv7/uniphier/ph1-pro4/pll_init.c | 6 +++--- arch/arm/cpu/armv7/uniphier/ph1-pro4/umc_ini

Re: [U-Boot] Problem Mounting/Unmounting several UBI volumes in u-boot.

2015-01-20 Thread Heiko Schocher
Hello Konstantyn, Am 20.01.2015 17:09, schrieb Konstantyn Prokopenko: Hello, I'm using the latest u-boot on our custom board. The u-boot is located on the NAND flash in the first 4MB partition. I break 256MB NAND into 4 MTD partitions: u-boot(4MB), kernel(4MB), rootfs(100MB), safefs(40MB), va

Re: [U-Boot] [PATCH 00/11] Add support for booting multiple cores

2015-01-20 Thread Akshay Saraswat
Hi Kevin, > >Akshay Saraswat writes: > >> This patch series introduces changes for booting secondary CPUs >> on Exynos5420 and Exynos5800. > >Thanks for this series. I think this should help get the odroid-xu3 >behave better with the mainline linux kernel (assuming I can get it >working with ma

[U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static

2015-01-20 Thread Joonyoung Shim
The dwc3_set_mode function is used only in drivers/usb/host/xhci-exynos5.c so make it to static. Signed-off-by: Joonyoung Shim --- drivers/usb/host/xhci-exynos5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c

[U-Boot] [PATCH] EXYNOS5: Add function to enable exynos5420 usbdev phy ctrl

2015-01-20 Thread Joonyoung Shim
Exynos5420 has different registers with other exynos5 SoCs to control usb device phy, so need separated function to enable exynos5420 usb device phy. Signed-off-by: Joonyoung Shim --- I used "usbdev" instead of "usbdrd" on function name because registers name prefix is usbdev_. arch/arm/cpu/arm

[U-Boot] [PATCH] lcd: fix console address is not initialized

2015-01-20 Thread Bo Shen
This commit 904672e (lcd: refactor lcd console stuff into its own file), which cause lcd console address is not initialized. This patch split lcd console address initialize and lcd logo display into two functions. Signed-off-by: Bo Shen --- common/lcd.c | 11 --- 1 file changed, 8 inse

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-20 Thread Bin Meng
Hi, On Wed, Jan 21, 2015 at 3:05 AM, Simon Glass wrote: > Hi Sjoerd, > > On 20 January 2015 at 10:06, Sjoerd Simons > wrote: >> commit a62e84d7b1824a202dd incorrectly changed the tegra pci code to the >> new fdtdec pci helpers. To get the device index of the root port, the >> "reg" property shou

Re: [U-Boot] [PATCH v2] dm:gpio:mxc add DT support

2015-01-20 Thread Peng Fan
Hi, Igor On 1/20/2015 10:39 PM, Igor Grinberg wrote: On 01/20/15 09:15, Peng Fan wrote: This patch add DT support for mxc gpio driver. Include a bank_index entry in platdata. This can avoid using `plat - mxc_plat` to calculate bank number. Also this can simplify code. Although, I don't insist

[U-Boot] [PATCH] mpc837xerdb: "fix Calling __hwconfig without a buffer" warning

2015-01-20 Thread Sinan Akman
Signed-off-by: Sinan Akman --- board/freescale/mpc837xerdb/mpc837xerdb.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index e0a1031..565f815 100644 --- a/board/freescale/mpc837

Re: [U-Boot] [PATCH] fdt: pci: Permit use of reg property for setting device address

2015-01-20 Thread Bin Meng
Hi Simon, On Tue, Jan 20, 2015 at 10:31 PM, Simon Glass wrote: > +Thierry > > Hi Bin, > > On 20 January 2015 at 05:59, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Jan 20, 2015 at 11:19 AM, Simon Glass wrote: >>> In commit a62e84d the old functionality of obtaining a PCI address from the >>> 'reg

Re: [U-Boot] [PATCH 1/2] dm: i2c: Rename driver model I2C functions to permit compatibility

2015-01-20 Thread Simon Glass
On 12 January 2015 at 18:02, Simon Glass wrote: > Add a dm_ prefix to driver model I2C functions so that we can keep the old > ones around. > > This is a little unfortunate, but on reflection it is too difficult to > change the API. We can undo this rename when most boards and drivers are > conver

Re: [U-Boot] [PATCH 2/2] dm: i2c: Add a compatbility layer

2015-01-20 Thread Simon Glass
On 12 January 2015 at 18:02, Simon Glass wrote: > For boards which use multiple I2C devices, or for SOCs which support > multiple boards, we might want to convert these to driver model at different > times. At present this is difficult because we need to either use > CONFIG_DM_I2C for a board or n

Re: [U-Boot] [PATCH] dm: Drop gpio.h header from fdtdec.c

2015-01-20 Thread Simon Glass
On 15 January 2015 at 09:19, Simon Glass wrote: > Since GPIO support has now moved to the driver model uclass, we can drop > this include. > > Signed-off-by: Simon Glass > --- > > lib/fdtdec.c | 2 -- > 1 file changed, 2 deletions(-) Applied to u-boot-dm. ___

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 3:38 PM, Suriyan Ramasami wrote: > Hello Kevin, > > On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami wrote: >> Hello Kevin, >> >> On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman wrote: >>> Suriyan Ramasami writes: >>> Hello Kevin, These are the

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-01-20 Thread Dinh Nguyen
On 01/14/2015 05:34 PM, Marek Vasut wrote: > On Wednesday, January 14, 2015 at 05:40:41 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen > > Hi! > >> This adds the code to configure the SDRAM controller that is found in the >> SoCFGPA Cyclone5 and Arria5 platforms. >> >> Signed-

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami wrote: > Hello Kevin, > > On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman wrote: >> Suriyan Ramasami writes: >> >>> Hello Kevin, >>>These are the changes that would be necessary in uboot mainline for SPL: >>> >>> arch/arm/cpu/armv

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman wrote: > Suriyan Ramasami writes: > >> Hello Kevin, >>These are the changes that would be necessary in uboot mainline for SPL: >> >> arch/arm/cpu/armv7/exynos/Kconfig >> - select OF_CONTROL >> + select SUPPORT_SPL >> +

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Kevin Hilman
Suriyan Ramasami writes: > Hello Kevin, >These are the changes that would be necessary in uboot mainline for SPL: > > arch/arm/cpu/armv7/exynos/Kconfig > - select OF_CONTROL > + select SUPPORT_SPL > + select OF_CONTROL if !SPL_BUILD > > configs/odroid-xu3_defconfig > +CONFIG

[U-Boot] [PATCH 4/4] usb: fastboot: implement fastboot

2015-01-20 Thread Steve Rae
- add "bcm_usb_gadget.c" - implement fastboot on 'bcm28155_ap' boards Signed-off-by: Steve Rae --- drivers/usb/gadget/Makefile | 2 + drivers/usb/gadget/bcm_usb_gadget.c | 240 include/configs/bcm28155_ap.h | 20 ++- 3 files changed, 261 ins

[U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-20 Thread Steve Rae
Implement the UDC support for the USB OTG interface. Signed-off-by: Steve Rae --- This commit is not checkpatch clean - however, there seems to be no way to remove this warning: "warning: drivers/usb/gadget/bcm_udc_otg.c,97: Adding new packed members is to be done with care" drivers

[U-Boot] [PATCH 3/4] usb: update 'sysmap.h'

2015-01-20 Thread Steve Rae
Add the required definitions for the USB OTG interface. Signed-off-by: Steve Rae --- arch/arm/include/asm/arch-bcm281xx/sysmap.h | 141 1 file changed, 141 insertions(+) diff --git a/arch/arm/include/asm/arch-bcm281xx/sysmap.h b/arch/arm/include/asm/arch-bcm281xx/

[U-Boot] [PATCH 1/4] usb: gadget: fastboot: add CONFIG_FASTBOOT_NO_GADGET support

2015-01-20 Thread Steve Rae
Implement fastboot_func_init() which provides a minimalistic setup of the USB endpoints and requests required by the fastboot gadget. Signed-off-by: Steve Rae --- drivers/usb/gadget/f_fastboot.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers

[U-Boot] [PATCH 0/4] This series implements fastboot on the "bcm28155_ap" boards.

2015-01-20 Thread Steve Rae
Since a complete "gadget" implementation is not available yet, this series provides a method for interfacing the existing gadget code with the UDC driver code. Steve Rae (4): usb: gadget: fastboot: add CONFIG_FASTBOOT_NO_GADGET support usb: add 'bcm_udc_otg' support usb: update 'sysmap.h'

Re: [U-Boot] [PATCH 00/11] Add support for booting multiple cores

2015-01-20 Thread Kevin Hilman
Akshay Saraswat writes: > This patch series introduces changes for booting secondary CPUs > on Exynos5420 and Exynos5800. Thanks for this series. I think this should help get the odroid-xu3 behave better with the mainline linux kernel (assuming I can get it working with mainline u-boot/SPL.)

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Kevin, These are the changes that would be necessary in uboot mainline for SPL: arch/arm/cpu/armv7/exynos/Kconfig - select OF_CONTROL + select SUPPORT_SPL + select OF_CONTROL if !SPL_BUILD configs/odroid-xu3_defconfig +CONFIG_SPL=y include/configs/odroid_xu3.h #undef C

Re: [U-Boot] Pull request: u-boot-mmc 19012015

2015-01-20 Thread Tom Rini
On Mon, Jan 19, 2015 at 05:50:26PM +0200, Pantelis Antoniou wrote: > The following changes since commit ab77f24119e80257de4ab017b877f92f96980562: > > Merge branch 'master' of git://git.denx.de/u-boot-ti (2015-01-16 10:25:01 > -0500) > > are available in the git repository at: > > > git://

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

2015-01-20 Thread Tom Rini
On Thu, Jan 15, 2015 at 08:39:45PM +, Alexey Brodkin wrote: > Dear Tom, > > The following changes since commit > 28c4dae114c9b94b2ad81d4da716e9fc2cba: > > Merge branch 'next' of git://git.denx.de/u-boot-video (2015-01-14 > 16:26:15 -0500) > > are available in the git repository at: >

Re: [U-Boot] [U-Boot,PULL] u-boot-usb/master

2015-01-20 Thread Tom Rini
On Sun, Jan 18, 2015 at 12:33:47PM +0100, Marek Vasut wrote: > The following changes since commit ab77f24119e80257de4ab017b877f92f96980562: > > Merge branch 'master' of git://git.denx.de/u-boot-ti (2015-01-16 10:25:01 > -0500) > > are available in the git repository at: > > git://git.denx.

Re: [U-Boot] [PATCH] MAINTAINERS: add me as the maintainer of mpc837xerdb

2015-01-20 Thread Tom Rini
On Sat, Jan 17, 2015 at 06:54:52PM -0500, Sinan Akman wrote: > Signed-off-by: Sinan Akman > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://list

[U-Boot] [PATCH] sunxi: Only compile board.o for CONFIG_SPL_BUILD

2015-01-20 Thread Tom Rini
All of the code in arch/arm/cpu/armv7/sunxi/board.c was under a check for CONFIG_SPL_BUILD so instead only build for SPL. This lets us drop a hunk of code that was never enabled. Cc: Hans de Goede Cc: Ian Campbell Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/sunxi/Makefile |2 +- arch/a

Re: [U-Boot] [U-Boot,8/9] imx: ls102xa: Remove reference to gdata

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:58PM -0700, Simon Glass wrote: > The global_data pointer (gd) has already been set before board_init_f() > is called. We should not assign it again. We should also not use gdata since > it is going away. > > Signed-off-by: Simon Glass Applied to u-boot/master, than

Re: [U-Boot] [PATCH] Use generic board architecture for MPC837xERDB

2015-01-20 Thread Tom Rini
On Sat, Jan 17, 2015 at 02:09:13AM -0500, Sinan Akman wrote: > Signed-off-by: Sinan Akman > Cc: kim.phill...@freescale.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [U-Boot, 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:52PM -0700, Simon Glass wrote: > The current sunxi implementation uses gdata, which is going away. It also > sets up DRAM before board_init_f() in SPL. > > There is really no reason to do much in s_init() since board_init_f() is > called immediately afterwards. The o

Re: [U-Boot] [U-Boot,1/9] arm: Add warnings about using gdata

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:51PM -0700, Simon Glass wrote: > We need to get rid of this SPL-specific setting of the global_data pointer. > It is already set up in start.S immediately before board_init_f() is called, > and there may be information there that is needed (e.g. pre-reloc malloc > inf

Re: [U-Boot] [U-Boot,6/9] imx: cm_fx6: Remove reference to gdata

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:56PM -0700, Simon Glass wrote: > The global_data pointer (gd) has already been set before board_init_f() > is called. We should not assign it again. We should also not use gdata since > it is going away. > > Signed-off-by: Simon Glass > Acked-by: Igor Grinberg > Te

Re: [U-Boot] [U-Boot,3/9] sunxi: Drop use of lowlevel_init()

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:53PM -0700, Simon Glass wrote: > This does nothing now, so drop it. We have SPL anyway to do our low-level > init. > > Signed-off-by: Simon Glass > Acked-by: Ian Campbell Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,5/9] zynq: Remove reference to gdata

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:55PM -0700, Simon Glass wrote: > The global_data pointer (gd) has already been set before board_init_f() > is called. We should not assign it again. We should also not use gdata since > it is going away. > > Signed-off-by: Simon Glass Applied to u-boot/master, than

Re: [U-Boot] [U-Boot,7/9] imx: woodburn: Remove reference to gdata

2015-01-20 Thread Tom Rini
On Tue, Dec 23, 2014 at 12:04:57PM -0700, Simon Glass wrote: > The global_data pointer (gd) has already been set before board_init_f() > is called. We should not assign it again. We should also not use gdata since > it is going away. > > Signed-off-by: Simon Glass > Acked-by: Stefano Babic App

Re: [U-Boot] [U-Boot, RFT, 1/2] TI ARMv7: Don't use GD before crt0.S has set it

2015-01-20 Thread Tom Rini
On Fri, Dec 19, 2014 at 04:53:24PM -0500, Tom Rini wrote: > Prior to this change we set the gd pointer early so that we can store > data in it. This becomes problematic for DM changes as well as being > odd in general. Re-work the code paths so that we don't need to set the > gd pointer so early

Re: [U-Boot] U-Boot warnings on Nokia N900

2015-01-20 Thread Tom Rini
On Thu, Jan 15, 2015 at 10:18:01AM +0100, Pali Rohár wrote: > On Thursday 15 January 2015 10:07:05 Pali Rohár wrote: > > Hello, > > > > when starting U-Boot (from git master) on Nokia N900 it show > > lot of these lines on N900 screen: > > > > Timed out in wait_for_event: status= > > Check if

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Kevin Hilman
Hello Suriyan, Suriyan Ramasami writes: > Hello Sjoerd Simons, >A signed BL2 which allows unsigned BL2 chain load is already > available for experimentation. Refer this link: > http://forum.odroid.com/viewtopic.php?f=98&t=6147#p58984 > The suriyan.bl2-hkxu3.1212.5422.zip blob contains a sign

Re: [U-Boot] [RFC 1/1] ARM: Add ARMv7-M support

2015-01-20 Thread Tom Rini
On Wed, Jan 07, 2015 at 12:57:27AM +0100, re...@wp.pl wrote: > From: Kamil Lulko > > I am working on STM32F429-Discovery board support for U-Boot. This is a > low-cost and fun board boasting LCD screen, bells and whistles for just under > 24$. This board seems to be popular in commercial envir

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Suriyan Ramasami
Hello Sjoerd Simons, A signed BL2 which allows unsigned BL2 chain load is already available for experimentation. Refer this link: http://forum.odroid.com/viewtopic.php?f=98&t=6147#p58984 The suriyan.bl2-hkxu3.1212.5422.zip blob contains a signed BL2 which allows the same. The layout of SD card i

[U-Boot] Problem Mounting/Unmounting several UBI volumes in u-boot.

2015-01-20 Thread Konstantyn Prokopenko
Hello, I'm using the latest u-boot on our custom board. The u-boot is located on the NAND flash in the first 4MB partition. I break 256MB NAND into 4 MTD partitions: u-boot(4MB), kernel(4MB), rootfs(100MB), safefs(40MB), varfs(108MB). We are using Freescale iMX6 processor (nitrogen6x BSP in u-bo

[U-Boot] Disable tftp and access

2015-01-20 Thread Jakub Jančo
Hello, I want to disable uboot tftp on my device and if uboot allow some login/access(eg. by console) then disable it too. My aim is to lock uboot except booting image(OS), I want manage it only from OS(changing env variables only from OS) I want to ask what env variables I should change to disa

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-20 Thread Simon Glass
Hi Sjoerd, On 20 January 2015 at 10:06, Sjoerd Simons wrote: > commit a62e84d7b1824a202dd incorrectly changed the tegra pci code to the > new fdtdec pci helpers. To get the device index of the root port, the > "reg" property should be parsed from the dtb (as was previously the > case). > > With t

[U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-20 Thread Sjoerd Simons
commit a62e84d7b1824a202dd incorrectly changed the tegra pci code to the new fdtdec pci helpers. To get the device index of the root port, the "reg" property should be parsed from the dtb (as was previously the case). With this patch i can successfully network boot my jetson tk1 Signed-off-by: Sj

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Sjoerd Simons
(Corrected the u-boot list address in the cc of this thread and added Kevin hilman who is also quite interested in this topic) On Tue, 2015-01-20 at 10:36 +0100, Sjoerd Simons wrote: > Hey Suriyan, > > I just noticed the patchset Akshay Saraswat sent (Add support for > booting multiple cores), w

Re: [U-Boot] [PATCH 0/25] tegra: Add eDP support for nyan-big

2015-01-20 Thread Simon Glass
Hi Tom, On 1 December 2014 at 17:48, Simon Glass wrote: > > This series adds eDP support for nyan-bg so that the display works. > > Nyan-big is based on tegra124. > > Some support is added for new clocks to make this work. The drm_dp_helper.h > file is brought in from Linux since many of the Disp

Re: [U-Boot] [PATCH 1/3] common: board: support systems with where RAM ends beyond 4GB

2015-01-20 Thread Tom Warren
I've merged that patch series w/u-boot-tegra/next and /master, done a MAKEALL -s tegra, and rebased against ARM /master and pushed to denx.de. Stephen - please test and if it looks OK, I'll prepare a PR. > -Original Message- > From: Tom Warren > Sent: Tuesday, January 20, 2015 8:28 AM >

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Add support for DDR mode

2015-01-20 Thread Volodymyr Riazantsev
Hi Pantelis, On Mon, Jan 19, 2015 at 10:47 AM, Pantelis Antoniou wrote: > > Hi Volodymyr, > > > On Jan 14, 2015, at 22:46 , Volodymyr Riazantsev > > wrote: > > > > Add support of the DDR mode for eSDHC driver. > > Enable it for i.MX6 SoC family only. > > > > Change-Id: Ie27a945c9fe79d044cc886e2

Re: [U-Boot] [PATCH 1/3] common: board: support systems with where RAM ends beyond 4GB

2015-01-20 Thread Tom Warren
Sorry, missed this. Yes, looks good to me. I can apply it to u-boot-tegra/master, or TomR can take it in to master U-Boot directly. Tom > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, January 19, 2015 3:57 PM > To: u-boot@lists.denx.de; Simon Gl

Re: [U-Boot] [PATCH v2] usb: musb-new: omap2430: Reset the MUSB controller early

2015-01-20 Thread Tom Rini
On Mon, Jan 19, 2015 at 06:33:43PM +0100, Paul Kocialkowski wrote: > When booting from USB peripheral boot, the bootrom will not properly deinit > the > MUSB controller, which doesn't clearly indicate an USB disconnection to the > host > and leaves U-Boot to deal with the state of the previous U

[U-Boot] [PATCH v2] mmc: fsl_esdhc: Add support for DDR mode

2015-01-20 Thread Volodymyr Riazantsev
Add support of the DDR mode for eSDHC driver. Enable it for i.MX6 SoC family only. Change-Id: Ie27a945c9fe79d044cc886e269b60747f1744116 Signed-off-by: Volodymyr Riazantsev --- drivers/mmc/fsl_esdhc.c | 8 ++-- include/configs/mx6_common.h | 2 ++ include/fsl_esdhc.h | 1 + 3 fi

Re: [U-Boot] Standalone API examples on the P4080DS

2015-01-20 Thread David George
Thank you very much for this Peter, it's much appreciated, and should hopefully stop anyone else falling into the same trap! Thanks! Dave George On 16/01/2015 17:08, Peter Tyser wrote: Hi David, It looks like the entry point is 0x4. Why does the tutorial state that the example needs to

Re: [U-Boot] [PATCH] sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet

2015-01-20 Thread Hans de Goede
Hi, On 19-01-15 21:16, Priit Laes wrote: Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It also has MicroSD slo

Re: [U-Boot] [PATCH v2] dm:gpio:mxc add DT support

2015-01-20 Thread Igor Grinberg
On 01/20/15 09:15, Peng Fan wrote: > This patch add DT support for mxc gpio driver. > > Include a bank_index entry in platdata. This can avoid using > `plat - mxc_plat` to calculate bank number. Also this can simplify code. Although, I don't insist, but I would recommend to split the patch into 2

Re: [U-Boot] [PATCH] sunxi: video: Use frontend for dma on sun4i to fix memory bandwidth problems

2015-01-20 Thread Hans de Goede
Hi, On 20-01-15 10:14, Ian Campbell wrote: On Mon, 2015-01-19 at 11:29 +0100, Hans de Goede wrote: Testing has shown that on sun4i the display backend engine does not have deep enough fifo-s causing flickering / tearing in full-hd mode due to fifo underruns. On sun4i use the display frontend en

Re: [U-Boot] [PATCH 05/12] sunxi: Move setting of CPU system control register SMP bit to save_boot_params

2015-01-20 Thread Hans de Goede
Hi, On 20-01-15 11:22, Albert ARIBAUD wrote: Hello Hans, On Mon, 19 Jan 2015 20:04:58 +0100, Hans de Goede wrote: Hi, On 17-01-15 23:51, Ian Campbell wrote: On Thu, 2015-01-15 at 15:52 +0100, Hans de Goede wrote: According to the "Cortex-A7 MPCore Technical Reference Manual": "You must en

Re: [U-Boot] [PATCH] fdt: pci: Permit use of reg property for setting device address

2015-01-20 Thread Simon Glass
+Thierry Hi Bin, On 20 January 2015 at 05:59, Bin Meng wrote: > Hi Simon, > > On Tue, Jan 20, 2015 at 11:19 AM, Simon Glass wrote: >> In commit a62e84d the old functionality of obtaining a PCI address from the >> 'reg' property was lost. Add it back, so we can support both a compatible >> strin

[U-Boot] [PATCH v3] Enable journal replay for UBIFS

2015-01-20 Thread Anton Habegger
Hello Heiko Thank you fro the review. I added atomic_long_read in ubifs.h as for other atomic operations. I hope (but I can't garantee) by this time the mail is well formed. If not please tell me again. During mount_ubifs the ubifs_replay_journal was disabled. This patch enables it again and fi

[U-Boot] [RFC PATCH 0/5] avr32: add generic board

2015-01-20 Thread Andreas Bießmann
This is the first attempt to add generic board support to avr32 architecture. It has at least one relevant part for other manual reloc architectures. This series is currently runtime tested on grasshhopper only. I expect some changes regarding LCD support when testing the code on atstk1002. The DM

[U-Boot] u-boot tools and build system

2015-01-20 Thread Raphael Philipe
Hi, I'm working on the improvement of the recipes of u-boot in the Poky reference system of Yocto project. To do this, I need to fully understand the build system used in u-boot, mainly the u-boot tools (tools, env ..). My questions are: - what is the build system used in u-boot? - Does this b

Re: [U-Boot] [RFC PATCH 0/5] avr32: add generic board

2015-01-20 Thread Andreas Bießmann
On 01/20/2015 12:29 AM, Andreas Bießmann wrote: > This is the first attempt to add generic board support to avr32 architecture. > It > has at least one relevant part for other manual reloc architectures. > > This series is currently runtime tested on grasshhopper only. I expect some > changes reg

Re: [U-Boot] [PATCH] arm: spl: Allow board_init_r() to run with a larger stack

2015-01-20 Thread Albert ARIBAUD
Hello Simon, On Mon, 19 Jan 2015 12:39:34 -0700, Simon Glass wrote: > Hi Albert, > > On 18 January 2015 at 23:54, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Sun, 18 Jan 2015 11:55:36 -0700, Simon Glass > > wrote: > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or > >> C

[U-Boot] [RFC PATCH 4/5] avr32: add generic board support

2015-01-20 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- arch/avr32/config.mk|3 +++ arch/avr32/cpu/u-boot.lds |2 ++ arch/avr32/include/asm/config.h |1 + arch/avr32/include/asm/u-boot.h |7 +++ arch/avr32/lib/Makefile |2 ++ arch/avr32/lib/interrupts.c |5 +

[U-Boot] [PATCH v2 2/2] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-20 Thread Hans de Goede
Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a lcd controller which needs to be initialized over SPI, once that is done they work like a regular LVDS panel. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 7 +++ drivers/video/sunxi_display.c | 12 +++

[U-Boot] [PATCH v2 1/2] video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-20 Thread Hans de Goede
Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a lcd controller which needs to be initialized over SPI, once that is done they work like a regular LVDS panel. Signed-off-by: Hans de Goede --- drivers/video/Kconfig | 15 +-- drivers/video/Makefile

[U-Boot] [PATCH v2 0/2] video: Add support for Hitachi tx18d42vm LVDS LCD

2015-01-20 Thread Hans de Goede
Hi Anatolij, Here is v2 of my Hitachi tx18d42vm LVDS LCD support patches. You already acked v1, but v1 was sunxi specific and following the example of the ssd2828 patches I've decided to respin the patch to make the hitachi tx18d42vm bits generic so that they can be used by non sunxi boards too.

Re: [U-Boot] [PATCH 1/2] mtd:mxs:nand calculate ecc strength dynamically

2015-01-20 Thread Peng Fan
Hi, Marek On 1/20/2015 7:04 PM, Marek Vasut wrote: On Tuesday, January 20, 2015 at 07:35:26 AM, Peng Fan wrote: Hi Marek, Since you are familiar with this driver, would you please help review this patch? Hi! I commented on both. Next time, please CC me and Stefano, since the patches might sl

Re: [U-Boot] [linux-sunxi] [u-boot 2/2] sun5i: bump DEBE priority (useful on a10s only)

2015-01-20 Thread Hans de Goede
Hi, On 20-01-15 09:16, Siarhei Siamashka wrote: On Mon, 19 Jan 2015 06:29:47 +0200 Siarhei Siamashka wrote: On Sun, 04 Jan 2015 20:49:38 +0100 Hans de Goede wrote: Hi, On 04-01-15 20:19, Michal Suchanek wrote: Setting magic 'reserved' hpcr bit on sun5i DEBE seems required for smo

Re: [U-Boot] [PATCH 2/2] mtd:mxs:nand support oobsize bigger than 512

2015-01-20 Thread Peng Fan
Hi, Marek On 1/20/2015 7:03 PM, Marek Vasut wrote: On Friday, December 19, 2014 at 05:39:13 AM, Peng Fan wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch ecc area. The following graph is modified from kernel gp

Re: [U-Boot] [PATCH] board_f: save "malloc_base" from zeroing in case of CONFIG_SYS_MALLOC_F_LEN

2015-01-20 Thread Alexey Brodkin
Hi Albert, On Tue, 2015-01-20 at 08:07 +0100, Albert ARIBAUD wrote: > Hello Alexey, > > On Mon, 19 Jan 2015 20:55:03 +0300, Alexey Brodkin > wrote: > > In case of CONFIG_SYS_MALLOC_F_LEN "malloc_base" is used for early > > start-up code and is set very early, typically in "start.S" or "crt1.S".

Re: [U-Boot] [PATCH] fdt: pci: Permit use of reg property for setting device address

2015-01-20 Thread Bin Meng
Hi Simon, On Tue, Jan 20, 2015 at 11:19 AM, Simon Glass wrote: > In commit a62e84d the old functionality of obtaining a PCI address from the > 'reg' property was lost. Add it back, so we can support both a compatible > string list and a 'reg' property. > > This patch fixes PCIe ethernet on Tegra

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-20 Thread Alexey Brodkin
Hi Simon, On Mon, 2015-01-19 at 16:34 -0700, Simon Glass wrote: > Hi Andreas, > Why do you need manual reloc? Is this a toolchain bug? >From my experience the only way to escape manual relocation is to use PIE (Position Independent Executable), but this might not be supported in a toolchain for

Re: [U-Boot] printf and R9 in ARM architecture

2015-01-20 Thread Albert ARIBAUD
Hello Thomas, On Tue, 20 Jan 2015 19:34:32 +0800, Da Shi Cao wrote: > No, I didn't use that option. This option should fix it. Please also look at other options used for hello_world, as you might hit other compatibility-related issues if you're not using the same ones. > Thanks a lot. No prob

Re: [U-Boot] printf and R9 in ARM architecture

2015-01-20 Thread Da Shi Cao
No, I didn't use that option. This option should fix it. Thanks a lot. Thomas On Tue, Jan 20, 2015 at 5:37 PM, Albert ARIBAUD wrote: > Hello Dashi Cao, > > On Tue, 20 Jan 2015 14:12:35 +0800, Da Shi Cao > wrote: >> In standalone applications, it seems that the execution of printf >> function in

Re: [U-Boot] [PATCH 1/2] mtd:mxs:nand calculate ecc strength dynamically

2015-01-20 Thread Marek Vasut
On Tuesday, January 20, 2015 at 07:35:26 AM, Peng Fan wrote: > Hi Marek, > > Since you are familiar with this driver, would you please help review > this patch? Hi! I commented on both. Next time, please CC me and Stefano, since the patches might slip just like this one did. Thank you for this

Re: [U-Boot] [PATCH 1/2] mtd:mxs:nand calculate ecc strength dynamically

2015-01-20 Thread Marek Vasut
On Friday, December 19, 2014 at 05:39:12 AM, Peng Fan wrote: > Calculate ecc strength according oobsize, but not hardcoded > which is not aligned with kernel driver > > Signed-off-by: Peng Fan > Signed-off-by: Ye.Li Reviewed-by: Marek Vasut Best regards, Marek Vasut __

Re: [U-Boot] printf and R9 in ARM architecture

2015-01-20 Thread Marek Vasut
On Tuesday, January 20, 2015 at 07:12:35 AM, Da Shi Cao wrote: > In standalone applications, it seems that the execution of printf > function in U-Boot is dependent on the value of register R9, which is > setup in app_startup. But r9 can be used by your program at the > decision of gcc compilation

Re: [U-Boot] [PATCH 2/2] mtd:mxs:nand support oobsize bigger than 512

2015-01-20 Thread Marek Vasut
On Friday, December 19, 2014 at 05:39:13 AM, Peng Fan wrote: > If ecc chunk data size is 512 and oobsize is bigger than 512, there is > a chance that block_mark_bit_offset conflicts with bch ecc area. > > The following graph is modified from kernel gpmi-nand.c driver with each > data block 512 byt

Re: [U-Boot] [PATCH 05/12] sunxi: Move setting of CPU system control register SMP bit to save_boot_params

2015-01-20 Thread Albert ARIBAUD
Hello Hans, On Mon, 19 Jan 2015 20:04:58 +0100, Hans de Goede wrote: > Hi, > > On 17-01-15 23:51, Ian Campbell wrote: > > On Thu, 2015-01-15 at 15:52 +0100, Hans de Goede wrote: > >> According to the "Cortex-A7 MPCore Technical Reference Manual": > >> > >> "You must ensure this bit is set to 1 b

Re: [U-Boot] printf and R9 in ARM architecture

2015-01-20 Thread Albert ARIBAUD
Hello Dashi Cao, On Tue, 20 Jan 2015 14:12:35 +0800, Da Shi Cao wrote: > In standalone applications, it seems that the execution of printf > function in U-Boot is dependent on the value of register R9, which is > setup in app_startup. But r9 can be used by your program at the > decision of gcc co

Re: [U-Boot] [PATCH] sunxi: video: Use frontend for dma on sun4i to fix memory bandwidth problems

2015-01-20 Thread Ian Campbell
On Mon, 2015-01-19 at 11:29 +0100, Hans de Goede wrote: > Testing has shown that on sun4i the display backend engine does not have > deep enough fifo-s causing flickering / tearing in full-hd mode due to > fifo underruns. On sun4i use the display frontend engine to do the dma from > memory, as the

[U-Boot] [PATCH] arm, imx6, aristainetos: board updates

2015-01-20 Thread Heiko Schocher
- use linux display timing settings - change backlight duty cycle 500ns - some defaultenvironment changes - change fit_addr_r to 0x1400 as needed if MAX_LOCKDEP_SUBCLASSES in linux gets increased. - Environment now at 0xd in nand flash Signed-off-by: Heiko Schocher --- board/aristaine

Re: [U-Boot] [PATCH V4] add README.distro file

2015-01-20 Thread Ian Campbell
On Mon, 2015-01-19 at 10:55 -0700, Stephen Warren wrote: > * Indicate that boot.scr is fully supported, not a legacy option. > Still, recommend use of extlinux.conf over boot.scr. Thanks for this. The bits around that look fine now. One thing I happened to spot while skimming: > +handled by U-

  1   2   >