Hi Marek,
On 09/29/2015 10:45 AM, Marek Vasut wrote:
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -64,6 +64,9 @@ config NIOS2
select HAVE_GENERIC_BOARD
select SYS_GENERIC_BOARD
select SUPPORT_OF_CONTROL
+ select OF_CONTROL
+ select DM
+ select CPU
What's
Tested-by: Hannes Schmelzer on B kwb board.
On 28.09.2015 11:12, Bin Meng wrote:
Convert CONFIG_CMD_ELF to Kconfig and tidy up affected boards.
Signed-off-by: Bin Meng
---
Changes in v2:
- Split the defconfig reorder to another patch, making this patch
Hi,
just checked my upstream branch and noticed that this patch is outstanding.
How about merge?
regards,
Hannes
On 25.08.2015 18:01, Joe Hershberger wrote:
Hi Hannes,
On Tue, Aug 25, 2015 at 5:17 AM, Hannes Schmelzer wrote:
If CONFIG_CMD_DHCP is enabled, the vci
Dear Tom,
In message <20150928210901.GH22966@bill-the-cat> you wrote:
>
> I've pushed v2015.10-rc4 out to the repository and tarballs should exist
> soon.
Tarballs are both on the FTP server [1] and the ACD [2].
[1] ftp://ftp.denx.de/pub/u-boot/
[2]
Tested-by: Hannes Schmelzer on B kwb board.
On 28.09.2015 11:12, Bin Meng wrote:
This commit cleans up cmd_elf.c per U-Boot coding convention,
and removes the unnecessary DECLARE_GLOBAL_DATA_PTR and out-of-date
powerpc comments (it actually supports not only powerpc targets).
Currently, kwboot only allows dynamic UART boot mode patching for SoCs
with header version 0 (Orion, Kirkwood). This patch now enables this "-p"
feature also for SoCs with header version 1 (Armada XP / 38x etc). With
this its possible now to use the UART boot mode without on images that
are
On 29 September 2015 at 17:37, Fabio Estevam
wrote:
> Many SPI flashes have protection bits (BP2, BP1 and BP0) in the
> status register that can protect selected regions of the SPI NOR.
>
> Take these bits into account when performing erase operations,
> making sure
Hi Hannes,
On Tue, Sep 29, 2015 at 1:58 PM, Hannes Schmelzer
wrote:
> Hi Bin,
>
> works now well.
> Also the thing with bootvx and the bootline works fine.
Great to hear! Maybe you can add a 'Tested-by' tag to my series if you like.
>
> I will send some v2 of my patch
Since we don't have for sure a valid IP-setup during
board_late_init(...) because it maybe allready stored in environment or
not, we cannot form a proper vxWorks bootline at this place.
So we move to the way, forming the bootline just before
executing/launching vxWorks. To do this we use the
Tested-by: Hannes Schmelzer on B kwb board.
On 28.09.2015 11:12, Bin Meng wrote:
So far VxWorks bootline can be contructed from various environment
variables, but when these variables do not exist we get these from
corresponding config macros. This is not helpful as it
Hi Fabio,
On 29.09.2015 04:45, Fabio Estevam wrote:
From: Fabio Estevam
Many SPI flashes have protection bits (BP2, BP1 and BP0) in the
status register that can protect selected regions of the SPI NOR.
Take these bits into account when performing erase
Convert altera sysid to driver model with misc uclass.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/Makefile| 2 +-
arch/nios2/cpu/cpu.c | 15 +
arch/nios2/cpu/sysid.c | 46 --
Implement a Miscellaneous uclass with generic read or
write operations. This class is used only for those
do not fit other more general classes.
Signed-off-by: Thomas Chou
---
drivers/misc/Kconfig | 6 ++
drivers/misc/Makefile | 1 +
Hi,
On 28-09-15 23:12, Tom Rini wrote:
On Mon, Sep 28, 2015 at 09:22:35PM +0200, Hans de Goede wrote:
Hi,
On 28-09-15 17:10, Tom Rini wrote:
On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote:
As config migrates from board config files to Kconfig, when adding
CONFIG_SYS_BOOTM_LEN
Convert altera timer to driver model.
Signed-off-by: Thomas Chou
---
v2
fix coding style.
arch/nios2/cpu/Makefile | 2 +-
arch/nios2/cpu/timer.c | 65
common/board_f.c| 3 +-
configs/nios2-generic_defconfig
Implement a Timer uclass to work with lib/time.c.
Signed-off-by: Thomas Chou
---
v2
fix coding style.
common/board_r.c | 5 +++--
drivers/Kconfig | 2 ++
drivers/Makefile | 1 +
drivers/timer/Kconfig| 9
On Tue, Sep 29, 2015 at 10:54 AM, Jagan Teki wrote:
> What if sf erase 0x3f 0x2 - it should skip first 0x1 from
> 0x3f and then erase next 0x1 from (0x3f+0x1) did you
> verify this?
On my case (M25P32) the 0x3f is the last sector (sector size
Hi Thomas,
On 29 September 2015 at 06:39, Thomas Chou wrote:
> Implement a Timer uclass to work with lib/time.c.
>
> Signed-off-by: Thomas Chou
Thanks for doing this work! I have some comments below.
> ---
> v2
> fix coding style.
>
>
Hi Thomas,
On 29 September 2015 at 06:15, Thomas Chou wrote:
> Convert nios2 cpu to driver model. The cpu parameters are
> extracted from device tree and saved to global data structure.
> We will use them to replace the custom_fpga.h .
>
> Signed-off-by: Thomas Chou
Hi Adrian,
On 21/09/2015 22:44, Adrian Alonso wrote:
> Signed-off-by: Adrian Alonso
> ---
> arch/arm/cpu/armv7/mx6/Makefile | 1 -
> arch/arm/cpu/armv7/mx6/hab.c| 502 ---
> arch/arm/imx-common/Makefile| 1 +
>
Convert altera sysid to driver model with misc uclass.
Signed-off-by: Thomas Chou
---
v2
remove trailing whitespace in altera_sysid.c.
v3
fix coding style as suggested by Stefan.
arch/nios2/cpu/Makefile| 2 +-
arch/nios2/cpu/cpu.c
Hi Stefan,
On 09/29/2015 05:30 PM, Stefan Roese wrote:
+void display_sysid (void)
+{
Even though you have copied this code, please fix the coding style
above (space before "("). For all occurrences in this patch, so
that it is checkpatch clean.
Thanks a lot for reminding.
Best regards,
Implement a Miscellaneous uclass with generic read or
write operations. This class is used only for those
do not fit other more general classes.
Signed-off-by: Thomas Chou
---
v2
add missing misc.h.
v3
no change.
drivers/misc/Kconfig | 6 ++
The crc-check and decision on which environment to use is now moved to
env_relocate_spec. This is done for both the "redundant env" and the
"single env" case.
This also solves problems introduced from the commit "env_eeprom: Assign
default environment during board_init_f"
We run 4 Arndale boards in our automated test framework, they have
been running quite happily for quite some time using a Debian Wheezy
userspace.
However when upgrading to a Debian Jessie we started seeing frequent
segmentation faults from gcc when building the kernel, to the extent
that it is
Import various DT files for am57xx-beagle-x15 from
Linux Kernel v4.2
Add config file for this board, enable DM, DM_GPIO,
DM_SERIAL and DM_MMC.
Signed-off-by: Mugunthan V N
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/am57xx-beagle-x15.dts | 699
This patch series enables Driver Model and Devitree usage for
am57xx platform and tested it on am57xx-evm (Loga [1]). Also
pushed a branch [2] for referrence.
This patch series depends on [3] (MMC DM patch series),
[4] OMAP5 SERIAL DM fix nad [5] DRA74x bringup patch for
dra74x dtsi files.
[1]:
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N
asdfsadf
---
include/configs/ti_omap5_common.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/ti_omap5_common.h
Hi Tom,
Here is a (the final?) sunxi pull-req for v2015.10, highlights:
-Misc fixes / tweaks
-Add support for 2 new boards
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
are available in the git repository at:
On 2 September 2015 at 13:30, Marek Vasut wrote:
> On Wednesday, September 02, 2015 at 08:09:51 AM, Jagan Teki wrote:
>> This patch adds flag status register reading support to
>> spi_flash_cmd_wait_ready.
>>
>> Signed-off-by: Jagan Teki
>> Cc: Simon Glass
Hi Thomas,
On 29.09.2015 11:04, Thomas Chou wrote:
> Convert altera sysid to driver model with misc uclass.
>
> Signed-off-by: Thomas Chou
> ---
> v2
>remove trailing whitespace in altera_sysid.c.
>
> arch/nios2/cpu/Makefile| 2 +-
>
Implement a Miscellaneous uclass with generic read or
write operations. This class is used only for those
do not fit other more general classes.
Signed-off-by: Thomas Chou
---
v2
add missing misc.h.
drivers/misc/Kconfig | 6 ++
drivers/misc/Makefile | 1
Convert altera sysid to driver model with misc uclass.
Signed-off-by: Thomas Chou
---
v2
remove trailing whitespace in altera_sysid.c.
arch/nios2/cpu/Makefile| 2 +-
arch/nios2/cpu/cpu.c | 15 +
arch/nios2/cpu/sysid.c
SeaBIOS is an open source implementation of a 16-bit X86 BIOS.
It can run in an emulator or natively on X86 hardware with the
use of coreboot. With SeaBIOS's help, we can boot some OSes
that require 16-bit BIOS services like Windows/DOS.
As U-Boot, we have to manually create a table where SeaBIOS
On Tue, Sep 29, 2015 at 2:43 PM, Hannes Schmelzer wrote:
> Since we don't have for sure a valid IP-setup during
> board_late_init(...) because it maybe allready stored in environment or
> not, we cannot form a proper vxWorks bootline at this place.
>
> So we move to the way,
Convert nios2 cpu to driver model. The cpu parameters are
extracted from device tree and saved to global data structure.
We will use them to replace the custom_fpga.h .
Signed-off-by: Thomas Chou
---
v2
move cpu param setup to arch_cpu_init_dm, remove probe.
v3
fix
On Tue, Sep 29, 2015 at 10:28 PM, Bin Meng wrote:
> +Simon
>
> On Tue, Sep 29, 2015 at 3:18 PM, Thomas Chou wrote:
>> Hi Marek,
>>
>> On 09/29/2015 10:45 AM, Marek Vasut wrote:
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -64,6 +64,9 @@
Add support for the order_base_2() macro (and its dependencies)
from the Linux kernel.
This is useful for the SPI NOR unlock function.
Signed-off-by: Fabio Estevam
---
Changes since v1:
- None.
arch/arm/include/asm/bitops.h | 56
Many SPI flashes have protection bits (BP2, BP1 and BP0) in the
status register that can protect selected regions of the SPI NOR.
Take these bits into account when performing erase operations,
making sure that the protected areas are skipped.
Introduce the CONFIG_SPI_FLASH_STM_PROTECT option
Thank you two,
this was the hint i needed.
The Load-Address was wrong.
Anyway, i still don't know how to determine the Load- & Entry-Address,
and i would be thankful if you could clear some things up for me.
I always work on ARM Cortex A9 processors.
The first time i came in touch with
+Simon
On Tue, Sep 29, 2015 at 3:18 PM, Thomas Chou wrote:
> Hi Marek,
>
> On 09/29/2015 10:45 AM, Marek Vasut wrote:
>>>
>>> --- a/arch/Kconfig
>>> +++ b/arch/Kconfig
>>> @@ -64,6 +64,9 @@ config NIOS2
>>> select HAVE_GENERIC_BOARD
>>> select
Hi,
On 29 September 2015 at 08:29, Bin Meng wrote:
> On Tue, Sep 29, 2015 at 10:28 PM, Bin Meng wrote:
>> +Simon
>>
>> On Tue, Sep 29, 2015 at 3:18 PM, Thomas Chou wrote:
>>> Hi Marek,
>>>
>>> On 09/29/2015 10:45 AM, Marek Vasut
Hi Tom,
> Hey all,
>
> I've pushed v2015.10-rc4 out to the repository and tarballs should
> exist soon.
>
> We're coming up on the release date and I think things are in
> reasonable shape overall. Please speak up if there's some fixes I'm
> still overlooking, I thought I grabbed them all by
Hi Tom.
This include one more bug fix.
The following changes since commit 1f8836396de8215b7f460616926052b32597bb29:
Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-x86.git
for you to fetch changes up to
The FVP and Juno settings were identical, but duplicated, so I removed
the duplication with this patch.
Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
---
board/armltd/vexpress64/Kconfig | 17 -
1 file changed, 17
This patch fixes a couple of checkpatch warnings on the vexpress64 config.
Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
---
include/configs/vexpress_aemv8a.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
This patch changes the default "root=" parameter to "/dev/sda2".
Many linux based distros use /dev/sda1 for their boot partition; this is
often not a rootfs that can be used by the "root=" parameter.
Linaro images use /dev/sda1 as a boot partition, although this of a
different nature to a distro
Dear ba_f,
In message <2e2178cf246f80c4f9098dce357e5...@rbg.informatik.tu-darmstadt.de>
you wrote:
>
> Another issue:
So, here we go in a new thread.
> I tried to execute the same Uimage on another platform. The platform has
> the same processor but another U-Boot.
> On this platform i fail
Linaro's Juno Android builds requires the androidboot.hardware parameter
be set to a know board name.
Non-Android kernels ignore this extra parameter because they don't
contain code to parse it.
Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
Change the load_image so that it returns success or failure of the
command (using CMD_RET_SUCCESS or CMD_RET_FAILURE).
This way, hush scripts can optionally load different files depending
upon the system configuration.
A simple example:
if afs load ${kernel_name} ${kernel_addr}; then echo
Some OS images require an initrd on Juno.
If the file ramdisk.img exists in NOR flash, then we load it and pass
the address to the kernel. Otherwise, we pass the "-" parameter as
before.
Signed-off-by: Ryan Harkin
Reviewed-by: Linus Walleij
Add a command to the ARM flash support to check if an image exists or
not.
If the image is found, it will return CMD_RET_SUCCESS, else
CMD_RET_FAILURE. This allows hush scripts to conditionally load images.
A simple example:
if afs exists ${kernel_name}; then echo found; else echo \
not found;
Dear ba_f,
In message <2e2178cf246f80c4f9098dce357e5...@rbg.informatik.tu-darmstadt.de>
you wrote:
>
> Anyway, i still don't know how to determine the Load- & Entry-Address,
> and i would be thankful if you could clear some things up for me.
Did you read the FAQ? See es[ecially [1]
[1]
Create an additional FVP configuration to boot images pre-loaded into
DRAM.
Sometimes it's preferential to boot the model by loading the files
directly into DRAM via model parameters, rather than using
SemiHosting.
An example of model parmaters that are used to pre-load the files
into DRAM:
This patch series updates the default configuration of the vexpress64 FVP
and Juno platforms to allow it to work on a variety of setups without
modification by the user.
[PATCH v2 01/10] vexpress64: fix checkpatch warnings
[PATCH v2 02/10] vexpress64: Kconfig: tidy up
[PATCH v2 03/10] vexpress64:
The default Juno firmware has renamed the kernel and device tree
filenames to norkern and board.dtb.
Rather than change the default configuration to use the new names,
breaking those with the old firmware, attempt to load the existing
filename first. If that fails, attempt to load the alternate
ping
On 09/24/15 12:56, Igor Grinberg wrote:
> Hi Tom,
>
> On 08/26/15 17:54, Igor Grinberg wrote:
>> CONFIG_TWL4030_POWER is a boolean define variable. It is either defined
>> or not defined and should not have a value assigned to it.
>> Remove the value.
>>
>> Signed-off-by: Igor Grinberg
vexpress64 kernels are usually over 8 MBytes in length, so setting the
max uImage length to 64 Mbytes should give us plenty of scope for
expansion.
I mostly chose this length to match other board configs that use
"(64 << 20)".
Signed-off-by: Ryan Harkin
Reviewed-by:
ping x2
On 09/24/15 12:57, Igor Grinberg wrote:
> ping.
>
> On 08/26/15 17:54, Igor Grinberg wrote:
>> Add CONFIG_CMD_BOOTZ to the Kconfig.
>> Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM,
>> make it select the CONFIG_CMD_BOOTM.
>>
>> Signed-off-by: Igor Grinberg
On Tue, Sep 29, 2015 at 07:25:02PM +0300, Igor Grinberg wrote:
> ping x2
>
> On 09/24/15 12:57, Igor Grinberg wrote:
> > ping.
> >
> > On 08/26/15 17:54, Igor Grinberg wrote:
> >> Add CONFIG_CMD_BOOTZ to the Kconfig.
> >> Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM,
> >>
Hi Simon,
On Wed, 2015-09-23 at 10:39 +, Simon Glass wrote:
> Hi,
>
> On 22 September 2015 at 21:10, Chin Liang See wrote:
> >
> > Hi,
> >
> > > From: ma...@denx.de
> > > Sent: Friday, September 11, 2015 8:45 AM
> > > To: Simon Glass
> > > Cc: Chin Liang See; ZY - u-boot;
Hi Hannes,
On Tue, Sep 29, 2015 at 3:19 AM, Hannes Schmelzer
wrote:
> Hi,
>
> just checked my upstream branch and noticed that this patch is outstanding.
> How about merge?
Do you think this is a critical bug fix? I was planning to wait for
next release since the patch
Hi Thomas,
On Tue, 2015-09-29 at 07:39 +, tho...@wytron.com.tw wrote:
> Convert altera timer to driver model.
>
> Signed-off-by: Thomas Chou
> ---
> v2
> fix coding style.
>
> arch/nios2/cpu/Makefile | 2 +-
> arch/nios2/cpu/timer.c | 65
On 21 September 2015 at 23:56, Jagan Teki wrote:
> Hi Michal,
>
> On 19 September 2015 at 06:38, Michal Simek wrote:
>> On 09/19/2015 02:55 AM, Michal Simek wrote:
>>> On 09/16/2015 09:20 AM, Jagan Teki wrote:
Hi Michal,
On 15 September
On 29 September 2015 at 17:37, Fabio Estevam
wrote:
> Many SPI flashes have protection bits (BP2, BP1 and BP0) in the
> status register that can protect selected regions of the SPI NOR.
>
> Take these bits into account when performing erase operations,
> making sure
Hi Marek,
On Thu, 2015-09-24 at 09:16 +0200, ma...@denx.de wrote:
> On Wednesday, September 23, 2015 at 05:21:51 AM, Chin Liang See wrote:
> > Hi,
>
> Hi!
>
> > On Wed, 2015-09-23 at 11:13 +0800, Chin Liang See wrote:
> > > From: ma...@denx.de
> > > Sent: Thursday, September 10, 2015 7:52 PM
>
Hi Thomas,
On Thu, 2015-09-24 at 14:47 +0800, tho...@wytron.com.tw wrote:
> These macros can be used to clear and set multiple bits
> in a register using a single call.
>
> Signed-off-by: Thomas Chou
Thanks for the patch.
Sorry for the late comments as noticed all my mail
The current "simple" address translation simple_bus_translate() is not
working on some platforms (e.g. MVEBU). As here more complex "ranges"
properties are used in many nodes (multiple tuples etc). This patch
enables the optional use of the common fdt_translate_address() function
which handles
Hi Thomas,
On Tue, 2015-09-29 at 15:23 +0800, tho...@wytron.com.tw wrote:
> Convert altera sysid to driver model with misc uclass.
>
> Signed-off-by: Thomas Chou
Thanks for the patch.
> ---
> arch/nios2/cpu/Makefile| 2 +-
> arch/nios2/cpu/cpu.c
Hi Thomas,
On Sat, 2015-09-26 at 17:07 +0800, tho...@wytron.com.tw wrote:
> Convert altera_pio to driver model.
>
> Signed-off-by: Thomas Chou
> ---
> v2
> fix ranges of pio in dts
> fix coding style as Marek suggested.
>
> v3
> change gpio_count device tree
On 29/09/15 13:47, Simon Glass wrote:
> On 28 September 2015 at 06:17, Przemyslaw Marczak
> wrote:
>> After rework of lib/fdtdec.c by:
>>
>> commit: 02464e3 fdt: add new fdt address parsing functions
>>
>> the function fdtdec_get_addr() doesn't work as previous,
>> because
Hi Simon,
On Tue, Sep 29, 2015 at 12:32 AM, Simon Glass wrote:
> The current name is inconsistent with other driver model data access
> functions. Rename it and fix up all users.
>
> Signed-off-by: Simon Glass
Reviewed-by: Joe Hershberger
On Tue, Sep 29, 2015 at 07:25:27PM +0300, Igor Grinberg wrote:
> ping
>
> On 09/24/15 12:56, Igor Grinberg wrote:
> > Hi Tom,
> >
> > On 08/26/15 17:54, Igor Grinberg wrote:
> >> CONFIG_TWL4030_POWER is a boolean define variable. It is either defined
> >> or not defined and should not have a
73 matches
Mail list logo