As the timer 2 is on APB1 bus, the maximum of clock frequency of APB1 timer
clock is half of SYSCLK. Then to calculate the timer prescaler for timer 2
which need to be divided by 2.
Signed-off-by: Bo Shen
---
arch/arm/mach-stm32/stm32f7/timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
will be more clear.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
stm32f4_info = {
+ .stm32f4 = true,
+ .uart_enable_bit = 13,
+ .has_overrun_disable = false,
+ .has_fifo = false,
+};
+
struct stm32_uart_info stm32f7_info = {
.uart_enable_bit = 0,
.stm32f4 = false,
Best Regards,
Bo Shen
___
ak;
case v2:
struct stm32_usart_v1 *ptr = (struct stm32_usart_v1 *)base;
break;
}
---8<---
Best Regards,
Bo Shen
On 09/27/2017 06:44 AM, patrice.chot...@st.com wrote:
From: Patrice Chotard
STM32F4 serial IP is similar to F7 and H7, but registers
are not located at the same offset
GENMASK(15, 4)
In stm32f7, according to the datasheet, there is no fraction and
mantissa. Would you please confirm that?
At the same time, it makes me thinking the BRR is calculated differently
between stm32f7 and stm32f4, would you please check it also in the
driver cod
gurable.
I don't realize this option before. For sure, it's a great option. I'd
like it. :)
Thanks.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
disco_defconfig). Then if the
people want just boot up u-boot itself, what they need to do is just run
"make menuconfig" and then de-select "Activate Falcon Mode"
(SPL_OS_BOOT). Then everything will be fine.
Thanks.
Best Regards,
Bo Shen
On 08/10/2017 11:36 AM, Robert N
code.
Maybe we will improve it in the future, but now it is enough.
I think if this can be dealt now, that will be better.
Anyway, thank you for your advice.
You are welcome.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
"SAMA5D28-CN";
> >+ default:
> >+ ;
> >+ }
> >+ }
> >+
> >+ return "Unknown CPU type";
> >+}
>
>You don't explain why it needs to keep the default option. I think it can
is compliant with the SD Host Controller Standard
V3.0 specification.
Signed-off-by: Wenyou Yang
Reviewed-by: Bo Shen
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PLLA_CLK.
Signed-off-by: Wenyou Yang
---
Hi Andreas, Bo Shen,
Thank you for your so many advices.
Bo Shen, sorry for forgetting version 2 to send for your comments.
It's OK, don't worry.
At that time the datasheet is not available, now it is available now.
So, add one more comment.
P
USE_MMC
+
+/* bootstrap + u-boot + env in sd card */
+#undef FAT_ENV_DEVICE_AND_PART
+#undef CONFIG_BOOTCOMMAND
+
+#define FAT_ENV_DEVICE_AND_PART"1"
+#define CONFIG_BOOTCOMMAND "fatload mmc 1:1 0x2100
at91-sama5d2_xplained.dtb; " \
+ "fatload mmc 1:1 0x2200 zImage; " \
+ "bootz 0x2200 - 0x2100"
+#undef CONFIG_BOOTARGS
+#define CONFIG_BOOTARGS \
+ "console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rootwait"
+
+#endif
+
+#endif
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
;version = sdhci_readw(host, SDHCI_HOST_VERSION);
+ max_clk = at91_get_periph_generated_clk(id);
+ if (!max_clk) {
+ printf("%s: Failed to get the proper clock\n", __func__);
+ free(host);
+ return -ENODEV;
+ }
+
+ add_sdh
Hi Wenyou,
On 10/27/2015 14:48 PM, Yang, Wenyou wrote:
Hi Shen Bo,
Thank you very much for your review.
-Original Message-
From: Bo Shen [mailto:voice.s...@gmail.com]
Sent: 2015年10月27日 11:09
To: Yang, Wenyou; andreas.de...@googlemail.com
Cc: U-Boot Mailing List
Subject: Re: [U-Boot
GO
+#define CONFIG_LCD_INFO
+#define CONFIG_LCD_INFO_BELOW_LOGO
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define CONFIG_ATMEL_HLCD
+#define CONFIG_ATMEL_LCD_RGB565
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#endif
+
+#ifdef CONFIG_SYS_USE_MMC
+
+/* bootstrap + u-boot + env in sd card */
+#undef FAT_ENV
Hi Josh,
On 10/26/2015 16:41 PM, Josh Wu wrote:
Hi, Bo
On 10/26/2015 2:43 PM, Bo Shen wrote:
Hi Josh,
On 10/23/2015 17:18 PM, Josh Wu wrote:
As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5
boards is bigger than 16k (0x4000). That will overlap the U-Boot
Just
Hi Josh,
On 10/23/2015 17:18 PM, Josh Wu wrote:
As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5
boards is bigger than 16k (0x4000). That will overlap the U-Boot
Just curious about from which commit the spl binary size bigger than 16k?
Best Regards,
Bo Shen
t, max_clk, min_clk);
+
+ return 0;
+}
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Josh
On 09/16/2015 11:34 AM, Josh Wu wrote:
If defined CONFIG_ENV_IS_IN_MMC, then u-boot environment is saved in
mmc's raw sectors. Otherwise, u-boot environment is saved as a file:
uboot.env.
Signed-off-by: Josh Wu
Reviewed-by: Bo Shen
Best Regards,
Bo
eet for this. According to the code, the clock is for the
peripheral which want to use the generated clock. So, it only affect
this peripheral while not whole system, am I right?
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
/armv7/clock.c b/arch/arm/mach-at91/armv7/clock.c
index 0bf453e..84418a3 100644
--- a/arch/arm/mach-at91/armv7/clock.c
+++ b/arch/arm/mach-at91/armv7/clock.c
@@ -5,6 +5,7 @@
* Copyright (C) 2005 Ivan Kokshaysky
* Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD
* Copyright (C) 2013 Bo Shen
e check whether the fastboot application supports your vendor ID.
If not, add "-i in your command line.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
nning usb for storage devices... 1 Storage Device(s) found
U-Boot> usb reset
resetting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
U-Boot>
---8<---
Regards,
Hans
Best Regards,
Bo
Enable SPL support for at91sam9n12ek boards, now it supports
boot up from NAND flash, serial flash.
Signed-off-by: Bo Shen
---
Changes in v2:
- Remove the meaningless prefix "+S:" in configuration file.
arch/arm/mach-at91/Kconfig | 1 +
arch/arm/mach-at9
Config MCKR according to the datasheet sequence, or else it
will cause the MCKR configuration failed.
Remove timeout checking for clock configuration, if configure
the clock failed, let the system hang while not run in wrong
clock configuration.
Signed-off-by: Bo Shen
Tested-by: Heiko Schocher
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot from SD/MMC card with FAT file system, the BSS
segment is too big to fit into SRAM, so, use the lds to put
it into SDRAM.
Signed-off-by: Bo Shen
---
Changes in v2
Enable SPL support for at91sam9x5ek board. Now, it supports
boot up from NAND flash and SPI flash.
Signed-off-by: Bo Shen
---
Changes in v2:
- Remove the meaningless prefix "+S:" in configuration file.
arch/arm/mach-at91/Kconfig | 1 +
arch/arm/mach-at9
in v2:
- Remove the meaningless prefix "+S:" in configuration file.
Bo Shen (4):
ARM: atmel: arm926ejs: fix clock configuration
ARM: atmel: at91sam9m10g45ek: enable spl support
ARM: atmel: at91sam9x5ek: enable spl support
ARM: atmel: at91sam9n12ek: enable spl support
arch/arm
Signed-off-by: Josh Wu
Thanks for your patch. I think this one is better than v1.
Acked-by: Bo Shen
---
Changes in v2:
- not remove the code to save env in mmc's raw sectors.
- we can define CONFIG_ENV_IS_IN_MMC to enable raw sectors saving.
include/configs/at91sam9n12ek.h | 15
Hi Josh,
On 03/24/2015 04:10 PM, Josh Wu wrote:
Insteading in mmc's raw sectors, this patch will save the environment
in a fat file (uboot.env) in mmc card's first FAT patition.
Signed-off-by: Josh Wu
Thanks for your patch.
Acked-by: Bo Shen
---
include/configs/at91sam9n1
of my patches, which Lukasz mentioned.
Thanks for your information. I will try this method.
Thanks again.
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marc...@samsung.com
Best Regards,
Bo shen
___
U-Boo
t_i2c_read_sda();
+#else
data |= I2C_READ;
+#endif
I2C_DELAY;
}
send_ack(ack);
---8<---
Thanks again.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Heiko,
On 03/20/2015 06:10 PM, Heiko Schocher wrote:
Hello Bo,
Am 20.03.2015 10:44, schrieb Bo Shen:
Hi Heiko,
After check the software i2c code, I found it can not support multi
instances, although it has I2C_SOFT_DECLARATIONS2,
I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4
.
So, if want to support multi instances, it needs to extend the GPIO
configuration for SCL/SDA, am I right?
Thanks.
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Heiko,
On 03/17/2015 03:45 PM, Heiko Schocher wrote:
Hello Bo,
Am 13.03.2015 10:19, schrieb Bo Shen:
Config MCKR according to the datasheet sequence, or else it
will cause the MCKR configuration failed.
Remove timeout checking for clock configuration, if configure
the clock failed, let
Hi Masahiro,
On 03/13/2015 05:34 PM, Masahiro Yamada wrote:
Hi Bo,
2015-03-13 18:19 GMT+09:00 Bo Shen :
diff --git a/configs/at91sam9m10g45ek_mmc_defconfig
b/configs/at91sam9m10g45ek_mmc_defconfig
index 6949d3a..84d3133 100644
--- a/configs/at91sam9m10g45ek_mmc_defconfig
+++ b/configs
Enable SPL support for at91sam9n12ek boards, now it supports
boot up from NAND flash, serial flash.
Signed-off-by: Bo Shen
---
arch/arm/mach-at91/Kconfig | 1 +
arch/arm/mach-at91/Makefile| 1 +
arch/arm/mach-at91/include/mach/at91_pmc.h | 4 +-
arch/arm/mach
Enable SPL support for at91sam9x5ek board. Now, it supports
boot up from NAND flash and SPI flash.
Signed-off-by: Bo Shen
---
arch/arm/mach-at91/Kconfig | 1 +
arch/arm/mach-at91/Makefile | 1 +
arch/arm/mach-at91/include/mach/at91_pmc.h | 6 ++-
arch
Config MCKR according to the datasheet sequence, or else it
will cause the MCKR configuration failed.
Remove timeout checking for clock configuration, if configure
the clock failed, let the system hang while not run in wrong
clock configuration.
Signed-off-by: Bo Shen
---
arch/arm/mach-at91
This patch series enable SPL support for following boards:
- at91sam9m10g45ek
- NAND flash boot support
- SD card boot support
- at91sam9n12ek
- NAND flash boot support
- SPI flash boot support
- at91sam9x5ek
- NAND flash boot support
- SPI flash boot support
Bo
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot from SD/MMC card with FAT file system, the BSS
segment is too big to fit into SRAM, so, use the lds to put
it into SDRAM.
Signed-off-by: Bo Shen
---
arch/arm
Add Active-Semi act8865 series PMU support.
Signed-off-by: Bo Shen
---
drivers/power/Makefile | 1 +
drivers/power/act8865.c | 104
include/act8865.h | 54 +
3 files changed, 159 insertions(+)
create mode
When access the programmable secure peripherals address space,
it needs set them to non-secured.
Signed-off-by: Bo Shen
---
arch/arm/mach-at91/armv7/sama5d4_devices.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/mach-at91/armv7/sama5d4_devices.c
b/arch/arm/mach-at91
If the GBE bit is set, when do next time autonegotiation,
if the result is not 1000Mbps, it will fallback to 100Mbps
checking. So, we need to clear the GBE bit.
Signed-off-by: Bo Shen
---
drivers/net/macb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/macb.c
As the u-boot-spl.lds is used only for armv7 SoCs (includes
sama5d3 and sama5d4), so move it to armv7 directory.
Signed-off-by: Bo Shen
---
arch/arm/mach-at91/{ => armv7}/u-boot-spl.lds | 0
include/configs/sama5d3_xplained.h| 2 +-
include/configs/sama5d3xek.h
As the u-boot-spl.lds is moved to directory.
So, correct the path for sama5d4 related boards.
Signed-off-by: Bo Shen
---
include/configs/sama5d4_xplained.h | 2 +-
include/configs/sama5d4ek.h| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs
Enable the power for MMC/SD port.
Signed-off-by: Bo Shen
---
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index bc2aa38..e7f225a 100644
Hi Nikita Kiryanov,
On 02/08/2015 07:35 PM, Nikita Kiryanov wrote:
Hi Bo,
On 02/04/2015 09:25 AM, Bo Shen wrote:
Hi Nikita Kiryanov,
On 02/03/2015 07:32 PM, Nikita Kiryanov wrote:
[..]
#ifdef CONFIG_LCD_LOGO
void bitmap_plot(int x, int y)
diff --git a/drivers/video/atmel_hlcdfb.c b
The commit 8dfafdd (Introduce common timer functions), add common
timer functions, we can use them directly.
Signed-off-by: Bo Shen
---
Changes in v2:
- correct the timer register for sama5d4.
arch/arm/cpu/armv7/at91/timer.c | 61
arch/arm/include
ig file is updated to compile the new file/Raspberry Pi
is updated to accommodate the changes/)
- patch 2: define configuration_get_cmap() prototype only once.
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
Nikita Kiryanov (13):
lcd: move platform-specific structs to their own headers
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/arm926ejs/at91/timer.c | 59
arch/arm/include/asm/arch-at91/at91sam9260.h | 3 ++
arch/arm/include/asm/arch-at91/at91sam9261.h | 3 ++
arch/arm/include/asm/arch-at91/at91sam9263.h | 3 ++
arch
.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
Acked-by: Bo Shen
---
Changes in V2:
- Minor commit message update
common/lcd.c| 11 +--
drivers/video/atmel_lcdfb.c | 9 +
2 files
Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message update
- ushort *configuration_get_cmap(void) prototype is defined only once
instead of for each #ifdef CONFIG_*
common/lcd.c
the generic case (the #else for all the platform-specific
cases) is retained in lcd.h as the default case.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
For Atmel part, tested ok on at91sam9g35ek.
Tested-by: Bo Shen
---
Changes
Hi Josh,
On 02/04/2015 11:03 AM, Josh Wu wrote:
This patch will display the U-Boot version on LCD.
To be frankly, I have no idea what should be put on LCD to display. No
objection for this patch.
Signed-off-by: Josh Wu
Acked-by: Bo Shen
---
board/atmel/sama5d4_xplained
Hi Josh,
On 02/03/2015 06:19 PM, Josh Wu wrote:
HUSH parser will handle the variable easier. That will be helpful for
write a complicated U-Boot commands or varaibles.
You are on the way to Kconfig. :)
Thanks.
Signed-off-by: Josh Wu
Acked-by: Bo Shen
---
configs
-by: Bo Shen
arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c | 17 ++
board/atmel/at91sam9rlek/at91sam9rlek.c | 10
configs/at91sam9rlek_mmc_defconfig | 3 +++
include/configs/at91sam9rlek.h | 29 +++-
4 files
Hi Josh
On 02/02/2015 05:31 PM, Josh Wu wrote:
Update the nand flash offset mapping, default nand bootcmand and
bootargs to align with linux4sam.org.
Signed-off-by: Josh Wu
except the following concern:
Acked-by: Bo Shen
---
include/configs/at91sam9rlek.h | 16 +---
1
Hi Anatolij,
On 01/29/2015 04:51 PM, Anatolij Gustschin wrote:
Hi,
On Wed, 28 Jan 2015 09:13:22 +0800
Bo Shen wrote:
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.
This patch initialize the lcd console use the
On 01/23/2015 03:44 PM, Masahiro Yamada wrote:
On Fri, 23 Jan 2015 15:34:08 +0800
Bo Shen wrote:
+ Tom, Masahiro,
On 01/15/2015 10:03 AM, Bo Shen wrote:
When build for Atmel related boards which support SPL,
it will generate boot.bin, also clean when it when do
"make clean"
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.
This patch initialize the lcd console use the default value,
will be update when splash screen is enabled.
Signed-off-by: Bo Shen
---
Hi Tom,
If no objection of this
since it involves Atmel
related changes.
I need this kind of fix to be applied as soon as possible, or else,
most Atmel related board are broken on u-boot master branch.
Best Regards,
Bo Shen
--
Regards,
Nikita Kiryanov
Best Regards,
Bo Shen
___
Hi Nikita Kiryanov,
+ Andreas, Tom
On 01/23/2015 09:20 AM, Bo Shen wrote:
Hi Nikita Kiryanov,
On 01/22/2015 09:10 PM, Nikita Kiryanov wrote:
Hi Bo,
On 01/21/2015 06:37 AM, Bo Shen wrote:
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console
+ Tom, Masahiro,
On 01/15/2015 10:03 AM, Bo Shen wrote:
When build for Atmel related boards which support SPL,
it will generate boot.bin, also clean when it when do
"make clean" operation.
Signed-off-by: Bo Shen
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Hi Nikita Kiryanov,
On 01/22/2015 09:10 PM, Nikita Kiryanov wrote:
Hi Bo,
On 01/21/2015 06:37 AM, Bo Shen wrote:
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.
Based on your fix, I'm certain that the bu
Hi Heiko,
On 01/21/2015 07:01 PM, Heiko Schocher wrote:
Hello Bo,
Am 21.01.2015 10:45, schrieb Bo Shen:
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot from SD/MMC card with FAT file system, the BSS
segment
op of Tom's SPL changes and
this series:
https://patchwork.ozlabs.org/patch/423785/
Signed-off-by: Simon Glass
Tested-by: Bo Shen
Acked-by: Bo Shen
---
arch/arm/lib/crt0.S | 13 ++---
common/spl/spl.c| 35 +++
doc/README.SPL
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot from SD/MMC card with FAT file system, the BSS
segment is too big to fit into SRAM, so, use the lds to put
it into SDRAM.
Signed-off-by: Bo Shen
---
Changes in v2
Hi Heiko,
On 01/21/2015 03:42 PM, Heiko Schocher wrote:
add reset controller status register
Signed-off-by: Heiko Schocher
Acked-by: Bo Shen
---
arch/arm/include/asm/arch-at91/at91_rstc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-at91/at91_rstc.h
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.
This patch split lcd console address initialize and lcd logo
display into two functions.
Signed-off-by: Bo Shen
---
common/lcd.c | 11 ---
1 file changed, 8
e CONFIG_CMD_MMC
#endif
#ifdef CONFIG_AT91SAM9G20EK
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Josh,
On 01/19/2015 03:06 PM, Josh Wu wrote:
This patch will save U-Boot environment as a file: uboot.env, in FAT partition
instead of saving it in raw sector of MMC card.
This make us easier to manage the environment file.
Signed-off-by: Josh Wu
Acked-by: Bo Shen
---
include
Hi Josh,
On 01/19/2015 03:06 PM, Josh Wu wrote:
This patch will save U-Boot environment as a file: uboot.env, in FAT partition
instead of in raw sector of MMC card.
This make us easier to manage the environment file.
Signed-off-by: Josh Wu
Ackey-by: Bo Shen
---
include/configs
definition.
Acked-by: Bo Shen
---
include/configs/sama5d3_xplained.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/configs/sama5d3_xplained.h
b/include/configs/sama5d3_xplained.h
index d5588b1..a697035 100644
--- a/include/configs/sama5d3_xplained.h
+++ b
Hi Andreas,
On 01/16/2015 06:16 PM, Andreas Bießmann wrote:
Hi Bo,
On 01/16/2015 10:30 AM, Bo Shen wrote:
On 01/16/2015 05:10 PM, Andreas Bießmann wrote:
On 01/16/2015 03:53 AM, Bo Shen wrote:
--- a/arch/arm/cpu/arm926ejs/at91/Makefile
+++ b/arch/arm/cpu/arm926ejs/at91/Makefile
@@ -25,5
Hi Heiko,
On 01/16/2015 07:35 PM, Heiko Schocher wrote:
Hello Bo
Am 16.01.2015 03:53, schrieb Bo Shen:
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot from SD/MMC card with FAT file system, the BSS
segment is
Hi Andreas,
On 01/16/2015 05:10 PM, Andreas Bießmann wrote:
Hi Bo,
just a short review, more will follow this weekend.
On 01/16/2015 03:53 AM, Bo Shen wrote:
Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.
As the boot
igned-off-by: Josh Wu
except the nitpick.
Acked-by: Bo Shen
---
drivers/mtd/nand/atmel_nand.c | 9 +
drivers/mtd/nand/atmel_nand_ecc.h | 20
2 files changed, 29 insertions(+)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
The commit 8dfafdd (Introduce common timer functions), add common
timer functions, we can use them directly.
Signed-off-by: Bo Shen
---
arch/arm/cpu/armv7/at91/timer.c | 61
arch/arm/include/asm/arch-at91/sama5d3.h | 3 ++
arch/arm/include/asm/arch
As the at91cap9adk board is removed by commit: b5508344
(ARM: remove broken "at91cap9adk" board), so the at91cap9
code is not used anymore, and also the document for
at91cap9 can not be found on www.atmel.com, so remove the
at91cap9 related code.
Signed-off-by: Bo Shen
---
ar
as possible. Borrow the low level init code from
for this purpose.
As there is a little change, which need lowlevel init, so
also change taurus board based on at91sam9260, corvus board
based on at91sam9g45.
(CONFIG_SPL_STACK is replaced by CONFIG_SYS_INIT_SP_ADDR)
Signed-off-by: Bo Shen
When build for Atmel related boards which support SPL,
it will generate boot.bin, also clean when it when do
"make clean" operation.
Signed-off-by: Bo Shen
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 36a9a28..ea5ae8f 10
sh->erase_size = 32768 << flash->shift;
} else {
+#ifdef CONFIG_SPI_FLASH_ATMEL
+ flash->erase_cmd = CMD_ATMEL_BLK_ERASE;
+#else
flash->erase_cmd = CMD_ERASE_64K;
+#endif
flash->erase_size = flash->sector_size;
}
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Correct the LCD pixel clock, remove unused vsync parameter,
and also correct the include file.
Signed-off-by: Bo Shen
---
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
b
Remove unused vsync parameter, and correct the include file.
Signed-off-by: Bo Shen
---
board/atmel/sama5d3xek/sama5d3xek.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c
b/board/atmel/sama5d3xek/sama5d3xek.c
index ca4f79d..cf6ed8b
Remove unused vsync parameter, and correct the include file.
Signed-off-by: Bo Shen
---
board/atmel/sama5d4ek/sama5d4ek.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/atmel/sama5d4ek/sama5d4ek.c
b/board/atmel/sama5d4ek/sama5d4ek.c
index f8394f5..d3039c0 100644
if you can prepare such a patch I can test it
on the corvus, taurus and axm boards ...
If the upper method for low level initialize code is chosen, I will
prepare such patch for the boards you mentioned.
bye,
Heiko
Best Regards,
Bo Shen
___
U
as possible. Borrow the low level init code from
for this purpose.
Signed-off-by: Bo Shen
---
arch/arm/Kconfig| 1 +
arch/arm/cpu/arm926ejs/at91/Makefile| 4 ++
arch/arm/cpu/arm926ejs/at91/spl_lowlevel_init.S | 37
arch/arm/cpu/at91
by: Masahiro Yamada
For sama5d4ek and sama5d4 xplained board.
Acked-by: Bo Shen
---
board/atmel/sama5d4_xplained/Kconfig | 3 ---
board/atmel/sama5d4ek/Kconfig| 3 ---
board/nvidia/nyan-big/Kconfig| 12
board/samsung/smdk5420/Kconfig | 3 ---
b
() function return, this bit should
not be cleared again, or else it will cause the accessing FIFO
corrupt, which will make the data loss.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/atmel_usba_udc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/gadget/atmel_usba_udc.c
b/drivers/usb
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/armv7/at91/sama5d4_devices.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c
b/arch/arm/cpu/armv7/at91/sama5d4_devices.c
index 9c63e99..ef39cb7 100644
--- a/arch/arm/cpu
The sama5d4ek support boot up from NAND flash, SD/MMC card and
also the SPI flash.
Signed-off-by: Bo Shen
---
Changes in v2:
- change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
arch/arm/Kconfig | 1 +
board/atmel/sama5d4ek/sama5d4ek.c
Signed-off-by: Bo Shen
---
Changes in v2:
- change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
arch/arm/Kconfig| 1 +
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 85 +
configs
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/at91-common/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/at91-common/Makefile
b/arch/arm/cpu/at91-common/Makefile
index 89e1577..03614d4 100644
--- a/arch/arm/cpu/at91-common/Makefile
+++ b/arch/arm/cpu
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/armv7/at91/sama5d4_devices.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c
b/arch/arm/cpu/armv7/at91/sama5d4_devices.c
index 7469825..9c63e99 100644
Some SoC need to redirect the saic to aic to make the interrupt to
work, here add a weak function to be replaced by real function.
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/at91-common/spl_atmel.c | 7 +++
arch/arm/include/asm/arch-at91/at91_common.h | 1 +
2
The SAMA5D4 SoC on chip rc oscillator can not be disabled.
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/at91-common/spl_atmel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/at91-common/spl_atmel.c
b/arch/arm/cpu/at91-common/spl_atmel.c
index fdea466
The SAMAA5D4 SoC can access DDR in interleave mode.
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/cpu/at91-common/mpddrc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/at91-common/mpddrc.c
b/arch/arm/cpu/at91-common/mpddrc.c
index 44798e6
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/include/asm/arch-at91/sama5d4.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-at91/sama5d4.h
b/arch/arm/include/asm/arch-at91/sama5d4.h
index d851568..f30cb5f 100644
--- a/arch/arm/include/asm/arch-at91
The SFR (special function registers) can be shared bwteen
sama5d3 and sama5d4 soc.
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/include/asm/arch-at91/sama5_sfr.h | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 arch/arm/include/asm/arch-at91
1 - 100 of 591 matches
Mail list logo