Hi Dennis,
On 14/02/2014 17:14, Dennis Gilmore wrote:
> On Fri, 14 Feb 2014 16:06:55 +0100
> Stefano Babic wrote:
>
>> Signed-off-by: Stefano Babic
>> CC: Fabio Estevam
>> CC: Otavio Salvador
>> CC: Marek Vasut
>> CC: Leo Sartre
>> CC: Jon Nettleton
>> CC: Eric Nelson
>> CC: b18...@freesc
CNTFRQ needs to be properly configured on all CPUs. Otherwise,
virtual machines hoping to find valuable information on secondary
CPUs will be disapointed...
Signed-off-by: Marc Zyngier
---
include/configs/sun7i.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/sun7i.h b/inclu
Move the B and D SRAM bank to their actual location (or at least
where the documentation pretends they are).
Signed-off-by: Marc Zyngier
---
arch/arm/include/asm/arch-sunxi/cpu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/arch-sunxi/cpu.h
b/arch
Having the switch to non-secure in the "prep" phase is causing
all kind of troubles, as that stage can be called multiple times.
Instead, move the switch to non-secure to the last possible phase,
when there is no turning back anymore.
Signed-off-by: Marc Zyngier
---
arch/arm/lib/bootm.c | 5 +++
From: Ma Haijun
Some architecture needs extra device tree setup. Instead of adding
yet another hook, convert arch_fixup_memory_node to be a generic
FDT fixup function.
[maz: collapsed 3 patches into one, rewrote commit message]
Signed-off-by: Ma Haijun
Signed-off-by: Marc Zyngier
---
arch/ar
In anticipation of refactoring the HYP/non-secure code to run
from secure RAM, add a new linker section that will contain that
code.
Nothing is using it just yet.
Signed-off-by: Marc Zyngier
---
arch/arm/config.mk | 2 +-
arch/arm/cpu/u-boot.lds | 30 ++
arch/a
In order to be able to use the various mode constants (far more
readable than random hex values), add the missing HYP and A
values.
Also update arm/lib/interrupts.c to display HYP instead of an
unknown value.
Signed-off-by: Marc Zyngier
---
arch/arm/include/asm/proc-armv/ptrace.h | 2 ++
arch/a
The current non-sec switching code suffers from one major issue:
it cannot run in secure RAM, as a large part of u-boot still needs
to be run while we're switched to non-secure.
This patch reworks the whole HYP/non-secure strategy by:
- making sure the secure code is the *last* thing u-boot execut
PSCI is an ARM standard that provides a generic interface that
supervisory software can use to manage power in the following
situations:
- Core idle management
- CPU hotplug
- big.LITTLE migration models
- System shutdown and reset
It basically allows the kernel to offload these tasks to the firmw
Implement core support for PSCI. As this is generic code, it doesn't
implement anything really useful (all the functions are returning
Not Implemented).
Signed-off-by: Marc Zyngier
---
arch/arm/cpu/armv7/Makefile | 4 ++
arch/arm/cpu/armv7/psci.S | 105 +++
Before switching to non-secure, make sure that CNTVOFF is set
to zero on all CPUs. Otherwise, kernel running in non-secure
without HYP enabled (hence using virtual timers) may observe
timers that are not synchronized, effectively seeing time
going backward...
Signed-off-by: Marc Zyngier
---
arch
A CP15 instruction execution can be reordered, requiring an
isb to be sure it is executed in program order.
Signed-off-by: Marc Zyngier
---
arch/arm/cpu/armv7/nonsec_virt.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch/arm/cpu/armv7/nonsec_virt.S
ind
Allow the switch to a second stage secure monitor just before
switching to non-secure.
This allows a resident piece of firmware to be active once the
kernel has been entered (the u-boot monitor is dead anyway,
its pages being reused).
Signed-off-by: Marc Zyngier
---
arch/arm/cpu/armv7/nonsec_vi
Generate the PSCI node in the device tree.
Also add a reserve section for the "secure" code that lives in
in normal RAM, so that the kernel knows it'd better not trip on
it.
Signed-off-by: Marc Zyngier
---
arch/arm/cpu/armv7/Makefile | 1 +
arch/arm/cpu/armv7/virt-dt.c | 100
So far, only supporting the CPU_ON method.
Other functions can be added later.
Signed-off-by: Marc Zyngier
---
arch/arm/cpu/armv7/sunxi/Makefile | 3 +
arch/arm/cpu/armv7/sunxi/psci.S | 162 ++
include/configs/sun7i.h | 6 ++
3 files changed, 1
Hi Marc,
On Sat, 15 Feb 2014 13:36:24 +, Marc Zyngier
wrote:
> PSCI is an ARM standard that provides a generic interface that
> supervisory software can use to manage power in the following
> situations:
There seems to be no history information either in the cover letter or
in individual pa
From: Fabio Estevam
Fix the following sparse warning:
wandboard.c:58:22: warning: symbol 'usdhc1_pads' was not declared. Should it be
static?
Signed-off-by: Fabio Estevam
---
board/wandboard/wandboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/wandboard/wandb
From: Fabio Estevam
Add a prototype for board_phy_config() to fix the following sparse warning:
wandboard.c:200:5: warning: symbol 'board_phy_config' was not declared. Should
it be static?
Cc: Joe Hershberger
Signed-off-by: Fabio Estevam
---
board/wandboard/wandboard.c | 1 +
include/phy.h
From: Fabio Estevam
Fixes the following sparse warning:
wandboard.c:137:5: warning: symbol 'board_mmc_init' was not declared. Should it
be static?
Cc: Pantelis Antoniou
Signed-off-by: Fabio Estevam
---
include/mmc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/mmc.h b/inclu
From: Fabio Estevam
Include in order to fix the following sparse warning:
wandboard.c:278:5: warning: symbol 'overwrite_console' was not declared. Should
it be static?
Signed-off-by: Fabio Estevam
---
board/wandboard/wandboard.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/wand
From: Fabio Estevam
Add a prototype for board_video_skip() in order to fix the following sparse
warning:
wandboard.c:227:5: warning: symbol 'board_video_skip' was not declared. Should
it be static?
Cc: Anatolij Gustschin
Signed-off-by: Fabio Estevam
---
include/linux/fb.h | 2 ++
1 file cha
Hi.
On 12 February 2014 17:56, wrote:
>
> Hi, JYOTI:
> >Can anybody inform me why u-boot 2013 does not support secure booting?
> >Basically what are the differences between u-boot2009.08 and u-boot2013
> >related to secure boot feature? What changes are required to develop
> secure
> >booting in
Hi,
On 13 February 2014 00:42, JYOTI DUBEY wrote:
> Can I obtain information as how secure booting works.How the keys and
> certificates are generated and also encryption and decryption steps
> involved in the authentication process. i would like to know just the
> theory behind it not and comman
Hi Heiko,
On 8 February 2014 22:34, Heiko Schocher wrote:
> add sha256 support to fit images
>
> Signed-off-by: Heiko Schocher
> Acked-by: Simon Glass
Sorry I spotted a few things since.
>
> ---
> changes for v2:
> - add Acked-by from Simon Glass
>
> common/image-fit.c | 5 +
> include/i
Hi Heiko,
On 8 February 2014 22:34, Heiko Schocher wrote:
> check if a fdt is correct signed
> pass an optional addr value. Contains the addr of the key blob
>
> Signed-off-by: Heiko Schocher
> Cc: Simon Glass
>
> ---
> changes vor v2:
> - add comment from Simon Glass:
> - rename "fdt sign" t
Hi Heiko,
On 15 February 2014 16:00, Simon Glass wrote:
> Hi Heiko,
>
> On 8 February 2014 22:34, Heiko Schocher wrote:
>> check if a fdt is correct signed
>> pass an optional addr value. Contains the addr of the key blob
>>
>> Signed-off-by: Heiko Schocher
>> Cc: Simon Glass
>>
>> ---
>> chan
Hi Heiko,
On 8 February 2014 22:34, Heiko Schocher wrote:
> based on patch from andr...@oetken.name:
>
> http://patchwork.ozlabs.org/patch/294318/
> commit message:
> I currently need support for rsa-sha256 signatures in u-boot and found out
> that
> the code for signatures is not very generic.
On 8 February 2014 22:34, Heiko Schocher wrote:
> Add support for sha256,rsa4096 signatures in u-boot.
>
> Signed-off-by: Heiko Schocher
> Cc: Simon Glass
> Cc: andr...@oetken.name
Acked-by: Simon Glass
___
U-Boot mailing list
U-Boot@lists.denx.de
ht
Hi Heiko,
On 8 February 2014 22:34, Heiko Schocher wrote:
> From: Hung-ying Tyan
>
> Add hash_init(), hash_update() and hash_finish() to the
> hash_algo struct. Add hash_lookup_algo() to look up the
> struct given an algorithm name.
>
> Signed-off-by: Hung-ying Tyan
> Signed-off-by: Simon Glass
Hi Heiko,
On 8 February 2014 22:34, Heiko Schocher wrote:
> add host tool "fit_check_sign" which verifies, if a fit image is
> signed correct.
>
> Signed-off-by: Heiko Schocher
> Cc: Simon Glass
Overall this seems reasonable, and very useful. I'm just a little
nervous about some of the work-ar
On 5 February 2014 20:44, Marek Vasut wrote:
> Fix the function annotations in aes.h so they're compatible with kerneldoc.
>
> Signed-off-by: Marek Vasut
Acked-by: Simon Glass
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/l
Hi Marek,
On 5 February 2014 20:44, Marek Vasut wrote:
> Move the AES-128-CBC encryption function implemented in
> tegra20-common/crypto.c
> into lib/aes.c . This is well re-usable common code. Moreover, clean the code
> up
> a bit and fix the kerneldoc-style annotations.
>
> Signed-off-by: Mar
Hi Marek,
On 5 February 2014 20:47, Marek Vasut wrote:
> Add support for "sha256,rsa2048" signature. This patch utilises the previously
> laid groundwork for adding other hashes.
>
> Signed-off-by: Marek Vasut
Does this conflict with Heiko's patch or is it the same?
Regards,
Simon
Hi Masahiro,
On 4 February 2014 03:00, Masahiro Yamada wrote:
> Hello Simon,
>
>
> I saw the patch you posted
> http://patchwork.ozlabs.org/patch/315846/
> and I understood what you want to do.
> (But I don't like to search similar device trees
> with file name prefixes.)
>
> Do you like ARM Linu
Hi Masahiro,
On 4 February 2014 02:38, Masahiro Yamada wrote:
> Useful rules in scripts/Makefile.lib allows us to easily
> generate a device tree blob and wrap it in assembly code.
>
> We do not need to parse a linker script to get output format and arch.
>
> This commit deletes ./u-boot.dtb sinc
Hi Masahiro,
On 4 February 2014 02:38, Masahiro Yamada wrote:
> It is convenient to have all device trees on the same SoC compiled.
> It allows for later easy repackaging without the need to re-run
> the make file.
>
> - Build device trees with the same SoC under arch/$(ARCH)/dts
> - Copy the
Hi,
On 4 February 2014 19:28, Masahiro Yamada wrote:
> It is convenient to have all device trees on the same SoC compiled.
> It allows for later easy repackaging without the need to re-run
> the make file.
>
> - Build device trees with the same SoC under arch/$(ARCH)/dts
>
> - Copy the one sp
Hi,
On 4 February 2014 19:28, Masahiro Yamada wrote:
> Useful rules in scripts/Makefile.lib allows us to easily
> generate a device tree blob and wrap it in assembly code.
>
> We do not need to parse a linker script to get output format and arch.
>
> This commit deletes ./u-boot.dtb since it is a
Hi Masahiro,
On 5 February 2014 22:50, Masahiro Yamada wrote:
> Hello Simon,
>
>
>> Hi Masahiro,
>>
>> On 4 February 2014 02:38, Masahiro Yamada wrote:
>> > Unlike Linux Kernel, U-Boot historically had *.dts files under
>> > board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.
>> >
>>
Hi Masahiro,
On 6 February 2014 14:10, Tom Rini wrote:
> On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote:
>
>> Hello Simon and Tom,
>>
>>
>> This is my analysis of Kbuild performance.
> [snip]
>> Conclusion:
>> The main reasons of the slow down with Kbuild are "fixdep" and "arg-ch
Hi Masahiro,
On 15 February 2014 18:30, Simon Glass wrote:
> Hi Masahiro,
>
> On 6 February 2014 14:10, Tom Rini wrote:
>> On Mon, Feb 03, 2014 at 12:46:30PM +0900, Masahiro Yamada wrote:
>>
>>> Hello Simon and Tom,
>>>
>>>
>>> This is my analysis of Kbuild performance.
>> [snip]
>>> Conclusion:
Hi Masahiro,
On 7 February 2014 06:29, Masahiro Yamada wrote:
> Kbuild series must be applied before this series.
>
> This series refactors a little, imports more Kbuild features
> and convert many rules to Kbuild style.
>
> I think most of rules will be displayed in short log formats
> by applyi
On 7 February 2014 06:29, Masahiro Yamada wrote:
> Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi,
On 12 February 2014 03:42, Masahiro Yamada wrote:
> Hi Albert,
>
>
>> > It might also be worth looking at tools/buildman, which automatically
>> > allocates one build thread per CPU.
>>
>> Jumping in late, but my question is incidental and not urgent anyway.
>>
>> Would using buildman make th
From: Patrice Bouchand
As Simon Glass requested it, here's a patch that enables
CONFIG_CMD_LZMADEC in sandbox.
Signed-off-by: Patrice Bouchand
Signed-off-by: Simon Glass
---
Changes in v2:
- Modify commit message to remove greetings
include/configs/sandbox.h | 2 ++
1 file changed, 2 insert
Hi Patrice,
On 3 February 2014 00:51, Patrice B wrote:
> Hello,
>
> As Simon Glass requested it, here's a patch that enables
> CONFIG_CMD_LZMADEC in sandbox.
>
> Regards.
>
> Patrice
FYI I have resent as version 2 to fix whitespace etc. I suspect your
email program is doing something fu
From: Patrice Bouchand
I needed to be able to uncompress lzma files. I did this command
based on unzip command and propose it if it could help.
Signed-off-by: Patrice Bouchand
Signed-off-by: Simon Glass
---
Changes in v2:
- Reformat commit message/code a little (patch slightly mangled)
comm
47 matches
Mail list logo