so that other payloads can be
> transferred via FEL as well.
>
> Tested on A64, H5 and H6.
For A64 (on Olimex A64-Olinuxino):
Tested-by: Priit Laes
Also writing down the command to run as it was not that obvious:
$ sunxi-fel spl sunxi-spl.bin \
write 0x4a00 u-boot
From: Priit Laes
Current setup instructions for i.MX8QM MEK board include somewhat
conflicting instructions, so here's an attempt to fix it.
After trying both sets of firmwares, I can conclude that both of
them fail to work:
- no boot at all with imx-sc-firmware-0.7 / firmware-im
On Thu, Nov 19, 2020 at 10:54:42AM +, Andre Przywara wrote:
> So far we did not support the BootROM based FEL USB debug mode on the
> 64-bit builds for Allwinner SoCs: The BootROM is using AArch32, but the
> SPL runs in AArch64.
> Returning back to AArch32 was not working as expected, since the
Ühel kenal päeval, T, 15.07.2014 kell 23:56, kirjutas Roman Byshko:
> Signed-off-by: Roman Byshko
> ---
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/ehci-sunxi.c | 212
> ++
> 2 files changed, 213 insertions(+)
> create mode 100644 drivers/
On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote:
> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" series,
> posted by Olliver Schinagl in March 2017. Unfortunately it never got past
> initial discussion [1], but most Olimex Lime2 boards are s
On Wed, Nov 28, 2018 at 08:23:37PM +0800, Andy Yan wrote:
> Hi :
> Andy Yan 于2018年11月28日周三 下午7:10写道:
>
> > Hi:
> > Priit Laes 于2018年11月22日周四 上午2:06写道:
> >
> >> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3"
> >>
;
> Signed-off-by: Karl Palsson
Tested-By: Priit Laes
Tested with A20 Olinuxino Lime2 (where original works too)
and H2+ OrangePi Zero V1.1 (where the original patch caused
breakage).
> ---
>
> Ideally, this should get into 2019.01, so that this release is not
> broken on those
On Tue, Dec 18, 2018 at 09:17:27PM +0100, Michael Nazzareno Trimarchi wrote:
> Hi Karl
>
> On Tue, Dec 18, 2018 at 7:12 PM Karl Palsson wrote:
> >
> >
> > Jagan Teki wrote:
> > > It's 4 days before, "U-Boot] sunxi: regression in dram init for
> > > h3 board"
> > >
> > > 7 days is not 4-days :)
>
Heya!
I ran into following error when trying to fel-boot
A20 OLinuxino Lime2 eMMC board with latest u-boot:
[snip]
U-Boot 2019.01-rc2-5-gbf60dae9dd (Dec 19 2018 - 09:47:08 +0200) Allwinner
Technology
CPU: Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2-eMMC
I2C: ready
DRAM: 1 G
On Wed, Dec 19, 2018 at 01:45:29AM +, André Przywara wrote:
> On 19/12/2018 00:51, André Przywara wrote:
> > On 18/12/2018 12:06, Jagan Teki wrote:
> >> On Tue, Dec 18, 2018 at 4:09 PM wrote:
> >>>
> >>> From: Karl Palsson
> >>>
> >>> This reverts commit a8011eb84dfac5187cebf00ed8bc981bdb5c1f
On Wed, Dec 19, 2018 at 01:26:18PM +0530, Jagan Teki wrote:
> On Wed, Dec 19, 2018 at 1:23 PM Priit Laes wrote:
> >
> > Heya!
> >
> > I ran into following error when trying to fel-boot
> > A20 OLinuxino Lime2 eMMC board with latest u-boot:
> >
> > [s
From: Priit Laes
Current EDID detailed timing parser errors out when either
horizontal or vertical pulse sync width is 0, thus not
allowing a display with EDID listed below work properly.
Of-course, this is somewhat quirky HDMI display with following
anti-features:
- HPD pin is not usable
From: Priit Laes
There are HDMI displays where hpd pin is not connected, thus
we cannot get it to work unless we specifically set the resolution.
Rework the display probing, so hotplug detect failure causes
fallback to probing ddc for EDID data.
Signed-off-by: Priit Laes
---
drivers/video
From: Priit Laes
Move PLL initialization code to single place so
we won't call it every time we query for EDID data.
Signed-off-by: Priit Laes
---
drivers/video/sunxi/sunxi_display.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/video/
On Wed, Dec 19, 2018 at 01:14:22PM +0100, Jean-Jacques Hiblot wrote:
>
> On 19/12/2018 12:37, Priit Laes wrote:
> > On Wed, Dec 19, 2018 at 01:26:18PM +0530, Jagan Teki wrote:
> > > On Wed, Dec 19, 2018 at 1:23 PM Priit Laes wrote:
> > > > Heya!
> > >
On Thu, Dec 20, 2018 at 04:50:01PM +0100, Jean-Jacques Hiblot wrote:
>
> On 19/12/2018 18:15, Priit Laes wrote:
> > On Wed, Dec 19, 2018 at 01:14:22PM +0100, Jean-Jacques Hiblot wrote:
> > > On 19/12/2018 12:37, Priit Laes wrote:
> > > > On Wed, Dec 19, 2018 at 0
On Wed, Dec 26, 2018 at 02:37:26PM +0300, Nikolai Zhubr wrote:
> And while at it, why not finally add the DT register definitions for
> Allwinner A20 NFC. I'm certainly not the author of these, and they have been
> around for many years already. Its quite unlikely they will suddenly change,
> or va
ly unintended change the patch just moved the error
> >> message around, so reverting this is not a real loss.
> >
> >Better mark this as TODO somewhere, may be some one look it later.
> >
> >>
> >> This reverts commit a8011
rt
> DM_MMC and eventually this will drop once CLK support is in Mainline.
Tested-by: Priit Laes on Gemei G9 A10 Tablet
>
> Fixes: 3c92cca3cda0 ("ARM: dts: sun4i: Update A10 dts(i) files from
> Linux-v4.18-rc3")
> Signed-off-by: Jagan Tek
From: Priit Laes
Starting from revision K the Olimex-Lime2-eMMC boards include
eMMC 5.x chip. Unfortunately, the internal brom in the A20
cannot reliably initialize those chips resulting in random
boot failures on those boards.
To overcome this, all the latest Lime2-eMMC boards are
populated
On Fri, Jan 11, 2019 at 11:34:07PM +0530, Jagan Teki wrote:
> I thought of waiting this till CLK framework gets Mainline,
> but migration deadline for DM_MMC and BLK seems expiring in
> next release. So instead of doing so huddle and make some last
> minute changes, I have managed to add CLK, Re
On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote:
> On Mon, Jan 14, 2019 at 3:05 PM Priit Laes wrote:
> >
> > On Fri, Jan 11, 2019 at 11:34:07PM +0530, Jagan Teki wrote:
> > > I thought of waiting this till CLK framework gets Mainline,
> > > but migr
On Mon, Jan 14, 2019 at 04:00:44PM +0530, Jagan Teki wrote:
> On Mon 14 Jan, 2019, 3:53 PM Priit Laes
> > On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote:
> > > On Mon, Jan 14, 2019 at 3:05 PM Priit Laes wrote:
> > > >
> > > > On Fri, Ja
On Mon, Jan 14, 2019 at 10:39:37AM +, Priit Laes wrote:
> On Mon, Jan 14, 2019 at 04:00:44PM +0530, Jagan Teki wrote:
> > On Mon 14 Jan, 2019, 3:53 PM Priit Laes >
> > > On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote:
> > > > On Mon, Jan 14,
From: Priit Laes
Current EDID detailed timing parser errors out when either
horizontal or vertical pulse sync width is 0, thus not
allowing a display with EDID listed below work properly.
Same EDID works ok within Linux although it warns about
these two fields being 0. Therefore relax the
From: Priit Laes
Current EDID detailed timing parser errors out when either
horizontal or vertical pulse sync width is 0, thus not
allowing a display with EDID listed below work properly.
EDID below works ok within Linux although it warns about
these two fields being 0. Therefore relax the
On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote:
> This series enables the Allwinner MMC driver to drive all SoCs with its
> DM_MMC variant. We use the gates clock and reset support from the new
> clock driver, but keep the actual mod clock in its somewhat hackish
> state. Properly s
On Mon, Jan 21, 2019 at 12:54:52AM +, André Przywara wrote:
> On 20/01/2019 19:51, Priit Laes wrote:
>
> Hi,
>
> > On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote:
> >> This series enables the Allwinner MMC driver to drive all SoCs with its
>
On Mon, Jan 21, 2019 at 08:51:10AM +, Andre Przywara wrote:
> Hi,
>
>
>
> >>> Testing with A10 Gemei G9 Tablet, FEL mode is broken:
> >>>
> >>> a) With usb-boot via fel:
> >>>
> >>> I get following error/warning:
> >>> Loading Environment from FAT... Card did not respond to voltage sele
While writing a sample fastboot usage tutorial for sunxi, I also
found bunch of discrepancies in the existing docs.
Series also includes one simple constification patch that has been
sitting in my tree for ages.
Priit Laes (5):
sunxi: Fix typos of spelling Allwinner
sunxi: docs: Unify the
Signed-off-by: Priit Laes
---
board/sunxi/README.nand| 18 +-
board/sunxi/README.sunxi64 | 23 ---
2 files changed, 25 insertions(+), 16 deletions(-)
diff --git a/board/sunxi/README.nand b/board/sunxi/README.nand
index a5d4ff0..77a8c7d 100644
--- a/board
Signed-off-by: Priit Laes
---
arch/arm/mach-sunxi/dram_sun4i.c | 2 +-
arch/arm/mach-sunxi/p2wi.c | 2 +-
board/sunxi/README.sunxi64 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sun4i.c b/arch/arm/mach-sunxi/dram_sun4i.c
index
sunxi_rgb2yuv_coef is readonly and never modified.
Signed-off-by: Priit Laes
---
drivers/video/sunxi/sunxi_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/sunxi/sunxi_display.c
b/drivers/video/sunxi/sunxi_display.c
index 5c8f88c..6dd9bec 100644
--- a
From: Priit Laes
Signed-off-by: Priit Laes
---
board/sunxi/README.fastboot | 98 ++-
1 file changed, 98 insertions(+)
create mode 100644 board/sunxi/README.fastboot
diff --git a/board/sunxi/README.fastboot b/board/sunxi/README.fastboot
new file mode 100644
Signed-off-by: Priit Laes
---
board/sunxi/README.nand | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/sunxi/README.nand b/board/sunxi/README.nand
index 77a8c7d..dac603c 100644
--- a/board/sunxi/README.nand
+++ b/board/sunxi/README.nand
@@ -20,9 +20,9 @@ pages.
In
On Tue, Oct 23, 2018 at 08:20:32PM +0300, Priit Laes wrote:
> From: Priit Laes
>
> Signed-off-by: Priit Laes
> ---
> board/sunxi/README.fastboot | 98 ++-
> 1 file changed, 98 insertions(+)
> create mode 100644 board/sunxi/README.fastb
On Wed, Oct 24, 2018 at 05:34:12PM +0100, Maxime Ripard wrote:
> On Tue, Oct 23, 2018 at 08:20:32PM +0300, Priit Laes wrote:
> > From: Priit Laes
> >
> > Signed-off-by: Priit Laes
>
> I don't have a particular objection to the documentation itself,
> excep
y: Olliver Schinagl
Signed-off-by: Priit Laes
[0] https://groups.google.com/forum/m/#!topic/linux-sunxi/EDvEsbHHqQI
[1] https://lists.denx.de/pipermail/u-boot/2017-March/282789.html
--
Changes since v2:
- Collected Acked-by tags, patches 1,3-5 are now ripe for picking.
- Olliver fixed wrong code
.
This patch moves the DRAM init after the power failure check.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-by: Maxime Ripard
---
board/sunxi/board.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi
reporting overcurrent condition as it normally should
do in this case.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/Kconfig | 34 ++
drivers/power/axp209.c | 24
include/axp209.h | 21 ++
slope the
AXP209 supports.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
configs/A20-OLinuXino-Lime2_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/A20-OLinuXino-Lime2_defconfig
b/configs/A20-OLinuXino-Lime2_defconfig
index fa58a6d..0c04ae6 100644
--- a
: Priit Laes
--
Changes since v2:
- Fix code for pmic_bus_setbits
---
arch/arm/mach-sunxi/pmic_bus.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-sunxi/pmic_bus.c b/arch/arm/mach-sunxi/pmic_bus.c
index 5d91d7e..dea42de 100644
--- a/arch/arm/mach-sunxi/pmic_bus.c
+++ b/arch
From: Olliver Schinagl
The AXP209 has a few 'magisc-ish' values that are better served with
clear defines.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-by: Maxime Ripard
---
drivers/power/axp209.c | 14 +++---
include/axp209.h | 13
From: Olliver Schinagl
Use the standard BIT() macro for bitfield definitions in headers.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-by: Maxime Ripard
---
include/axp209.h | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff
er enabling the output power at 0.7 V, but this did not work.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
---
drivers/power/Kconfig | 9 +
drivers/power/axp209.c | 23 +++
2 files changed, 32 insertions(+)
diff --git a/drivers/power/Kconfig b/driver
From: Olliver Schinagl
Use a define for the chip version mask on the axp209.
Signed-off-by: Olliver Schinagl
Signed-off-by: Priit Laes
Acked-by: Maxime Ripard
---
drivers/power/axp209.c | 5 +
include/axp209.h | 2 ++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a
From: Priit Laes
The lime2 features a too large capacitor on the LDO3 output, which
causes the PMIC to shutdown when enabling power. To be able to still
boot up however, we must gradually enable power on LDO3 for this board.
We do this by enabling both the inrush quirk and the maximum slope the
On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote:
> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" series,
> posted by Olliver Schinagl in March 2017. Unfortunately it never got past
> initial discussion [1], but most Olimex Lime2 boards are s
On Wed, Nov 21, 2018 at 03:58:18PM -0500, Stefan Monnier wrote:
> > When powering up an AXP209, the default value for LDO3 output is
> > enabled. This works fine. However if for whatever reason, LDO3 is
> > disabled, for example by OS during reboot and u-boot enables LDO3
> > again, the PMIC shut
On Thu, Nov 22, 2018 at 03:07:46PM +0100, Olliver Schinagl wrote:
> On 21-11-18 19:13, Priit Laes wrote:
> > On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote:
> >> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3"
> >> series,
>
MicroUSB host port and
3.5mm headphone jack.
More details are available at: http://linux-sunxi.org/Gemei_G9
Signed-off-by: Priit Laes
---
board/sunxi/MAINTAINERS | 5 +
configs/sunxi_Gemei_G9_defconfig | 20
2 files changed, 25 insertions(+)
create mode 100644
On Thu, 2015-01-22 at 09:47 +0200, Siarhei Siamashka wrote:
> On Tue, 20 Jan 2015 15:43:31 +0100
> Hans de Goede wrote:
>
> > Hi,
[...]
>
> We have already talked with plaes on IRC yesterday, just now
> bringing it here. I have finally updated the
> http://linux-sunxi.org/LCD page to add LVDS
Following LVDS features might be supported (according to BSP), but are
unimplemented due to lack of proper hardware:
- dual channel LVDS
- choosing between NS or JEIDA mode
- cross-polarity support
Add at least some comments about them.
Signed-off-by: Priit Laes
---
drivers/video
sunxi_rgb2yuv_coef is readonly and never modified.
Signed-off-by: Priit Laes
---
drivers/video/sunxi_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c
index bcd33dd..a12c4c3 100644
--- a/drivers/video
On Tue, 2016-11-08 at 17:38 +0100, Olliver Schinagl wrote:
> The BIT macro is the preferred method to set bits.
> This patch adds the bit macro and converts bit invocations.
>
> Signed-off-by: Olliver Schinagl
> ---
> drivers/net/phy/realtek.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 dele
Fix typo introduced in ebc4ef61d76fc182773fe225151adc9b913c62eb
Signed-off-by: Priit Laes
---
drivers/mtd/spi/sunxi_spi_spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/sunxi_spi_spl.c b/drivers/mtd/spi/sunxi_spi_spl.c
index e70064c..a24c115 100644
--- a
oot proper into there. This will let
> a board boot without an SD card inserted.
> The flash chip can be written with a version of the sunxi-fel tool.
Thanks, I had this one in my queue :)
>
> Signed-off-by: Andre Przywara
Tested-by: Priit Laes
> ---
> configs/orangepi_zero_d
From: Priit Laes
Add u-boot specific getvar "extension" to fetch u-boot environment
variables via `fastboot getvar uboot:var`. This makes it possible
to gather certain data (like mac addresses) in an automated way
during initial fastboot flashing for inventory purposes:
$ fastb
On Thu, Feb 14, 2019 at 10:42:51PM +0530, Jagan Teki wrote:
> Hi Anatolij,
>
> On Wed, Dec 19, 2018 at 6:36 PM Priit Laes wrote:
> >
> > From: Priit Laes
> >
> > Current EDID detailed timing parser errors out when either
> > horizontal or vertical pulse s
From: Priit Laes
Add u-boot specific getvar "extension" to fetch u-boot environment
variables via `fastboot getvar uboot:var`. This makes it possible
to gather certain data (like mac addresses) in an automated way
during initial fastboot flashing for inventory purposes:
$ fastb
60 matches
Mail list logo