Switch sama5d4 xplained board to use default environment 2.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d4_xplained/env/boot/mmc | 8 +
arch/arm/boards/sama5d4_xplained/env/boot/nand | 8 +
arch/arm/boards/sama5d4_xplained/env/config| 42
, test OK with Doug's patch on sama5d4ek board.
Tested-by: Bo Shen voice.s...@atmel.com
commands/partition.c | 104 +
defaultenv/defaultenv-2-base/bin/mtdparts-add | 15 +-
drivers/mtd/core.c| 213
@@ -494,6 +494,7 @@ choice
config MACH_SAMA5D4EK
bool Atmel SAMA5D4 Evaluation Kit
+ select HAVE_DEFAULT_ENVIRONMENT_NEW
help
Select this if you are using Atmel's SAMA5D4-EK Evaluation Kit.
Best Regards,
Bo Shen
(if support is compiled in)
PS1=\e[1;32mbarebox@\e[1;31m\h:\w\e[0m\n#
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Correct the environment path for sama5d4 xplained board.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/configs/sama5d4_xplained_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/sama5d4_xplained_defconfig
b/arch/arm/configs
Doug
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
let Doug to keep the default boot from net?
I did send patch for this in the past but they did not hit the mainline
Can you point us this? Thanks.
Best Regards,
J.
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
Hi Sascha,
I found there is a typo error in subject. s/correc/correct
Can you help fix it?
Thanks.
On 02/10/2015 05:36 PM, Sascha Hauer wrote:
On Tue, Feb 10, 2015 at 04:04:01PM +0800, Bo Shen wrote:
Correct the environment path for sama5d4 xplained board.
Signed-off-by: Bo Shen voice.s
As the at91sam9n12 series includes at91sam9n12, at91sam9cn11,
at91sam9cn12. So, add subtype to distinguish them.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/include/mach/cpu.h | 7 +++
arch/arm/mach-at91/setup.c| 17 +
2 files changed, 24
If without pass the vbus initial value, the vbus status alway
present as 0 even if the vbus is connected to 5v.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/usb/gadget/at91_udc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget
The created device name for atmel udc is at91_udc while not
at91_udc0.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/at91sam9n12ek/env/bin/init_board | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/at91sam9n12ek/env/bin/init_board
b
environment is board specific and your board
isn't converted yet. If you are interested I can show you the steps to
convert it.
I am interested in this, could you show me the steps to convert it?
Thanks.
Sascha
Best Regards,
Bo Shen
___
barebox
Add the missing has_pmecc parameter for sama5d4 based boards.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 1 +
arch/arm/boards/sama5d4ek/sama5d4ek.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/boards
Hi J,
On 01/23/2015 03:58 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On Jan 21, 2015, at 6:03 PM, Bo Shen voice.s...@atmel.com wrote:
Hi J,
On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On Jan 21, 2015, at 5:41 PM, Sascha Hauer s.ha...@pengutronix.de wrote:
On Tue
On 01/22/2015 01:12 PM, Bo Shen wrote:
Hi J,
On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On Jan 21, 2015, at 11:07 PM, Sascha Hauer s.ha...@pengutronix.de
wrote:
On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe
PLAGNIOL-VILLARD wrote:
On 17:54 Mon 19 Jan
Hi J,
On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On Jan 21, 2015, at 11:07 PM, Sascha Hauer s.ha...@pengutronix.de wrote:
On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 17:54 Mon 19 Jan , Bo Shen wrote:
On the SAMA5D33
On the SAMA5D35 the EMAC phy addr is 1 while not 0. So, let
the EMAC auto detect phy addr, or else hard code to 0, the
ethernet can not work on SAMA5D35 board.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d3xek/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Hi J,
On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On Jan 21, 2015, at 5:41 PM, Sascha Hauer s.ha...@pengutronix.de wrote:
On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote:
As the 1-wire and LED d2 use the same pin (PE25) on the EK board.
So, make LED enable only
Hi J,
On 01/19/2015 07:39 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 17:54 Mon 19 Jan , Bo Shen wrote:
On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
So, let the GMAC auto detect phy id, or else hard code to 7,
it can not work on these two boards.
Signed-off-by: Bo
As the 1-wire and LED d2 use the same pin (PE25) on the EK board.
So, make LED enable only when the 1-wire is disabled.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d3xek/init.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boards/sama5d3xek/init.c
Correct the mci1 power pin from PE15 to PE4.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
b/arch/arm/boards
On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
So, let the GMAC auto detect phy id, or else hard code to 7,
it can not work on these two boards.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d3xek/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d4ek/sama5d4ek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/sama5d4ek/sama5d4ek.c
b/arch/arm/boards/sama5d4ek/sama5d4ek.c
index bbc53c6..1e7c08c 100644
--- a/arch/arm/boards/sama5d4ek
Correct the function and board name for sama5d4 xplained board.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
.../arm/boards/sama5d4_xplained/sama5d4_xplained.c | 24 +++---
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/arm/boards/sama5d4_xplained
The sama5d4 xplained ultra board support following features:
- NAND flash support
- SPI flash support
- MMC card support (MCI1)
- LCD display support (with QT1070)
- Ethernet support
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/Makefile
Hi Lucas,
On 10/21/2014 02:15 AM, Lucas Stach wrote:
Signed-off-by: Lucas Stach d...@lynxeye.de
Acked-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/clock.c | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index
for RGMII/GMII.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Changes in v2:
- using the same bit for RMII/MII configuration for GEM only with FE feature.
drivers/net/macb.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index
the configuration for GEM with only FE feature enable.
Bo Shen (4):
net: macb: enable GEM with only FE feature
ARM: at91: add sama5d4 soc support #1
ARM: at91: add sama5d4 soc support #2
ARM: at91: add sama5d4ek board support
arch/arm/boards/Makefile | 1 +
arch/arm/boards
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Changes in v2:
- Using clkdev_add_physbase to define GPIO clock.
arch/arm/mach-at91/include/mach/sama5d4.h | 134
arch/arm/mach-at91/sama5d4.c | 304 ++
arch/arm/mach-at91/sama5d4_devices.c | 495
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Changes in v2:
- Multi line the #define
arch/arm/mach-at91/clock.c | 58 +++---
arch/arm/mach-at91/clock.h | 2 +-
arch/arm/mach-at91/include/mach/at91_pmc.h | 1 +
arch/arm/mach-at91
Add Atmel sama5d4ek board support, which include following features:
- NAND flash support
- SPI flash support
- MMC card support (MCI1)
- LCD display support (with QT1070)
- Ethernet support
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Changes in v2:
- Add new LED D9.
arch/arm
Hi Sascha,
On 09/18/2014 02:10 PM, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 06:21:33PM +0800, Bo Shen wrote:
Signed-off-by: Bo Shen voice.s...@atmel.com
---
diff --git a/arch/arm/mach-at91/sam9_smc.c b/arch/arm/mach-at91/sam9_smc.c
index 9f02807..5df7109 100644
--- a/arch/arm/mach-at91
Hi Sascha,
On 09/22/2014 12:59 PM, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 06:21:31PM +0800, Bo Shen wrote:
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/net/macb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 12a2a3c
This patch series add Atmel new SoC SAMA5D4 support, which embedded
the Cortex-A5 core.
This patch series also add the EK board base on SAMA5D4 SoC support.
Bo Shen (9):
ARM: at91: move pmc base address into soc header
ARM: atmel: sama5d3 is a family member of sama5
ARM: at91: clock: use
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/mtd/nand/atmel_nand.c | 121 --
1 file changed, 117 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 1e7c6c6..fa4fac2 100644
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/include/mach/sama5d4.h | 134
arch/arm/mach-at91/sama5d4.c | 303 ++
arch/arm/mach-at91/sama5d4_devices.c | 495 ++
3 files changed, 932 insertions(+)
create
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/mci/atmel_mci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c
index 36107a6..b36fbe3 100644
--- a/drivers/mci/atmel_mci.c
+++ b/drivers/mci/atmel_mci.c
@@ -511,6 +511,7 @@ static void
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/net/macb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 12a2a3c..ef49f74 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -304,7 +304,6 @@ static void macb_configure_dma(struct
Add Atmel sama5d4ek board support, which include following features:
- NAND flash support
- SPI flash support
- MMC card support (MCI1)
- LCD display support (with QT1070)
- Ethernet support
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/Makefile
As the sama5d3 is a family member of sama5, so only check sama5
family.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/include/mach/cpu.h | 2 +-
arch/arm/mach-at91/setup.c| 2 +-
arch/arm/mach-at91/soc.h | 2 +-
3 files changed, 3 insertions(+), 3
As the PMC base address may be different between each SoC,
so move them to SoC header.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/include/mach/at91rm9200.h | 1 +
arch/arm/mach-at91/include/mach/at91sam9260.h | 2 ++
arch/arm/mach-at91/include/mach/at91sam9261.h | 1
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/clock.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 9d2a846..50450f5 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/clock.c | 58 +++---
arch/arm/mach-at91/clock.h | 2 +-
arch/arm/mach-at91/include/mach/at91_pmc.h | 1 +
arch/arm/mach-at91/include/mach/cpu.h | 28
will
switch to use atmel i2c driver.
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Makefile | 8
1 file changed, 8 deletions(-)
diff --git a/Makefile b/Makefile
index 5cd0369..7a7ad38 100644
--- a/Makefile
+++ b/Makefile
@@ -180,14 +180,6 @@ endif
BOOT_NAME=$(BOARDNAME)-$(PROJECT)$(CARD_SUFFIX)boot-$(TARGET_NAME)$(BLOB
Hi,
Sorry for this noise, it goes wrong to the barebox ML.
Please ignore it.
On 09/04/2014 09:43 AM, Bo Shen wrote:
Signed-off-by: Bo Shen voice.s...@atmel.com
---
Makefile | 8
1 file changed, 8 deletions(-)
diff --git a/Makefile b/Makefile
index 5cd0369..7a7ad38 100644
and
generate the series and send it, then there won't have signed-off
issue. (In general, keep my signed-off and add your signed-off if
you prefer).
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org
Hi Raphaël Poggi,
On 08/04/2014 05:29 PM, Bo Shen wrote:
Hi Raphaël Poggi,
On 08/04/2014 05:22 PM, Raphaël Poggi wrote:
Hi,
I have tested it on a custom board which use a sam9m10 and it
worked... Tell me more when we have found something suspicious.
I tested on sama5d3xek with qt1070
Hi Raphaël Poggi,
On 08/06/2014 04:05 AM, Raphaël Poggi wrote:
I am ready to send a v3. Are you going to send your fix or you want me
to squash it in v3 ?
Please send it together with your patch.
Thanks.
Best Regards,
Raphaël Poggi
Best Regards,
Bo Shen
Hi Raphaël Poggi,
Actually, this is a build fix.
On 08/01/2014 09:26 PM, Raphaël Poggi wrote:
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
Acked-by: Bo Shen voice.s...@atmel.com
---
drivers/i2c/busses/i2c-at91.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers
Hi Raphaël Poggi,
On 08/04/2014 03:34 PM, Bo Shen wrote:
Hi Raphaël Poggi,
Actually, this is a build fix.
On 08/01/2014 09:26 PM, Raphaël Poggi wrote:
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
Acked-by: Bo Shen voice.s...@atmel.com
Sorry, can you squash this patch into [PATCH 1
Hi Raphaël Poggi,
I try to manage to make the i2c driver work, however, failed for non
device tree.
I am still checking it. However, some comments for the patches.
Best Regards,
Bo Shen
On 08/04/2014 04:31 PM, Raphaël Poggi wrote:
Change since v1:
* Squash the commit [1] which
),
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
can not access qt1070, if I use i2c-gpio
driver, it works well.
I am still working on it, if any news, I will let you know.
Best Regards,
Bo Shen
Thanks for your test.
Raphaël Poggi
2014-08-04 11:11 GMT+02:00 Bo Shen voice.s...@atmel.com:
Hi Raphaël Poggi,
I try to manage to make
Hi Raphaël Poggi,
On 08/04/2014 05:42 PM, Raphaël Poggi wrote:
Btw, do you use tab for alignment?
Yes, but maybe my vim config is wrong ? (set tabstop=4, set shiftwidth=4, set
softtabstop=4)
In general, the tabstop = 8.
Best Regards,
Bo Shen
for
sama5d3xek to sama5d3_xplained board]
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d3_xplained/init.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boards/sama5d3_xplained/init.c
b/arch/arm/boards
This file is introduced by commit: 949df9c
Remove it.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
This patch is base on the next branch.
drivers/serial/Makefile.rej | 7 ---
1 file changed, 7 deletions(-)
delete mode 100644 drivers/serial/Makefile.rej
diff --git a/drivers/serial
The sd 1.0 card can work in 4 bits mode also.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
drivers/mci/mci-core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index ce6e590..8221632 100644
--- a/drivers/mci/mci
On at91sam9n12 soc, it has pllb, while on sama5d3 soc,
it doesn't has pllb.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 59c4d11
Hi Raphael,
On 07/17/2014 04:51 PM, Raphael Poggi wrote:
Some nand like Micron MT29F32G08ABAAAWP need more than 20us.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
Acked-by: Bo Shen voice.s...@atmel.com
---
drivers/mtd/nand/atmel_nand.c |2 +-
1 file changed, 1 insertion(+), 1
Hi Raphael,
On 07/17/2014 04:51 PM, Raphael Poggi wrote:
Enable the PMECC to support 8k page.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
Acked-by: Bo Shen voice.s...@atmel.com
---
drivers/mtd/nand/atmel_nand.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
good.
Thanks again.
Best Regards,
Bo Shen
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Hi Jean-Christophe PLAGNIOL-VILLARD,
On 06/19/2014 12:31 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:19 Mon 16 Jun , Bo Shen wrote:
Hi Matteo,
On 06/13/2014 08:48 PM, Matteo Fortini wrote:
Hi all,
glad you found my patch useful. Sascha rejected it because he sees it
more fit
coming SoC.
Thank you in advance for your comments, I ask Raphaël to wait until this
patch is settled to send in his changes. They will be very useful for
me, too (I had to deactivate PMECC to use my NAND...)
M
Best Regards,
Bo Shen
___
barebox
are you test this?
Can you try to apply two patches from matteo.fort...@gmail.com on
2014-06-06 with name
[PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS
[PATCH 2/2] sama5d3x: HSMC NAND initialize TIMINGS and import values
Best regards,
Raphaël
Best Regards,
Bo Shen
Signed-off-by: Bo Shen voice.s...@gmail.com
---
arch/arm/boards/Makefile|1 +
arch/arm/boards/sama5d3_xplained/Makefile |1 +
arch/arm/boards/sama5d3_xplained/env/config | 42 +
arch/arm/boards/sama5d3_xplained/init.c | 238
As the at91sam9_smc.h duplicate in header list, remove one.
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/boards/sama5d3xek/init.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boards/sama5d3xek/init.c
b/arch/arm/boards/sama5d3xek/init.c
index e078642..731 100644
Hi Lucas Stach,
On 04/22/2014 04:15 AM, Lucas Stach wrote:
Otherwise SAM A5d35 would be detected as A5d36.
Signed-off-by: Lucas Stach d...@lynxeye.de
Acked-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach
SAMA5D36 SoC is a sub type of SAMA5D3 which has two Ethernets
Signed-off-by: Bo Shen voice.s...@atmel.com
---
arch/arm/mach-at91/include/mach/cpu.h | 5 -
arch/arm/mach-at91/sama5d3.c | 6 --
arch/arm/mach-at91/setup.c| 3 +++
3 files changed, 11 insertions(+), 3
69 matches
Mail list logo