NAND_ECC_HW is no longer optional so remove the dependency from
nandtest. Otherwise nandtest won't be build for HW ECC boards.
Signed-off-by: Stefan Riedmueller
---
commands/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/commands/Kconfig b/commands/Kconfig
index 6d84c956e576
.
Signed-off-by: Stefan Riedmueller
---
drivers/mtd/nand/nand_mxs.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/mtd/nand/nand_mxs.c b/drivers/mtd/nand/nand_mxs.c
index 96ae71364efb..285ae3c121b6 100644
--- a/drivers/mtd/nand/nand_mxs.c
+++ b/drivers/mtd/nand
Nandsize can be larger than 4 GB. So during status print the number of
blocks calculation needs to use 64 bit division.
Signed-off-by: Stefan Riedmueller
---
commands/nandtest.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/commands/nandtest.c b/commands/nandtest.c
Show an error message and return an error code if the barebox partition
is too small. This can easily happen when having large erasoblocks since
all four FCB copies need a separate eraseblock.
Signed-off-by: Stefan Riedmueller
---
common/imx-bbu-nand-fcb.c | 16 +++-
1 file changed
To be able to fixup older devicetrees, prior to v4.15 where leading
zeros of the unit addresses were removed, use the reproducible name to
find the corresponding nodes.
Signed-off-by: Stefan Riedmueller
---
net/eth.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff
Give the user information about the faulty block when an erase
operation fails with error.
Signed-off-by: Stefan Riedmueller
---
drivers/mtd/core.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c
index af33ad665c5a..22eb2a056c4e
ses the same mechanism.
This fixes an issue where marking Bad Block Table blocks as bad fails
with:
NXS NAND: Writing OOB isn't supported
Tested on PHYTEC phyCORE-i.MX 6Q.
Signed-off-by: Stefan Riedmueller
---
drivers/mtd/nand/nand_mxs.c | 87 +++--
1 file
on /mnt/mmc
Signed-off-by: Stefan Riedmueller
---
fs/fs.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index 3db24b7b6822..4f2345d22544 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -951,9 +951,10 @@ const char *cdev_get_mount_path(struct
The blocks containing the bad block table can become bad as well. So
make sure to skip any blocks that are marked bad when searching for the
bad block table.
Signed-off-by: Stefan Riedmueller
---
drivers/mtd/nand/nand_bbt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd
-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git
The SD card interface is still using the legacy partition binding.
Change this by switching to the new bindings.
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 22 +-
1 file changed, 13
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
Make use of SPDX license identifiers and update copyright notices and
model descriptions of the phyCARD-i.MX 6 SOM.
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6q-phytec-pbaa03.dts | 13 -
arch/arm/dts/imx6q-phytec-pcaaxl3
Bring the device tree nodes in alphabetical order and in this context
also remove the deprecated iomux group.
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi | 182 -
1 file changed, 90
The EEPROM is a configurable option. So make it configurable from the
dts file.
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/dts/imx6q-phytec-phycard.dts| 4
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 1 +
2 files changed, 5
Use the simpler name phycard instead of the article number pcaaxl3
for device tree file names and image names of the phyCARD-i.MX 6.
Signed-off-by: Stefan Riedmueller
---
Changes in v3:
- Rebased on latest master
---
arch/arm/boards/phytec-som-imx6/lowlevel.c | 6
-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/dts/imx6qdl
The SD card interface is still using the legacy partition binding.
Change this by switching to the new bindings.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 21 -
1 file changed, 12 insertions(+), 9 deletions
Use the simpler name phycard instead of the article number pcaaxl3
for device tree file names and image names of the phyCARD-i.MX 6.
Also make the dtsi file includeable for i.MX 6Solo/DualLight as well.
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Remove the model and compatible from
The EEPROM is a configurable option. So make it configurable from the
dts file.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6q-phytec-phycard.dts| 4
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 1 +
2 files changed, 5 insertions(+)
diff --git
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Added this patch
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
index
Bring the device tree nodes in alphabetical order and in this context
also remove the deprecated iomux group.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi | 182 -
1 file changed, 90 insertions(+), 92 deletions
Change environment device-path from using a separate label to
referencing a device plus partname.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts
Make use of SPDX license identifiers and update copyright notices and
model descriptions of the phyCARD-i.MX 6 SOM.
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Don't remove dtsi's model and compatible yet
---
arch/arm/dts/imx6q-phytec-pbaa03.dts | 13 -
arch/arm/dts
-by: Stefan Riedmueller
---
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 6 +++---
arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
b
Change environment device-path from using a separate label to
referencing a device plus partname.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/imx6qdl-phytec-phycard
The SD card interface is still using the legacy partition binding.
Change this by switching to the new bindings.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/arch/arm
The EEPROM is a configurable option. So make it configurable from the
dts file.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6q-phytec-phycard.dts| 4
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/dts/imx6q
Use the simpler name phycard instead of the article number pcaaxl3
for device tree file names and image names of the phyCARD-i.MX 6.
Signed-off-by: Stefan Riedmueller
---
arch/arm/boards/phytec-som-imx6/lowlevel.c | 6 ++---
arch/arm/dts/Makefile | 2
Make use of SPDX license identifiers and update copyright notices and
model descriptions of the phyCARD-i.MX 6 SOM.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6q-phytec-pbaa03.dts | 13 -
arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi | 14 +++---
2 files changed, 7
Bring the device tree nodes in alphabetical order and in this context
also remove the deprecated iomux group.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi | 182 -
1 file changed, 90 insertions(+), 92 deletions(-)
diff --git
Commit 7802c6f891b7 ("ARM: i.MX6: boot: Return BOOTSOURCE_SPI_NOR, not
BOOTSOURCE_SPI") changed the returned boot source for SPI NOR on i.MX 6
from SPI to SPI_NOR. This needs to be accounted for in the bootsource
scripts.
Signed-off-by: Stefan Riedmueller
---
.../phytec-som-imx6/
There is no driver for the eMMC's vmmc-supply regulator in the barebox.
Use a dummy regulator instead by simply deleting the vmmc-supply
property.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts
Make use of SPDX license identifiers and update copyright notices and model
descriptions of the phyCORE-i.MX 6 SOM's.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6dl-phytec-phycore-som-emmc.dts | 10 ++
arch/arm/dts/imx6dl-phytec-phycore-som-nand.dts | 13 -
arch
Make use of the upstream devicetree for the phyCORE-i.MX 6 and the
phyBOARD-Mira to reduce code duplication. In this context also add a
Mira devicetree for barebox to better differentiate between phyCORE
related settings and baseboard related settings.
Signed-off-by: Stefan Riedmueller
---
arch
There is no driver for the phyFLEX-i.MX 6 phy-supply regulator in
the barebox. Use a dummy regulator instead by simply deleting the
phy-supply property.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm
When the driver is not able to get or control the phy regulator memory
resources are already acquired and need to be released during rollback.
Signed-off-by: Stefan Riedmueller
---
drivers/net/fec_imx.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net
Partition devices are not directly associated with the nvmem instance but via
their master cdev. Thus reading and writing needs to be handled via the
master.
Signed-off-by: Stefan Riedmueller
---
drivers/nvmem/core.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff
option.
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Remove threshold config completely instead of just maxing out the default
---
drivers/mtd/ubi/Kconfig | 17 -
drivers/mtd/ubi/build.c | 2 +-
drivers/mtd/ubi/ubi.h | 11 +++
drivers/mtd/ubi/wl.c| 8
the chance of wear-leveling in the barebox max out
the threshold.
Signed-off-by: Stefan Riedmueller
---
drivers/mtd/ubi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 9a344082b7bb..509a1f77ddcd 100644
Add the backend-storage-type for both states and set it to "direct" as
the backend is an EEPROM.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/am335x-phytec-state.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-state.dtsi
b/arch/arm/dts/am3
Add a label for the EEPROM to be able to address it for the state
framework.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
b
From: Daniel Schultz
Add the state framework with EEPROM backend.
Signed-off-by: Daniel Schultz
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Added backend-storage-type
- Added missing Signed-off-by
---
arch/arm/dts/imx6ul-phytec-phycore-som.dts | 5 ++
arch/arm/dts/imx6ul
Add a phyCORE-i.MX 6ULL with eMMC. It has following features:
- i.MX 6ULL Y2 792 MHz
- 512 MB RAM
- 4 GB eMMC
- 10/100 MBits Ethernet
- USB OTG
- USB Host
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/boards/phytec-som-imx6
are necessary for low-cost and full-featured. Thus a
low-cost variant is added for the phyCORE-i.MX 6Solo with NAND and the
phyCORE-i.MX 6 DualLight with eMMC.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/boards/phytec-som-imx6/lowlevel.c | 2 +
arch/arm/dts/Makefile
Add initial support for phyCORE-i.MX 6UL/ULL with eMMC. Including board
code and default environment.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/boards/phytec-som-imx6/board.c| 18 +++---
.../defaultenv-physom-imx6ul-phycore/boot/emmc
Add support for phyCORE-i.MX 6UL/ULL modules with eMMC instead of NAND
flash.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 42 +
1 file changed, 42 insertions(+)
diff --git a/arch/arm/dts/imx6ul-phytec
From: Daniel Schultz
Add the state framework with EEPROM backend.
Signed-off-by: Daniel Schultz
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Added backend-storage-type
---
arch/arm/dts/imx6dl-phytec-phycore-som-emmc.dts| 1 +
arch/arm/dts/imx6dl-phytec-phycore-som-lc-emmc.dts
Prepare for the new phyCORE-i.MX 6UL/ULL eMMC module by extending the
dts filenames by their boot medium. Also add the boot medium to the
compatible to be able to perform boot medium dependent setup code.
Signed-off-by: Stefan Riedmueller
---
No changes in v2
---
arch/arm/boards/phytec-som-imx6
Read the unified ID of the i.MX 6 SOCs and print it in the boot log.
Signed-off-by: Stefan Riedmueller
---
Changes in v2:
- Made function available for others through mach-imx/include/mach/imx6.h
---
arch/arm/mach-imx/imx6.c | 19 +++
arch/arm/mach-imx/include/mach
Reduce the drive strength for the MDC, MDIO and TX pins of fec1 to improve
signal quality and EMC. Also disable internal pull ups on the MDC and
MDIO pins.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6
Prepare for the new phyCORE-i.MX 6UL/ULL eMMC module by extending the
dts filenames by their boot medium. Also add the boot medium to the
compatible to be able to perform boot medium dependent setup code.
Signed-off-by: Stefan Riedmueller
---
arch/arm/boards/phytec-som-imx6/board.c
Add a phyCORE-i.MX 6ULL with eMMC. It has following features:
- i.MX 6ULL Y2 792 MHz
- 512 MB RAM
- 4 GB eMMC
- 10/100 MBits Ethernet
- USB OTG
- USB Host
Signed-off-by: Stefan Riedmueller
---
arch/arm/boards/phytec-som-imx6/lowlevel.c | 1
Add initial support for phyCORE-i.MX 6UL/ULL with eMMC. Including board
code and default environment.
Signed-off-by: Stefan Riedmueller
---
arch/arm/boards/phytec-som-imx6/board.c| 18 +++---
.../defaultenv-physom-imx6ul-phycore/boot/emmc | 5
are necessary for low-cost and full-featured. Thus a
low-cost variant is added for the phyCORE-i.MX 6Solo with NAND and the
phyCORE-i.MX 6 DualLight with eMMC.
Signed-off-by: Stefan Riedmueller
---
arch/arm/boards/phytec-som-imx6/lowlevel.c | 2 +
arch/arm/dts/Makefile
Add a label for the EEPROM to be able to address it for the state
framework.
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
b/arch/arm/dts/imx6ul
From: Daniel Schultz
Add the state framework with EEPROM backend.
Signed-off-by: Daniel Schultz
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6dl-phytec-phycore-som-emmc.dts| 1 +
arch/arm/dts/imx6dl-phytec-phycore-som-lc-emmc.dts | 1 +
arch/arm/dts/imx6dl-phytec-phycore-som
Read the unified ID of the i.MX 6 SOCs and print it in the boot log.
Signed-off-by: Stefan Riedmueller
---
arch/arm/mach-imx/imx6.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-imx/imx6.c b/arch/arm/mach-imx/imx6.c
index e898be9ab545..66f3d22a68a7
Commit 19a32c0f6bf0 ("nvmem: ocotp: Add support for second mac address
fuses on imx6ul") added support for correctly reading the second MAC
address from fuses of the i.MX 6UL/ULL but not for writing. So also fit
writing of the second MAC address fuses to the correct method.
Signed-off-
From: Fabian Godehardt
Enable USB OTG support on USB OTG port 1 of the phyCORE-i.MX 6UL/ULL.
Signed-off-by: Fabian Godehardt
Signed-off-by: Stefan Riedmueller
---
arch/arm/dts/imx6ul-phytec-phycore-som.dts | 4
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 14 ++
arch/arm
From: Jan Remmet
As PHY address 0 is not used on PHYTEC i.MX 6 and i.MX 6UL SOMs we do
not have to override the B-CAST_OFF strap-in which disables broadcast
on PHY address 0.
Also add some comments about the magic values.
Signed-off-by: Jan Remmet
Signed-off-by: Stefan Riedmueller
---
arch
| MAC1 |
-
0x24| MAC1 | MAC1 | MAC1 | MAC1 |
-
So to read the second MAC address the first two bytes of 0x23 need to be
skipped.
Signed-off-by: Christian Hemp
Signed-off-by: Stefan Riedmueller
-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
---
commands/of_display_timings.c | 65 ---
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/commands/of_display_timings.c b/commands/of_display_timings.c
index ccf2db0..ca8275f
>From linux-4.10 clock support, only skipped some unnecessary clocks
Signed-off-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
---
drivers/clk/imx/clk-imx6ul.c | 73 +---
1 file changed, 62 insertions(+), 11 deletions(-)
diff --git a/drivers/cl
Created imx6ull devicetree to support Phytec phyCORE-i.MX6ULL.
- 256 MB RAM
- 128 MB NAND
- 10/100 Mbit Ethernet
Signed-off-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
---
.../flash-header-phytec-pcl063-256mb.imxcfg| 9 ++
arch/arm/boards/phytec-som-imx6/lowl
Signed-off-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
---
arch/arm/mach-imx/imx.c | 2 ++
arch/arm/mach-imx/imx6.c | 3 +++
arch/arm/mach-imx/include/mach/imx6.h | 2 ++
3 files changed, 7 insertions(+)
diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/ma
66 matches
Mail list logo