spl.kwb' failed
make: *** [u-boot-spl.kwb] Error 1
Let's increase the u-boot offset to 0x3 to accommodate SPL changes
and leave some margin for future changes.
[1] https://patchwork.ozlabs.org/patch/1007762/
Signed-off-by: Aditya Prayoga
---
Notes
* After doing git bisect, I found out
Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
PHY.
This patch depend on
net: mvneta: Add GPIO configuration support
[URL: https://patchwork.ozlabs.org/patch/1007736/]
Signed-off-by: Aditya Prayoga
---
v2:
* Use generic gpio_* API (Baruch Siach)
v3:
* Use named gpios
CONFIG_ENV_IS_IN_SPI_FLASH
Signed-off-by: Aditya Prayoga
---
v2:
* Move u-boot specific properties into armada-388-helios4-u-boot.dtsi
(Dennis Gilmore)
---
arch/arm/dts/armada-388-helios4-u-boot.dtsi | 10 ++
configs/helios4_defconfig | 1 -
include/configs/helios4.h
Make use of U-Boot's GPIO DM to control native GPIO and I2C IO expander.
Signed-off-by: Aditya Prayoga
---
v2:
* Rearrange the patch, move I2C IO expander DM convertion together
with I2C.
---
configs/helios4_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/co
Remove unused I2C support in SPL and use simple_malloc functions to
reduce SPL image size.
Since Helios4 does not have any PCIe allocated on SerDes, remove PCI
support. MTD layer on top of SPI flash is not needed, remove it also.
Signed-off-by: Aditya Prayoga
---
configs/helios4_defconfig | 5
Enable Marvell I2C driver and I2C IO expander. Set default bus to
external I2C bus. Define I2C aliases in device tree so it can be
recognized by the driver.
Signed-off-by: Aditya Prayoga
---
v2:
* Rearrange the patch, enabling I2C and convert I2C IO expander to DM
should applied together
Store the environment before 1M into the block device.
This constant is easier to remember, saves a little space,
and is in line with what SolidRun's 2018.01-based fork does for the
clearfog.
Signed-off-by: Josua Mayer
[ Aditya Prayoga:
* Port forward]
Signed-off-by: Aditya Prayoga
---
in
388-helios4-u-boot.dtsi
(Dennis Gilmore)
* Use generic gpio_* API to do phy reset (Baruch Siach)
Changes v2 -> v3:
* Use named gpios for PHY reset (Stefan Roese)
---
Aditya Prayoga (6):
arm: mvebu: helios4: mmc: move environment before 1M
arm: mvebu: helios4: Enable I2C and IO Expan
/]
Signed-off-by: Aditya Prayoga
---
drivers/net/mvneta.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index 8cb04b5..333be8f 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -27,6 +27,7 @@
#include
#include
#include
Hi Stefan,
On Tue, Dec 4, 2018 at 10:51 PM Stefan Roese wrote:
>
> On 04.12.18 16:37, Aditya Prayoga wrote:
>
>
>
> >>>> Yes. As mentioned above, please look at the mvpp2 driver. And e.g.
> >>>> at the armada-8040-clearfog-gt-8k.dts DT file:
Hi Baruch,
On Tue, Dec 4, 2018 at 9:40 PM Baruch Siach wrote:
>
> Hi Aditya,
>
> On Mon, Dec 03, 2018 at 09:39:56AM +0700, Aditya Prayoga wrote:
> > On Fri, Nov 30, 2018 at 3:25 PM Stefan Roese wrote:
> > > On 30.11.18 09:14, Aditya Prayoga wrote:
> > > >
Hi Stefan,
On Fri, Nov 30, 2018 at 3:25 PM Stefan Roese wrote:
>
> On 30.11.18 09:14, Aditya Prayoga wrote:
> > Hi Stefan,
> >
> > On Fri, Nov 30, 2018 at 2:44 PM Stefan Roese wrote:
> >>
> >> On 30.11.18 03:54, Aditya Prayoga wrote:
> >>> S
Hi Stefan,
On Fri, Nov 30, 2018 at 2:44 PM Stefan Roese wrote:
>
> On 30.11.18 03:54, Aditya Prayoga wrote:
> > Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
> > PHY.
> >
> > Signed-off-by: Aditya Prayoga
> > ---
> > v2:
Remove unused I2C support in SPL and use simple_malloc functions to
reduce SPL image size.
Since Helios4 does not have any PCIe allocated on SerDes, remove PCI
support. MTD layer on top of SPI flash is not needed, remove it also.
Signed-off-by: Aditya Prayoga
---
configs/helios4_defconfig | 5
Enable Marvell I2C driver and I2C IO expander. Set default bus to
external I2C bus. Define I2C aliases in device tree so it can be
recognized by the driver.
Signed-off-by: Aditya Prayoga
---
v2:
* Rearrange the patch, enabling I2C and convert I2C IO expander to DM
should applied together
CONFIG_ENV_IS_IN_SPI_FLASH
Signed-off-by: Aditya Prayoga
---
v2:
* Move u-boot specific properties into armada-388-helios4-u-boot.dtsi
(Dennis Gilmore)
---
arch/arm/dts/armada-388-helios4-u-boot.dtsi | 10 ++
configs/helios4_defconfig | 1 -
include/configs/helios4.h
Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
PHY.
Signed-off-by: Aditya Prayoga
---
v2:
* Use generic gpio_* API (Baruch Siach)
---
board/kobol/helios4/helios4.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/board/kobol/helios4
Store the environment before 1M into the block device.
This constant is easier to remember, saves a little space,
and is in line with what SolidRun's 2018.01-based fork does for the
clearfog.
Signed-off-by: Josua Mayer
[ Aditya Prayoga:
* Port forward]
Signed-off-by: Aditya Prayoga
---
in
Make use of U-Boot's GPIO DM to control native GPIO and I2C IO expander.
Signed-off-by: Aditya Prayoga
---
v2:
* Rearrange the patch, move I2C IO expander DM convertion together
with I2C.
---
configs/helios4_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/co
ic gpio_* API to do phy reset (Baruch Siach)
---
Aditya Prayoga (6):
arm: mvebu: helios4: mmc: move environment before 1M
arm: mvebu: helios4: Enable I2C and IO Expander
arm: mvebu: helios4: Enable mvebu GPIO
arm: mvebu: helios4: Reduce U-Boot image size
arm: mvebu: helios4: Enable SPI
On Wed, Nov 28, 2018 at 9:10 PM Baruch Siach wrote:
>
> Hi Dennis,
>
> On Wed, Nov 28, 2018 at 07:53:44AM -0600, Dennis Gilmore wrote:
> > On Wed, 2018-11-28 at 17:00 +0800, Aditya Prayoga wrote:
> > > Enable SPI flash support under U-Boot and SPL. The ENV size and
>
On Wed, Nov 28, 2018 at 8:53 PM Dennis Gilmore wrote:
>
> On Wed, 2018-11-28 at 17:00 +0800, Aditya Prayoga wrote:
> > Enable SPI flash support under U-Boot and SPL. The ENV size and
> > offset,
> > ported from U-Boot 2013.01 Marvell version: 2015_T1.0p16
> >
>
Hi Baruch,
On Wed, Nov 28, 2018 at 8:56 PM Baruch Siach wrote:
>
> Hi Aditya,
>
> On Wed, Nov 28, 2018 at 05:00:39PM +0800, Aditya Prayoga wrote:
> > Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
> > PHY.
> >
> > Signed-off-by: Adit
On Wed, Nov 28, 2018 at 8:44 PM Dennis Gilmore wrote:
>
> On Wed, 2018-11-28 at 16:59 +0800, Aditya Prayoga wrote:
> > Enable Marvell I2C driver and set default bus to external I2C bus.
> > Define I2C aliases in device tree so it can be recognized by the
> > driver.
>
tting your feedback, I re-tested it without this patch and
it's running fine.
So no reason to apply this patch anymore. I will remove it on next version.
Thanks
Aditya
> Dennis
>
> On Wed, 2018-11-28 at 16:59 +0800, Aditya Prayoga wrote:
> > Use the values from U-Boot 2013.01 Ma
CONFIG_ENV_IS_IN_SPI_FLASH
Signed-off-by: Aditya Prayoga
---
arch/arm/dts/armada-388-helios4.dts | 7 +++
configs/helios4_defconfig | 1 -
include/configs/helios4.h | 31 +++
3 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/arch
Make use of U-Boot's GPIO DM and device tree to control the I2C IO
expander. While at it, also enable the native GPIO.
Signed-off-by: Aditya Prayoga
---
board/kobol/helios4/helios4.c | 32
configs/helios4_defconfig | 4
2 files changed, 4 inser
Use the values from U-Boot 2013.01 Marvell version: 2015_T1.0p16
Signed-off-by: Aditya Prayoga
---
include/configs/helios4.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/configs/helios4.h b/include/configs/helios4.h
index ce912ea..c289490 100644
--- a
Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet
PHY.
Signed-off-by: Aditya Prayoga
---
board/kobol/helios4/helios4.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/kobol/helios4/helios4.c b/board/kobol/helios4/helios4.c
index 37c46a5..7c1a7a8 100644
Remove unused I2C support in SPL and use simple_malloc functions to
reduce SPL image size.
Since Helios4 does not have any PCIe allocated on SerDes, remove PCI
support. MTD layer on top of SPI flash is not needed, remove it also.
Signed-off-by: Aditya Prayoga
---
configs/helios4_defconfig | 5
Store the environment before 1M into the block device.
This constant is easier to remember, saves a little space,
and is in line with what SolidRun's 2018.01-based fork does for the
clearfog.
Signed-off-by: Josua Mayer
[ Aditya Prayoga:
* Port forward]
Signed-off-by: Aditya Prayoga
---
in
Enable Marvell I2C driver and set default bus to external I2C bus.
Define I2C aliases in device tree so it can be recognized by the driver.
Signed-off-by: Aditya Prayoga
---
arch/arm/dts/armada-388-helios4.dts | 2 ++
configs/helios4_defconfig | 3 +++
2 files changed, 5 insertions
added new peripheral support and improvement
- helios4: Enable mvebu GPIO and IO Expander
- helios4: Enable SPI flash support
- helios4: Reduce U-Boot image size
---
Aditya Prayoga (7):
arm: mvebu: helios4: Update Load address
arm: mvebu: helios4: mmc: move environment before 1M
arm: mvebu
33 matches
Mail list logo