Hi Simon,
On 12/01/2020 21.06, Simon Glass wrote:
> This function name conflicts with our desire to #define free() to
> something else on sandbox. Since it deals with resources, rename it to
> rfree().
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/dma/dma-uclass.c | 4 ++--
> drivers/
Add a driver for a firmware TPM running inside TEE.
Documentation of the firmware TPM:
https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip/
Implementation of the firmware TPM:
https://github.com/Microsoft/ms-tpm-20-ref/tree/master/Samples/ARM32-FirmwareTPM
Hi Baruch,
On 25.11.19 11:30, Baruch Siach wrote:
Newer revisions of SolidRun Clearfog Base/Pro carriers and Armada 388 SOM add
EEPROM storage for board detection. This patch series adds support for reading
EEPROM stored board information, and using it to set RAM training parameters,
serdes conf
On 25.11.19 11:30, Baruch Siach wrote:
Clearfog Base carrier uses serdes lane #5 as USB host. Use EEPROM stored
device identification to configure the serdes accordingly when
available.
Signed-off-by: Baruch Siach
---
board/solidrun/clearfog/clearfog.c | 6 ++
1 file changed, 6 insertion
On 25.11.19 11:30, Baruch Siach wrote:
Select the serdes configuration table based on the platform identity
read from EEPROM TLV data. Clearfog GTR needs a slightly different
serdes configuration.
Signed-off-by: Baruch Siach
---
board/solidrun/clearfog/clearfog.c | 10 ++
1 file chan
On 25.11.19 11:30, Baruch Siach wrote:
Set the kernel device-tree file (fdtfile environment variable) based on
run-time detection of the platform.
Signed-off-by: Baruch Siach
---
arch/arm/mach-mvebu/Kconfig| 1 +
board/solidrun/clearfog/clearfog.c | 14 ++
2 files chang
Enable CONFIG_SPI_FLASH_SPANSION in defconfigs of LS1046ARDB and
LS1046AQDS which have two spansion flases i.e s25fs512s each of size
64M.
Signed-off-by: Kuldeep Singh
---
Depends on https://patchwork.ozlabs.org/patch/1219462/
Depends on https://patchwork.ozlabs.org/patch/1208299/
v4: No change
Since CONFIG_FSL_QSPI is already enabled for LS1012A in defconfigs. Also
enable CONFIG_SPI_FLASH_SPANSION for LS1012A boards having spansion
flashes.
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
Depends on https://patchwork.ozlabs.org/patch/1219462/
Depends on https://patchwork.o
According to new qspi driver, some properties like "bus-num, num-cs,
big-endian" are no longer used. Device endiannes can be determined from
device-type data in driver.
Now use board specific compatibles, generic node names and specific
labels to align with linux device-tree properties.
Also cons
To support the SPI MEM API, instead of modifying the existing U-Boot
driver, this patch adds a port of the existing Linux driver.
This also has the advantage that porting changes and fixes from Linux will
be easier.
Porting of driver left most of the functions unchanged while few of the
changes are
Move CONFIG_FSL_QSPI to the board defconfigs and while at it also move
CONFIG_SPI_FLASH_SPANSION for LS1043AQDS.
Signed-off-by: Frieder Schrempf
Signed-off-by: Kuldeep Singh
---
Depends on https://patchwork.ozlabs.org/patch/1219462/
Depends on https://patchwork.ozlabs.org/patch/1208299/
v4: Mov
From: Frieder Schrempf
This property is not used by the driver anymore so let's remove it.
Other dts still have 'num-cs' set, but they need a resync with the
Linux kernel anyway, so let's only do the U-Boot-specific files for
now.
Signed-off-by: Frieder Schrempf
Signed-off-by: Kuldeep Singh
--
Some of these options are not used by the driver anymore and some of
them are obsolete as the information is gathered from the dt.
Also consolidating defines in common headers.
Signed-off-by: Frieder Schrempf
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
Depends on https://patchw
This entire patch series migrate freescale qspi driver to spi-mem
framework.
v4 version of series include removal of buildman failure on LS2080AQDS
build which was observed in cleanup patches. Also, more clear commit
message of patch 5.
v3 version of series includes correction of copyright in qsp
On 25.11.19 11:30, Baruch Siach wrote:
Use the data from EEPROM TLV to display the board identity.
Signed-off-by: Baruch Siach
---
board/solidrun/clearfog/clearfog.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/board/solidrun/clearfog/clearfog.c
b/board/so
On 25.11.19 11:30, Baruch Siach wrote:
Read RAM die capacity from the EEPROM TLV.
Follow the ONIE standard that defines the Vendor Extension entry type
for vendor specific data. We have no Private Enterprise Number at the
moment as the standard requires. Use the dummy all 0xff value for now.
Si
On 25.11.19 11:30, Baruch Siach wrote:
Signed-off-by: Baruch Siach
---
configs/clearfog_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
index dd48b325c0bc..2bf80ee70cec 100644
--- a/configs/clearfog_defconfig
+++ b/con
On 25.11.19 11:30, Baruch Siach wrote:
Add device-tree description for the EEPROM devices on Armada 388 SOM rev
2.1.
Another EEPROM is now on Clearfog Pro carrier rev 2.2, and Clearfog Base
rev 1.3.
Signed-off-by: Baruch Siach
---
arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 12 +
On 25.11.19 11:30, Baruch Siach wrote:
Based on U-Boot patch from the Open Compute project:
https://github.com/opencomputeproject/onie/blob/ec87e872d46b9805565d2c6124b2f701ef1c07b1/patches/u-boot/common/feature-sys-eeprom-tlv-common.patch
Keep only I2C EEPROM support. Use the generic eeprom
Hi Peter,
On 2020/1/8 上午11:56, Peter Robinson wrote:
Put the target entries for rk3399 devices in alphabetical order.
Signed-off-by: Peter Robinson
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/rk3399/Kconfig | 22 +++---
1 file changed, 11 insertion
On 25.11.19 11:30, Baruch Siach wrote:
Enabled both DDR clock signals to support Clearfog variants (currently,
Clearfog GTR) that need both clocks.
Signed-off-by: Baruch Siach
---
board/solidrun/clearfog/clearfog.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/board
On 25.11.19 11:30, Baruch Siach wrote:
DDR clock out might be unrelated to the number of active chip-select.
For example, the board might have two DDR components, but only one
chip-select. The clk_enable mask allows the board to enable DDR clocks
regardless of active chip-selects.
Signed-off-by:
Hi Mauro,
On 11.01.20 20:00, Mauro Condarelli wrote:
I managed to find ONE of the reasons why my ROM build didn't run:
I forgot to enable `CONFIG_BOARD_EARLY_INIT_F=y`.
I see. This explains of course, why your board does not boot without
any "preloader".
I wanted, nonetheless, be prepared fo
On 10. 01. 20 16:36, Masahiro Yamada wrote:
> On Thu, Jan 9, 2020 at 11:19 PM Michal Simek wrote:
>>
>> From: Rob Herring
>>
>> The 'arm,armv8' compatible string is only for software models. It adds
>> little value otherwise and is inconsistently used as a fallback on some
>> platforms. Remove it
Hi Baruch,
On 12.01.20 17:34, Baruch Siach wrote:
Hi Joel,
On Sun, Jan 12 2020, Joel Johnson wrote:
On 2020-01-12 03:49, Baruch Siach wrote:
On Sat, Jan 11 2020, Joel Johnson wrote:
+config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+ hex "Address on the MMC to load U-Boot from"
+ default
From: Faiz Abbas
Add config to save and read back environment from eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Keerthy
---
configs/j721e_evm_a72_defconfig | 3 +++
configs/j721e_evm_r5_defconfig | 2 ++
include/configs/j721e_evm.h | 6 ++
3 files changed, 11 insertions(+)
diff --
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware
loadaddr and name.
Signed-off-by: Keerthy
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 84518786c7..d3a9330069 100644
---
Enable r5f remoteproc support in r5 defconfig so that r5s can
be started in spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
configs/j721e_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
index c92b
Add fs_loader node which will be needed for loading firmwares
from the boot media/filesystem.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-boar
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3-
Add MAIN domain R5FSS0 remoteproc support from spl. This enables
loading the elf firmware in SPL and starting the remotecore.
In order to start the core, there should be a file with path
"/lib/firmware/j7-main-r5f0_0-fw" under filesystem
of respective boot mode.
Signed-off-by: Keerthy
Signed-off
MCU Domain rf50 is currently shutting down after loading the ATF.
Load elf firmware and jump to firmware post loading ATF.
ROM doesn't enable ATCM memory, so make sure that firmware that
is being loaded doesn't use ATCM memory or override SPL.
Signed-off-by: Keerthy
Signed-off-by: Lokesh Vutla
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump
to a firmware directly from SPL.
Signed-off-by: Keerthy
---
arch/arm/mach-k3/r5_mpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c
index ee076ed
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0.
Tested for firmware loading and execution on J721e.
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
Faiz Abbas (1):
configs: j721e_evm_r5: Add configs for environment in eMMC
Keerthy (8):
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
Signed-off-by: Keerthy
Suggested-by: Simon Goldschmidt
---
Changes in v2:
* Factored out all the generic elf handling functions under lib/elf.c
cmd/Kconfig |
On Sun, 12 Jan 2020 12:06:20 -0700
Simon Glass s...@chromium.org wrote:
> At present devres.h is included in all files that include dm.h but few
> make use of it. Also this pulls in linux/compat which adds several more
> headers. Drop the automatic inclusion and require files to include devres
> t
On 11/01/2020 23.44, Rasmus Villemoes wrote:
> On 10/01/2020 15.34, Tom Rini wrote:
>> On Fri, Jan 10, 2020 at 02:28:54PM +, Rasmus Villemoes wrote:
>>> On 15/12/2019 23.29, Rasmus Villemoes wrote:
I'm also seeing the build failure that commit
7d4776545b env: solve compilation er
On Sun, 12 Jan 2020 12:06:19 -0700
Simon Glass s...@chromium.org wrote:
> Add a new device-tree property to control the colour depth. At present we
> support 16bpp and 32bpp.
>
> While we are here, update the code to use livetree.
>
> Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
On Sun, 12 Jan 2020 12:06:18 -0700
Simon Glass s...@chromium.org wrote:
> On high-DPI displays U-Boot's LCD window can look very small. Add a
> -K flag to expand it to make things easier to read, while still using
> the existing resolution internally.
>
> Signed-off-by: Simon Glass
Reviewed-by:
On Sun, 12 Jan 2020 12:05:56 -0700
Simon Glass s...@chromium.org wrote:
> This function name conflicts with our desire to #define free() to
> something else on sandbox. Since it deals with resources, rename it to
> rfree().
>
> Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
--
Ana
On Sun, 12 Jan 2020 12:05:54 -0700
Simon Glass s...@chromium.org wrote:
> For sandbox we want to have the maximum possible build coverage, so enable
> all colour depths for video.
>
> Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
--
Anatolij
Hi Simon,
On Sun, 12 Jan 2020 12:05:53 -0700
Simon Glass s...@chromium.org wrote:
> At present only a 16bpp display is supported for Truetype fonts. Add
> support for 32bpp also since this is quite common.
>
> Signed-off-by: Simon Glass
Reviewed-by: Anatolij Gustschin
--
Anatolij
Hi Patrick,
On Fri, 10 Jan 2020 08:50:31 +0100
Patrick Delaunay patrick.delau...@st.com wrote:
...
> diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
> index 8f44f599c1..bcf06b871d 100644
> --- a/tools/fdtgrep.c
> +++ b/tools/fdtgrep.c
> @@ -823,8 +823,10 @@ static int do_fdtgrep(struct display_info
At present devres.h is included in all files that include dm.h but few
make use of it. Also this pulls in linux/compat which adds several more
headers. Drop the automatic inclusion and require files to include devres
themselves. This provides a good indication of which files use devres.
Signed-off
This series handles moving sandbox to the latest version of SDL, SDL2. It
provides a few more features, better performance and has been around for
long enough that it is present in distributions in the last several years.
Unfortunately it requires considerable rework of how memory allocation is
ha
Hi Patrick,
On Fri, 10 Jan 2020 07:58:41 +
Patrick DELAUNAY patrick.delau...@st.com wrote:
...
> I have locally a patch, but I don't yet upstream it
> It is done today with:
> "tools: ftdgrep: correct the find regions loop in do_fdtgrep"
> http://patchwork.ozlabs.org/project/ub
Now that we can use direct access to the system malloc() in sandbox, drop
the remaining uses of os_malloc().
The only one remaining now is for the RAM buffer, which we do want to be
at a known adress, so this is intended.
Signed-off-by: Simon Glass
---
drivers/misc/cros_ec_sandbox.c | 8 --
On high-DPI displays U-Boot's LCD window can look very small. Add a
-K flag to expand it to make things easier to read, while still using
the existing resolution internally.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/sdl.c | 17 +++--
arch/sandbox/cpu/start.c
Most files don't need this header and it pulls in quite of lots of stuff,
malloc() in particular. Drop it.
Signed-off-by: Simon Glass
---
board/hisilicon/poplar/poplar.c | 2 +-
include/dm/device.h | 1 -
include/linux/compat.h | 3 +++
include/phy.h | 1 +
Add a new device-tree property to control the colour depth. At present we
support 16bpp and 32bpp.
While we are here, update the code to use livetree.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dtsi | 1 +
doc/device-tree-bindings/video/sandbox-fb.txt | 6 +-
d
Sandbox currently uses SDL1.2. SDL2 has been around for quite a while and
is widely supported. It has a number of useful features. It seems
appropriate to move sandbox over.
Update the code to use SDL2 instead of SDL1.2.
Signed-off-by: Simon Glass
---
.travis.yml| 2 +-
arch/sand
I am not sure how to add libsdl2-dev to the gitlab image, so disable
building sandbox with SDL for now.
Signed-off-by: Simon Glass
---
.gitlab-ci.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d799cc30a8..5fb2113987 100644
---
Some files use U-Boot headers but still need to access the system
malloc(). Allow this by creating a new asm/malloc.h which can be used so
long as U-Boot's malloc.h has not been included.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 6 +++---
arch/sandbox/cpu/state.c
At present when audio stops, any in-progress output is cut off. Fix this
by waiting for output to finish.
Also use booleans for the boolean variables.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/sdl.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/arch
At present there is no positive indication that U-Boot has finished
sending sound data. This means that it is not possible to power down an
audio codec, for example. Add a new method that is called once all sound
data has been sent.
Add a new method for this, called when the sound_play() call is d
Add comments for each struct member. Drop frequency since it is not used.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/sdl.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/sdl.c b/arch/sandbox/cpu/sdl.c
index 080c7c8d74..dad059f257 1006
The last member of this array is supposed to be all zeroes according to
the getopt_long() man page. Fix the function to do this.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os
At present an error does not stop the sound-output loop. This is incorrect
since nothing can be gained by trying to continue. Fix it.
Signed-off-by: Simon Glass
---
drivers/sound/sound-uclass.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/sound/sound-uclass.c
A few errors are not checked. Fix these and use my preferred spelling for
init.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/sdl.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/arch/sandbox/cpu/sdl.c b/arch/sandbox/cpu/sdl.c
index dad059f257..ee62da265b 1
This file should include the malloc.h header since it references malloc().
Fix it.
Signed-off-by: Simon Glass
---
common/exports.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/exports.c b/common/exports.c
index b4f1f7af15..18af38a5f6 100644
--- a/common/exports.c
+++ b/common/expo
At present architectures can override strdup() but not strndup(). Use
the same option for both.
Signed-off-by: Simon Glass
---
include/linux/string.h | 2 +-
lib/string.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/string.h b/include/linux/stri
Some sandbox files are not built with U-Boot headers, so with the renamed
malloc functions there is now no need to use the special os_... allocation
functions to access the system routines. Instead we can just call them
directly.
Update the affected files accordingly.
Signed-off-by: Simon Glass
These functions include calls to a memory-allocation routine and so need
to use the system routine when called from a library.
To preserve access to these functions for libraries that need it, such as
SDL, rename these functions within U-Boot.
Signed-off-by: Simon Glass
---
include/linux/strin
Due to recent changes this function is no-longer used. Drop it.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 23 ---
include/os.h | 22 +-
2 files changed, 1 insertion(+), 44 deletions(-)
diff --git a/arch/sandbox/cpu/os.c b/arch/sandb
In order to allow use of both U-Boot's malloc() and the C library's
version, set a prefix for the allocation functions so that they can
co-exist.
This is only done for sandbox. For other archs everything remains the
same.
Signed-off-by: Simon Glass
---
include/malloc.h | 24 +++
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/mtd/mtdcore.c | 4 ++--
drivers/mtd/nand/raw/denali.c | 2 +-
drivers/mtd/nand/spi/core.c
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/dma/dma-uclass.c | 4 ++--
drivers/dma/sandbox-dma-test.c | 2 +-
drivers/dma/ti/k3-udma.c | 2 +-
This name conflicts with our desire to #define free() to something else on
sandbox. Rename it.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/state.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c
index cd46e000f5..
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/clk/clk-ti-sci.c | 2 +-
drivers/clk/clk-uclass.c | 4 ++--
drivers/clk/clk_sandbox.c
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/gpio/gpio-rcar.c | 2 +-
drivers/gpio/gpio-uclass.c | 4 ++--
include/asm-generic/gpio.h | 2 +-
3 files cha
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/mailbox/k3-sec-proxy.c | 2 +-
drivers/mailbox/mailbox-uclass.c | 4 ++--
drivers/mailbox/sandbox-mbox.c |
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/power/domain/bcm6328-power-domain.c | 2 +-
drivers/power/domain/imx8-power-domain-legacy.c | 2 +-
driver
For sandbox we want to have the maximum possible build coverage, so enable
all colour depths for video.
Signed-off-by: Simon Glass
---
configs/sandbox64_defconfig| 1 -
configs/sandbox_defconfig | 1 -
configs/sandbox_flattree_defconfig | 1 -
configs/sandbox_spl_defconfig
At present only a 16bpp display is supported for Truetype fonts. Add
support for 32bpp also since this is quite common.
Signed-off-by: Simon Glass
---
drivers/video/console_truetype.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/video/console_truetype.c b/d
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass
---
drivers/reset/reset-bcm6345.c | 2 +-
drivers/reset/reset-hisilicon.c | 2 +-
drivers/reset/reset-hsdk.c | 2 +-
At present options are presented in essentially random order. It is easier
to browse them if they are sorted into alphabetical order. Adjust the
help function to handle this.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 46 +++-
1 file changed, 4
Hi Joel,
On Sun, Jan 12 2020, Joel Johnson wrote:
> On 2020-01-12 03:33, Baruch Siach wrote:
>> On Sat, Jan 11 2020, Joel Johnson wrote:
>>> While 1GB SOM parts are much more common, provide a build config
>>> option for supporting parts with 2GB.
>>>
>>> Signed-off-by: Joel Johnson
>>> ---
>>>
>
Hi Joel,
On Sun, Jan 12 2020, Joel Johnson wrote:
> On 2020-01-12 03:49, Baruch Siach wrote:
>> On Sat, Jan 11 2020, Joel Johnson wrote:
>>> +config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
>>> + hex "Address on the MMC to load U-Boot from"
>>> + default 0x141
>>> + depends on MVEBU_SPL_BOOT_DEVICE_
Up to now the U-Boot console does not allow to add a control character to
the line buffer. In Bash and Vim we can use CTRL-v for this purpose.
Add support for CTRL-v for verbatim entry of characters.
Heinrich Schuchardt (2):
cli: allow verbatim character entry with CTRL-v
test: verbatim chara
Provide a unit test checking that CTRL-V can be used to add control
characters to the line buffer.
Signed-off-by: Heinrich Schuchardt
---
test/dm/Makefile | 2 +-
test/dm/usb_console.c | 150 ++
2 files changed, 151 insertions(+), 1 deletion(-)
cre
Up to now the U-Boot console does not allow to add a control character to
the line buffer. In Bash and Vim we can use CTRL-v for this purpose.
Add support for CTRL-v for verbatim entry of characters.
To keep things simple, while editing control characters are displayed as
simple characters, e.g.
Hi Joel,
On Sun, Jan 12 2020, Joel Johnson wrote:
> On 2020-01-12 03:42, Baruch Siach wrote:
>> Hi Joel,
>>
>> On Sat, Jan 11 2020, Joel Johnson wrote:
>>
>>> Add reasonable default SPI offsets and ENV size when configured to
>>> boot from SPI flash.
>>>
>>> Signed-off-by: Joel Johnson
>>> ---
>>
On 12.01.20 15:57, Anatolij Gustschin wrote:
> This shrinks the image size: all -3840.0 text -3840.0
>
> Signed-off-by: Anatolij Gustschin
Acked-by: Soeren Moch
> ---
> Changes in v2:
> - add CONFIG_OF_DTB_PROPS_REMOVE=y
> - update commit description
> - gitlab CI results:
>https://gitlab.
On 2020-01-12 03:33, Baruch Siach wrote:
Hi Joel,
On Sat, Jan 11 2020, Joel Johnson wrote:
While 1GB SOM parts are much more common, provide a build config
option for supporting parts with 2GB.
Signed-off-by: Joel Johnson
---
board/solidrun/clearfog/Kconfig| 6 ++
board/solidrun/cle
On 2020-01-12 03:49, Baruch Siach wrote:
Hi Joel,
On Sat, Jan 11 2020, Joel Johnson wrote:
Remove MMC booting assumptions from clearfog_defconfig. Their
presence in starting config files conflicts with default ENV_IS_IN
selection logic based on boot source, since the "select" option
can't dist
From: Chen-Yu Tsai
Sync the device tree files and device tree header files from upstream
Linux kernel, as of 2020-01-08. The commit synced to in the sunxi repo
98d25b0b266d Merge branch 'sunxi/dt-for-5.6' into sunxi/for-next
which is also part of next-20200108.
Changes brought in include:
From: Chen-Yu Tsai
The Libre Computer ALL-H3-IT board is a small single board computer that
is roughly the same size as the Raspberry Pi Zero, or around 20% smaller
than a credit card.
The board features:
- H2, H3, or H5 SoC from Allwinner
- 2 DDR3 DRAM chips
- Realtek RTL8821CU based WiF
From: Chen-Yu Tsai
The Libre Computer ALL-H5-CC board is an upgraded version of the
ALL-H3-CC. Changes include:
- Gigabit Ethernet via external RTL8211E Ethernet PHY
- 16 MiB SPI NOR flash memory
- PoE tap header
- Line out jack removed
Only H5 variant test samples were made available,
From: Chen-Yu Tsai
Hi everyone,
This patch series syncs up the device tree files and header files for
Allwinner H3/H5 SoCs and related boards to linux-next-20200108, and
then adds support for Libre Computer ALL-H3-IT H5 and ALL-H5-CC H5
boards.
Patch 1 syncs up the device tree files and related
On 2020-01-12 03:42, Baruch Siach wrote:
Hi Joel,
On Sat, Jan 11 2020, Joel Johnson wrote:
Add reasonable default SPI offsets and ENV size when configured to
boot from SPI flash.
Signed-off-by: Joel Johnson
---
board/solidrun/clearfog/Kconfig | 12
1 file changed, 12 insertion
On January 12, 2020 10:14:35 AM UTC, Baruch Siach wrote:
>Hi Joel,
>
>Thanks for working on Clearfog hardware support improvements.
Sure - I finally just got tired of not being able to easily use mainline
builds, sat down and figured out the gaps and missing dependencies in order to
support
On January 12, 2020 10:21:05 AM UTC, Baruch Siach wrote:
>Hi Joel,
>
>On Sat, Jan 11 2020, Joel Johnson wrote:
>> Signed-off-by: Joel Johnson
>> ---
>>
>> board/solidrun/clearfog/Kconfig| 7 +++
>> board/solidrun/clearfog/clearfog.c | 4
>> 2 files changed, 11 insertions(+)
>>
>>
This can be used for device tree size reduction similar as
CONFIG_OF_SPL_REMOVE_PROPS option. Some boards must pass the
built-in DTB unchanged to the kernel, thus we may not cut it
down unconditionally. Therefore enable the property removal
list option only if CONFIG_OF_DTB_PROPS_REMOVE is selected
This shrinks the image size: all -3840.0 text -3840.0
Signed-off-by: Anatolij Gustschin
---
Changes in v2:
- add CONFIG_OF_DTB_PROPS_REMOVE=y
- update commit description
- gitlab CI results:
https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/1842
NOTE: building with this patch
On Sat, 11 Jan 2020 02:01:27 +0900
Masahiro Yamada masahi...@kernel.org wrote:
...
> UPD include/generated/asm-offsets.h
> SHIPPED scripts/dtc/pylibfdt/libfdt.i
> /bin/sh: 1: ./tools/fdtgrep: not found
> make[3]: *** [scripts/Makefile.lib:242: scripts/dtc/pylibfdt/libfdt.i] Error
> 127
> m
On Fri, 10 Jan 2020 11:39:45 -0500
Tom Rini tr...@konsulko.com wrote:
...
> > quiet_cmd_shipped = SHIPPED $@
> > -cmd_shipped = cat $< > $@
> > +cmd_shipped = cat $< | $(objtree)/tools/fdtgrep -r -O dtb - -o $@ \
> > + $(addprefix -P ,$(subst $\",,$(CONFIG_OF_REMOVE_PROPS)))
> >
> >
https://www.avnet.com/wps/portal/integrated/products/embedded-boards/smarc-modules/
- Single, Dual or Quad core ARM Cortex-A53 Applications Processor up to 1.8GHz
- ARM Cortex-M4 Real Time Processor at 400MHz
- Vivante GC NanoUltra 2D/3D Graphics Processor
1080p60 H.265 decode, 1080p60 H.264 enc
Currently the DM37 and OMAP35 boards do not boot due to SPL
bring too large.
SPL doesn't need GPIO, I2C nor MMC sector access since it uses
a FAT file system.
This patch unifies all these boards to remove these unused features
from their defconfigs
Signed-off-by: Adam Ford
diff --git a/configs
None of these boards boot, but the solution appears to be the same.
All the boards have SPL that is too large. With a few defconfig
options removed, these corresponding options can be removed from
their respective SPL dtb files.
This patch unifies the DM37/OMAP35 boards' -u-boot.dtsi files
to rem
Hi Joel,
On Sat, Jan 11 2020, Joel Johnson wrote:
> Remove MMC booting assumptions from clearfog_defconfig. Their
> presence in starting config files conflicts with default ENV_IS_IN
> selection logic based on boot source, since the "select" option
> can't distinguish between user-overridden and
1 - 100 of 105 matches
Mail list logo