Hi Simon,
Thanks for your comments!
> -Original Message-
> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
> Sent: 2016年11月12日 0:18
> To: Z.Q. Hou
> Cc: U-Boot Mailing List ; Albert ARIBAUD
> ; Prabhakar Kushwaha
> ; Huan Wang-B18965
> ; Sumit Garg ; Ruchika
> Gup
On 11.11.2016 18:49, Soren Brinkmann wrote:
>
>
>> -Original Message-
>> From: Michal Simek [mailto:mon...@monstr.eu] On Behalf Of Michal Simek
>> Sent: November 11, 2016 05:42
>> To: u-boot@lists.denx.de
>> Cc: Appana Durga Kedareswara Rao ; Naga Sureshkumar
>> Relli ; Bharat Kumar Gogad
On Sat, Nov 12, 2016 at 12:06 AM, Tom Rini wrote:
> On Mon, Nov 07, 2016 at 12:13:52PM +0800, macro.wav...@gmail.com wrote:
>
>> From: Hongbo Zhang
>>
>> This patch introduces a generic ARMv8 PSCI framework, with all functions
>> returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up
On 11/14/2016 07:50 AM, Tom Rini wrote:
> On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote:
>> Hi,
>>
>> On 04-11-16 16:18, Maxime Ripard wrote:
>>> Some eMMC will fail at the first switch, but would succeed in a subsequent
>>> one.
>>>
>>> Make sure we try several times to cover those
Cédric
I move the fdt to 0x100
fdt move ${fdt_addr} 100
fdt addr 100
then
fdt get value bootargs /chosen bootargs
printenv bootargs
bootargs=all the boot args...but setenv abc $bootargs fails...as
does printenv $bootargs
fdt set bootargs /chosen bootargsfdt get value bootargs /chos
On Sun, Nov 13, 2016 at 10:46:19PM +0100, Yann E. MORIN wrote:
> When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement
> is missing a proper statement, which makes the compiler whine.
>
> Signed-off-by: "Yann E. MORIN"
> Cc: Pantelis Antoniou
> ---
> common/spl/spl_mmc.c | 1 +
On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote:
> Hi,
>
> On 04-11-16 16:18, Maxime Ripard wrote:
> >Some eMMC will fail at the first switch, but would succeed in a subsequent
> >one.
> >
> >Make sure we try several times to cover those cases. The number of retries
> >(and the behav
When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement
is missing a proper statement, which makes the compiler whine.
Signed-off-by: "Yann E. MORIN"
Cc: Pantelis Antoniou
---
common/spl/spl_mmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/spl_mmc.c b/common/s
Currently, the fastboot item in menuconfig is a comment followed by a
boolean option withan empty prompt, followed by a menu:
*** FASTBOOT ***
[*]
Fastboot support --->
This is not "nice-looking" at all...
Change the logic to make the boolean option a "menuconfig" rather t
When using #define CONFIG_SOME_OPTION, the value it set to '1'. When using
defconfig (i.e. CONFIG_SOME_OPTION=y) the value is set to 'y'. This results
in differences showing up with -K. These differences are seldom useful.
Adjust buildman to suppress these differences by default.
Signed-off-by: S
The -K option is not mentioned in the README at present. Add some notes
to describe how this is used.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/buildman/README | 37 +
1 file changed, 37 insertions(+)
diff --git a/tools/buildman/README b/tool
Normally buildman does a full build of a board. This includes creating the
u-boot.cfg file which contains all the configuration options. Buildman uses
this file with the -K option, to show differences in effective configuration
for each commit.
Doing a full build of U-Boot just to create the u-boo
A common requirement when converting CONFIG options to Kconfig is to check
that the effective configuration has not changed due to the conversion. Add
a target which creates this configuration (in the form of u-boot.cfg) but
does not build U-Boot. This speeds up the checking.
Signed-off-by: Simon
It makes not sense using u8 to hold a value on a 32-bit or 64-bit machine.
It can only bloat the code by forcing the compiler to mask the value.
Change it to uint.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to avoid using u8 in the HDMI driver
drivers/video/rockchip/rk_hdmi.
This series includes a few minor improvements to buildman:
- Cleaner output and updates on what buildman is doing at the start
- a way to generate only the CONFIG options in a build, for speed (-D)
- a fix for pressing Ctrl-C during a build (so that it exits cleanly).
(all but the second is now a
This adds support for the Asus Chromebook Flip, an RK3288-based clamshell
device which can flip into 'tablet' mode. The device tree file comes from
Linux v4.8. The SDRAM parameters are for 4GB Samsung LPDDR3.
Signed-off-by: Simon Glass
---
arch/arm/dts/Makefile | 1 +
arch
This adds support for the Asus Chromebit, and RK3288-based device designed
to plug directly into an HDMI monitor. The device tree file comes from
Linux v4.8.
Signed-off-by: Simon Glass
---
Changes in v2:
- Enable only the active eMMC port
arch/arm/dts/Makefile | 1 +
arch
The SDRAM settings are not common across all veyron models. Move the
current settings into Jerry's file.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/rk3288-veyron-jerry.dts | 11 +++
arch/arm/dts/rk3288-veyron.dtsi | 8
2 files changed, 11 insertions(
Update board_init() to increase the ARM clock to the maximum speed on
veyron boards. This makes quite a large difference in performance. With
this change, speed goes from about 750 DMIPS to 2720 DMIPs.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/mach-rockchip/rk3288-board.c | 4
Add basic support for setting the ARM clock, since this allows us to run
at maximum speed in U-Boot. Currently only a single speed is supported
(1.8GHz).
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/clk/rockchip/clk_rk3288.c | 7 +++
1 file changed, 7 insertions(+)
diff --gi
At present we have a single rk3288-based Chromebook: chromebook_jerry. But
all such Chromebooks can use the same binary with only device-tree
differences. The family name is 'veyron', so rename the files accordingly.
Also update the device-tree filename since this currently differs from
Linux.
Si
Add a comment to indicate that we are not supporting the PWM regulator
yet.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch with note about the SDRAM voltage
board/google/veyron/veyron.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/google/veyron/veyron.c b/boar
Adjust jerry to use of-platdata like other rk3288 boards. This reduces the
SPL size enough that it boots again.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/chromebook_jerry_defconfig | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configs/chromebook_j
Check whether a display device is in use before using it. Add a comment as
to why two displays cannot currently be used at the same time.
This allows us to remove the device-tree change that disables vopb on
jerry.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/rk3288-jerry.d
Sometimes the frame buffer is not a multiple of the cache line size.
Adjust the cache-flushing code to avoid cache warnings/errors in this
case.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/video/video-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
Mark a display as in use when display_enable() is called. This can avoid
a display being used by multiple video-output devices.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/video/display-uclass.c | 18 +-
include/display.h | 10 ++
2 files cha
Allow this driver to be used with of-platdata on rk3288.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/spi/rk_spi.c | 36 +++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
index 105ee4a..8
At present an invalid bus width prints a message but does not return an
error. This is the opposite of the correct behaviour. Adjust it to avoid
code bloat in the common case, and avoid hard-to-debug failure in the
uncommon case.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/spi/s
This is an uncommon error but we may as well have a debug() message when
it happens.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/spi/spi-uclass.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c
index 358
The current code assumes that the devices are ordered corresponding to
their alias value. But (for example) video1 can come before video0 in the
device tree.
Correct this, by always looking for device 0 first. After that we can fall
back to finding the first available device.
Signed-off-by: Simon
Some boards may want to use these subsystems with of-platdata in SPL. Add
support for this by avoiding any device tree access in this case.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mtd/spi/spi_flash.c | 2 +-
drivers/spi/spi-uclass.c| 13 -
2 files changed, 1
This is not currently implemented. Add support for this so that the Chrome
OS EC can be used on jerry.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/spi/rk_spi.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
index 8d64249..
Fix a few code style nits in stdio_get_by_name().
Signed-off-by: Simon Glass
---
Changes in v2: None
common/stdio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/stdio.c b/common/stdio.c
index 8e4a9be..a7d016b 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@
This board always boots from SPI, so update the code to support that with
of-platdata. The boot source is not currently available with of-platdata.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/mach-rockchip/rk3288-board-spl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a
When CONFIG_SPL_STACK_R is enabled, and spl_init() is called before
board_init_r(), spl_relocate_stack_gd() will move global_data to a new
place in memory. This affects driver model since it uses a list for the
uclasses. Unless this is updated the list will become invalid. When
looking for a non-ex
This code currently always selects the second source. It only worked
because both sources are set up.
With the change to only init video devices that are present in the stdout
environment variable, this fails. Fix it.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/video/rockchip/r
This code incorrectly uses the oscillator. It should use the clock
selected in the device tree.
Signed-off-by: Simon Glass
Fixes: 135aa95 (clk: convert API to match reset/mailbox style)
---
Changes in v2: None
drivers/video/rockchip/rk_vop.c | 7 +--
1 file changed, 1 insertion(+), 6 delet
This series adds support for 'mickey', the Asus Chromebit based on Rockchip
RK3288.
Some refactoring is included to jerry also. The intent is that all
RK3288-based Chromebooks will use the 'veyron' board, with everything
common except the device tree. SPI is used to boot, and we move jerry to
use
On Fri, Nov 04, 2016 at 12:59:46PM +0100, Ladislav Michl wrote:
> Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and
> Hynix H27S4G6F2DKA-BM
>
> Signed-off-by: Ladislav Michl
> Reviewed-by: Javier Martinez Canillas
> Tested-by: Javier Martinez Canillas
Applied to u-boot/master, thanks!
--
To
On Sat, Oct 29, 2016 at 03:19:10PM +0530, Keerthy wrote:
> While we setup the mmu initially we mark set_section_dcache with
> DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro
> is rightly defined with TTB_SECT_XN_MASK set so as to mark all the
> 4GB XN. In case of LPAE mode XN(Execu
On Fri, Nov 04, 2016 at 12:57:27PM +0100, Ladislav Michl wrote:
> Defconfigs should remain the same except CONFIG_SYS_EXTRA_OPTIONS.
> Drop NAND specific defconfig as flash type is runtime detected.
>
> Signed-off-by: Ladislav Michl
> Reviewed-by: Javier Martinez Canillas
Applied to u-boot/mas
On Thu, Nov 03, 2016 at 03:35:02PM +0530, Lokesh Vutla wrote:
> Only a certain set of PLLM/D values are recommended to configure the DDR
> at the required speeds for a given clock input frequency. Updating these
> values as specified in Data Sheet[1] Table 5-18
>
> [1] http://www.ti.com/lit/ds/sy
On Sat, Nov 12, 2016 at 05:43:08PM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please take these fixes.
>
> thanks!
> Jagan.
>
> The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624:
>
> Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08
> 10:36:57 -0500)
On Sat, Oct 29, 2016 at 03:19:09PM +0530, Keerthy wrote:
> Printing the option value in hex makes it more comprehensible.
>
> Signed-off-by: Keerthy
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
On Sun, Nov 13, 2016 at 07:08:41PM +0100, Anatolij Gustschin wrote:
> Hi Tom,
>
> The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624:
>
> Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08
> 10:36:57 -0500)
>
> are available in the git repository at:
On Thu, Nov 10, 2016 at 03:05:37PM -0200, Diego Dorta wrote:
> Add a README file to help users getting started with the board.
>
> Signed-off-by: Diego Dorta
> Reviewed-by: Fabio Estevam
> Reviewed-by: Peng Fan
> Reviewed-by: Jagan Teki
Applied to u-boot/master, thanks!
--
Tom
signature.
Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so
that general purpose distributions can rely on it being defined. This
header is included, under conditions or not, by various archs or
famillies of archs / SoCs.
However, it is very possible that boards based on those SoCs will
On Thu, Nov 10, 2016 at 05:16:35PM +0100, Fabien Parent wrote:
> If the MAC address specified on the EEPROM is invalid (multicast or
> zero address), then u-boot fails to boot. Having a bad MAC address
> in the EEPROM should not prevent the system from booting.
>
> This commit changes the error p
On Tue, Nov 08, 2016 at 08:48:44PM -0800, Alex G. wrote:
> In most cases, the SPL and u-boot.img will be on the same boot media.
> Since the SPL was loaded by the boot rom, the pinmux will already have
> been configured for this media. This, the board will still be able to
> boot successfully, or
On Fri, Nov 04, 2016 at 12:55:21PM +0100, Ladislav Michl wrote:
> As a single U-Boot binary can now run on various board modifications,
> drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information
> too early to give us chance to easily detect it. Also saves few bytes
> as a bonus.
>
> S
On Thu, Nov 03, 2016 at 03:32:51PM +0530, Lokesh Vutla wrote:
> Update the PLL initialization sequence to avoid glitches while
> programming. User guide for the same is available at[1].
>
> [1] http://www.ti.com/lit/ug/sprugv2h/sprugv2h.pdf
>
> Signed-off-by: Lokesh Vutla
> Reviewed-by: Tom Rin
On Thu, Nov 10, 2016 at 12:13:23PM +, Andre Przywara wrote:
> Commit fed329aebe3a ("tools: add mksunxiboot to tools-all target") added
> mksunxiboot to the tools-all target, but used the CONFIG_SUNXI symbol
> to enable its build. Now commit aec9a0f19f64 ("sunxi: Rename CONFIG_SUNXI
> to CONFIG
On Sun, 2016-11-13 at 19:54 +0100, Hans de Goede wrote:
> And also remove it from scripts/config_whitelist.txt as the
> Mele_M5_defconfig was the only one defining it.
>
> Signed-off-by: Hans de Goede
Acked-by: Ian Campbell
___
U-Boot mailing list
U-
I have retrieved a string "fdt get value bootargs /chosen bootargs"
But, when I try "setenv a $bootargs" I get the error message:
setenv [-f] name value...
Is appears the variable set by the "fdt get" command hasdifferent properties
from a u-boot variable where the content are available with
Hi,
On 10-11-16 13:13, Andre Przywara wrote:
Commit fed329aebe3a ("tools: add mksunxiboot to tools-all target") added
mksunxiboot to the tools-all target, but used the CONFIG_SUNXI symbol
to enable its build. Now commit aec9a0f19f64 ("sunxi: Rename CONFIG_SUNXI
to CONFIG_ARCH_SUNXI"), merged bef
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 is a big.LITTLE multi-cluster SoC, with a different layout for
the PRCM and CPUCFG registers. As such it needs a different PSCI
implementation.
This patch adds a basic version that allows bringing up the four cores
in the first cluster. The str
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
Now that we have a basic version of PSCI firmware, enable non-secure
boot and PSCI on the A80.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
board/sunxi/Kconfig | 4
1 file changed, 4 insertions(+)
diff
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 also has the TrustZone Protection Controller (TZPC), called
the Secure Memory Touch Arbiter (SMTA).
Enable non-secure access to all the peripherals at boot time.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 has a different PRCM register layout.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
arch/arm/include/asm/arch-sunxi/prcm_sun9i.h | 55
1 file changed, 55 insertions(+)
cr
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved
for CPU0 hotplug flags.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
include/configs/sun9i.h | 4
1 file changed, 4 insertions(+)
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 has a different CPUCFG register layout, likely due to having
2 clusters.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
arch/arm/include/asm/arch-sunxi/cpucfg_sun9i.h | 51 ++
1
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved
for CPU0 hotplug flags.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 1 +
1 file changed,
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80, having 2 clusters of 4 cores each, has an ARM CCI-400 hardware
block for cache coherency.
Add the base address for CCI-400, and also add the base address for CPUCFG.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hi,
On 09-11-16 11:21, Chen-Yu Tsai wrote:
The A80 is a big.LITTLE SoC with 4x Cortex-A7 in cluster 0 and 4x
Cortex-A15 in cluster 1.
Signed-off-by: Chen-Yu Tsai
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
arch/arm/cpu/armv7/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff
And also remove it from scripts/config_whitelist.txt as the
Mele_M5_defconfig was the only one defining it.
Signed-off-by: Hans de Goede
---
configs/Mele_M5_defconfig| 2 +-
scripts/config_whitelist.txt | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/Mele_M5_defc
Hi,
On 04-11-16 16:18, Maxime Ripard wrote:
The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller.
Enable it.
Signed-off-by: Maxime Ripard
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
configs/Sinlinx_SinA33_defconfig | 1 +
1 file changed, 1 insertion(+), 0 deleti
Hi,
On 04-11-16 16:18, Maxime Ripard wrote:
The SinA33 comes with an optional 7" display. Enable it in the
configuration.
Signed-off-by: Maxime Ripard
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
configs/Sinlinx_SinA33_defconfig | 4
1 file changed, 4 insertions(+), 0 del
Hi,
On 04-11-16 16:18, Maxime Ripard wrote:
Some eMMC will fail at the first switch, but would succeed in a subsequent
one.
Make sure we try several times to cover those cases. The number of retries
(and the behaviour) is currently what is being used in Linux.
Signed-off-by: Maxime Ripard
L
Hi,
On 04-11-16 16:18, Maxime Ripard wrote:
The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the
support for those too.
Signed-off-by: Maxime Ripard
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
drivers/mmc/sunxi_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 d
Hi,
On 05-11-16 20:51, Emmanuel Vadot wrote:
Set CONFIG_SYS_MMC_MAX_DEVICE to 4 for sunxi SoC.
This define is needed in the API code.
Signed-off-by: Emmanuel Vadot
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
include/configs/sunxi-common.h | 1 +
1 file changed, 1 insertion(+)
Hi,
On 03-11-16 01:58, Andre Przywara wrote:
Somehow an int returning function without a return statement sneaked
in. Fix it.
Signed-off-by: Andre Przywara
LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
drivers/mtd/spi/sunxi_spi_spl.c | 3 ++-
1 file changed, 2 insertions(+), 1 d
Hi,
On 31-10-16 22:33, Yann E. MORIN wrote:
Currently, USB is forced-enabled for the sunxi familly, and there is no
way to disable it.
However, USB takes a long time to initiliase, delaying the boot by up to
5 seconds (without any USB device attached!). This is a very long delay,
especially in
Hi,
On 31-10-16 21:05, Jelle van der Waa wrote:
Use the already available Kconfig option for AHCI. Tested on the
BananaPi.
Signed-off-by: Jelle van der Waa
Patch LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
configs/A10-OLinuXino-Lime_defconfig | 3 ++-
configs/A20-OLinuXi
Hi Tom,
The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624:
Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 10:36:57
-0500)
are available in the git repository at:
git://git.denx.de/u-boot-video.git master
for you to fetch changes up to 9f6ce7d
74 matches
Mail list logo