.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Signed-off-by: Jun Nie <jun@linaro.org>
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 68 +
board/sunxi/MAINTAINERS | 5
2018-05-24 15:54 GMT+08:00 Maxime Ripard <maxime.rip...@bootlin.com>:
> 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 (
reset details from DT since the dm code on these will add it future.
>
> Changes for v7:
> - rebase on master
>
Acked-by: Jun Nie <jun@linaro.org>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Reed
> ---
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
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
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
or MUSB controller.
Signed-off-by: Jun Nie <jun@linaro.org>
---
arch/arm/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/a
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 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
Set different base address per host mode or peripheral mode. Phy
configuration also depends on this address.
Signed-off-by: Jun Nie <jun@linaro.org>
---
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch
Add fifo config for H3 as H3 differ with other SoC
on ep number.
Signed-off-by: Jun Nie <jun@linaro.org>
Reviewed-by: Jagan Teki <ja...@openedev.com>
---
drivers/usb/musb-new/sunxi.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/
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 <jun@linaro.org>
---
drivers/usb/musb-new/musb_regs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
Enable OTG clock and deassert reset
Signed-off-by: Jun Nie <jun@linaro.org>
---
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
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 <jun@linaro.org>
---
arch/arm/mach-sunxi/usb_phy.c | 8 +++-
1 file changed, 7 insertions
Add fifo config for H3 as H3 differ with other SoC
on ep number.
Signed-off-by: Jun Nie <jun@linaro.org>
---
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
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 <jun@linaro.org>
---
arch/arm/dts/Ma
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 <jun@linaro.org>
---
drivers/usb/musb-new/musb_regs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
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 <jun@linaro.org>
---
arch/arm/mach-sunxi/usb_phy.c | 8 +++-
1 file changed, 7 insertions
>> +/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
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
Thank you very much! Will check.
Jun
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
2018-01-05 17:06 GMT+08:00 Chen-Yu Tsai <w...@csie.org>:
> On Fri, Jan 5, 2018 at 5:04 PM, Jun Nie <jun@linaro.org> wrote:
>>>
>>> a64 on otg have in ML[1] check if any redundant otherwise it's OK., we
>>> will test these and send next version.
&g
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
or MUSB controller.
Signed-off-by: Jun Nie <jun@linaro.org>
---
arch/arm/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/a
Enable OTG clock and deassert reset
Signed-off-by: Jun Nie <jun@linaro.org>
---
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 chang
>
> 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
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
2018-01-22 13:03 GMT+08:00 Jaehoon Chung <jh80.ch...@samsung.com>:
> 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.
>
> D
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 <jun@linaro.org>
---
arch/arm/mach-sunxi/cpu_info.c | 60 ++
1 file changed, 60 insertions(+)
diff --git a/ar
2018-01-28 1:45 GMT+08:00 André Przywara <andre.przyw...@arm.com>:
> 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 id
Build ymodem and s_record only on need to shrink
spl image size.
Signed-off-by: Jun Nie <jun@linaro.org>
---
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
2018-02-12 8:54 GMT+08:00 André Przywara <andre.przyw...@arm.com>:
> 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 <jun@linaro.org>
>> ---
Add signature verification when loading FIT image in SPL.
Signed-off-by: Jun Nie <jun@linaro.org>
---
common/image-fit.c | 56 +++-
common/spl/spl_fit.c | 12 +++
include/image.h | 2 ++
3 files changed, 48 insertions(
Build ymodem only on need to shrink spl image size.
Signed-off-by: Jun Nie <jun@linaro.org>
---
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/Ma
Hi,
Does anyone have comments on this patch?
Thank you!
Jun
2018-02-11 19:56 GMT+08:00 Jun Nie <jun@linaro.org>:
> Add signature verification when loading FIT image in SPL.
>
> Signed-off-by: Jun Nie <jun@linaro.org>
> ---
>
Poll for broken card detection case instead of return
no card detected.
Signed-off-by: Jun Nie <jun@linaro.org>
---
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..e
2018-01-23 10:00 GMT+08:00 Jaehoon Chung <jh80.ch...@samsung.com>:
> On 01/22/2018 09:21 PM, Jun Nie wrote:
>> 2018-01-22 13:03 GMT+08:00 Jaehoon Chung <jh80.ch...@samsung.com>:
>>> Hi,
>>>
>>> On 01/02/2018 01:25 PM, Jun Nie wrote:
>>&g
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 <
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,
2018-04-12 21:53 GMT+08:00 Tom Rini <tr...@konsulko.com>:
> 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
2018-04-13 1:24 GMT+08:00 Simon Glass <s...@chromium.org>:
> Hi,
>
> On 11 April 2018 at 09:13, Jun Nie <jun@linaro.org> wrote:
>> It may be unnecessary to check signature on unlocked board.
>> Get the hint from platform specific code to support secure boot
>
2018-04-17 20:06 GMT+08:00 Quentin Schulz <quentin.sch...@bootlin.com>:
> 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
2018-04-17 3:06 GMT+08:00 Simon Glass <s...@chromium.org>:
> Hi Jun,
>
> On 13 April 2018 at 04:05, Jun Nie <jun@linaro.org> wrote:
>> 2018-04-13 1:24 GMT+08:00 Simon Glass <s...@chromium.org>:
>>> Hi,
>>>
>>> On 11 April 20
on: uncompressed
> Data 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 <michal.si...@xilinx.com&g
e is created:
> Default Configuration: 'config'
> Configuration 0 (config)
> Description: ATF with full u-boot
> Kernel: unavailable
> Firmware: atf
> FDT: dtb
>
> Signed-off-by: Michal Simek <michal.si...@xilinx.co
2018-02-26 17:56 GMT+08:00 Andre Przywara <andre.przyw...@arm.com>:
> 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 suppo
-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 <jun@linaro.org>
---
common/image-fit.c | 56 +++-
common/spl/spl_fit.c | 12 +++
include/i
2018-02-26 19:02 GMT+08:00 Andre Przywara <andre.przyw...@arm.com>:
> Hi,
>
> On 26/02/18 10:00, Jun Nie wrote:
>> 2018-02-26 17:56 GMT+08:00 Andre Przywara <andre.przyw...@arm.com>:
>>> Hi,
>>>
>>> On 11/02/18 11:56, Jun Nie wrote:
>>
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
is 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
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
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
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()
> >
> >
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
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
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,
> > > >
>
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
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
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 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
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
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 b
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
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
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
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
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
index
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
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
Fabio Estevam 于2019年5月31日周五 上午7:58写道:
>
> On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote:
> >
> > If PMIC is not probed successfully, it is still OK to boot
>
> Are you getting PMIC probe failure?
>
> What is the exact issue you are facing?
There is no resp
Fabio Estevam 于2019年5月31日周五 上午7:56写道:
>
> On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote:
>
> > +#if (CONFIG_CONS_INDEX == 0)
> > +#define UART_CLK_ROOT UART1_CLK_ROOT
> > +#elif (CONFIG_CONS_INDEX == 1)
> > +#define UART_CLK_ROOT UART2_CLK_ROOT
> > +#eli
Jun Nie 于2019年5月8日周三 下午2:39写道:
>
> Add configuration to boot U-boot as BL33 case. The boot flow
> is ATF -> OPTEE -> U-boot.
>
Hi Fabio,
Do you have any comments on this patch set, or it can be merged now? Thank you!
Jun
___
U-B
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
__
Fabio,
Any comments on this version?
Best Regards
Jun
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
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
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
).
Signed-off-by: Jun Nie
---
board/technexion/pico-imx7d/pico-imx7d.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/board/technexion/pico-imx7d/pico-imx7d.c
b/board/technexion/pico-imx7d/pico-imx7d.c
index 5b357f2..e3d75e5 100644
--- a/board/technexion/pico-imx7d/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
---
configs/pico-imx7d_bl33_defconfig | 66 +++
1 file changed, 66 insertions(+)
create mode 100644 config
-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
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()
The ID can be ignored if CONFIG_SKIP_LOWLEVEL_INIT is not enabled
because init_clk_uart() will enable all uart clocks in that case.
Signed-off-by: Jun Nie
---
arch/arm
Skip secure related initialization in arch_cpu_init if low level
init is skipped. Because these should be done in early stage
firmware, such as ARM trusted firmware.
Signed-off-by: Jun Nie
---
arch/arm/mach-imx/mx7/soc.c | 43 ---
1 file changed, 28
FIT image.
Signed-off-by: Jun Nie
---
board/raspberrypi/rpi/rpi.c | 6 ++
include/configs/rpi.h | 15 ++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 617c892..950ee84 100644
--- a/board
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.
>
> Pleas
>
> 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
> 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,
>
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
> >
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
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
1 - 100 of 126 matches
Mail list logo