On 13 April 2015 at 16:34, Simon Glass s...@chromium.org wrote:
Hi Joe,
On 13 April 2015 at 16:28, Joe Hershberger joe.hershber...@gmail.com wrote:
Hi Sjoerd,
On Mon, Apr 13, 2015 at 5:07 PM, Simon Glass s...@chromium.org wrote:
Hi Sjoerd,
On 13 April 2015 at 14:54, Sjoerd Simons
On 13 April 2015 at 20:21, Dennis Gilmore den...@ausil.us wrote:
On Monday, April 13, 2015 10:54:24 PM Sjoerd Simons wrote:
Define the common shared block environment for the host interface in
preperation for the sandbox build to use config_distro_bootcmd.
Signed-off-by: Sjoerd Simons
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
Define default PXE client architecture identifiers for IA32 (0x0 aka
Intel x86PC) and Intel x86-64 (0x9 aka EFI x86-64).
This prepares for usage for config_distro_defaults in the sandbox
architecture
Hi Peng,
On 15 April 2015 at 03:35, Peng Fan peng@freescale.com wrote:
Add support when CONFIG_DM_I2C configured.
Test results:
= i2c dev 0
Setting bus to 0
= i2c probe
Valid chip addresses: 08 50
= i2c md 8 38
0038: 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit introduces simple tests for functions:
- uclass_find_device_by_name()
- uclass_get_device_by_name()
Tests added by this commit:
- Test: dm_test_uclass_devices_find_by_name: for uclass id:
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model uclass's API by function:
- uclass_find_device_by_name()
And this function returns the device if:
- uclass with given ID, exists,
- device with exactly given
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model uclass's API by function:
- uclass_get_device_by_name()
And this function returns the device if:
- uclass with given ID, exists,
- device with exactly given name(dev-name), exists,
two CMD_DNS options were added by commit 60296a835cb17 (commands: add more
command entries in Kconfig)
Signed-off-by: Andrey Skvortsov andrej.skvort...@gmail.com
Cc: Masahiro Yamada yamad...@jp.panasonic.com
---
common/Kconfig | 5 -
1 file changed, 5 deletions(-)
diff --git
We must not clear global_data even in tests, since the ram_buffer (which
is used by malloc()) will also be lost, and subsequent tests will fail.
Zero only the global_data fields that are required for the test to function.
Signed-off-by: Simon Glass s...@chromium.org
---
test/dm/core.c | 6
Since a device can have children in the same uclass as itself, we need
to handle unbinding carefully: we must allow that unbinding a device in a
uclass may cause another device in the same uclass to be unbound.
Adjust the code to cope.
Signed-off-by: Simon Glass s...@chromium.org
---
On sandbox, if you add a printf() to malloc() for debugging, the output will
eventually cause the screen to scroll. Since lcd_sync() calls SDL functions
which allocate memory, and this happens before we have updated
console_curr_row, U-Boot gets locked in an infinite loop.
Flip the order of the
While implementing the USB tests some strange failures crept in. I was not
able to debug them at the time and they were seemingly independent of the
USB tests. I then forgot about it.
I have now tracked these failures down. This series corrects them so that
the driver model tests run from start
The terminator is missing. Add it for completeness.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/usb/emul/sandbox_hub.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c
index 280c708..baf8bdc 100644
---
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
As suggested by Simon Glass, rename the sb command to host but keep the
old sb command as an alias
Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk
Acked-by: Simon Glass s...@chromium.org
---
Changes
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
A common pattern to check if a certain device exists (e.g. in
config_distro_bootcmd) is to use: interface dev [device]
Implement host dev [device] so this pattern can be used for sandbox host
devices.
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
Follow the convention of other architectures and move the platform
specific linux bootm code into sandbox/lib/bootm.c.
Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk
Acked-by: Simon Glass
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
Properly map memory through map_sysmem so that pxe can be used from the
sandbox.
Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi
boards
Signed-off-by: Sjoerd Simons
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
Add dummy bootz_setup implementation allowing the u-boot sandbox to
run bootz. This recognizes both ARM and x86 zImages to validate a
valid zImage was loaded.
Signed-off-by: Sjoerd Simons
On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:
Only do sandbox filesystem access when using the hostfs device
interface, rather then falling back to it in all cases. This prevents
confusion situations due to the fallback being taken rather then an
unsupported
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model device's API by function:
- dev_get_uclass_name()
And this function returns the device's uclass driver name if:
- given dev pointer, is non_NULL
otherwise, the NULL pointer is
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model device's API by function:
- dev_get_driver_ops()
And this function returns the device's driver's operations if given:
- dev pointer, is non-NULL
- dev-driver-ops
There are a lot more tests now. To avoid confusion add the updated test
output to the driver model README.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/driver-model/README.txt | 58 ++---
1 file changed, 50 insertions(+), 8 deletions(-)
diff
Hi Tom,
Here are the queued sandbox changes, to allow sandbox to use the
distro booting feature.
The following changes since commit 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c:
sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig (2015-04-13
20:53:47 -0600)
are available in the git repository
Hi Hans,
On 19 April 2015 at 03:33, Hans de Goede hdego...@redhat.com wrote:
The compiler did not catch this as it was marked __maybe_unused.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
common/usb.c | 2 --
1 file changed, 2 deletions(-)
Acked-by: Simon Glass s...@chromium.org
The compiler did not catch this as it was marked __maybe_unused.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
common/usb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/common/usb.c b/common/usb.c
index a4820d3..305d5cf 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -931,8 +931,6
Hi All,
Note this applies on top of the V3 dm pull request Simon send yesterday.
Regards,
Hans
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
This refactors spl_mmc_load_image to use a switch/case structure and easier
to understand spl_start_uboot checks. It also drops fallbacks on boot devices
that were not selected in the first place.
Lines that go beyond 80 chars are also reduced by reducing the number of tabs.
Debug and error
This adds support for providing a partition number instead of a sector for eMMC.
Signed-off-by: Paul Kocialkowski cont...@paulk.fr
---
common/spl/spl_mmc.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index dd150a7..6fea728 100644
---
Hi Tom,
On 19 April 2015 at 14:32, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015 at 02:19:41PM -0600, Simon Glass wrote:
Hi Tom,
On 19 April 2015 at 12:28, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015 at 07:23:08AM -0600, Simon Glass wrote:
Hi Tom,
Here are the
On Sun, Apr 19, 2015 at 02:57:21PM -0600, Simon Glass wrote:
Hi Tom,
On 19 April 2015 at 14:32, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015 at 02:19:41PM -0600, Simon Glass wrote:
Hi Tom,
On 19 April 2015 at 12:28, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015
On Sun, Apr 19, 2015 at 02:19:41PM -0600, Simon Glass wrote:
Hi Tom,
On 19 April 2015 at 12:28, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015 at 07:23:08AM -0600, Simon Glass wrote:
Hi Tom,
Here are the queued sandbox changes, to allow sandbox to use the
distro booting
On Fri, Apr 17, 2015 at 09:19:01AM -0500, Scott Wood wrote:
Don't store it in a u32.
Don't dereference the bus address as if it were a virtual address
(fixes 284231e49a2b4 (ahci: Support splitting of read transactions
into multiple chunks)).
Fixes crash on boot in MPC8641HPCN_36BIT
On Sat, Apr 18, 2015 at 04:23:42PM -0600, Simon Glass wrote:
Hi Tom,
Here are the queued-up buildman/patman patches, including the new
CONFIG comparison feature (remember to build with -C if using it).
Note these are in branch 'buildman'.
The following changes since commit
On Sat, Apr 18, 2015 at 02:19:58PM -0600, Simon Glass wrote:
Hi Tom,
I have patched in the patches from you and Hans. Things seem to work
OK with USB on the three boards I tested, and I managed to get USB
running on pcduino3 (sunxi) also.
Thanks for you help with this.
The following
On Sun, Apr 19, 2015 at 07:23:08AM -0600, Simon Glass wrote:
Hi Tom,
Here are the queued sandbox changes, to allow sandbox to use the
distro booting feature.
The following changes since commit 5ab83ec1a13601c4f76ce009afe0d1ee51f1ad9c:
sandbox: exynos: Move CONFIG_SOUND_SANDBOX to
Hi Tom,
On 19 April 2015 at 12:28, Tom Rini tr...@konsulko.com wrote:
On Sun, Apr 19, 2015 at 07:23:08AM -0600, Simon Glass wrote:
Hi Tom,
Here are the queued sandbox changes, to allow sandbox to use the
distro booting feature.
The following changes since commit
Hi Hans,
On 18 April 2015 at 15:50, Hans de Goede hdego...@redhat.com wrote:
Hi Simon,
On 18-04-15 19:33, Simon Glass wrote:
This series adds a few starts for sunxi driver model support for USB. I
don't intend to finish it, but hopefully it helps things get going.
Simon Glass (5):
Hi Haikun,
On 17 April 2015 at 04:58, Haikun Wang haikun.w...@freescale.com wrote:
Atmel DataFlash chips have commands different from common spi
flash commands.
Atmel DataFlash also have special page-size.
This driver add support for accessing Atmel DataFlash.
It is based on the Driver
On 3/10/2015 11:46 AM, Simon Glass wrote:
Hi Wang,
On 9 March 2015 at 21:41, haikun.w...@freescale.com
mailto:haikun.w...@freescale.com haikun.w...@freescale.com
mailto:haikun.w...@freescale.com wrote:
Hi Simon,
I am working on converting my SPI driver to driver model.
I have
Hi Tom,
I've rebased on master and built again. Note this is branch 'sandbox'.
The following changes since commit b8d7652c81689a69bc6eaa206cf875bbe632831c:
Merge branch 'buildman' of git://git.denx.de/u-boot-x86 (2015-04-18
19:24:13 -0400)
are available in the git repository at:
From: Tang Yuantian yuantian.t...@freescale.com
Function dp_ddr_restore is to restore the first 128-byte space
of DDR. However those codes may be optimized out by compiler
since the destination address is at 0x0. In order to avoid
compiler optimization, we restore the space from high address,
Hi Andrey,
2015-04-19 20:58 GMT+09:00 Andrey Skvortsov andrej.skvort...@gmail.com:
two CMD_DNS options were added by commit 60296a835cb17 (commands: add more
command entries in Kconfig)
Signed-off-by: Andrey Skvortsov andrej.skvort...@gmail.com
Cc: Masahiro Yamada yamad...@jp.panasonic.com
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
Uclass API provides a few functions for get/find the device.
To provide a complete function set of uclass-internal functions,
for use by the drivers, the function uclass_get_device_tail()
should be non-static.
On 19 April 2015 at 20:42, haikun.w...@freescale.com
haikun.w...@freescale.com wrote:
On 4/20/2015 10:29 AM, Wang Haikun-B53464 wrote:
On 3/10/2015 11:46 AM, Simon Glass wrote:
Hi Wang,
On 9 March 2015 at 21:41, haikun.w...@freescale.com
mailto:haikun.w...@freescale.com
On 4/20/2015 10:29 AM, Wang Haikun-B53464 wrote:
On 3/10/2015 11:46 AM, Simon Glass wrote:
Hi Wang,
On 9 March 2015 at 21:41, haikun.w...@freescale.com
mailto:haikun.w...@freescale.com haikun.w...@freescale.com
mailto:haikun.w...@freescale.com wrote:
Hi Simon,
I am working on
On 19 April 2015 at 07:23, Simon Glass s...@chromium.org wrote:
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model uclass's API by function:
- uclass_find_device_by_name()
And this function returns the device if:
-
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit introduces simple tests for functions:
- uclass_find_first_device()
- uclass_find_next_device()
- uclass_first_device()
- uclass_next_device()
Tests added by this commit:
- Test:
On 19 April 2015 at 07:23, Simon Glass s...@chromium.org wrote:
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model uclass's API by function:
- uclass_get_device_by_name()
And this function returns the device if:
- uclass with given
On 19 April 2015 at 07:24, Simon Glass s...@chromium.org wrote:
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model device's API by function:
- dev_get_driver_ops()
And this function returns the device's driver's
On 19 April 2015 at 07:24, Simon Glass s...@chromium.org wrote:
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the driver model device's API by function:
- dev_get_uclass_name()
And this function returns the device's uclass driver name if:
-
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This test introduces new test structure type:dm_test_perdev_uc_pdata.
The structure consists of three int values only. For the test purposes,
three pattern values are defined by enum, starting with TEST_UC_PDATA_INTVAL1.
On 14 April 2015 at 22:00, Bin Meng bmeng...@gmail.com wrote:
Since Intel ICH SPI driver has been converted to driver model, we need
add an alias for SPI node in the board dts files otherwise SPI flash
won't be detected due to 'invalid bus' error.
Signed-off-by: Bin Meng bmeng...@gmail.com
Hi Przemyslaw,
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
Hello,
Before merge, I would like to extend this patchset by additional functions
[V4],
which are now the base for my work on PMIC.
The base version:
The struct udevice provides two fields for
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit extends the uclass-internal functions by:
- uclass_find_first_device()
- uclass_find_next_device()
For both functions, the returned device is not probed.
After some cleanup, the above functions are called
On 15 April 2015 at 05:07, Przemyslaw Marczak p.marc...@samsung.com wrote:
This commit adds 'uclass_platdata' field to 'struct udevice', which
can be automatically allocated at bind. The allocation size is defined
in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.
New
On 19 April 2015 at 21:23, Simon Glass s...@chromium.org wrote:
On 14 April 2015 at 22:00, Bin Meng bmeng...@gmail.com wrote:
Since Intel ICH SPI driver has been converted to driver model, we need
add an alias for SPI node in the board dts files otherwise SPI flash
won't be detected due to
On 14 April 2015 at 17:35, Simon Glass s...@chromium.org wrote:
On 13 April 2015 at 05:03, Bin Meng bmeng...@gmail.com wrote:
The prefix PCH was taken from ivybridge port. However Queensbay
platform official document does not mention PCH. It is composed
of TunnelCreek processor and Topcliff
On 31 March 2015 at 21:20, Simon Glass s...@chromium.org wrote:
On 30 March 2015 at 21:25, Bin Meng bmeng...@gmail.com wrote:
For starting a Linux console on the superio serial port under
interrupt mode, the IRQ number must be configured.
Signed-off-by: Jian Luo jian.l...@boschrexroth.de
On 31 March 2015 at 21:20, Simon Glass s...@chromium.org wrote:
On 30 March 2015 at 21:51, Bin Meng bmeng...@gmail.com wrote:
Since all x86 boards use spi flash as its bootloader storage media,
it makes sense to make CONFIG_ENV_IS_IN_SPI_FLASH a common option.
So far only minnowmax board does
On 20 April 2015 at 10:11, Peng Fan peng@freescale.com wrote:
Hi, Simon
On 4/19/2015 11:05 PM, Simon Glass wrote:
These methods should be passed a slave device, not a bus. This matches the
old SPI interface. It is important to know which device is claiming the
bus
so passing a bus is
move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.
For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
add MTD layer driver for spi, original patch from:
http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced
changes from Heiko Schocher against this patch:
- remove compile error if not defining
with this patch, it is possible to get the offset and size information
from the mtdpartiton setting in mtdparts, similiar to the
nand commandos.
= sf
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and chip
Hi Simon,
Thanks for reviewing. I'll address most comments and try to merge DM and
non-DM part into one. will send out v2 for review.
The only unsure part is bus_i2c_init, I also reply you inline. I want to
pass force_idle_bus and pinmux setting to i2c driver, so i use
bus_i2c_init, same with
the ldb clock can be setup in board code (for example set through PLL5).
Update the ldb_clock rate also through board code.
This should be removed, if a clock framework is availiable.
Signed-off-by: Heiko Schocher h...@denx.de
Tested-by: Eric Nelson eric.nel...@boundarydevices.com
---
Changes
On 14 April 2015 at 17:35, Simon Glass s...@chromium.org wrote:
On 13 April 2015 at 05:05, Bin Meng bmeng...@gmail.com wrote:
CONFIG_VIDEO_X86 has been replaced by CONFIG_VIDEO_VESA.
Signed-off-by: Bin Meng bmeng...@gmail.com
---
configs/minnowmax_defconfig | 1 -
1 file changed, 1
On 14 April 2015 at 19:03, Simon Glass s...@chromium.org wrote:
Hi Bin,
On 14 April 2015 at 19:00, Bin Meng bmeng...@gmail.com wrote:
Hi Simon,
On Wed, Apr 15, 2015 at 7:35 AM, Simon Glass s...@chromium.org wrote:
Hi Bin,
On 13 April 2015 at 05:05, Bin Meng bmeng...@gmail.com wrote:
The MRC image is incorrect, or at least this one now does not seem to
work. Fix it.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/README.x86 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/README.x86 b/doc/README.x86
index fe31f3d..ef13fb4 100644
---
The descriptor provided with the FSP does not seem to work. Update the
instructions to use the descriptor from the original Intel firmware.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/README.x86 | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git
Hi, Simon
On 4/19/2015 11:05 PM, Simon Glass wrote:
These methods should be passed a slave device, not a bus. This matches the
old SPI interface. It is important to know which device is claiming the bus
so passing a bus is not that useful.
Reported-by: Haikun Wang haikun.w...@freescale.com
This patchserie add the popssibility to define mtd partitions on
spi nor flash, and use this settings with the sf commands.
steps:
- add MTD layer driver for spi, original patch from:
http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced
and
make the ldb_clock configurable through the new define
CONFIG_SYS_LDB_CLOCK. This is needed as the ldb clock is not
always 65000, for example on the aristainetos2 board,
where the ldb clock derives from PLL5 clock.
Signed-off-by: Heiko Schocher h...@denx.de
Tested-by: Eric Nelson
Hi Wolfgang,
On 15 April 2015 at 22:25, Wolfgang Denk w...@denx.de wrote:
Dear Simon Glass,
In message 1429146849-11994-3-git-send-email-...@chromium.org you wrote:
Unfortunately memset() is not always available, so provide a substitute when
needed.
+#if !defined(CONFIG_SPL_BUILD) ||
Hi,
On 9 March 2015 at 21:46, Simon Glass s...@chromium.org wrote:
Hi Wang,
On 9 March 2015 at 21:41, haikun.w...@freescale.com
haikun.w...@freescale.com wrote:
Hi Simon,
I am working on converting my SPI driver to driver model.
I have some doubt about the arguments of the function
On 12 April 2015 at 19:51, Masahiro Yamada
yamada.masah...@socionext.com wrote:
All the Tegra boards borrow the files from board/nvidia/common/
directory, i.e., board/nvidia/common/* are not vendor-common files,
but SoC-common files.
Move NVIDIA common files to arch/arm/mach-tegra/ to clean
Hi Hans,
On 8 April 2015 at 01:27, Hans de Goede hdego...@redhat.com wrote:
Hi,
On 07-04-15 22:53, Simon Glass wrote:
Hi,
On 6 April 2015 at 02:43, Hans de Goede hdego...@redhat.com wrote:
Hi Simon and Paul,
On 05-04-15 22:56, Paul Kocialkowski wrote:
Le dimanche 05 avril 2015 à
These methods should be passed a slave device, not a bus. This matches the
old SPI interface. It is important to know which device is claiming the bus
so passing a bus is not that useful.
Reported-by: Haikun Wang haikun.w...@freescale.com
Signed-off-by: Simon Glass s...@chromium.org
---
77 matches
Mail list logo