* [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
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
Peng Fan 于2019年9月11日周三 下午2:02写道:
>
>
>
> > -Original Message-----
> > From: Jun Nie
> > Sent: 2019年9月9日 21:47
> > To: Peng Fan
> > Cc: Stefano Babic ; Fabio Estevam ;
> > Otavio Salvador ; Vanessa Maegima
> > ; Bryan O'Donoghue
> &g
Peng Fan 于2019年9月3日周二 上午9:39写道:
>
> Hi Jun,
>
> > Subject: Re: [PATCH 0/3] Support distro boot in pico-imx7d BL33 case
> >
> > Jun Nie 于2019年8月8日周四 下午12:04写道:
> > >
> > > Jun Nie 于2019年7月16日周二 下午3:43写道:
> > > >
> > &g
Heinrich Schuchardt 于2019年9月2日周一 下午7:19写道:
>
> On 9/2/19 12:30 PM, Matthias Brugger wrote:
> > +Alex, Lukas, Heinrich, Bin and Simon
> >
> > On 31/07/2019 10:16, Jun Nie wrote:
> >> Matthias Brugger 于2019年7月31日周三 下午4:05写道:
> >>>
> >>>
>
Peng Fan 于2019年9月3日周二 上午9:39写道:
>
> Hi Jun,
>
> > Subject: Re: [PATCH 0/3] Support distro boot in pico-imx7d BL33 case
> >
> > Jun Nie 于2019年8月8日周四 下午12:04写道:
> > >
> > > Jun Nie 于2019年7月16日周二 下午3:43写道:
> > > >
> > &g
Jun Nie 于2019年7月11日周四 上午11:56写道:
>
> Enable verified boot from FIT image with select configs
> and specify boot script image node in FIT image, the FIT
> image is verified before it is run.
>
> Code that reusing dtb in firmware is disabled, so that
> the dtb with pubic key
Jun Nie 于2019年8月8日周四 下午12:04写道:
>
> Jun Nie 于2019年7月16日周二 下午3:43写道:
> >
> > Support distro boot in pico-imx7d BL33 case with changing the enviroment
> > variables. While the other two patches are for polishing clock code and
> > for feature enablement.
> >
&g
Jun Nie 于2019年7月31日周三 下午4:16写道:
>
> Matthias Brugger 于2019年7月31日周三 下午4:05写道:
> >
> >
> >
> > On 11/07/2019 05:55, Jun Nie wrote:
> > > Enable verified boot from FIT image with select configs
> > > and specify boot script image node in FIT image,
Jun Nie 于2019年7月16日周二 下午3:43写道:
>
> Support distro boot in pico-imx7d BL33 case with changing the enviroment
> variables. While the other two patches are for polishing clock code and
> for feature enablement.
>
> Jun Nie (3):
> pico-imx7d: add config to enable CAAM
&g
Matthias Brugger 于2019年7月31日周三 下午4:05写道:
>
>
>
> On 11/07/2019 05:55, Jun Nie wrote:
> > Enable verified boot from FIT image with select configs
> > and specify boot script image node in FIT image, the FIT
> > image is verified before it is run.
> >
>
Jun Nie 于2019年7月11日周四 上午11:56写道:
>
> Enable verified boot from FIT image with select configs
> and specify boot script image node in FIT image, the FIT
> image is verified before it is run.
>
> Code that reusing dtb in firmware is disabled, so that
> the dtb with pubic key
Jun Nie 于2019年7月16日周二 下午3:43写道:
>
> Support distro boot in pico-imx7d BL33 case with changing the enviroment
> variables. While the other two patches are for polishing clock code and
> for feature enablement.
>
Hi,
any comments?
Thanks!
Jun
__
Polish uart clock id definition. Default IMX7 UART ID is UART1
as original parameter in imx_get_uartclk().
Signed-off-by: Jun Nie
---
arch/arm/include/asm/arch-mx7/clock.h | 18 +-
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/arch/arm/include/asm/arch-mx7
Support distro boot for pico imx7d in FIT image case.
Signed-off-by: Jun Nie
---
include/configs/pico-imx7d.h | 37 +++--
1 file changed, 11 insertions(+), 26 deletions(-)
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index 9101540
Support distro boot in pico-imx7d BL33 case with changing the enviroment
variables. While the other two patches are for polishing clock code and
for feature enablement.
Jun Nie (3):
pico-imx7d: add config to enable CAAM
pico-imx7d: Support distro boot for FIT image case
pico-imx7d: polish
Add config to enable CAAM so that hardware random number generator
works.
Signed-off-by: Jun Nie
---
configs/pico-imx7d_bl33_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/pico-imx7d_bl33_defconfig
b/configs/pico-imx7d_bl33_defconfig
index b609b6d..5ef55d3 100644
--- a
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
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 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 respons
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
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
).
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
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
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
-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
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
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
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
> >
> 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
>
> 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
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
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月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
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
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
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
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 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
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
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
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
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
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年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
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-
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
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
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 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
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
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
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日周三 下午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,
> > > >
>
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
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
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 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
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
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
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
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
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
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
d
> ---
Reviewed-by: Jun Nie
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
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
.
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
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
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
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-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-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
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
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,
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
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
__
-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
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
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
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
> +++-
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
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,
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
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
1 - 100 of 126 matches
Mail list logo