Re: [U-Boot] [PATCH v2] Separate EBV Socrates board from Altera Cyclone 5 board and from Virtual Target

2014-06-01 Thread Chin Liang See
Hi guys, On Fri, 2014-05-30 at 11:41 +0200, Detlev Zundel wrote: > Hi Pavel, > > > On Wed 2014-05-28 16:29:50, Wolfgang Denk wrote: > >> In message <20140528124910.ga24...@amd.pavel.ucw.cz> you wrote: > >> > > >> > There are no differences between EBV socrates and socfpga boards, > >> > current

Re: [U-Boot] [PATCH] mmc: add wrappers for MMC block_{read, write, erase}

2014-06-01 Thread Pantelis Antoniou
Hi Steve, I wanted the discussion to settle a bit before I reply to this series. On May 29, 2014, at 1:15 AM, Steve Rae wrote: > Each wrapper function: > - switches to the specified physical partition, then > - performs the original function, and then > - switches back to the original physical pa

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-01 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:47 PM, Stephen Warren wrote: > From: Stephen Warren > > Rather than just returning -1 everywhere, try to return something > meaningful from mmc_select_hwpart(). Note that most other MMC functions > don't do this, including functions called from mmc_select_hwpar

Re: [U-Boot] [PATCH v3 1/3] dts: re-write dts/Makefile more simply with Kbuild

2014-06-01 Thread Michal Simek
On 06/01/2014 06:34 PM, Simon Glass wrote: > Hi, > > On 27 May 2014 18:54, Masahiro Yamada wrote: >> Hi York, >> diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index b770e25..38b9c7d 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -280,7 +280,7 @

Re: [U-Boot] [PATCH] tam3517: fix NAND detection

2014-06-01 Thread Gupta, Pekon
>From: Jeroen Hofstee > >commit a0a37183bd7 "ARM: omap: merge GPMC initialization code for >all platform" needs CONFIG_NOR, CONFIG_NAND or CONFIG_CMD_ONENAND >to be set to access flash. Add CONFIG_NAND for tam3517 derived >boards to prevent the following error: "nand: error: Unable to >find NAND se

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-01 Thread Lukasz Majewski
Hi Stephen, > On 05/30/2014 02:28 AM, Lukasz Majewski wrote: > ... > > I've tested if raw u-boot can be downloaded and uploaded via DFU. > > The u-boot size is 1MiB precisely. > > > > Corresponding dfu_alt_info entry: > > "u-boot raw 0x80 0x800;" \ > ... > > 2. Upload (raw): > > > > dfu-util -

Re: [U-Boot] coreboot and u-boot integration x86: "No tick base available"

2014-06-01 Thread Martin Ertsås
On 06/01/14 18:42, Simon Glass wrote: > Hi Martin, > > On 30 May 2014 04:33, Martin Ertsås wrote: >> Hi. >> >> I'm trying to use u-boot as a payload to coreboot. Problem is that when >> coreboot starts u-boot, it fails with panic("No tick base available"); >> >> When looking at the backtrace this

Re: [U-Boot] Mainline u-boot SPL for socfpga

