Re: [U-Boot] [PATCH v2] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-25 Thread Paul Kocialkowski
Le vendredi 24 juillet 2015 à 21:54 +0200, Marek Vasut a écrit : On Friday, July 24, 2015 at 07:24:28 PM, Paul Kocialkowski wrote: Le jeudi 23 juillet 2015 à 09:15 +0200, Lukasz Majewski a écrit : Hi Paul, Le lundi 20 juillet 2015 à 14:57 +0200, Lukasz Majewski a écrit : Hi

Re: [U-Boot] [PATCH] dm: pci: Fix build error in pci_auto_config_devices()

2015-07-25 Thread Simon Glass
Hi Bin, On 25 July 2015 at 04:44, Bin Meng bmeng...@gmail.com wrote: This needs to be squashed into commit e34580b to fix the build error in pci_auto_config_devices(). Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH v2] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-25 Thread Paul Kocialkowski
Le samedi 25 juillet 2015 à 16:47 +0200, Paul Kocialkowski a écrit : Le vendredi 24 juillet 2015 à 21:54 +0200, Marek Vasut a écrit : On Friday, July 24, 2015 at 07:24:28 PM, Paul Kocialkowski wrote: Le jeudi 23 juillet 2015 à 09:15 +0200, Lukasz Majewski a écrit : Hi Paul, Le

Re: [U-Boot] [PATCH v2 2/9] net: tftp: Move tftp.h file from ./net to ./include/net

2015-07-25 Thread Simon Glass
[prune cc] Hi Lukasz, On 25 July 2015 at 09:02, Lukasz Majewski l.majew...@majess.pl wrote: On Sat, 25 Jul 2015 14:24:43 +0200 Wolfgang Denk w...@denx.de wrote: Dear Lukasz Majewski, In message 1437811877-13764-3-git-send-email-l.majew...@majess.pl you wrote: This change gives the

[U-Boot] [PATCH] drivers: hierarchize drivers Kconfig menu

2015-07-25 Thread Masahiro Yamada
The menuconfig for drivers are getting more and more cluttered and unreadable because too many entries are displayed in a single flat menu. Use hierarchic menu for each category. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/core/Kconfig | 4

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

2015-07-25 Thread Marek Vasut
Here is an updated PR on u-boot/master. The following changes since commit 413978d118bb7d7b0a8488d97d802f2899cd81ce: Merge git://git.denx.de/u-boot-uniphier (2015-07-23 11:46:05 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes

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

2015-07-25 Thread Tom Rini
On Fri, Jul 24, 2015 at 07:56:46AM +, Luka Perkov wrote: Hi Tom, can you please pull this batch from Stefan as well? This pull request does not contain patches that are still under review. Pull request for those will be sent another time. The following changes since commit

[U-Boot] [PATCH] tools: remove mpc86x_clk tool

2015-07-25 Thread Masahiro Yamada
This is commented out in the Makefile for more than 10 years. I assume it is proof that this tool is unused. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Cc: Pantelis Antoniou pa...@intracom.gr --- tools/.gitignore | 1 - tools/Makefile | 4 -- tools/mpc86x_clk.c | 202

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

2015-07-25 Thread Tom Rini
On Sat, Jul 25, 2015 at 02:41:20PM +0200, Hans de Goede wrote: Hi Tom, Here is the first sunxi pull-req for v2015.10, highlights: -Some preparation patches for adding SPL nand support -Your patch to cleanup the sunxi defconfigs -Add device-model support to the sunxi musb-host code,

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

2015-07-25 Thread Tom Rini
On Fri, Jul 24, 2015 at 10:12:46PM +0200, Marek Vasut wrote: The following changes since commit b217c89e8565ade3aaa9f74c33c93236bf151187: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-07-20 17:12:52 -0400) are available in the git repository at:

[U-Boot] [PATCH v2 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP)

2015-07-25 Thread Lukasz Majewski
This commit series enables DFU subsystem to use ETH and TFTP protocol as a medium for downloading data, which should bring substantial speedup for writing large files (like rootfs). Please read provided ./doc/README.dfutftp documentation entry for more information. Those patches should be

[U-Boot] [PATCH v2 9/9] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number

