On 12/27/2015 03:38 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote:
On 12/27/2015 02:37 AM, Marek Vasut wrote:
On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote:
WASP is ar9341.
Please do not top post.
Did you try if the memory is accessi
Hi Wills,
On 2015年12月27日 14:28, Wills Wang wrote:
+static int ar933x_serial_putc(struct udevice *dev, const char c)
+{
+u32 data;
+
+if (c == '\n')
+ar933x_serial_putc(dev, '\r');
remove this, the serial core driver takes care of it
+
+do {
+data = ar933x_serial_re
Hi Wills,
On 2015年12月26日 21:20, Daniel Schwierzeck wrote:
+static int ar933x_serial_probe(struct udevice *dev)
+{
+ struct ar933x_serial_priv *priv = dev_get_priv(dev);
+ struct ar933x_serial_platdata *plat = dev_get_platdata(dev);
+ u32 val;
+
+ priv->regs = plat->regs;
On 12/27/2015 01:01 AM, Daniel Schwierzeck wrote:
+u32 id, major, minor;
+u32 rev = 0;
+u32 ver = 1;
+
+id = readl(KSEG1ADDR(AR71XX_RESET_BASE + AR71XX_RESET_REG_REV_ID));
+major = id & REV_ID_MAJOR_MASK;
+
+switch (major) {
+case REV_ID_MAJOR_AR71XX:
+minor
On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
> On 12/27/2015 03:38 PM, Marek Vasut wrote:
> > On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote:
> >> On 12/27/2015 02:37 AM, Marek Vasut wrote:
> >>> On Saturday, December 26, 2015 at 07:29:51 PM, Wills Wang wrote:
> >>>
On 12/27/2015 06:09 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
On 12/27/2015 03:38 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote:
On 12/27/2015 02:37 AM, Marek Vasut wrote:
On Saturday, December 26, 2015 at 07
On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
> On 12/27/2015 06:09 PM, Marek Vasut wrote:
> > On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
> >> On 12/27/2015 03:38 PM, Marek Vasut wrote:
> >>> On Sunday, December 27, 2015 at 08:33:26 AM, Wills Wang wrote:
>
Hi Tom,
Here is a sunxi pull-req with a small bugfix for v2016.01:
The following changes since commit f84c2b665b87fc6713a756d0fddf5c45e02255e5:
Prepare v2016.01-rc3 (2015-12-21 21:07:04 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-sunxi.git master
for you to f
On 12/27/2015 07:04 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
On 12/27/2015 06:09 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
On 12/27/2015 03:38 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 08:3
Am 27.12.2015 um 12:04 schrieb Marek Vasut:
> On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
>> On 12/27/2015 06:09 PM, Marek Vasut wrote:
>>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
On 12/27/2015 03:38 PM, Marek Vasut wrote:
> On Sunday, December 2
On Sunday, December 27, 2015 at 12:37:37 PM, Daniel Schwierzeck wrote:
> Am 27.12.2015 um 12:04 schrieb Marek Vasut:
> > On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
> >> On 12/27/2015 06:09 PM, Marek Vasut wrote:
> >>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote
On Sunday, December 27, 2015 at 12:37:16 PM, Wills Wang wrote:
> On 12/27/2015 07:04 PM, Marek Vasut wrote:
> > On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
> >> On 12/27/2015 06:09 PM, Marek Vasut wrote:
> >>> On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
>
Hi Wills,
Please note the following,
1. add this uart to drivers/serial/Kconfig .
2. add debug uart support. see include/debug_uart.h . also add it to Kconfig
3. cp linux/Documentation/devicetree/bindings/serial/qca,ar9330-uart.txt
u-boot/doc/device-tree-bindings/serial/
4. to save chan
On 12/27/2015 07:37 PM, Daniel Schwierzeck wrote:
Am 27.12.2015 um 12:04 schrieb Marek Vasut:
On Sunday, December 27, 2015 at 11:18:25 AM, Wills Wang wrote:
On 12/27/2015 06:09 PM, Marek Vasut wrote:
On Sunday, December 27, 2015 at 09:07:36 AM, Wills Wang wrote:
On 12/27/2015 03:38 PM, Mar
Use wildcard to clean arch subdirectories, as it is cleaner than
listing all the arch which builds dtb.
Signed-off-by: Thomas Chou
---
dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/Makefile b/dts/Makefile
index d3122aa..dbde703 100644
--- a/dts/Makefile
+++
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
Cc: Albert Aribaud
---
arch/arm/dts/Makefile | 192 +-
1 file changed, 1 insertion(+), 191
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
Cc: Michal Simek
---
arch/microblaze/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/microblaze/dts/M
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
Cc: Wolfgang Denk
---
arch/powerpc/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/dts/Makefi
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
Cc: Bin Meng
---
arch/x86/dts/Makefile | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/arch/x86/dts/Makefil
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
---
arch/sandbox/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/d
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou
Cc: Alexey Brodkin
---
arch/arc/dts/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arc/dts/Makefile b
Hi,
On 24-12-15 17:08, Ian Campbell wrote:
On Wed, 2015-12-23 at 11:50 +0100, Hans de Goede wrote:
There are some reports of stability issues at 672 MHz, see:
http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit
Looks like only one (in that table at least)?
Correct, but another 7 out
On Wed, Dec 23, 2015 at 12:22:22AM +0900, Masahiro Yamada wrote:
> Hi Tom,
>
> Here are various cleanups and preparation for new SoCs support.
> Please pull!
>
>
> The following changes since commit f84c2b665b87fc6713a756d0fddf5c45e02255e5:
>
> Prepare v2016.01-rc3 (2015-12-21 21:07:04 -0500
On Wed, Dec 23, 2015 at 04:15:07AM +0100, Marek Vasut wrote:
> The following changes since commit 3721208fa7fdb2af6ac13300d5d81433742c6ba1:
>
> x86: Remove Graeme Russ from the git alias file (2015-12-21 09:37:46 -0500)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boo
On Wed, Dec 23, 2015 at 04:27:58PM +0100, Marek Vasut wrote:
> Hi,
>
> I had to add one more patch, so below is an updated one:
>
> The following changes since commit 3721208fa7fdb2af6ac13300d5d81433742c6ba1:
>
> x86: Remove Graeme Russ from the git alias file (2015-12-21 09:37:46 -0500)
>
>
On Sun, Dec 27, 2015 at 12:35:54PM +0100, Hans de Goede wrote:
> Hi Tom,
>
> Here is a sunxi pull-req with a small bugfix for v2016.01:
>
> The following changes since commit f84c2b665b87fc6713a756d0fddf5c45e02255e5:
>
> Prepare v2016.01-rc3 (2015-12-21 21:07:04 -0500)
>
> are available in t
Hi Masahiro,
On 23.12.2015 04:52, Masahiro Yamada wrote:
[..]
> I guess Linux sorts headers from global to local.
>
> #include global in the project
> #include arch-specific
> #include "foo.h"local in the directory
>
>
> Likewise, the following makes sense for U-Boot
>
> #inc
On 26.12.15 19:55, Leif Lindholm wrote:
> On Fri, Dec 25, 2015 at 10:25:22AM +0100, Andreas Färber wrote:
>> Am 25.12.2015 um 10:02 schrieb Alexander Graf:
>> [snip]
>>> The reason I implemented "bootefi" was really because it's the natural
>>> fit into how U-Boot handles all other formats today.
On Wed, Dec 23, 2015 at 12:14:15PM +0200, Siarhei Siamashka wrote:
> On Tue, 17 Nov 2015 15:32:30 +0100
> Jens Kuske wrote:
>
> > On 16/11/15 07:26, Chen-Yu Tsai wrote:
> > > Hi everyone,
> > >
> > > I got my Orange Pi PC booting U-boot now, using Hans' sunxi-wip branch
> > > that
> > > include
Add function to poll register waiting for specific bit(s).
Similar functions are implemented in few drivers - they are almost
identical and can be generalized.
Signed-off-by: Mateusz Kulikowski
---
include/wait_bit.h | 71 ++
1 file changed, 71
Use existing library function to poll bit(s).
Signed-off-by: Mateusz Kulikowski
---
drivers/usb/host/dwc2.c | 41 +
1 file changed, 13 insertions(+), 28 deletions(-)
diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 541c0f9..42d31e3 10
Use existing library function to poll bit(s).
Signed-off-by: Mateusz Kulikowski
---
drivers/usb/host/ehci-mx6.c | 32
1 file changed, 4 insertions(+), 28 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 2666351..e1c67f7
Changes in V3:
- wait_for_bit code is moved to header and
converted to static inline function.
Previous version added ~7byte of rodata to
all boards (even not using wait_for_bit).
Changes in V2:
- wait_bit.o is always compiled in
- Removed CONFIG_LIB_WAIT_BIT from configs/Kconfigs
- Constif
Use existing library function to poll bit(s).
Signed-off-by: Mateusz Kulikowski
---
drivers/net/zynq_gem.c | 35 ++-
1 file changed, 2 insertions(+), 33 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 7059c84..97e30f3 100644
--- a/
Use existing library function to poll bit(s).
Signed-off-by: Mateusz Kulikowski
Tested-by: Sylvain Lemieux
---
drivers/usb/host/ohci-lpc32xx.c | 34 +++---
1 file changed, 7 insertions(+), 27 deletions(-)
diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/h
On Sat, Dec 26, 2015 at 03:31:03PM +, Leif Lindholm wrote:
> On Tue, Dec 22, 2015 at 02:57:47PM +0100, Alexander Graf wrote:
> > This is my Christmas present for my openSUSE friends :).
> >
> > U-Boot is a great project for embedded devices. However, convincing
> > everyone involved that only
On Sun, Dec 27, 2015 at 01:10:39PM -0500, Tom Rini wrote:
> So, my only "big" concern here is, are we as a community able to view
> and implement the relevant parts of the UEFI spec (without having to
> agree to a potentially complicated enough license to have to bug a
> lawyer)? It's been a while
On Sun, Dec 27, 2015 at 06:39:16PM +, Leif Lindholm wrote:
> On Sun, Dec 27, 2015 at 01:10:39PM -0500, Tom Rini wrote:
> > So, my only "big" concern here is, are we as a community able to view
> > and implement the relevant parts of the UEFI spec (without having to
> > agree to a potentially co
On Sonntag, 27. Dezember 2015 18:28:09 CET Mateusz Kulikowski wrote:
> Use existing library function to poll bit(s).
>
> Signed-off-by: Mateusz Kulikowski
It might be useful to have not only a relative timeout, but also an absolute
timeout. For dwc2, the timeout handling could be moved from the
Hi Marek,
On 2015年12月25日 17:58, Marek Vasut wrote:
On Friday, December 25, 2015 at 09:33:52 AM, Thomas Chou wrote:
Hi Marek,
On 2015年12月25日 12:08, Marek Vasut wrote:
Well, it is only a putc() which is plain and simple.
Sure, but then I still don't understand why this cannot be in the common
On 2015年12月24日 08:51, Thomas Chou wrote:
Erase is an asynchronous operation. Device drivers are supposed
to call instr->callback() whenever the operation completes, even
if it completes with a failure.
Signed-off-by: Thomas Chou
---
drivers/mtd/altera_qspi.c | 1 +
1 file changed, 1 inser
On 2015年12月24日 08:51, Thomas Chou wrote:
If the erase fails, fail_addr might indicate exactly which block
failed. If fail_addr = MTD_FAIL_ADDR_UNKNOWN, the failure was not
at the device level or was not specific to any particular block.
Signed-off-by: Thomas Chou
---
drivers/mtd/altera_qspi
On 2015年12月24日 08:51, Thomas Chou wrote:
Skip erase if the sector is blank. The sector erase is slow, and
may take 0.7 sec typically or up to 3 sec worst-case.
Signed-off-by: Thomas Chou
---
drivers/mtd/altera_qspi.c | 39 +--
1 file changed, 25 insertio
On 2015年12月24日 08:51, Thomas Chou wrote:
Allow ctrl-c to abort the erase ops.
Signed-off-by: Thomas Chou
---
drivers/mtd/altera_qspi.c | 9 +
1 file changed, 9 insertions(+)
Applied to u-boot-nios.
___
U-Boot mailing list
U-Boot@lists.
On 2015年12月24日 08:51, Thomas Chou wrote:
Show sector erase progress with dot and comma.
Signed-off-by: Thomas Chou
---
drivers/mtd/altera_qspi.c | 14 ++
1 file changed, 14 insertions(+)
Applied to u-boot-nios.
___
U-Boot mailing
The following changes since commit 78680314c53a95c0bb25e942662979843b60d7b9:
Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-12-27 09:15:57
-0500)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
for you to fetch changes up to 8e8106dcd540e4c7
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> Cc: Alexey Brodkin
> ---
> arch/arc/dts/Makefile | 4 +---
> 1 file changed,
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use wildcard to clean arch subdirectories, as it is cleaner than
> listing all the arch which builds dtb.
>
> Signed-off-by: Thomas Chou
> ---
> dts/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
__
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> Cc: Michal Simek
> ---
> arch/microblaze/dts/Makefile | 2 +-
> 1 file change
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> Cc: Albert Aribaud
> ---
> arch/arm/dts/Makefile | 192
> +--
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> ---
> arch/sandbox/dts/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 de
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> Cc: Wolfgang Denk
> ---
> arch/powerpc/dts/Makefile | 2 +-
> 1 file changed,
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards.
>
> Signed-off-by: Thomas Chou
> Cc: Bin Meng
> ---
> arch/x86/dts/Makefile | 11 +--
> 1 file changed
On 22 December 2015 at 03:04, Masahiro Yamada
wrote:
> This header uses ulong, so it needs to include .
> Likewise, "struct udevice" must be declared before it is used.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> include/clk.h | 4
> 1 file changed, 4 insertions(+)
Acked-by: Simon Glass
On 22 December 2015 at 03:04, Masahiro Yamada
wrote:
> The comment about get_periph_rate() is the same as that of
> set_periph_rate().
>
> I am fixing typos here and there while I am in this file.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> include/clk.h | 20 ++--
> 1 file chan
Hi Peng,
On 22 December 2015 at 02:14, Peng Fan wrote:
> From: Peng Fan
>
> Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always
> check to free 'buff' to avoid memory leak.
Are you sure? I believe need_buff is only true if the simple parser is
being used.
>
> Signed-off-by: Peng Fa
On 20 December 2015 at 08:54, Angelo Dureghello wrote:
> Boards can now use DM serial driver, or still legacy mcf uart
> driver version.
>
> Signed-off-by: Angelo Dureghello
>
> ---
>
> Changes in v2:
> - remove while loops in putc and getc, replacing with return -EAGAIN
> - remove unneeded ifdef
On 20 December 2015 at 08:54, Angelo Dureghello wrote:
> To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used.
> So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and
> call to board_init_f_mem() is added for all cpu's.
>
> Signed-off-by: Angelo Dureghello
>
> ---
>
> Changes in v2: N
Hi Jagan,
On 19 December 2015 at 07:13, Jagan Teki wrote:
> This patch add's spi_flash_ids handling into core, instead
> of maintaining it into separate file like sf_params.c
>
> Code taken from the Linux spi-nor core and added missing
> part id's and also added extra flash_info member as e_rd_cm
On 19 December 2015 at 14:29, Vladimir Zapolskiy wrote:
> For NXP LPC32xx boards the change enables SPL_DM option, this allows
> to use any driver model UART driver in SPL images, hence a restriction
> on HSUART in SPL image is removed and well as definitions for non-DM
> NS16550 driver, its DM ve
Hi,
On 20 December 2015 at 08:29, Jagan Teki wrote:
> On 20 December 2015 at 19:38, wrote:
>>
>> Dear Sir,
>>
>> I am considering using U-Boot as a software platform to bring up a hardware
>> platform that am developing. In doing so, I may need to develop a couple of
>> Device Drivers. I wa
Hi Masahiro,
On 22 December 2015 at 03:04, Masahiro Yamada
wrote:
> Add device tree binding support for the clock uclass. This allows
> clock consumers to get the peripheral ID based on the "clocks"
> property in the device tree.
>
> Usage:
> Assume the following device tree:
>
> clk: myclock
Hi Nishanth,
On 19 December 2015 at 17:25, Nishanth Menon wrote:
> Hi Simon,
>
> On Sat, Dec 19, 2015 at 5:07 PM, Simon Glass wrote:
>
> [...]
>>
>> Are you going to do a new version of this series? It seems like a good
>> idea to me and I'd like to see it applied.
>
> As per:
>
> https://patchw
Hi Masahiro,
On 22 December 2015 at 20:52, Masahiro Yamada
wrote:
> Hi Simon,
>
>
>
>>> BTW, the "Include file order" in
>>> http://www.denx.de/wiki/U-Boot/CodingStyle
>>>
>>> Is this your opinion? Or community's opinion.
>>>
>>> Did anybody review it?
>>
>> This came from Mike Frysinger some yea
Hi Simon,
On Sun, Dec 27, 2015 at 09:22:01PM -0700, Simon Glass wrote:
>Hi Peng,
>
>On 22 December 2015 at 02:14, Peng Fan wrote:
>> From: Peng Fan
>>
>> Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always
>> check to free 'buff' to avoid memory leak.
>
>Are you sure? I believe need_b
On Monday, December 28, 2015 at 02:17:46 AM, Thomas Chou wrote:
> Hi Marek,
>
> On 2015年12月25日 17:58, Marek Vasut wrote:
> > On Friday, December 25, 2015 at 09:33:52 AM, Thomas Chou wrote:
> >> Hi Marek,
> >>
> >> On 2015年12月25日 12:08, Marek Vasut wrote:
> Well, it is only a putc() which is
66 matches
Mail list logo