2014-06-01 Thread Chin Liang See
Hi Pavel, On Tue, 2014-05-27 at 14:40 +0200, ZY - pavel wrote: > Hi! > > (Sorry for the delay) > > > > > I know u-boot SPL misses critical parts, but I was told that u-boot > > > > proper should have everything. Only... I was not able to get it to > > > > work. [I'm attempting to load recent u-b

Re: [U-Boot] [PATCH] generic board for socfpga

2014-06-01 Thread Chin Liang See
Hi Pavel, On Tue, 2014-05-27 at 14:50 +0200, ZY - pavel wrote: > Socfpga u-boot works fine with CONFIG_SYS_GENERIC_BOARD, so enable > that option as documentation suggests. > Yup, it works well for me without modification. Acked-by: Chin Liang See Thanks Chin Liang > Signed-off-by: Pavel Mac

[U-Boot] [PATCH v2 02/04] spi, spi_mxc: do not hang in spi_xchg_single

2014-06-01 Thread Heiko Schocher
if status register do never set MXC_CSPICTRL_TC, spi_xchg_single endless loops. Add a timeout here to prevent endless hang. Signed-off-by: Heiko Schocher Cc: Dirk Behme Cc: Jagannadha Sutradharudu Teki --- - changes for v2: - use timer api to poll till TC bit is set as Jagan Teki suggested

Re: [U-Boot] usbkbd not working

2014-06-01 Thread l3iggs .
> I can't seem to get my USB keyboard working. Problem solved! I forgot to #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-bo

[U-Boot] [PATCH] ARM: AM43xx: Fix UART clocks enabling

2014-06-01 Thread Lokesh Vutla
After enabling a module, SW has to wait on IDLEST bit until it is Fully functional. This wait is missing for UART module and there is a immediate access of UART registers after this. So there is a chance of hang on this module( This can happen when we are running from MPU SRAM). So waiting for IDLE

[U-Boot] usbkbd not working

2014-06-01 Thread l3iggs .
Hello, I can't seem to get my USB keyboard working. USB storage devices work fine. Does anyone have any suggestions on how to fix this? I've issued `usb start` and then `env set input serial,nc,usbkbd` I'm running U-Boot 2014.07-rc1-15746-g3a56482 from the -imx tree. The `usb tree` command show

[U-Boot] [PATCH] ARM: AM43xx: Fix mmcboot command in EXTRA_ENV_SETTINGS

2014-06-01 Thread Lokesh Vutla
loadbootenv expects devtype variable to be set. This is missing in mmcboot command. With this the following error comes: U-Boot# run mmcboot mmc0 is current device SD/MMC found on device 0 ** Bad device usb 0 ** ** Bad device usb 0 ** Fixing this by setting devtype as mmc. Reported-by: Tony Lindgr

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

2014-06-01 Thread Chin Liang See
Hi Rik, This patch is for U-Boot only. You might wanna find the kernel patch at http://rocketboards.org/gitweb/?p=linux-socfpga.git;a=commit;h=23b95d8c25d34afadc82325313f25e72d76c5cef While for your issue, its quite strange. Currently, we are using 512 byte sector protected with 8 bit ECC. With t

Re: [U-Boot] [PATCH 1/3] cmd_mmc: add force_init parameter to init_mmc_device()

2014-06-01 Thread Jaehoon Chung
Hi, Stephen. Your patch-set looks good to me. Acked-by: Jaehoon Chung If card didn't insert, can we display the other log instead of the below log? #mmc rescan #mmc dev 1 "Card did not respond to voltage select!" Best Regards, Jaehoon Chung On 05/31/2014 06:12 AM, Stephen Warren wrote: > On

[U-Boot] tftp command return value

2014-06-01 Thread l3iggs .
Hello, I'd like to test if a file  on my TFTP server exists. I would expect that using 'if tftp filename.ext; then echo exists; else echo doesnt; fi' woudl work here. However, It always shows that the file exists. I expect that others want to do the same thing because grep -r "if tftp" include/

Re: [U-Boot] bootfile environment variable

2014-06-01 Thread Simon Glass
Hi, On 1 June 2014 18:49, l3iggs . wrote: [snip] > > Dear Simon, > Thanks for wading through the poor formatting to answer my question. Your > answer solved my problem. Well, good! Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://l

Re: [U-Boot] [RFC] Two sets of experimental Kconfig patches

2014-06-01 Thread Simon Glass
Hi Masahiro, On 27 May 2014 01:32, Masahiro Yamada wrote: > Hi. > > I've posted two sets of Kconfig RFC patches: "RFCv2a" and "RFCv2b" > > The difference from v1 is that > Full U-boot image, SPL and TPL share a single defconfig > and "make config" is done in one-shot. > > This approach dates bac

Re: [U-Boot] bootfile environment variable

2014-06-01 Thread l3iggs .
> Date: Sun, 1 Jun 2014 10:30:50 -0600 > Subject: Re: [U-Boot] bootfile environment variable > From: s...@chromium.org > To: l3i...@live.com > CC: u-boot@lists.denx.de > > Hi, > > On 26 May 2014 21:05, l3iggs . wrote: > > Hello,I have a DHCP server set up to provide all of the environment > > v

[U-Boot] Turn on USB PHY clock

2014-06-01 Thread Markus Rathgeb
Hello! The UDOO quad board support is part of your bootloader. I've set up a board with U-Boot and linux kernel 3.15-rc7. To get USB support I used the linux kernel patches of Fabio Estevam, that you could found here http://comments.gmane.org/gmane.linux.usb.general/98041. I changed them a little

[U-Boot] [PULL] u-boot-usb/master

2014-06-01 Thread Marek Vasut
The following changes since commit 90b51c33f362926e17d4c07dcef1ce822abaa89f: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-05-30 11:34:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 006c7026882011ba49c

Re: [U-Boot] [RFC PATCH 06/22] dm: Tidy up four minor code nits

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:05 PM, Simon Glass wrote: > There is a spelling mistake and two functions are missing comments > altogether. Also the flags declaration is correct, but doesn't follow > style. Finally, the uclass_get_device() function has some errors in > its documentation. > > F

Re: [U-Boot] [RFC PATCH 01/22] stdio: Remove redundant code around stdio_register() calls

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:00 PM, Simon Glass wrote: > There is no point in setting a structure memory to NULL when it has already > been zeroed with memset(). > > Also, there is no need to create a stub function for stdio to call - if the > function is NULL it will not be called. > > Thi

Re: [U-Boot] [RFC PATCH 04/22] dm: Provide a way to shut down driver model

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:03 PM, Simon Glass wrote: > Add a new method which removes and unbinds all drivers. > > Signed-off-by: Simon Glass Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [RFC PATCH 08/22] dm: Use '*' to indicate a device is activated

2014-06-01 Thread Marek Vasut
On Tuesday, May 27, 2014 at 04:25:31 PM, Jon Loeliger wrote: > Why is '*' better than 'active' here? > > At the very least, you need to convince me in the > log message. Please stop top-posting ;-) The asterisk is wasting less space and it's pretty clear anyway. Please add my: Acked-by: Marek