2015-07-25 Thread Lukasz Majewski
In the dfu-util it is possible to set major:minor number by unsing -d flag (-d 0451:d022). Such option is very handy when many DFU devices are connected to a single host PC. This commit allows testing when above situation emerges. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes

[U-Boot] [PATCH v2 2/9] net: tftp: Move tftp.h file from ./net to ./include/net

2015-07-25 Thread Lukasz Majewski
This change gives the ability to reuse the tftp.h header file by other subsystems (like e.g. dfu). Without this change compilation error emerges for the legacy update.c file. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v2: - Move tftp.h from ./include to ./include/net/

[U-Boot] [PATCH v2 5/9] dfu: tftp: update: Add dfu_write_from_mem_addr() function

2015-07-25 Thread Lukasz Majewski
This function allows writing via DFU data stored from fixed buffer address (like e.g. loadaddr env variable). Such predefined buffers are used in the update_tftp() code. In fact this function is a wrapper on the dfu_write() and dfu_flush(). Signed-off-by: Lukasz Majewski l.majew...@majess.pl ---

[U-Boot] [PATCH v2 8/9] config: bbb: Configs necessary for running update via TFTP on Beagle Bone Black

2015-07-25 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v2: - Do not enable CONFIG_UPDATE_TFTP since CONFIG_DFU_TFTP enables the common code - Do not enable CONFIG_CMD_DFUTFTP since dfutftp commands has been removed --- include/configs/am335x_evm.h | 8 1 file changed, 8

[U-Boot] [PATCH v2 3/9] tftp: update: Allow some parts of the code to be reused when CONFIG_SYS_NO_FLASH is set

2015-07-25 Thread Lukasz Majewski
Up till now it was impossible to use code from update.c when system was not equipped with raw FLASH memory. Such behavior prevented DFU from reusing this code. Signed-off-by: Lukasz Majewski l.majew...@majess.pl Acked-by: Joe Hershberger joe.hershber...@ni.com --- Changes for v2: - None ---

[U-Boot] [PATCH v2 4/9] dfu: tftp: update: Provide tftp support for the DFU subsystem

2015-07-25 Thread Lukasz Majewski
This commit adds initial support for using tftp for downloading and upgrading firmware on the device. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v2: - Return -ENOSYS instead of plain -1 - Remove interface and devstring env variables reading in the dfu_tftp_write() - Those

[U-Boot] [PATCH v2 6/9] update: tftp: dfu: Extend update_tftp() function to support DFU

2015-07-25 Thread Lukasz Majewski
This code allows using DFU defined mediums for storing data received via TFTP protocol. It reuses and preserves functionality of legacy code at common/update.c. The update_tftp() function now accepts parameters - namely medium device name and its number (e.g. mmc 1). Without this information

[U-Boot] [PATCH v2 7/9] dfu: command: Extend dfu command to handle receiving data via TFTP

2015-07-25 Thread Lukasz Majewski
The dfu command has been extended to support transfers via TFTP protocol. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v2: - Remove dfutftp command - Modify dfu command to support optional [tftp] parameter - Only one flag (CONFIG_DFU_TFTP) needs to be enabled ---

Re: [U-Boot] [PATCH v3 5/5] devres: add debug command to dump device resources

2015-07-25 Thread Masahiro Yamada
Hi Simon, 2015-07-24 8:21 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: This new command can dump all device resources associated to each device. The fields in every line shows: - The address of the

[U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-07-25 Thread Hans de Goede
Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences when there is none). This makes it impossible to use u-boot on boards where there is no (debug) serial port, because e.g. all uart pins are muxed to another

[U-Boot] [PATCH] dm: pci: Fix build error in pci_auto_config_devices()

2015-07-25 Thread Bin Meng
This needs to be squashed into commit e34580b to fix the build error in pci_auto_config_devices(). Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c

Re: [U-Boot] x86/testing for PCI

2015-07-25 Thread Bin Meng
Hi Simon, On Sat, Jul 25, 2015 at 4:31 AM, Simon Glass s...@chromium.org wrote: Hi Bin, I've merged in u-boot-x86/master to upstream/master and pushed it to u-boot-x86/testing. Can you please give it a test and make sure your PCI fixes are still correct? It indeed has one merge issue and

