From: Alexander Kurz
Two header copies exist in the iMX35 image.
When writing the barebox_header, also write it to the second copy.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-image.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/imx/imx-image.c b
From: Alexander Kurz
Both flags handle BBU behavior and should be bbu_flags.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/nxp-imx8mm-evk/board.c | 6 +++---
arch/arm/boards/nxp-imx8mp-evk/board.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards
From: Alexander Kurz
Both flags handle BBU behavior and should be bbu_flags.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/nxp-imx8mm-evk/board.c | 6 +++---
arch/arm/boards/nxp-imx8mp-evk/board.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards
From: Alexander Kurz
The MCI instances got aliases in the DTS from linux upstream which changed
the eMMC devicename e.g. from disk0 to mmc2. Adapt to this.
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx/amazon-kindle-4-5.rst | 4 ++--
arch/arm/boards/kindle
Hi Steffen,
this commit seems to be the origin of a crash when running the spi
command, e.g.
barebox@Amazon Kindle D01100:/ spi -b 2 -f 10 -w 32 -m 4 -r 4 0 0 0
0xe
unable to handle NULL pointer dereference at address 0x0030
pc : [<7fe11a6c>]lr : [<7fe1bc83>]
sp : 7ffefd
From: Alexander Kurz
This 4MBit SPI chip can be found in Kindle Voyage devices
Signed-off-by: Alexander Kurz
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 85b55c698..1595349c4 100644
From: Alexander Kurz
This 4MBit SPI chip can be found in Kindle Voyage devices
Signed-off-by: Alexander Kurz
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 85b55c698..6ff9c2738 100644
From: Alexander Kurz
Add new grouping comments for vf6xx- and Cortex-A7 based i.MX6 boards.
Sort moved entries alphabetically.
Signed-off-by: Alexander Kurz
---
images/Makefile.imx | 108 ++--
1 file changed, 55 insertions(+), 53 deletions
, Mar 18, 2019 at 07:32:42AM +, Alexander Kurz wrote:
> > From: Alexander Kurz
> >
> > The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the
> > installed
> > linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
> > FS_EXT4, FS_
From: Alexander Kurz
The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT
From: Alexander Kurz
Without the pullups enabled, the GPIO change after a button release
took some hundered milliseconds.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/kindle3/kindle3.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards
From: Alexander Kurz
With the MMU enabled, a memtest runs 14 times faster.
Signed-off-by: Alexander Kurz
---
arch/arm/configs/kindle3_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/kindle3_defconfig
b/arch/arm/configs/kindle3_defconfig
index
From: Alexander Kurz
Commit 45f38c1a846f ("ARM: Makefile: Drop unnecessary imxcfg-y settings")
dropped the imximg generation for the kindle3. This device is not covered
within multiimage support and can be configured with kindle3_defconfig.
Signed-off-by: Alexander Kurz
---
arch/ar
From: Alexander Kurz
With commit 3354adee3920 ("mci: imx-esdhc: Add bigendian register access
support") and commit 15b64fd520c2 ("mci: imx-esdhc: Add layerscape support")
two ESDHC_FLAGs got assigned to already existing values. This conflict made
the imx6sl usdhc appear to be
From: Alexander Kurz
With commit 3354adee3920 ("mci: imx-esdhc: Add bigendian register access
support") and commit 15b64fd520c2 ("mci: imx-esdhc: Add layerscape support")
two ESDHC_FLAGs got assigned to already existing values. This conflict made
the imx6sl usdhc appear to be
From: Alexander Kurz
Limits for the number of clusters were used to determine the FAT fs type.
This fails e.g. for FAT32 fs with low cluster number that can be found
in certain Android images.
Sync the FAT fs type detection to the method used in linux by checking
the sectors/FAT entries at
04:08AM +0000, Alexander Kurz wrote:
> > A NO_PAD_CTRL flag used to keep a pad configuration untouched.
> > With commit 094820a63bfd ("i.MX: iomuxv3: Use helper functions in
> > iomux-v3.h")
> > the NO_PAD_CTRL semantic changed to set a pad configurations
Hi Oleksij,
when compiling for some random arm platform, next currently rasises this
warning: (BOOTM) selects ELF which has unmet direct dependencies (MIPS)
Neither ELF nor BOOTM are MIPS specific.
This issue was resolved with v3, and with v4 it's back?
Regards, Alexander
On Wed, 6 Jun 2018, Ol
Hi Sascha,
On Mon, 11 Jun 2018, Sascha Hauer wrote:
> Being able to free the live device tree seemed like a good idea in the
> early days of device tree support when the first boards were brought up.
> It turned out to be illusory that noone stores pointers to the live tree
> which become invalid
Hi Andrey,
there's something wrong with this patch,
when generating e.g. the kindle3 image (imx35 / kindle3_defconfig)
with this patch, the generated imximage differs and the device wont
boot. "Share the code to ..." should not change the program behaviour.
Regards, Alexander
--- barebox.imximg_
a boot-up
default pad configuration, which often is non zero.
Restore the old semantic, dont write PAD_CTRL when NO_PAD_CTRL is set.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/include/mach/iomux-v3.h | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-i
Resolve the warning "node has a unit name, but no reg property".
Signed-off-by: Alexander Kurz
---
arch/arm/dts/imx50.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/imx50.dtsi b/arch/arm/dts/imx50.dtsi
index 8737d4f33..c3804cfdc 100644
---
ned-off-by: Alexander Kurz
---
arch/arm/dts/imx50-kindle-common.dtsi | 31 ---
arch/arm/dts/imx50-kindle-d01100.dts | 4 ++--
arch/arm/dts/imx50-kindle-d01200.dts | 4 ++--
arch/arm/dts/imx50-kindle-ey21.dts| 4 ++--
4 files changed, 18 insertions(+), 25 deletion
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx50.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index d6ff6dfc2..6d121eaf8 100644
--- a/arch/arm/mach-imx/imx50.c
+++ b/arch/arm/mach-imx/imx50.c
The given SRSR register location is also valid for the i.MX50.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx50.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index 6d121eaf8..f7cbc9d4b 100644
--- a/arch/arm/mach-imx
Debug output may be switched on when needed, but should not be on by default.
Regenerating the defconfig removes CONFIG_TEXT_BASE.
Signed-off-by: Alexander Kurz
---
arch/arm/configs/omap3530_beagle_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/configs
The first stage loader must run in SRAM and is limited in size.
Remove unused support to load drivers from DT at this stage and
save precious 9kB of code size.
Regenerating the defconfig removes CONFIG_TEXT_BASE.
Signed-off-by: Alexander Kurz
---
arch/arm/configs/omap3530_beagle_xload_defconfig
tion using defaultenv_append_directory() in device_initcall.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/kindle-mx50/board.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/kindle-mx50/board.c
b/arch/arm/boards/kindle-mx50/board.c
index 089dd8ebb.
xchg_single")
Signed-off-by: Alexander Kurz
---
drivers/spi/imx_spi.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c
index 7819879..0827de7 100644
--- a/drivers/spi/imx_spi.c
+++ b/drivers/spi/imx_spi.c
@@ -32,8 +32,11 @@
#in
Hi,
during xchg_single 32 bits will be sent and received:
2x32 bits / 10 Microseconds = 6.4MHz Clock.
Hence, a 10 Microseconds timeout will break SPI communication for
boards with SPI frequencies less then 6.4MHz.
On some boards spi-max-frequency is limited due to improper communication
at higher
tuation, as this
> > mirrors what would have happened before we added support for gpio-hogs.
> >
> > Use IS_ENABLED(CONFIG_OFDEVICE) to teach compiler to leave
> > out the of_* specific functions if not needed.
> >
> > Fixes: 37e6bee7 ("gpioli
Hi Lucas,
On Mon, 3 Jul 2017, Lucas Stach wrote:
> Am Sonntag, den 02.07.2017, 22:24 +0200 schrieb Alexander Kurz:
> > Non-OFDEVICE boards may have OFTREE=y set, e.g. by BOOTM_OFTREE.
> > Attempts to browse the oftree will crash barebox on those boards.
> >
> > Si
Non-OFDEVICE boards may have OFTREE=y set, e.g. by BOOTM_OFTREE.
Attempts to browse the oftree will crash barebox on those boards.
Signed-off-by: Alexander Kurz
---
drivers/gpio/gpiolib.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx/Wandboard.rst | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/boards/imx/Wandboard.rst
diff --git a/Documentation/boards/imx/Wandboard.rst
b/Documentation/boards/imx/Wandboard.rst
new file
Extend the DT compatibility check to actually use the Wandboard Quad.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/technexion-wandboard/board.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/technexion-wandboard/board.c
b/arch/arm/boards/technexion
IOMUX for PBL compatible for WBQUAD.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/technexion-wandboard/lowlevel.c | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boards/technexion-wandboard/lowlevel.c
b/arch/arm/boards/technexion-wandboard
bit on the controller, which is not given on the
Wandboard modules, resulting in unpredictable calib results and breaking the
WBQUAD 2GiB SDRAM setup. Similar restrictions exist for the i.MX6SD.
Remove this calibration and use the MPWLDECTRL defaults.
Signed-off-by: Alexander Kurz
---
arch/
Extend the compatibility check for i.MX50 based kindles also on model EY21.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/kindle-mx50/board.c | 3 ++-
arch/arm/dts/imx50-kindle-ey21.dts | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/kindle-mx50
* fix IOMUX for MAX14656 IRQ, it requires a pull-up to work
* enable UART console for Model EY21
* set up IOMUX for EY21 GPIO lid-close hall sensor
* remove IOMUX for non-existing EY21 GPIO keys
* replace space indention with tabs
Signed-off-by: Alexander Kurz
---
arch/arm/dts/imx50-kindle
Hi Sasha,
thanks for noting and fixing those two issues,
it's perfectly fine for me.
Thanks, Alexander
On Mon, 24 Apr 2017, Sascha Hauer wrote:
> Hi Alexander,
>
> On Sun, Apr 23, 2017 at 07:37:41PM +0200, Alexander Kurz wrote:
> > The Kindle Model No. D01100 (Kindle Wi
peripherial mode via DT running,
until imx50.dtsi is fixed upstream.
Signed-off-by: Alexander Kurz
---
arch/arm/dts/imx50.dtsi | 40
1 file changed, 40 insertions(+)
create mode 100644 arch/arm/dts/imx50.dtsi
diff --git a/arch/arm/dts/imx50.dtsi b/arch/arm
Add the USB physbase clock entry for i.MX50 SoC to enable USB device
creation via DT.
Signed-off-by: Alexander Kurz
---
drivers/clk/imx/clk-imx5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-imx5.c b/drivers/clk/imx/clk-imx5.c
index c4c47a6..edebd25 100644
--- a
connector J14.
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx/amazon-kindle-mx50.rst| 58
arch/arm/boards/Makefile | 1 +
arch/arm/boards/kindle-mx50/Makefile | 4 +
arch/arm/boards/kindle-mx50/board.c| 162
evfs entry is not removed upon disconnect,
barebox will raise an error "device creation failed with File exists"
when the cable is connected again.
Remove devfs entries when consoles are de-registered.
Also change the error message, it's the devfs entry.
Signed-off-by: Alexander Ku
dle NULL pointer dereference at address 0x
Let console_get_by_name just ignore the anonymous consoles.
Signed-off-by: Alexander Kurz
---
common/console_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/console_common.c b/common/console_common.c
index 2e58
peripherial mode via DT running,
until imx50.dtsi is fixed upstream.
Signed-off-by: Alexander Kurz
---
arch/arm/dts/imx50.dtsi | 40
1 file changed, 40 insertions(+)
create mode 100644 arch/arm/dts/imx50.dtsi
diff --git a/arch/arm/dts/imx50.dtsi b/arch/arm
connector J14.
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx/amazon-kindle-mx50.rst| 58 +
arch/arm/boards/Makefile | 1 +
arch/arm/boards/kindle-mx50/Makefile | 4 +
arch/arm/boards/kindle-mx50/board.c| 114
Add the USB physbase clock entry for i.MX50 SoC to enable USB device
creation via DT.
Signed-off-by: Alexander Kurz
---
drivers/clk/imx/clk-imx5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-imx5.c b/drivers/clk/imx/clk-imx5.c
index c4c47a6..edebd25 100644
--- a
The clock manipulation command provides usefull information for a
potential kernel developper. Just add it for kindle3 defconfig.
Signed-off-by: Alexander Kurz
---
arch/arm/configs/kindle3_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs
The WaRP7 board is shipped with a pre-installed system.
Boot the zImage and dtb from the first partition by default.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/element14-warp7/Makefile | 1 +
arch/arm/boards/element14-warp7/board.c | 3
The wdog1 pinctrl got fixed with linux upstream commit 213e51ca8df1 ("ARM:
dts: imx7: Add "LPSR" to LPSR iomux pin names").
Remove the old workaround, since it triggers a build error.
Signed-off-by: Alexander Kurz
---
arch/arm/dts/imx7s-warp.dts | 17 -
fsl,imx7d-iomuxc is provided by selecting PINCTRL_IMX_IOMUX_V3. Select it
since a system without it will not be very usefull.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
: Alexander Kurz
---
arch/arm/mach-zynq/Kconfig| 6 ++
arch/arm/mach-zynq/clk-zynq7000.c | 9 -
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index d35bd41..ff2aedb 100644
--- a/arch/arm/mach-zynq/Kconfig
native implementation, since performing
check commands via USB will be much slower compared to native processing.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 95 +++-
scripts/imx/imx.h| 16
2 files changed, 109
This is a follow-up on commit cf3dfafff4cb.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx50.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index fb278a5..d6ff6df 100644
--- a/arch/arm/mach-imx/imx50.c
+++ b
On Tue, 14 Feb 2017, Sascha Hauer wrote:
> On Sat, Feb 11, 2017 at 11:31:38PM +0100, Alexander Kurz wrote:
> > With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe
> > returns -EINVAL for all non-OF boards.
> > Since newer planforms, especial
Commit 39f7a7ee8b68 ("i.MX: esdhc: Do not rely on CPU type for quirks")
made imx-esdhc dependent on OF and broke probing for all non-OF boards.
Since newer platforms like mx6 and vf610 are restricted to OF, the non-OF
probing only needs to distinguish mx5 vs earlier SoC.
Signed-off-by:
With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe
returns -EINVAL for all non-OF boards.
Since newer planforms, especially vf610 are restricted OF-only it is safe to
assume "fsl,imx21-i2c" if CONFIG_OFDEVICE is not set.
Signed-off-by: Alexander Kurz
---
On Wed, 1 Feb 2017, Sascha Hauer wrote:
> On Mon, Jan 30, 2017 at 11:50:55PM +0100, Alexander Kurz wrote:
> > Preparational commit to enable the use of cpu_type macros in
> > imx6_cpu_revision()
> >
> > Signed-off-by: Alexander Kurz
>
> Applied patches
p mux")
cbe7fc8aaeef ("ARM: imx: add common clock support for fixup div")
was ignored for this commit.
Signed-off-by: Alexander Kurz
---
drivers/clk/imx/clk-imx6sl.c | 329 +++
1 file changed, 329 insertions(+)
create mode 100644 drivers/clk/im
provide barebox i.MX6SL SoC support.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/esdctl.c | 3 +++
arch/arm/mach-imx/imx.c| 2 ++
drivers/clk/imx/Makefile | 1 +
drivers/pinctrl/imx-iomux-v3.c | 2 ++
4 files changed, 8 insertions(+)
diff --git a/arch/arm/mach-imx
console access by pressing backlight button at startup
Todo:
- PMIC
- EPD, EPD-PMIC, Splashscreen
- Vision4HD
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx/tolino-vision.rst | 26 +++
arch/arm/boards/Makefile | 1 +
arch/arm/boards/tolino-vision
: Alexander Kurz
---
arch/arm/mach-imx/Kconfig | 4
arch/arm/mach-imx/imx6.c | 3 +++
arch/arm/mach-imx/include/mach/imx6.h | 19 ++-
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
Preparational commit to enable the use of cpu_type macros in imx6_cpu_revision()
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/include/mach/imx6.h | 40 +--
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx6
Import the ARM IP bus base addresses from IMX7DRM 05/2016 AIPS Memory Map
Signed-off-by: Alexander Kurz
---
arch/arm/boards/element14-warp7/lowlevel.c | 2 +-
arch/arm/mach-imx/imx7.c | 2 +-
arch/arm/mach-imx/include/mach/imx7-regs.h | 125 +
3
On Thu, 26 Jan 2017, Sascha Hauer wrote:
> On Wed, Jan 25, 2017 at 12:31:55PM +0100, Alexander Kurz wrote:
> > Import the ARM IP bus base addresses from IMX7DRM 05/2016 AIPS Memory Map
>
> In my reference manual the addresses are given directly as numbers. I
> often wondered
Import the ARM IP bus base addresses from IMX7DRM 05/2016 AIPS Memory Map
Signed-off-by: Alexander Kurz
---
arch/arm/boards/element14-warp7/lowlevel.c | 2 +-
arch/arm/mach-imx/imx7.c | 2 +-
arch/arm/mach-imx/include/mach/imx7-regs.h | 143 +
3
Build of clk-imx7 depends on selection of COMMON_CLK_OF_PROVIDER
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 0e3c7de..4dc1098 100644
--- a/arch/arm/mach-imx/Kconfig
: Alexander Kurz
---
drivers/clk/imx/clk-imx31.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c
index 8d135c9..dbb5c15 100644
--- a/drivers/clk/imx/clk-imx31.c
+++ b/drivers/clk/imx/clk-imx31.c
Sort the mx31 mux options for all pads with GPIO support by the GPIO number
and add missing GPIO mux options.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/include/mach/iomux-mx31.h | 250 ++--
1 file changed, 160 insertions(+), 90 deletions(-)
diff --git a/arch
: Alexander Kurz
---
arch/arm/mach-imx/clk-imx31.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c
index 8d135c9..dbb5c15 100644
--- a/arch/arm/mach-imx/clk-imx31.c
+++ b/arch/arm/mach-imx/clk
On Wed, 7 Dec 2016, Sascha Hauer wrote:
> Hi Alexander,
>
> On Mon, Nov 28, 2016 at 10:27:33AM +0100, Alexander Kurz wrote:
> > The i.MX6 series SoC type is determined by barebox by examining the
> > USB_ANALOG_DIGPROG aka IMX6_ANATOP_SI_REV register. This register is lo
On Mon, 5 Dec 2016, Uwe Kleine-König wrote:
> On Fri, Dec 02, 2016 at 10:46:38AM +0100, Lucas Stach wrote:
> > Am Donnerstag, den 01.12.2016, 19:55 +0100 schrieb Alexander Kurz:
> > > Booting via bootm offers several methods to load oftree data. When no
> > > dedicat
On Fri, 2 Dec 2016, Lucas Stach wrote:
> Am Donnerstag, den 01.12.2016, 19:55 +0100 schrieb Alexander Kurz:
> > Booting via bootm offers several methods to load oftree data. When no
> > dedicated oftree image is provided, barebox checks for the presence of
> > its own inte
set.
Signed-off-by: Alexander Kurz
---
common/bootm.c | 8 ++--
include/bootm.h | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/common/bootm.c b/common/bootm.c
index 5984319..f5303fa 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -58,6 +58,7 @@ void
p mux")
cbe7fc8aaeef ("ARM: imx: add common clock support for fixup div")
was ignored for this commit.
Signed-off-by: Alexander Kurz
---
drivers/clk/imx/clk-imx6sl.c | 329 +++
1 file changed, 329 insertions(+)
create mode 100644 drivers/clk/im
Preparational commit to enable the use of cpu_type macros in imx6_cpu_revision()
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/include/mach/imx6.h | 40 +--
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx6
: Alexander Kurz
---
arch/arm/mach-imx/Kconfig | 4
arch/arm/mach-imx/imx6.c | 3 +++
arch/arm/mach-imx/include/mach/imx6.h | 19 ++-
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx.c| 2 ++
drivers/clk/imx/Makefile | 1 +
drivers/pinctrl/imx-iomux-v3.c | 4 +++-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/mach-imx/imx.c
index 952db00..1eea275 100644
--- a
For better readability sort the list of known USB ids by VID and PID.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 56 ++--
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx
Add the i.MX6SL USB id to the list of known ids.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index fb80e0e..be0894f 100644
--- a/scripts/imx/imx-usb-loader.c
Make access to the mc13892 charger parameter voltage, current and max power
dissipation readable in terms of millivolts, milliamps and milliwatts.
Signed-off-by: Alexander Kurz
---
arch/arm/boards/efika-mx-smartbook/board.c | 4 +--
include/mfd/mc13892.h | 40
The DCD NOP command is available for all flash header v2 devices (i.MX28,
50, 53, 6 and 7).
Signed-off-by: Alexander Kurz
---
scripts/imx/README | 1 +
scripts/imx/imx-image.c | 28
scripts/imx/imx.c | 11 +++
scripts/imx/imx.h | 1 +
4
This chip can be found in 4th generation Kindle devices
Signed-off-by: Alexander Kurz
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 748b328..45be586 100644
--- a/drivers/mtd/spi-nor/spi
On Mon, 12 Sep 2016, Sascha Hauer wrote:
> On Fri, Sep 09, 2016 at 05:43:39PM +0200, Alexander Kurz wrote:
> > Signed-off-by: Alexander Kurz
> > ---
> > Documentation/boards/imx.rst | 1 +
> > arch/arm/mach-imx/include/mach/generic.h | 13
Additional changes:
* typical PAD settings for UART, SPI, I2C and ESDHC
* SION bits set for all I2C MUX options
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/include/mach/iomux-mx50.h | 943
1 file changed, 943 insertions(+)
create mode 100644 arch/arm/mach-i
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/Kconfig | 6 +
arch/arm/mach-imx/Makefile | 2 +
arch/arm/mach-imx/clk-imx5.c| 88 +++
arch/arm/mach-imx/imx.c | 6 +
arch/arm/mach-imx/imx50
Signed-off-by: Alexander Kurz
---
Documentation/boards/imx.rst | 1 +
arch/arm/mach-imx/include/mach/generic.h | 13 +
arch/arm/mach-imx/include/mach/imx_cpu_types.h | 1 +
3 files changed, 15 insertions(+)
diff --git a/Documentation/boards/imx.rst b
Add imximg support for i.MX50 processors which use the i.MX flash
header v2 format.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-image.c | 2 +-
scripts/imx/imx-usb-loader.c | 3 +++
scripts/imx/imx.c| 1 +
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a
Move all MX5 clock functionality which does not apply to i.MX50 to
a new mx51_mx53 related function.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/clk-imx5.c | 43 +++
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mach-imx
The i.MX50 SOC includes one ESDHCv3, three ESDHCv2, one cspi and
two ecspi instances which are supported by existing drivers.
Signed-off-by: Alexander Kurz
---
drivers/mci/imx-esdhc.c| 4 +++-
drivers/spi/Kconfig| 4 ++--
drivers/usb/imx/imx-usb-misc.c | 6 ++
3 files
error handling, do
structured member access and proper endianess handling and direct error
messages to stderr.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 125 +++
scripts/imx/imx.h| 17 +-
2 files changed, 95 insertions
DCD v1 elements are encoded little endian.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 19 +++
scripts/imx/imx.h| 6 ++
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb
Do some cleanup which enables DCDv1 16 bit write access as side effect.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index 1732497..9f25ca6
DCD check command is currently implemented for imximg v2 only.
This command may also be available for v1 as mentioned in IMX35RM as
DCD-address-type "wait/read", but due to the lack of further details
it will be not supported.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-i
Only the first encountered DCD block should be processed, optional DCD
processing may be switched off by command option.
Clean up the corresponding logic.
Signed-off-by: Alexander Kurz
---
scripts/imx/imx-usb-loader.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff
CMD_TEST is required for scripts in defaultenv-2, e.g. automount.
Signed-off-by: Alexander Kurz
---
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/Kconfig b/common/Kconfig
index 38225eb..397bcbe 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -844,6 +844,7
On Thu, 18 Aug 2016, Alexander Shiyan wrote:
> >Четверг, 18 августа 2016, 10:15 +03:00 от Sascha Hauer
> >:
> >
> >On Wed, Aug 17, 2016 at 03:12:19PM +0200, Alexander Kurz wrote:
> >> An MC13892CJ having REV[4:0]=0x14 can be found in the kindle-d01100.
>
An MC13892CJ having REV[4:0]=0x14 can be found in the kindle-d01100.
Add the revision to the list to support this device.
Signed-off-by: Alexander Kurz
---
drivers/mfd/mc13xxx.c | 1 +
include/mfd/mc13xxx.h | 13 +++--
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a
und MC13892 ID: 0x0067fe [Rev: 3.6]
while indeed this device is a
> Found MC13892 ID: 0x0045d4 [Rev: 2.4]
Is it possible to drop this patch or should I post a revert patch on it?
Thanks, Alexander
On Thu, 21 Jul 2016, Sascha Hauer wrote:
> On Tue, Jul 19, 2016 at 10:09:54PM +0200, Alexa
1 - 100 of 140 matches
Mail list logo