Re: [U-Boot] [RFC PATCH 02/22] stdio: Pass device pointer to stdio methods

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:01 PM, Simon Glass wrote: > At present stdio device functions do not get any clue as to which stdio > device is being acted on. Some implementations go to great lengths to work > around this, such as defining a whole separate set of functions for each > possible d

Re: [U-Boot] [RFC PATCH 03/22] dm: Make sure that the root device is probed

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:02 PM, Simon Glass wrote: > The root device should be probed just like any other device. The effect of > this is to mark the device as activated, so that it can be removed (along > with its children) if required. > > Signed-off-by: Simon Glass > --- > > driver

Re: [U-Boot] [RFC PATCH 13/22] stdio: Provide functions to add/remove devices using stdio_dev

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:12 PM, Simon Glass wrote: > The current functions for adding and removing devices require a device > name. This is not convenient for driver model, which wants to store a > pointer to the relevant device. Add new functions which provide this > feature and adjust t

Re: [U-Boot] [PATCH 1/2] usb: hub: fix power good delay timing

2014-06-01 Thread Marek Vasut
On Thursday, May 29, 2014 at 11:25:32 PM, Stephen Warren wrote: > On 05/19/2014 02:21 PM, Stephen Warren wrote: > > From: Stephen Warren > > > > usb_hub_power_on() currently waits for the maximum of (a) the hub port's > > power output to become good, (b) the max time the USB specification > > all

Re: [U-Boot] [PATCH 4/4] usb: ci_udc: complete ep0 direction handling

2014-06-01 Thread Marek Vasut
On Thursday, May 29, 2014 at 10:53:03 PM, Stephen Warren wrote: > From: Stephen Warren > > handle_setup() currently assumes that the response to a Setup transaction > will be an OUT transaction, and any subsequent packet (if any) will be an > IN transaction. This appears to be valid in many cases

Re: [U-Boot] coreboot and u-boot integration x86: "No tick base available"

2014-06-01 Thread Simon Glass
Hi Martin, On 30 May 2014 04:33, Martin Ertsås wrote: > Hi. > > I'm trying to use u-boot as a payload to coreboot. Problem is that when > coreboot starts u-boot, it fails with panic("No tick base available"); > > When looking at the backtrace this gives a recursive error, as panic > calls __udela

Re: [U-Boot] [PATCH] arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y

2014-06-01 Thread Simon Glass
Hi Masahiro, On 25 April 2014 06:51, Masahiro Yamada wrote: > The build fails if a non-generic ARM board is compiled > with CONFIG_OF_EMBED=y. > > The correct symbol name for embedded FDT is not __dtb_db_begin, > but __dtb_dt_begin. (A typo introduced by commit 6ab6b2af) > > Signed-off-by: Masahi

Re: [U-Boot] [PATCH v3 1/3] dts: re-write dts/Makefile more simply with Kbuild

2014-06-01 Thread Simon Glass
Hi, On 27 May 2014 18:54, Masahiro Yamada wrote: > Hi York, > >> > diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c >> > index b770e25..38b9c7d 100644 >> > --- a/arch/arm/lib/board.c >> > +++ b/arch/arm/lib/board.c >> > @@ -280,7 +280,7 @@ void board_init_f(ulong bootflag) >> > gd->mo

Re: [U-Boot] [PATCH] FDT: Fix DTC repository references

2014-06-01 Thread Simon Glass
On 27 May 2014 08:12, Jon Loeliger wrote: > The Device Tree Compiler (DTC) used to have its master > repository located on jdl.com. While it is still there, > its official, new, shiny location is on kernel.org here: > > git://git.kernel.org/pub/scm/utils/dtc/dtc.git > > Update a few reference

Re: [U-Boot] bootfile environment variable

2014-06-01 Thread Simon Glass
Hi, On 26 May 2014 21:05, l3iggs . wrote: > Hello,I have a DHCP server set up to provide all of the environment variables > listed at the bottom of this page: > http://www.denx.de/wiki/view/DULG/UBootEnvVariablesSpecifically, I've > configure my DHCP server to provide option #67, Bootfile name

Re: [U-Boot] [PATCH v3: DNS320 support 0/4] Add a new kirkwook board

2014-06-01 Thread Prafulla Wadaskar
From: Bastien ROUCARIES [roucaries.bast...@gmail.com] Sent: Sunday, June 01, 2014 7:59 PM To: Stefan Herbrechtsmeier Cc: u-boot@lists.denx.de; Jamie Lentin; Prafulla Wadaskar Subject: Re: [U-Boot] [PATCH v3: DNS320 support 0/4] Add a new kirkwook board On

Re: [U-Boot] [PATCH v3: DNS320 support 0/4] Add a new kirkwook board

2014-06-01 Thread Bastien ROUCARIES
On Sat, May 24, 2014 at 3:34 PM, Stefan Herbrechtsmeier wrote: > Am 22.05.2014 21:13, schrieb Bastien ROUCARIÈS: > >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit >> >> Hi, >> >> A rebase of an old patch set from Jamie Lentin. >> >> Source is avai

Re: [U-Boot] [PATCH 05/12] sunxi: Add sun4i support

2014-06-01 Thread Hans de Goede
Hi, On 05/31/2014 06:46 PM, Ian Campbell wrote: On Fri, 2014-05-30 at 11:06 +0200, Hans de Goede wrote: Add support for the Allwinner A10 SoC also know as the Allwinner sun4i family. "known". Could you enumerate the main differences vs the existing sun7i stuff. e.g.: - dram init and timi