[U-Boot] [PATCH v2 1/9] doc: dfu: tftp: README entry for TFTP extension of DFU

2015-07-25 Thread Lukasz Majewski
Documentation file for DFU extension. With this functionality it is now possible to transfer FIT images with firmware updates via TFTP and use DFU backend for storing them. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v2: - Remove section regarding update_tftp() specific

Re: [U-Boot] [PATCH v3 2/5] devres: introduce Devres (Managed Device Resource) framework

2015-07-25 Thread Masahiro Yamada
2015-07-24 8:20 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: In U-Boot's driver model, memory is basically allocated and freed in the core framework. So, low level drivers generally only have to

[U-Boot] Please pull u-boot-sunxi master

2015-07-25 Thread Hans de Goede
Hi Tom, Here is the first sunxi pull-req for v2015.10, highlights: -Some preparation patches for adding SPL nand support -Your patch to cleanup the sunxi defconfigs -Add device-model support to the sunxi musb-host code, allowing it to be built at the same time as the ehci uhci code and

[U-Boot] [PATCH v4 5/5] devres: add debug command to dump device resources

2015-07-25 Thread Masahiro Yamada
This new command can dump all device resources associated to each device. The fields in every line shows: - The address of the resource - The size of the resource - The name of the release function - The stage in which the resource has been acquired (BIND/PROBE) Currently, there is no

[U-Boot] [PATCH v4 0/5] Devres (Managed Device Resource) for U-Boot

2015-07-25 Thread Masahiro Yamada
This is version 4 of Devres series. Simon, Albert and I discussed whether we need (want) to get this framework in. Looks like our agreement is that we can add Devres, but keeping it optional. The DM core part still sticks to the manual malloc() and free(). With CONFIG_DEVRES disabled, devres

[U-Boot] [PATCH v4 2/5] devres: introduce Devres (Managed Device Resource) framework

2015-07-25 Thread Masahiro Yamada
In U-Boot's driver model, memory is basically allocated and freed in the core framework. So, low level drivers generally only have to specify the size of needed memory with .priv_auto_alloc_size, .platdata_auto_alloc_size, etc. Nevertheless, some drivers still need to allocate/free memory on

[U-Boot] [PATCH v4 1/5] dm: add DM_FLAG_BOUND flag

2015-07-25 Thread Masahiro Yamada
Currently, we only have DM_FLAG_ACTIVATED to indicate the device status, but we still cannot know in which stage is in progress, binding or probing. This commit introduces a new flag, DM_FLAG_BOUND, which is set when the device is really bound, and cleared when it is unbound. Signed-off-by:

[U-Boot] [PATCH v4 4/5] devres: make Devres optional with CONFIG_DEVRES

2015-07-25 Thread Masahiro Yamada
Currently, Devres requires additional 16 byte for each allocation, which is not so insignificant in some cases. Add CONFIG_DEVRES to make this framework optional. If the option is disabled, devres functions fall back to non-managed variants. For example, devres_alloc() to kzalloc(),

[U-Boot] [PATCH v4 3/5] devres: add devm_kmalloc() and friends (managed memory allocators)

2015-07-25 Thread Masahiro Yamada
devm_kmalloc() is identical to kmalloc() except that the memory allocated with it is managed and will be automatically released when the device is removed/unbound. Likewise for the other variants. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Simon Glass

[U-Boot] [PATCH] video: discard empty video_set_lut implementation

2015-07-25 Thread Peng Fan
Discard the empty video_set_lut function from platform video drivers. This commit 69d275458893eaec35229b589092c2a6bde5440f introduces a weak function video_set_lut, so we do not need an strong function in platform drivers, which does nothing. Signed-off-by: Peng Fan peng@freescale.com ---

Re: [U-Boot] [PATCH v2 2/9] net: tftp: Move tftp.h file from ./net to ./include/net

2015-07-25 Thread Wolfgang Denk
Dear Lukasz Majewski, In message 1437811877-13764-3-git-send-email-l.majew...@majess.pl you wrote: This change gives the ability to reuse the tftp.h header file by other subsystems (like e.g. dfu). Without this change compilation error emerges for the legacy update.c file. Signed-off-by: