Stefano Babic 于2019年10月13日周日 下午9:35写道:
>
> Hi Jun,
>
> I am just trying to check if some patch was silently lost, I found yours:
>
> On 16/07/19 09:42, Jun Nie wrote:
> > Polish uart clock id definition. Default IMX7 UART ID is UART1
> > as original parameter in imx
* [scripts/Makefile.spl:526: spl/u-boot-spl] Error 1
make: *** [Makefile:2087: spl/u-boot-spl] Error 2
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/spl.c | 4
board/ronetix/imx7-cm/spl.c | 4
board/technexion/pico-imx6ul/spl.c| 4
board/techn
With supporting timer_get_boot_us, we can profile boot up time with below
configs and function bootstage_mark_name().
CONFIG_BOOTSTAGE=y
CONFIG_BOOTSTAGE_REPORT=y
CONFIG_CMD_BOOTSTAGE=y
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/syscounter.c | 9 +
1 file changed, 9 insertions
d
> ---
Reviewed-by: Jun Nie
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit
512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one
powering-only) and a miniHDMI port.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jun Nie
---
arch/arm/dts/Makefile | 1
protected by ATF.
Signed-off-by: Jun Nie
---
board/raspberrypi/rpi/rpi.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 649127c..f7041e3 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -283,6
Alexander Graf 于2018年11月8日周四 下午4:59写道:
>
> On 11/08/2018 09:36 AM, Jun Nie wrote:
> > Do not use dtb loaded by firmware if fit image signature is enabled.
> > So that u-boot.dtb can be used. The u-boot.dtb contains the pulibc key
> > that is to verify Linux kernel FIT i
Build ymodem and s_record only on need to shrink
spl image size.
Signed-off-by: Jun Nie
---
common/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/Makefile b/common/Makefile
index c7bde23..8e1569f 100644
--- a/common/Makefile
+++ b/common/Makefile
Add signature verification when loading FIT image in SPL.
Signed-off-by: Jun Nie
---
common/image-fit.c | 56 +++-
common/spl/spl_fit.c | 12 +++
include/image.h | 2 ++
3 files changed, 48 insertions(+), 22 deletions(-)
diff
2018-02-12 8:54 GMT+08:00 André Przywara :
> Hi,
>
> On 11/02/18 09:53, Jun Nie wrote:
>> Build ymodem and s_record only on need to shrink
>> spl image size.
>>
>> Signed-off-by: Jun Nie
>> ---
>> common/Makefile | 4 ++--
>> 1 file changed,
Build ymodem only on need to shrink spl image size.
Signed-off-by: Jun Nie
---
common/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/Makefile b/common/Makefile
index c7bde23..0614348 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -133,4 +133,5
Hi,
Does anyone have comments on this patch?
Thank you!
Jun
2018-02-11 19:56 GMT+08:00 Jun Nie :
> Add signature verification when loading FIT image in SPL.
>
> Signed-off-by: Jun Nie
> ---
> common/image-fit.c | 56
> +++-
2018-02-26 17:56 GMT+08:00 Andre Przywara :
> Hi,
>
> On 11/02/18 11:56, Jun Nie wrote:
>> Add signature verification when loading FIT image in SPL.
>
> this message is very thin. Can you explain WHY you did this change and
> what it's supposed to do and what it
2018-02-26 19:02 GMT+08:00 Andre Przywara :
> Hi,
>
> On 26/02/18 10:00, Jun Nie wrote:
>> 2018-02-26 17:56 GMT+08:00 Andre Przywara :
>>> Hi,
>>>
>>> On 11/02/18 11:56, Jun Nie wrote:
>>>> Add signature verification when loading FIT image in S
-boot proper images
when loading FIT image in SPL. It is tested on Allwinner bananapi
zero board with H2+ SoC.
Signed-off-by: Jun Nie
---
common/image-fit.c | 56 +++-
common/spl/spl_fit.c | 12 +++
include/image.h | 2 ++
3 files
Size:761216 Bytes = 743.38 KiB = 0.73 MiB
> Architecture: ARM
> OS: U-Boot
> Load Address: 0x0800
> Hash algo:md5
> Hash value: f22960fe429be72296dc8dc59a47d566
>
> Signed-off-by: Michal Simek
> ---
>
Reviewed-by: Jun Nie
__
onfiguration: 'config'
> Configuration 0 (config)
> Description: ATF with full u-boot
> Kernel: unavailable
> Firmware: atf
> FDT: dtb
>
> Signed-off-by: Michal Simek
> ---
>
Reviewed-by: Jun Nie
Hi Icenowy & Jagan,
I see bananapi zero patch was posted and discussed in [1], but without
further follow up. Maybe we can decide which name is more maintainable
first, bananapi-*, Bananapi-* or Sinovoip_BPI_*. And add all new
boards with following the rule. Which one do you prefer?
If possible,
It may be unnecessary to check signature on unlocked board.
Get the hint from platform specific code to support secure boot
and non-secure boot with the same binary, so that boot is not
blocked if board is not locked and has no key for signature
verification.
Signed-off-by: Jun Nie
---
common
2018-04-12 21:53 GMT+08:00 Tom Rini :
> On Wed, Apr 11, 2018 at 11:13:05PM +0800, Jun Nie wrote:
>
>> It may be unnecessary to check signature on unlocked board.
>> Get the hint from platform specific code to support secure boot
>> and non-secure boot with the same bin
2018-04-13 1:24 GMT+08:00 Simon Glass :
> Hi,
>
> On 11 April 2018 at 09:13, Jun Nie wrote:
>> It may be unnecessary to check signature on unlocked board.
>> Get the hint from platform specific code to support secure boot
>> and non-secure boot with the same binary, so
2018-04-17 20:06 GMT+08:00 Quentin Schulz :
> Hi,
>
> On Wed, Apr 11, 2018 at 11:13:05PM +0800, Jun Nie wrote:
>> It may be unnecessary to check signature on unlocked board.
>> Get the hint from platform specific code to support secure boot
>> and non-secure boot with th
2018-04-17 3:06 GMT+08:00 Simon Glass :
> Hi Jun,
>
> On 13 April 2018 at 04:05, Jun Nie wrote:
>> 2018-04-13 1:24 GMT+08:00 Simon Glass :
>>> Hi,
>>>
>>> On 11 April 2018 at 09:13, Jun Nie wrote:
>>>> It may be unnecessary to check signat
Poll for broken card detection case instead of return
no card detected.
Signed-off-by: Jun Nie
---
drivers/mmc/Kconfig | 5 +
drivers/mmc/mmc.c | 4
2 files changed, 9 insertions(+)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 8fbeaa7..ed194a3 100644
--- a/drivers
Add Bananapi Zero board defconfig and device tree.
OTG device is supported with enabling clock and adding necessary
controller configuration change. USB mass storage is tested as
a test case.
Jun Nie (6):
sunxi: h3: add usb_otg and OHCI/EHCI for usbc0 on H3
sunxi: musb: Add fifo config for H3
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
or MUSB controller.
Signed-off-by: Jun Nie
---
arch/arm/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi
index
Enable OTG clock and deassert reset
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 2 ++
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4
drivers/usb/musb-new/sunxi.c | 19 +++
3 files changed, 25 insertions(+)
diff --git a
Add fifo config for H3 as H3 differ with other SoC
on ep number.
Signed-off-by: Jun Nie
---
drivers/usb/musb-new/sunxi.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
index 7ee44ea..0005c1e
PHYCTL register offset at 0x10 need to be cleared before it's
written. Ported from below Linux patch.
d699c1d phy: sun4i-usb: change PHYCTL register clearing code
Signed-off-by: Jun Nie
---
arch/arm/mach-sunxi/usb_phy.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff
Banana-Pi Zero is designed for IOT development
using the Allwinner H2+ SOC.
Key features
- Allwinner H2+, Quad-core Cortex-A7
- 512MB DRAM
- microSD slot
- Serial Debug Port
- Combo WiFi/BT
- HDMI
Signed-off-by: Jun Nie
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts
Like other Allwinner SoC, the H3 is missing the config register
from the musb hardware block. Use a known working value for it
like other SoC.
Signed-off-by: Jun Nie
---
drivers/usb/musb-new/musb_regs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb-new
Thank you very much! Will check.
Jun
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
>> +/dts-v1/;
>> +#include "sun8i-h3.dtsi"
>> +#include "sunxi-common-regulators.dtsi"
>> +
>> +#include
>> +#include
>
> Where is that DT coming from?
>
> Usually, we'll just merge a DT merged in Linux.
The DT come from Linux but modified with removing necessary nodes.
>
>> +/ {
>> + model
>
> a64 on otg have in ML[1] check if any redundant otherwise it's OK., we
> will test these and send next version.
>
>> sunxi: Add initial Banana-Pi Zero support
>
> similar patch is already in ML [2]
>
> [1] https://patchwork.ozlabs.org/cover/847375/
This serial patches in the link does not in
2018-01-05 17:06 GMT+08:00 Chen-Yu Tsai :
> On Fri, Jan 5, 2018 at 5:04 PM, Jun Nie wrote:
>>>
>>> a64 on otg have in ML[1] check if any redundant otherwise it's OK., we
>>> will test these and send next version.
>>>
>>>> sunxi: Add
Changes vs V1:
- Add two patches from Chen-Yu to enable host mode
- split USB0 base address change to separate patch
- revise OTG clock enabling patch
Chen-Yu Tsai (2):
sunxi: Fix USB PHY index for H3/H5/A64
sunxi: usb_phy: setup USB PHY passby for USB0 on H3/H5/A64
Jun Nie (6):
sunxi: h3
From: Chen-Yu Tsai
On the new chips such as H3, H5, and A64, the USB OTG controller is
paired with a set of proper EHCI/OHCI USB hosts. To enable these hosts,
the USB PHY index count has to be reworked to start from this pair.
This patch reworks the USB clock gate and reset indices, and how the
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
or MUSB controller.
Signed-off-by: Jun Nie
---
arch/arm/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi
index
Add fifo config for H3 as H3 differ with other SoC
on ep number.
Signed-off-by: Jun Nie
Reviewed-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
Like other Allwinner SoC, the H3 is missing the config register
from the musb hardware block. Use a known working value for it
like other SoC.
Signed-off-by: Jun Nie
---
drivers/usb/musb-new/musb_regs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/musb-new
Enable OTG clock and deassert reset
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 +
drivers/usb/musb-new/sunxi.c | 6 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h
b/arch/arm
PHYCTL register offset at 0x10 need to be cleared before it's
written. Ported from below Linux patch.
d699c1d phy: sun4i-usb: change PHYCTL register clearing code
Signed-off-by: Jun Nie
---
arch/arm/mach-sunxi/usb_phy.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff
Set different base address per host mode or peripheral mode. Phy
configuration also depends on this address.
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
b/arch/arm
From: Chen-Yu Tsai
On newer chips, there is a pair of EHCI/OHCI USB hosts for OTG host
mode. USB PHY passby must be configured for its corresponding PHY.
Signed-off-by: Chen-Yu Tsai
---
arch/arm/mach-sunxi/usb_phy.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch
2017-12-30 20:44 GMT+08:00 Chen-Yu Tsai :
> Now that the musb sunxi glue driver is completely device model / device
> tree driven, we should use the base address from the device tree,
> instead of hard-coding it in the source code.
>
> Fixes: 3a61b080acee ("musb: sunxi: switch to the device model")
m code on these will add it future.
>
> Changes for v7:
> - rebase on master
>
Acked-by: Jun Nie
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jun Nie
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 68 +
board/sunxi/MAINTAINERS | 5 ++
configs/bananapi_m2_zero_defconfig
2018-05-24 15:54 GMT+08:00 Maxime Ripard :
> Hi,
>
> On Thu, May 24, 2018 at 12:38:19PM +0800, Jun Nie wrote:
>> Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit
>> 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one
>> powerin
2018-01-22 13:03 GMT+08:00 Jaehoon Chung :
> Hi,
>
> On 01/02/2018 01:25 PM, Jun Nie wrote:
>> Poll for broken card detection case instead of return
>> no card detected.
>
> Sorry for late. i didn't see this patch in my mailbox.
>
> Does it need to
2018-01-23 10:00 GMT+08:00 Jaehoon Chung :
> On 01/22/2018 09:21 PM, Jun Nie wrote:
>> 2018-01-22 13:03 GMT+08:00 Jaehoon Chung :
>>> Hi,
>>>
>>> On 01/02/2018 01:25 PM, Jun Nie wrote:
>>>> Poll for broken card detection case instead of return
Support fuse cmd to read/write fuse. Power supply for fuse
should be ready, name is VDD_EFUSE in some schematic.
Signed-off-by: Jun Nie
---
arch/arm/mach-sunxi/cpu_info.c | 60 ++
1 file changed, 60 insertions(+)
diff --git a/arch/arm/mach-sunxi
2018-01-28 1:45 GMT+08:00 André Przywara :
> On 27/01/18 15:20, Jun Nie wrote:
>> Support fuse cmd to read/write fuse. Power supply for fuse
>> should be ready, name is VDD_EFUSE in some schematic.
>
> Mmh, in general I am not sure it is a good idea to expose this so easily
&
mx7d_defconfig | 1 +
> configs/pico-imx7d_bl33_defconfig| 1 +
> configs/pico-imx7d_defconfig | 1 +
> configs/pico-pi-imx7d_defconfig | 1 +
> 6 files changed, 6 insertions(+), 13 deletions(-)
>
Reviewed-by: Jun Nie
__
This reverts commit 9e3c0174da842dd88f5feaffbf843ba332233897.
---
board/technexion/pico-imx7d/pico-imx7d.c | 55
configs/pico-hobbit-imx7d_defconfig | 1 -
configs/pico-imx7d_defconfig | 1 -
configs/pico-pi-imx7d_defconfig | 1 -
inclu
whether to skip
it.
Signed-off-by: Jun Nie
---
include/configs/mx7_common.h | 11 +++
include/configs/warp7.h | 11 ---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index cc7e872..57fbec7 100644
upport. Pico-pi does not boot with it.
I see it is suggested to be reverted in maillist.
Changes vs V1:
- Remove DCD file.
- Add a patch to fix uart clock root ID.
- Change file name from pico-pi-imx7d_bl33_defconfig to
pico-imx7d_bl33_defconfig
Jun Nie (9):
Revert "pico-imx7d: Add
Copy device tree files from Linux directly.
Signed-off-by: Jun Nie
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx7d-pico-pi.dts | 93 +++
arch/arm/dts/imx7d-pico.dtsi | 585 +
3 files changed, 679 insertions(+)
create mode 100644
Subtracts CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size so that
the OPTEE memory is not override during u-boot relocation.
Note the OPTEE boot process will itself subtract the DRAM region it lives
in from the memory map passed to Linux.
Signed-off-by: Jun Nie
---
board/technexion/pico
Add empty arch_cpu_init if low level init is skipped. So that
it does not break spl compile though spl is not needed in the
skipped case actually.
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/mx7/soc.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch
Add boot option to boot from fitimage to support verified boot.
The boot script plain text file should be packed into fit blob as
image with name of bootscr.
Signed-off-by: Jun Nie
---
include/configs/pico-imx7d.h | 38 +++---
1 file changed, 35 insertions(+), 3
Correct uart clock root ID. Incorrect ID may result the
clock is gated because rate value 0 is returned in
imx_get_uartclk()
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-mx7/clock.h | 18 ++
arch/arm/mach-imx/Kconfig | 7 +++
arch/arm/mach-imx/mx7
Add default configuration to run u-boot as BL33 in the boot flow case
of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
Signed-off-by: Jun Nie
---
configs/pico-imx7d_bl33_defconfig | 63 +++
1 file changed, 63 insertions(+)
create mode 100644 config
Add Documentation of BL33 usage case. U-boot is in
non-secure world in this case.
Signed-off-by: Jun Nie
---
board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 44 ++
1 file changed, 44 insertions(+)
create mode 100644 board/technexion/pico-imx7d/README.pico-imx7d_BL33
t_crit() -> lowlevel_init() -> s_init() -> clock_init() ->
init_clk_uart()
#endif
>
> Regards,
> Peng.
>
> >
> > Signed-off-by: Jun Nie
> > ---
> > arch/arm/include/asm/arch-mx7/clock.h | 18 ++
> > arch/arm/mach-imx/Kconfig
Fabio Estevam 于2019年4月24日周三 下午6:30写道:
>
> On Wed, Apr 24, 2019 at 1:00 AM Jun Nie wrote:
> >
> > This reverts commit 9e3c0174da842dd88f5feaffbf843ba332233897.
>
> Why are you reverting it?
It blocks boot up with default defconfig. I see it is suggested to be
reverted
Fabio Estevam 于2019年4月24日周三 下午6:31写道:
>
> On Wed, Apr 24, 2019 at 1:00 AM Jun Nie wrote:
> >
> > Copy device tree files from Linux directly.
> >
> > Signed-off-by: Jun Nie
>
> There is a series from Joris that does the pico-mx7d DM conversion.
When
Fabio Estevam 于2019年4月25日周四 上午11:28写道:
>
> Hi Jun,
>
> On Wed, Apr 24, 2019 at 11:53 PM Jun Nie wrote:
>
> > It blocks boot up with default defconfig. I see it is suggested to be
> > reverted in mailist weeks ago. I thought you guys knew about it.
>
> Please kee
>
> I merged Joris' series and build is in progress.
>
> Regards,
> Stefano
>
Great! I will prepare my patch based on that. But I cannot find latest
pico patch on denx master repo. Did you merge it to your own repo and
pulled to denx master later, just like linux work flow? I am not
familiar with u
> Please describe what ATF/OP-TEE initialization has done
> when booting into uboot.
>
> I think SKIP_LOWLEVEL_INIT is mostly for lowlevel_init,
> not arch_cpu_init.
>
> init_aips/init_csu/isolate_resources/init_snvs might be
> done in your ATF, I am not sure, but imx_enet_mdio_fixup,
> mxs_dma_ini
Fabio Estevam 于2019年4月24日周三 下午6:32写道:
>
> On Wed, Apr 24, 2019 at 1:00 AM Jun Nie wrote:
>
> > +config IMX_CONSOLE_UART_ID
> > + int "UART ID for console"
> > + default 1
> > + depends on ARCH_MX7
> > + help
> >
add skipping init option to avoid corrupt data in console
if serial is already initilized when u-boot start its excution.
Signed-off-by: Jun Nie
---
drivers/serial/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 887cd68
Skip uart initilization if CONFIG_UART_SKIP_INIT is defined.
That's means earlier firmware already initialized the uart.
Signed-off-by: Jun Nie
---
drivers/serial/serial_mxc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
Simon Glass 于2019年3月22日周五 下午3:56写道:
>
> Hi Jun,
>
> On Fri, 22 Mar 2019 at 15:20, Jun Nie wrote:
> >
> > add skipping init option to avoid corrupt data in console
> > if serial is already initilized when u-boot start its excution.
> >
> > Signed-of
whether to skip
it.
Signed-off-by: Jun Nie
---
include/configs/mx7_common.h | 11 +++
include/configs/warp7.h | 11 ---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index a895c93..912fb06 100644
Add configuration to boot U-boot as BL33 case. The boot flow
is ATF -> OPTEE -> U-boot.
Jun Nie (5):
mx7_common: Share configs to skip low level init
imx: mx7: Add empty arch_cpu_init if skipped
pico-imx7d: Reserve region of memory to OPTEE
pico-imx7d: Add boot option for verifie
Add empty arch_cpu_init if low level init is skipped. So that
it does not break spl compile though spl is not needed in the
skipped case actually.
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/mx7/soc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm
Subtracts CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size so that
the OPTEE memory is not override during u-boot relocation.
Note the OPTEE boot process will itself subtract the DRAM region it lives
in from the memory map passed to Linux.
Signed-off-by: Jun Nie
---
board/technexion/pico
Add default configuration to run u-boot as BL33 in the boot flow case
of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
Signed-off-by: Jun Nie
---
board/technexion/pico-imx7d/imximage-512MB.cfg | 95 ++
configs/pico-pi-imx7d_bl33_defconfig
Add boot option to boot from fitimage to support verified boot.
The boot script plain text file should be packed into fit blob as
image with name of bootscr.
Signed-off-by: Jun Nie
---
include/configs/pico-imx7d.h | 38 +++---
1 file changed, 35 insertions(+), 3
Otavio Salvador 于2019年3月26日周二 下午8:23写道:
>
> On Tue, Mar 26, 2019 at 6:23 AM Jun Nie wrote:
> >
> > Add default configuration to run u-boot as BL33 in the boot flow case
> > of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
> >
> > Signed-off-by: Jun Nie
Otavio Salvador 于2019年3月26日周二 下午8:23写道:
>
> On Tue, Mar 26, 2019 at 6:23 AM Jun Nie wrote:
> >
> > Add default configuration to run u-boot as BL33 in the boot flow case
> > of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
> >
> > Signed-off-by: Jun Nie
Lukasz Majewski 于2019年3月27日周三 下午5:34写道:
>
> Hi Simon, Jun,
>
> > Hi Jun,
> >
> > On Fri, 22 Mar 2019 at 16:02, Jun Nie wrote:
> > >
> > > Simon Glass 于2019年3月22日周五 下午3:56写道:
> > > >
> > > > Hi Jun,
> > > >
>
Fabio Estevam 于2019年3月27日周三 下午7:52写道:
>
> Hi Jun,
>
> On Tue, Mar 26, 2019 at 6:21 AM Jun Nie wrote:
> >
> > Add default configuration to run u-boot as BL33 in the boot flow case
> > of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
> >
> > Signe
Fabio Estevam 于2019年3月27日周三 下午8:03写道:
>
> On Wed, Mar 27, 2019 at 8:59 AM Jun Nie wrote:
>
> > For ATF -> OPTEE -> U-BOOT case, we cannot run SPL.
>
> Why not? Please provide the details.
>
> What about users that has the 1GB version of the board?
I should say t
Fabio Estevam 于2019年3月27日周三 下午10:57写道:
>
> On Wed, Mar 27, 2019 at 11:18 AM Jun Nie wrote:
>
> > I should say that SPL is not needed, not cannot run. u-boot is loaded
> > and run by ATF/OPTEE, so we do not need SPL. This is an initial
> > prototype of verified boot
whether to skip
it.
Signed-off-by: Jun Nie
---
include/configs/mx7_common.h | 11 +++
include/configs/warp7.h | 11 ---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index a895c93..912fb06 100644
Add configuration to boot U-boot as BL33 case. The boot flow
is ATF -> OPTEE -> U-boot.
Changes vs V1:
- Remove DCD file.
- Add a patch to fix uart clock root ID.
- Change file name from pico-pi-imx7d_bl33_defconfig to
pico-imx7d_bl33_defconfig
Jun Nie (6):
mx7_common: Share configs t
Add default configuration to run u-boot as BL33 in the boot flow case
of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot.
Signed-off-by: Jun Nie
---
configs/pico-imx7d_bl33_defconfig | 61 +++
1 file changed, 61 insertions(+)
create mode 100644 config
Subtracts CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size so that
the OPTEE memory is not override during u-boot relocation.
Note the OPTEE boot process will itself subtract the DRAM region it lives
in from the memory map passed to Linux.
Signed-off-by: Jun Nie
---
board/technexion/pico
Add boot option to boot from fitimage to support verified boot.
The boot script plain text file should be packed into fit blob as
image with name of bootscr.
Signed-off-by: Jun Nie
---
include/configs/pico-imx7d.h | 38 +++---
1 file changed, 35 insertions(+), 3
Add empty arch_cpu_init if low level init is skipped. So that
it does not break spl compile though spl is not needed in the
skipped case actually.
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/mx7/soc.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch
Correct uart clock root ID. Incorrect ID may result the
clock is gated because rate value 0 is returned in
imx_get_uartclk()
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-mx7/clock.h | 5 +
arch/arm/mach-imx/mx7/clock.c | 2 +-
include/configs/pico-imx7d.h | 1 +
3
Simon Glass 于2019年3月31日周日 上午5:19写道:
>
> Hi Lukasz,
>
> On Wed, 27 Mar 2019 at 03:34, Lukasz Majewski wrote:
> >
> > Hi Simon, Jun,
> >
> > > Hi Jun,
> > >
> > > On Fri, 22 Mar 2019 at 16:02, Jun Nie wrote:
> > > >
&g
Otavio Salvador 于2019年3月28日周四 下午8:58写道:
>
> On Thu, Mar 28, 2019 at 5:34 AM Jun Nie wrote:
> >
> > Correct uart clock root ID. Incorrect ID may result the
> > clock is gated because rate value 0 is returned in
> > imx_get_uartclk()
> >
> > Signed-
Otavio Salvador 于2019年3月28日周四 下午8:57写道:
>
> On Thu, Mar 28, 2019 at 5:30 AM Jun Nie wrote:
> >
> > Add configuration to boot U-boot as BL33 case. The boot flow
> > is ATF -> OPTEE -> U-boot.
>
> Could you add a README explaining how to use / test it?
Hi Ota
Hi Otavio,
And for the file name pico-imx7d_bl33_defconfig,
pico-pi-imx7d_bl33_defconfig should be better in my later thought.
Because a concrete device tree source file should be specified in
defconfig file, so that public key can be stored in u-boot FDT blob
for kernel/initramfs FIT signature ve
Otavio Salvador 于2019年4月4日周四 下午8:40写道:
>
> On Wed, Apr 3, 2019 at 9:00 AM Jun Nie wrote:
> > And for the file name pico-imx7d_bl33_defconfig,
> > pico-pi-imx7d_bl33_defconfig should be better in my later thought.
> > Because a concrete device tree source file should be sp
ve DCD file.
- Add a patch to fix uart clock root ID.
- Change file name from pico-pi-imx7d_bl33_defconfig to
pico-imx7d_bl33_defconfig
Jun Nie (8):
mx7_common: Share configs to skip low level init
imx: mx7: Skip secure init in arch_cpu_init
pico-imx7d: Correct uart clock root
pico-imx7d: R
whether to skip
it.
Signed-off-by: Jun Nie
---
include/configs/mx7_common.h | 11 +++
include/configs/warp7.h | 11 ---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index cc7e872..57fbec7 100644
-by: Jun Nie
Reviewed-by: Peng Fan
---
board/technexion/pico-imx7d/pico-imx7d.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/technexion/pico-imx7d/pico-imx7d.c
b/board/technexion/pico-imx7d/pico-imx7d.c
index e63b19d..5b357f2 100644
--- a/board/technexion/pico-imx7d/pico-imx7d.c
1 - 100 of 126 matches
Mail list logo