On 2020-05-19 16:51, Tom Rini wrote:
When building U-Boot we select the architecture via Kconfig and not
ARCH
being passed in via the environment or make cmdline.
Cc: Kever Yang
Cc: Simon Glass
Cc: Philipp Tomsich
Cc: Klaus Goger
Cc: Jagan Teki
Signed-off-by: Tom Rini
---
As an aside
onfig
@@ -67,6 +67,7 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_SDMA=y
CONFIG_MMC_SDHCI_ROCKCHIP=y
CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_PHY_MICREL=y
CONFIG_PHY_MICREL_KSZ90X1=y
Reviewed-by: Klaus Goger
___
U
Hi Kever,
I can confirm that current master behaves the same on Puma.
For a fix please take a look at:
https://patchwork.ozlabs.org/patch/1003412/
On 2018-12-04 04:04, Kever Yang wrote:
Hi Philipp,
When I test on firefly-rk3399 with latest mainline U-Boot, it boots
very very slow,
and it'
On 29.11.2018, at 23:01, Klaus Goger
> wrote:
>
> Adding Wadim as he will most likely has something to add to the discussion
> too.
>
> Kever,
>
> I understand your SBC viewpoint especially in terms of developer. But as
> Philipp already laid out the usage in the SoM
Adding Wadim as he will most likely has something to add to the discussion too.
Kever,
I understand your SBC viewpoint especially in terms of developer. But as
Philipp already laid out the usage in the SoM and enduser products might be
different and changing defaults may have a big impact. So w
> On 22.06.2018, at 16:23, Vagrant Cascadian wrote:
>
> On 2018-05-27, Vagrant Cascadian wrote:
>> On 2018-05-25, Klaus Goger wrote:
>>> Currently the fdtfile environment variable is set to
>>> CONFIG_DEFAULT_DEVICE_TREE which is іnternally used as U-Boot devi
> On 01.06.2018, at 02:59, Martin Kelly wrote:
>
> Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes
> the kernel fdtfile and the u-boot devicetree names are the same.
> Although this is typically the case, sometimes you might want to
> customize one of these differently, so
> On 31.05.2018, at 21:48, Martin Kelly wrote:
>
> On 05/31/2018 11:15 AM, klaus.go...@theobroma-systems.com wrote:
>> Hi Martin,
>>> On 31.05.2018, at 19:49, Martin Kelly wrote:
>>>
>>> On 05/23/2018 11:34 AM, Martin Kelly wrote:
On 05/17/2018 05:01 AM, Maxime Ripard wrote:
> On Tue
Hi Martin,
> On 31.05.2018, at 19:49, Martin Kelly wrote:
>
> On 05/23/2018 11:34 AM, Martin Kelly wrote:
>> On 05/17/2018 05:01 AM, Maxime Ripard wrote:
>>> On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote:
Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes
>
> On 27.05.2018, at 21:16, Vagrant Cascadian wrote:
>
> On 2018-05-25, Klaus Goger wrote:
>> Currently the fdtfile environment variable is set to
>> CONFIG_DEFAULT_DEVICE_TREE which is іnternally used as U-Boot devicetree
>> source. The OS can use a different filena
-Boot via menuconfig the behaviour
someone would expect.
Signed-off-by: Klaus Goger
---
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 1 +
configs/chromebook_minnie_defconfig | 1 +
configs/evb-px5_defconfig | 1 +
configs/evb-rk3036_defconfig
Hi Tom,
> On 25.05.2018, at 14:01, Tom Rini wrote:
>
> Hey guys,
>
> So, I want to be sure that I get all of the patches that we need in
> order to fix the thumb interlink problems on older ARM cores applied.
>
> I believe that we have:
> https://patchwork.ozlabs.org/patch/905299/
Applied on
> On 09.05.2018, at 10:19, Markus Krebs wrote:
>
> Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian:
>> On 2018-05-08, Vagrant Cascadian wrote:
>>> On 2018-05-05, Tom Rini wrote:
On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadian wrote:
> Markus Krebs discovered that the sheev
> On 07.05.2018, at 10:25, Chris Packham wrote:
>
> Hi Mans, Stefano,
>
> On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
>
>> On 21/04/2018 17:11, Mans Rullgard wrote:
>>> The code attempts to preserve the value of LR by storing it in R12/IP
>>> across the lowevel_init() call. However
> On 06.05.2018, at 16:25, Marty E. Plummer wrote:
>
> This adds support for the ASUS C201, a RK3288-based clamshell
> device. The device tree comes from linus's linux tree at
> 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539. The SDRAM parameters
> are for 4GB Samsung LPDDR3, decoded from coreboot's
>
> On 06.05.2018, at 22:03, Marty E. Plummer wrote:
>
> On Sun, May 06, 2018 at 02:08:25PM -0500, Marty E. Plummer wrote:
>>> On Sun, May 06, 2018 at 08:39:23PM +0200, klaus.go...@theobroma-systems.com
>>> wrote:
On 06.05.2018, at 16:25, Marty E. Plummer wrote:
+ * we use th
CC Philipp and Simon due maintainership (you may want to use get_maintainer.pl
in the future)
and Kever as the original author of the file.
> On 06.05.2018, at 16:25, Marty E. Plummer wrote:
>
> Taken from coreboot's src/soc/rockchip/rk3288/sdram.c
>
> Without this change, my u-boot build for
Hi Kever
> On 04.05.2018, at 10:50, Kever Yang wrote:
>
> We define emmc/sdcard index in dts alias, emmc is 0 and sdcard is 1.
The commit message is a bit misleading at first. When reading it i thought
you update or add dts alias indexes. But you actually change the default
boot order of distro
-mode enabled.
Signed-off-by: Klaus Goger
Signed-off-by: Christoph Muellner
---
Changes in v3: None
Changes in v2:
- added memcpy patch to the series
arch/arm/lib/memcpy.S | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/lib/memcpy.S b/arch/arm/lib/memcpy.S
this patch
Changes in v2:
- use bl instead of blx to call lowlevel_init
- remove mxs tag as it apply to all arm926ejs platforms
- added memcpy patch to the series
Klaus Goger (2):
arm: preserve lr correctly in arm926ejs startup code
arm: Make arch specific memcpy thumb-safe.
arch/arm/cpu
l definitely be triggered
by building it in thumb.
Using r10 should be safe in any case as we are startup code and not
called by any C-function and no stack is set up.
Signed-off-by: Klaus Goger
Signed-off-by: Christoph Muellner
---
Changes in v3:
- reword commit message as it isn't thumb specific
> On 20.04.2018, at 23:55, Marek Vasut wrote:
>
> On 04/20/2018 09:51 PM, Klaus Goger wrote:
>> When building the mxs platform in thumb mode gcc generates code using
>> the intra procedure call scratch register (ip/r12) for the calling the
>> lowlevel_init functi
CONFIG_USE_ARCH_MEMCPY on our mxs platform the speedup for memcopy
was about 100%.
Changes in v2:
- use bl instead of blx to call lowlevel_init
- remove mxs tag as it apply to all arm926ejs platforms
Klaus Goger (2):
arm: make arm926ejs startup code thumb compatible
arm: Make arch specific memcpy thumb
-mode enabled.
Signed-off-by: Klaus Goger
Signed-off-by: Christoph Muellner
---
Changes in v2: None
arch/arm/lib/memcpy.S | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm/lib/memcpy.S b/arch/arm/lib/memcpy.S
index 588b3f8971..9e9a193c2a 100644
--- a/arch/arm
ll Standard for the ARM Architecture" by ARM
subroutines have to preserve the contents of register r4-r8, r10, r11
and SP. So using r10 instead of r12 should be save.
Signed-off-by: Klaus Goger
Signed-off-by: Christoph Muellner
---
Changes in v2:
- use bl instead of blx to call lowlevel
> On 18.04.2018, at 22:02, Marek Vasut wrote:
>
> On 04/18/2018 06:25 PM, Klaus Goger wrote:
>> When building the mxs platform in thumb mode gcc generates code using
>> the intra procedure call scratch register (ip/r12) for the calling the
>> lowlevel_init functi
ll Standard for the ARM Architecture" by ARM
subroutines have to preserve the contents of register r4-r8, r10, r11
and SP. So using r10 instead of r12 should be save.
Signed-off-by: Klaus Goger
Signed-off-by: Christoph Muellner
---
arch/arm/cpu/arm926ejs/start.S | 8
1 file
commit: 52280315a4 ("rtc: rewrite isl1208 to support DM") enables us to
use the on-module RTC emulation with the rk3399 device model i2c driver.
Signed-off-by: Klaus Goger
---
configs/puma-rk3399_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/puma-rk3399_d
Adds devicemodel support to the ISL1208 driver.
This patch drops the non-dm API as no board was using it anyway.
Also add it to Kconfig.
Signed-off-by: Klaus Goger
Reviewed-by: Philipp Tomsich
Reviewed-by: Simon Glass
---
Changes in v3:
- Actually adding the changed files before submitting
Adds devicemodel support to the ISL1208 driver.
This patch drops the non-dm API as no board was using it anyway.
Also add it to Kconfig.
Signed-off-by: Klaus Goger
Reviewed-by: Philipp Tomsich
Reviewed-by: Simon Glass
---
Changes in v2:
- Reword of Kconfig help text
drivers/rtc/Kconfig
But at the moment this only applies for
rk3399-firefly (on
Linux).
Mark, where would one find the devicetrees included in OpenBSD?
I looked in sys/arch/amd64 but couldn’t find any.
Anyhow, I’m fine with that change.
Tested-by: Klaus Goger
—
Klaus
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Adds devicemodel support to the ISL1208 driver.
This patch drops the non-dm API as no board was using it anyway.
Also add it to Kconfig.
Signed-off-by: Klaus Goger
---
drivers/rtc/Kconfig | 7 +++
drivers/rtc/isl1208.c | 141 ++
2 files
From: Philipp Tomsich
The shift values for GPIO2B1 and GPIO2B2 had in fact referred to
GPIO2B0 and GPIO2B1, respectively. This substitutes the correct
values.
Signed-off-by: Philipp Tomsich
Signed-off-by: Klaus Goger
---
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 4 ++--
1 file
From: Philipp Tomsich
This adds support for the (to date unsupported) I2C controllers 1~4
and 6~7 (i.e. now all controllers except I2C5, which is not accessible
on the RK3399-Q7, are supported by pinctrl).
Signed-off-by: Philipp Tomsich
Tested-by: Klaus Goger
Signed-off-by: Klaus Goger
This patch series adds support for the I2C controller 1-4 and 6-7
Philipp Tomsich (2):
rockchip: pinctrl: rk3399: fix GPIO2B1 and GPIO2B2 shift value
rockchip: pinctrl: rk3399: add support for I2C[123467]
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 34 +-
drivers/pinctrl/r
assume a text_offset of 0x8 for most cases, all others will be
handled by booti_setup() anyway.
Signed-off-by: Klaus Goger
---
include/configs/rk3328_common.h | 2 +-
include/configs/rk3399_common.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs
Include the timezone in the SPL banner so the timestamp matches with
that from u-boot proper.
Signed-off-by: Klaus Goger
Reviewed-by: Philipp Tomsich
---
I know this is kind of a nitpick patch and we don't really have any space
to waste in SPL. But the inconsistency annoyed me after wa
Change help description to match the style of the other U-Boot commands
and get rid of the leading whitespace.
Signed-off-by: Klaus Goger
---
cmd/pmic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/pmic.c b/cmd/pmic.c
index 970767cdfa..7bf23fb2a9 100644
--- a/cmd
a defconfig with CONFIG_IS_IN_MMC and change it to
CONFIG_IS_IN_SPI_FLASH via menuconfig, ENV_SIZE and ENV_OFFSET will not
be changed to the correct values as defconfig will already have set them
to the default values of CONFIG_IS_IN_MMC in .config.
Signed-off-by: Klaus Goger
---
board
saveenv overwrites the FIT image. Therefore we now
redefine CONFIG_ENV_SIZE if build for ENV_IS_IN_SPI_FLASH.
Signed-off-by: Klaus Goger
---
include/configs/puma_rk3399.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/puma_rk3399.h b/include/configs/puma_rk3399.h
index
rockchip-common.h already defines values that are missing from
rk3368_common.h
For example BOOT_TARGET_DEVICES was defined empty and therefore
distroboot had no boot targets.
Signed-off-by: Klaus Goger
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
---
Changes in v4: None
Changes in
BOOT_TARGET_DEVICES should only be added if the corresponding u-boot
command is enabled.
Signed-off-by: Klaus Goger
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
---
Changes in v4:
- rebase on mаster
Changes in v3:
- Use CONFIG_IS_ENABLED macro instead of #ifdefs
- Add missing else
rockchip-common.h already defines values that are missing from
rk3368_common.h
For example BOOT_TARGET_DEVICES was defined empty and therefore
distroboot had no boot targets.
Signed-off-by: Klaus Goger
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
---
Changes in v3: None
Changes in
BOOT_TARGET_DEVICES should only be added if the corresponding u-boot
command is enabled.
Signed-off-by: Klaus Goger
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
---
Changes in v3:
- Use CONFIG_IS_ENABLED macro instead of #ifdefs
- Add missing else path
Changes in v2:
- Add patch
rockchip-common.h already defines values that are missing from
rk3368_common.h
For example BOOT_TARGET_DEVICES was defined empty and therefore
distroboot had no boot targets.
Signed-off-by: Klaus Goger
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
---
Changes in v2: None
include
BOOT_TARGET_DEVICES should only be added if the corresponding u-boot
command is enabled.
Signed-off-by: Klaus Goger
---
Changes in v2:
- Add patch to series to prevent build errors if boards don't enable the
required u-boot command for distroboot
include/configs/rockchip-common.h
rockchip-common.h already defines values that are missing from
rk3368_common.h
For example BOOT_TARGET_DEVICES was defined empty and therefore
distroboot had no boot targets.
Signed-off-by: Klaus Goger
---
include/configs/rk3368_common.h | 6 ++
1 file changed, 2 insertions(+), 4
dchp should be dhcp. fixed copy-paste versions too.
Signed-off-by: Klaus Goger
---
include/configs/rockchip-common.h | 4 ++--
include/configs/tinker_rk3288.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/rockchip-common.h
b/include/configs/rockchip
h livetree.
spi_flash_decode_fdt checks for memory-map and will not fail with
livetree even if the property does not exist.
Signed-off-by: Klaus Goger
Reviewed-by: Philipp Tomsich
---
drivers/core/ofnode.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/core/ofnode.c
Increase serialno_str to 17 bytes so it can hold the 16 bytes long serial
nummer and the terminating null byte added by snprintf.
Signed-off-by: Klaus Goger
---
board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board
Puma supports other boot sources then SD-Card. Update README to include
the required steps.
* how to package a SPI-NOR SPL
* how to flash eMMC with rkdeveloptool
Signed-off-by: Klaus Goger
Signed-off-by: Philipp Tomsich
---
Changes in v2:
- add missing ./configure step while building
Add a section to the README on how to flash the on-board eMMC
with the rkdeveloptool.
Signed-off-by: Klaus Goger
Signed-off-by: Philipp Tomsich
---
Changes in v2: None
board/theobroma-systems/lion_rk3368/README | 24 ++--
1 file changed, 22 insertions(+), 2 deletions
> On 20 Apr 2017, at 10:48, Dr. Philipp Tomsich
> wrote:
>
>> On 20 Apr 2017, at 10:44, Kever Yang wrote:
>>
>> Hi Philipp,
>>>
>>>
>>> Do you know if this is required for all board designs?
>>> We have a total run length of less than 2cm to the KSZ9031 PHY and wondered
>>> about this ours
On Jun 24, 2014, at 3:13 PM, Fabio Estevam wrote:
> On Tue, Jun 24, 2014 at 10:07 AM, Stefano Babic wrote:
>
>> What you are describing looks an issue in your pinmux configuration
>> because you do not set the SION bit, as requested to read back the value
>> of the GPIO from the Pad Register.
>
On i.MX6 GPIOx_PSR does not reflect the current output value if the
direction is set to output. Instead we should read GPIOx_DR.
Signed-off-by: Klaus Goger
---
drivers/gpio/mxc_gpio.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/mxc_gpio.c b/drivers
55 matches
Mail list logo