Commit 9bd76b80 "spl: make CONFIG_OF_EMBED pass dts through fdtgrep"
moved the fdtgrep code from scripts/Makefile.spl to dts/Makefile so
that the dtb is stripped in embedded mode, too.
This broke CONFIG_SPL_MULTI_DTB_FIT where fdtgrep is still called
from scripts/Makefile.spl to strip all dtbs in
On Tue, 09/01/18 15:43, Lokesh Vutla wrote:
> On Sunday 26 November 2017 05:08 PM, Simon Glass wrote:
> > On 21 November 2017 at 05:29, Goldschmidt Simon
> > wrote:
> >> Building spl with CONFIG_OF_EMBED enabled results in an error message
> >> on my board: "SPL
On Fri, Dec 29, 2017 at 8:25 PM, Miquel Raynal
wrote:
> Linux bindings have been introduced in the code (removing the U-Boot
> specific ones) without documentation update. Compatible string has
> changed, as well as the four GPIO properties. Reflect this by
On Tue, Jan 9, 2018 at 8:04 AM, Peter Robinson wrote:
> On Mon, Jan 8, 2018 at 7:01 AM, Ken Harris wrote:
>> Can you enable the "fdt apply" command on the "Orange Pi One" u-boot :
>
> I think most AllWinner boards would likely want/need this
>
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> From: Andre Heider
>
> fdt overlay support is useful for all sunxi boards, enable per default
> and remove it from sunxi defconfigs.
>
> Signed-off-by: Andre Heider
Identify and distinguish between platform device type of MX7ULP
and LS1021A.
This is a fix to: 7edf5c45 serial: lpuart: add i.MX7ULP support
Signed-off-by: Sriram Dash
Acked-by: Peng Fan
---
drivers/serial/serial_lpuart.c | 18 +++---
1 file
On Thu, Dec 21, 2017 at 9:35 PM, Andre Przywara wrote:
> Hi,
>
> On 21/12/17 12:40, Maxime Ripard wrote:
>> The sunXi arm64 build has overflown, leading to the main U-boot binary
>> overwriting the environment when flashing the new image, or even worse,
>> overwriting
On Thu, Dec 21, 2017 at 9:42 PM, Anatolij Gustschin wrote:
> On Thu, 21 Dec 2017 13:40:26 +0100
> Maxime Ripard maxime.rip...@free-electrons.com wrote:
>
>> The sunXi arm64 build has overflown, leading to the main U-boot binary
>> overwriting the environment when flashing the new
On Thu, Dec 21, 2017 at 9:31 PM, Anatolij Gustschin wrote:
> On Thu, 21 Dec 2017 13:40:25 +0100
> Maxime Ripard maxime.rip...@free-electrons.com wrote:
>
>> The sunXi arm64 build has overflown, leading to the main U-boot binary
>> overwriting the environment when flashing the new
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> The sunXi arm64 build has overflown, leading to the main U-boot binary
> overwriting the environment when flashing the new image, or even worse,
> overwriting itself when we're calling saveenv.
>
> Disable
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> The sunXi arm64 build has overflown, leading to the main U-boot binary
> overwriting the environment when flashing the new image, or even worse,
> overwriting itself when we're calling saveenv.
>
> Disable
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> The sunXi arm64 build has overflown, leading to the main U-boot binary
> overwriting the environment when flashing the new image, or even worse,
> overwriting itself when we're calling saveenv.
>
> Disable
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> The sunXi arm64 build has overflown, leading to the main U-boot binary
> overwriting the environment when flashing the new image, or even worse,
> overwriting itself when we're calling saveenv.
>
> Disable
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
wrote:
> The sunXi arm64 build has overflown, leading to the main U-boot binary
> overwriting the environment when flashing the new image, or even worse,
> overwriting itself when we're calling saveenv.
>
> Disable
On Thu, Jan 4, 2018 at 6:55 PM, Maxime Ripard
wrote:
> On Sat, Dec 30, 2017 at 08:44:07PM +0800, Chen-Yu Tsai wrote:
>> Now that the musb sunxi glue driver is completely device model / device
>> tree driven, we should use the base address from the device tree,
>>
On Thu, Jan 4, 2018 at 8:34 PM, Maxime Ripard
wrote:
> On Sat, Dec 23, 2017 at 12:30:56AM +0200, Tuomas Tynkkynen wrote:
>> Commit 8620f384098b ("dm: sunxi: Linksprite_pcDuino3: Correct polarity
>> of MMC card detect") claims that the Pcduino3 device tree had an
On Thu, Dec 21, 2017 at 6:26 PM, Tom Rini wrote:
> On Thu, Dec 21, 2017 at 01:55:52PM +0100, Maxime Ripard wrote:
>
>> Support for that board got introduced recently without the maintainers
>> part. Let's fix that.
>>
>> Signed-off-by: Maxime Ripard
Enable get_boot_device for i.MX8M, it supports boot type USB.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
The MIB RAM and FIFO receive start register does not exist on
i.MX8M. Accessing these register will cause system hang.
Signed-off-by: Peng Fan
Acked-by: Joe Hershberger
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
Allow the dm driver be omitted by SPL.
Signed-off-by: Peng Fan
Reviewed-by: Simon Glass
Cc: Jaehoon Chung
Cc: Stefano Babic
---
drivers/power/pmic/Makefile | 2 +-
drivers/power/regulator/Makefile | 2 +-
2
Move get_boot_device to cpu.c to prepare adding i.MX8M support,
because i.MX8M share same code with i.MX7.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/include/asm/arch-mx7/imx-regs.h | 8 ---
i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks
and each bank 4 words.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
drivers/misc/mxc_ocotp.c | 7 +++
1 file changed, 7 insertions(+)
Add i.MX8M GPIO support.
There are 4 GPIO banks on i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
drivers/gpio/mxc_gpio.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy
firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to
DRAM.
The boot log with Arm trusted firmware console enabled:
"
U-Boot SPL 2018.01-00038-gbd426c08ea (Jan 10 2018 - 13:14:56)
PMIC: PFUZE100 ID=0x10
Normal Boot
Include i.MX8M in lcdif register layout map.
Also included i.MX7ULP in this patch, since share same with i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
Support i.MX8M in fsl esdhc driver.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
drivers/mmc/fsl_esdhc.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
Add i.MX8M support. Because i.MX8M use SiP call trap
to Arm Trusted Firmware to handle M4, so use #ifdef
to avoid build error on i.MX6/7.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 10 ++
1 file changed, 10 insertions(+)
diff --git
Add ddrc memory map and enum types used in ddr initialization.
Signed-off-by: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/ddr.h | 356 +++
1 file changed, 356
Add dtsi file for i.MX8MQ.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/fsl-imx8-ca53.dtsi | 92 +
arch/arm/dts/fsl-imx8mq.dtsi | 429
From: Ye Li
When building for 64bits system, we get some warnings about type
cast between pointer and integer. This patch eliminates the warnings
by using ulong/long type which is 32bits on 32bits system or 64bits on
64bits system.
Signed-off-by: Ye Li
Move i.MX6/7 bootaux code to imx_bootaux.c.
The i.MX6/7 has different src layout, so define M4 reg offset
to ease the cleanup. Redefine the M4 related BIT for share
common code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
The mx7 mmc env code is shared by i.MX8M, so move it to mmc_env.c.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Makefile | 1 +
arch/arm/mach-imx/mmc_env.c | 30 ++
arch/arm/mach-imx/mx7/soc.c | 21 -
3 files changed, 31
Use more general enum types for speed grade.
Refine get_cpu_speed_grade_hz to support i.MX8M.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 27 +++
1 file changed, 15
Add pad settings bit definition for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/mach-imx/iomux-v3.h | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
Add SoC level initialization code
- arch_cpu_init
- mmu table
- detect cpu revision
- reset cpu and wdog settings
- timer init
- wdog settings
- lowlevel init to save/restore registers
- a few dummy header file to avoid build failure
- ft_system_setup
Signed-off-by: Peng Fan
Compile files for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/mach-imx/Makefile | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/Makefile
Add USB_BOOT entry.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
arch/arm/include/asm/mach-imx/boot_mode.h | 1 +
1 file changed, 1 insertion(+)
diff --git
Add i.MX8MQ SoC Revision
Add is_mx8m helper
The 7ULP is a dummy number, so use 0xEx.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-imx/cpu.h | 6 --
Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7.
Since fuse regs structure are different for i.MX6/7, use mac
address offset in code and define a new local struture
imx_mac_fuse.
Also sort the config order.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc:
Implement spl_boot_device for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/mach-imx/spl.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
The i.MX7 cpu speed/temp code could be reused on i.MX8M,
so move them to common cpu code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 73 +
Update get_reset_cause to reflect i.MX8M
Compile out get_ahb_clk and set_chipselect_size for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 11 ++-
1 file
Add pin header file for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/mx8mq_pins.h | 623
1 file changed, 623 insertions(+)
create mode
Add clock driver to support i.MX8M.
There are two kind PLLs, FRAC pll and SSCG pll. ROM already
configured SYS PLL1/2, we only need to configure the output.
ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/
enet clock are configured in the code.
Signed-off-by: Peng Fan
Add SiP (Silicon Provider) services function to issue
SMC call to Arm Trusted Firmware.
More SiP information could be found in
https://github.com/ARM-software/arm-trusted-firmware/blob/master/
docs/arm-sip-service.rst
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Add register definition header file for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/imx-regs.h | 468 ++
1 file changed, 468 insertions(+)
From: Tom Rini
The "clocks" and "bootaux" commands are only usable in full U-Boot, not
SPL, so do not link them inside of SPL. Rework a little of the bootaux
related code to make use of __weak and declare parts of it static as
it's local to the file.
Cc: Stefano Babic
Add i.MX8M into Kconfig, create a new folder mx8m
dedicated for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/Kconfig | 14 +++---
arch/arm/Makefile | 4
This patchset is to add i.MX8M and i.MX8MQ-EVK support
V5:
Drop wait_mask_set/clr_timeout and switch to use readl_poll_timeout in
the patchset.
V4:
Regenerate patchset based on Tom's master tree.
In this patchset, https://patchwork.ozlabs.org/patch/855027/
"arm: imx: Rework i.MX specific
On Wed, Jan 10, 2018 at 12:19:28PM +0900, Masahiro Yamada wrote:
>2018-01-10 12:05 GMT+09:00 Peng Fan :
>> Add heler functions for wait mask set/clr.
>>
>> Signed-off-by: Peng Fan
>> Cc: Stefano Babic
>> Cc: Fabio Estevam
When using only a single DDR chip select only assert M_ODT[0] on write.
Do not assert it on read and do not assert M_ODT[1] at all.
Signed-off-by: Chris Packham
---
I have a custom board that sees correctable ECC errors (when running
memtester[1] from Linux). When I
2018-01-10 12:05 GMT+09:00 Peng Fan :
> Add heler functions for wait mask set/clr.
>
> Signed-off-by: Peng Fan
> Cc: Stefano Babic
> Cc: Fabio Estevam
> Cc: Masahiro Yamada
> Cc: Simon
Hello,
I didn't hear back about the changes, so I'll proceed to this stage. :)
Please find additional ZFS boot features, and fixes. Please advise if
outside git repositories are not allowed.
The following changes since commit ab61e175713a0400c6ece6348e8f655998cf574d:
ARM: rmobile: Rework the
Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy
firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to
DRAM.
The boot log with Arm trusted firmware console enabled:
"
U-Boot SPL 2018.01-rc3-00044-g0b075f6be7 (Jan 09 2018 - 17:57:28)
PMIC: PFUZE100 ID=0x10
Normal Boot
i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks
and each bank 4 words.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
drivers/misc/mxc_ocotp.c | 7 +++
1 file changed, 7 insertions(+)
From: Ye Li
When building for 64bits system, we get some warnings about type
cast between pointer and integer. This patch eliminates the warnings
by using ulong/long type which is 32bits on 32bits system or 64bits on
64bits system.
Signed-off-by: Ye Li
Include i.MX8M in lcdif register layout map.
Also included i.MX7ULP in this patch, since share same with i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
Add i.MX8M GPIO support.
There are 4 GPIO banks on i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
drivers/gpio/mxc_gpio.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
Add i.MX8M support. Because i.MX8M use SiP call trap
to Arm Trusted Firmware to handle M4, so use #ifdef
to avoid build error on i.MX6/7.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 10 ++
1 file changed, 10 insertions(+)
diff --git
Compile files for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/mach-imx/Makefile | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/Makefile
Allow the dm driver be omitted by SPL.
Signed-off-by: Peng Fan
Reviewed-by: Simon Glass
Cc: Jaehoon Chung
Cc: Stefano Babic
---
drivers/power/pmic/Makefile | 2 +-
drivers/power/regulator/Makefile | 2 +-
2
Move i.MX6/7 bootaux code to imx_bootaux.c.
The i.MX6/7 has different src layout, so define M4 reg offset
to ease the cleanup. Redefine the M4 related BIT for share
common code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Use more general enum types for speed grade.
Refine get_cpu_speed_grade_hz to support i.MX8M.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 27 +++
1 file changed, 15
The MIB RAM and FIFO receive start register does not exist on
i.MX8M. Accessing these register will cause system hang.
Signed-off-by: Peng Fan
Acked-by: Joe Hershberger
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
Add dtsi file for i.MX8MQ.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/fsl-imx8-ca53.dtsi | 92 +
arch/arm/dts/fsl-imx8mq.dtsi | 429
Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7.
Since fuse regs structure are different for i.MX6/7, use mac
address offset in code and define a new local struture
imx_mac_fuse.
Also sort the config order.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc:
Add SoC level initialization code
- arch_cpu_init
- mmu table
- detect cpu revision
- reset cpu and wdog settings
- timer init
- wdog settings
- lowlevel init to save/restore registers
- a few dummy header file to avoid build failure
- ft_system_setup
Signed-off-by: Peng Fan
Support i.MX8M in fsl esdhc driver.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
drivers/mmc/fsl_esdhc.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
Add pad settings bit definition for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/mach-imx/iomux-v3.h | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
The mx7 mmc env code is shared by i.MX8M, so move it to mmc_env.c.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Makefile | 1 +
arch/arm/mach-imx/mmc_env.c | 30 ++
arch/arm/mach-imx/mx7/soc.c | 21 -
3 files changed, 31
Add ddrc memory map and enum types used in ddr initialization.
Signed-off-by: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/ddr.h | 356 +++
1 file changed, 356
The i.MX7 cpu speed/temp code could be reused on i.MX8M,
so move them to common cpu code.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 73 +
Move get_boot_device to cpu.c to prepare adding i.MX8M support,
because i.MX8M share same code with i.MX7.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/include/asm/arch-mx7/imx-regs.h | 8 ---
Enable get_boot_device for i.MX8M, it supports boot type USB.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
Add clock driver to support i.MX8M.
There are two kind PLLs, FRAC pll and SSCG pll. ROM already
configured SYS PLL1/2, we only need to configure the output.
ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/
enet clock are configured in the code.
Signed-off-by: Peng Fan
Add pin header file for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/mx8mq_pins.h | 623
1 file changed, 623 insertions(+)
create mode
Add SiP (Silicon Provider) services function to issue
SMC call to Arm Trusted Firmware.
More SiP information could be found in
https://github.com/ARM-software/arm-trusted-firmware/blob/master/
docs/arm-sip-service.rst
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Add USB_BOOT entry.
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
arch/arm/include/asm/mach-imx/boot_mode.h | 1 +
1 file changed, 1 insertion(+)
diff --git
Implement spl_boot_device for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/mach-imx/spl.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
Update get_reset_cause to reflect i.MX8M
Compile out get_ahb_clk and set_chipselect_size for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Stefano Babic
Reviewed-by: Fabio Estevam
---
arch/arm/mach-imx/cpu.c | 11 ++-
1 file
Add i.MX8MQ SoC Revision
Add is_mx8m helper
The 7ULP is a dummy number, so use 0xEx.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-imx/cpu.h | 6 --
Add heler functions for wait mask set/clr.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Masahiro Yamada
Cc: Simon Glass
---
include/linux/delay.h | 4
Add register definition header file for i.MX8M
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/include/asm/arch-mx8m/imx-regs.h | 468 ++
1 file changed, 468 insertions(+)
Add i.MX8M into Kconfig, create a new folder mx8m
dedicated for i.MX8M.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/Kconfig | 14 +++---
arch/arm/Makefile | 4
This patchset is to add i.MX8M and i.MX8MQ-EVK support
V4:
Regenerate patchset based on Tom's master tree.
In this patchset, https://patchwork.ozlabs.org/patch/855027/
"arm: imx: Rework i.MX specific commands to be excluded from SPL" from
Tom is included to avoid merge conflicts because the
From: Tom Rini
The "clocks" and "bootaux" commands are only usable in full U-Boot, not
SPL, so do not link them inside of SPL. Rework a little of the bootaux
related code to make use of __weak and declare parts of it static as
it's local to the file.
Cc: Stefano Babic
On Wed, Jan 10, 2018 at 12:13:42AM -0200, Fabio Estevam wrote:
>On Wed, Jan 10, 2018 at 12:09 AM, Fabio Estevam wrote:
>
>> It would be better to generate the series against U-Boot 2018.11 master.
>
>2018.01 I mean :-)
ok. I'll post out V4 based on Tom's master tree with.
Hi Marek,
On Sat, Jun 10, 2017 at 5:28 AM, Marek BehĂșn wrote:
> The DDR3 training code for Marvell A38X currently computes 1t timing
> when given board topology map of the Turris Omnia, but Omnia needs 2t.
>
> This patch adds support for enforcing the 2t timing in struct
>
Hi Jorge,
On 01/09/2018 11:12 AM, Jorge Ramirez-Ortiz wrote:
From: Jorge Ramirez-Ortiz
this should be the norm for armv8 platforms.
Signed-off-by: Jorge Ramirez-Ortiz
---
arch/arm/dts/dragonboard410c.dts | 5
On Wed, Jan 10, 2018 at 12:09 AM, Fabio Estevam wrote:
> It would be better to generate the series against U-Boot 2018.11 master.
2018.01 I mean :-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Peng,
On Tue, Jan 9, 2018 at 10:55 PM, Peng Fan wrote:
> As noted in cover-letter,
> This patchset based on https://patchwork.ozlabs.org/patch/855027/
> "arm: imx: Rework i.MX specific commands to be excluded from SPL" from
> Tom to avoid this patchset fail apply after
We do not need multiple ways to do the same thing. Instead of
assert(), use BUG_ON() from Linux. The logic is opposite, but
Coccinelle is of great help for such a conversion. We could
simply convert assert(x) to BUG_ON(!x) for all expressions "x",
but I did a bit better job by converting
- the logic is opposite
- currently, assert() is compiled only when DEBUG is defined
Coccinelle can easily convert assert() to BUG_ON().
A problem is it would grow the image size.
In v2, I introduced a new CONFIG option to allow to disable it.
In v3, it is default 'y'. I disabled it only
BUG(), BUG_ON(), WARN_ON(), etc. are generally used to test a condition
that should never happen. If it does, it is a bug, then they print
noisy messages.
They are useful to catch bugs, and Linux always enables them, but doing
so in U-Boot causes image size problems on some platforms.
Introduce
xhci_wait_for_event() is supposed to return a pointer to union xhci_trb,
but it does not return anything at the end of the function.
This relies on that the end of the function is unreachable due to BUG().
We are planning to make BUG() no-op for platforms with strong image size
constraint.
No more users of assert() except host tools. Remove.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
---
Changes in v3:
- Rebase on v2017.01
Changes in v2: None
include/log.h | 15 ---
lib/tiny-printf.c | 9
Calling panic() for these boards causes build error:
undefined reference to `do_reset'
They must compile do_reset(), or define CONFIG_PANIC_HANG.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
These boards are always on the boundary of "u-boot-nodtb.bin exceeds
file size limit" error.
Commit ab5502bf561b ("ARM: openrd: set CONFIG_LOGLEVEL to 2") reduced
the loglevel to save memory footprint.
They are hitting the size limit, again. Disable CONFIG_BUG_CHECKS.
Signed-off-by: Masahiro
Hi Diego,
On Tue, Jan 09, 2018 at 03:42:29PM -0200, Diego Dorta wrote:
>Hi peng,
>
>2018-01-09 10:11 GMT-02:00 Peng Fan :
>> This patchset is to add i.MX8M and i.MX8MQ-EVK support
>>
>> V3:
>> This patchset based on https://patchwork.ozlabs.org/patch/855027/
>> "arm: imx:
On 12/04/2017 10:28 PM, Simon Glass wrote:
> With sandbox the U-Boot code is not mapped into the sandbox memory range
> so does not need to be excluded when allocating EFI memory. Update the EFI
> memory init code to take account of that.
>
> Also use mapmem instead of a cast to convert a memory
1 - 100 of 250 matches
Mail list logo