public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 00/21] imx: vybrid: Update BK4 and PCM052 boards to only use DM/DTS
@ 2019-01-14 14:17 Lukasz Majewski
  2019-01-14 14:17 ` [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc Lukasz Majewski
                   ` (20 more replies)
  0 siblings, 21 replies; 31+ messages in thread
From: Lukasz Majewski @ 2019-01-14 14:17 UTC (permalink / raw)
  To: u-boot

This patch series converts PCM052 and BK4 to use Driver Model and Device
Tree.
Some notable changes:
- The way how MAC address is read from fuses can now be adjusted
- DTS improvement/sync with kernel
- Using generic code instead of one from board

The output of u-boot boot:
U-Boot 2019.01-rc3-00076-gc149229be0 (Jan 14 2019 - 08:38:48 +0100)

CPU: Freescale Vybrid VF610 at 396 MHz
Reset cause: POWER ON RESET
Model: Liebherr (LVF) BK4 Vybrid Board
Board: BK4r1 (L333)
DRAM:  512 MiB
NAND:  1024 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... OK
In:    serial at 40028000
Out:   serial at 40028000
Err:   serial at 40028000
Net:   eth0: fec at 400d0000, eth1: fec at 400d1000
Enter passphrase to stop autoboot, booting in 3 seconds

Buildman CI:
./tools/buildman/buildman.py --branch=HEAD~3  vf610 mx6 vybrid --detail --verbose --show_errors --force-build --count=21 --output-dir=../BUILD/

Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/jobs/479284276
[omitting test_efi_selftest failure - as PCM052/BK4 is not supporting EFI]

U-boot master branch: SHA1: b3a69c246915bd704d6073bcf4614d6881c0da04



Lukasz Majewski (21):
  ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot,dm-pre-reloc' in
    soc
  net: FEC: Add compatible for vybrid (vf610) to reuse fec_mxc.c driver
  net: Kconfig: FEC: Add dependency on VF610
  vybrid: ddr: Extend vf610-pinfunc.h with DDR pads definitions
  vybrid: clock: Provide enable_i2c_clk() function for Vybrid
  vybrid: Define the imx_get_mac_from_fuse() as a __weak function
  pcm052: board: Remove "m4go" command as it is superseded by "bootaux"
  pcm052: board: vybrid: Update the board name for BK4 device
  ARM: DTS: vybrid: Update vf.dtsi file to descibe more vf610 hardware
  pcm052: board: cosmetic: Add copyright notice to pcm052.c
  ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts)
  defconfig: bk4/pcm052: Update bk4r1|pcm052_defconfig to support DM/DT
  config: pcm052: Use SZ_X{MK} from linux/sizes.h for
    include/configs/pcm052.h
  config: bk4: Update include/configs/bk4r1.h file
  pcm052: board: Remove in-board setup code (it is now replaced by DM
    setup)
  config: bk4: Update u-boot script to support recovery via SD card
  config: bk4: Update u-boot envs to support NOR memories initial setup
  pcm052: bk4: sdcard: Add support for SD card booting/recovery
  pcm052: board: Add code to setup LED default states
  pcm052: mac: Provide board specific imx_get_mac_from_fuse() function
  pcm052: bk4: Add board_phy_config() for BK4 to setup ksz8081 phy

 arch/arm/cpu/armv7/vf610/Kconfig           |   1 +
 arch/arm/cpu/armv7/vf610/generic.c         |  21 +-
 arch/arm/dts/bk4r1.dts                     | 108 +++++---
 arch/arm/dts/pcm052.dts                    |   6 +-
 arch/arm/dts/vf-u-boot.dtsi                |  11 +
 arch/arm/dts/vf.dtsi                       |  63 +++++
 arch/arm/dts/vf610-pcm052.dtsi             | 266 ++++++++++++++++++++
 arch/arm/dts/vf610-pinfunc.h               |  50 ++++
 arch/arm/include/asm/arch-vf610/clock.h    |   3 +
 arch/arm/include/asm/arch-vf610/imx-regs.h |   2 +
 board/phytec/pcm052/pcm052.c               | 386 +++++++----------------------
 configs/bk4r1_defconfig                    |  46 +++-
 configs/pcm052_defconfig                   |  32 ++-
 drivers/net/Kconfig                        |   2 +-
 drivers/net/fec_mxc.c                      |   1 +
 include/configs/bk4r1.h                    | 263 +++++++++++++++++++-
 include/configs/pcm052.h                   |  51 +---
 17 files changed, 925 insertions(+), 387 deletions(-)
 create mode 100644 arch/arm/dts/vf-u-boot.dtsi
 create mode 100644 arch/arm/dts/vf610-pcm052.dtsi

-- 
2.11.0

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-01-16 12:23 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-14 14:17 [U-Boot] [PATCH v1 00/21] imx: vybrid: Update BK4 and PCM052 boards to only use DM/DTS Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc Lukasz Majewski
2019-01-14 14:30   ` Tom Rini
2019-01-15  7:58     ` Lukasz Majewski
2019-01-16  2:24       ` Tom Rini
2019-01-16  7:33         ` Lukasz Majewski
2019-01-16 12:23           ` Tom Rini
2019-01-14 14:17 ` [U-Boot] [PATCH v1 02/21] net: FEC: Add compatible for vybrid (vf610) to reuse fec_mxc.c driver Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 03/21] net: Kconfig: FEC: Add dependency on VF610 Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 04/21] vybrid: ddr: Extend vf610-pinfunc.h with DDR pads definitions Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 05/21] vybrid: clock: Provide enable_i2c_clk() function for Vybrid Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 06/21] vybrid: Define the imx_get_mac_from_fuse() as a __weak function Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 07/21] pcm052: board: Remove "m4go" command as it is superseded by "bootaux" Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 08/21] pcm052: board: vybrid: Update the board name for BK4 device Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 09/21] ARM: DTS: vybrid: Update vf.dtsi file to descibe more vf610 hardware Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 10/21] pcm052: board: cosmetic: Add copyright notice to pcm052.c Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 11/21] ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts) Lukasz Majewski
2019-01-14 14:32   ` Tom Rini
2019-01-15  8:20     ` Lukasz Majewski
2019-01-16  2:33       ` Tom Rini
2019-01-16  7:47         ` Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 12/21] defconfig: bk4/pcm052: Update bk4r1|pcm052_defconfig to support DM/DT Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 13/21] config: pcm052: Use SZ_X{MK} from linux/sizes.h for include/configs/pcm052.h Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 14/21] config: bk4: Update include/configs/bk4r1.h file Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 15/21] pcm052: board: Remove in-board setup code (it is now replaced by DM setup) Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 16/21] config: bk4: Update u-boot script to support recovery via SD card Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 17/21] config: bk4: Update u-boot envs to support NOR memories initial setup Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 18/21] pcm052: bk4: sdcard: Add support for SD card booting/recovery Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 19/21] pcm052: board: Add code to setup LED default states Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 20/21] pcm052: mac: Provide board specific imx_get_mac_from_fuse() function Lukasz Majewski
2019-01-14 14:17 ` [U-Boot] [PATCH v1 21/21] pcm052: bk4: Add board_phy_config() for BK4 to setup ksz8081 phy Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox