Marty,
> On 13.09.2018, at 23:55, Marty E. Plummer wrote:
>
> Taken from coreboot's src/soc/rockchip/rk3288/sdram.c
>
> Without this change, my u-boot build for the asus c201 chromebook (4GiB)
> is incorrectly detected as 0 Bytes of ram.
>
> Signed-off-by: Marty E. Plummer
Please revise.
On Tue, Sep 25, 2018 at 10:24:42AM +0800, Bin Meng wrote:
> On Sat, Sep 22, 2018 at 9:05 PM Andy Shevchenko
> wrote:
I found a bit of time to look at this again.
> > +static int ns16550_serial_getinfo(struct udevice *dev, struct
> > serial_device_info *info)
> > +{
> > + struct NS16550
On 11/15/2018 04:09 PM, Sven Schwermer wrote:
>> Sweet! Is this s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ or is there
>> some other stuff in the patch too ?
>
> There is also a bunch of CONFIG_BLK replacements.
>
>> If the later is the case, it'd be
>> nice to do the
On Thu, 15 Nov 2018 16:15:51 +0100
Boris Brezillon wrote:
> Hi Heiko,
>
> On Thu, 15 Nov 2018 15:21:31 +0100
> Boris Brezillon wrote:
>
> >
> > Looks like spi_flash_mtd_register() is doing something really bad here
> > [1]: memsetting the global sf_mtd_info object without testing if
> >
On Thu, 15 Nov 2018 14:48:49 +0100
Marek Vasut wrote:
> On 11/15/2018 11:14 AM, Heiko Schocher wrote:
> > Hello all,
> >
> > just see with current HEAD of u-boot on an imx6ull based board with SPI NOR
> > and NAND following behaviour:
>
> +CC Boris, since he was recently looking into this
On 11/15/2018 10:33 AM, tamzi...@sina.com wrote:
> Hi Marek,
Hi,
CC the list next time.
> I am Kin, nice to meet you, I know you because I saw your u-boot
> video on Youtube.
> I am a learner of u-boot, and I have a big confusion on it, so I
> would like to find answer from you.
>
Hello Enric,
Miquel and I recently reworked drivers/mtd/mtdpart.c to get MTD
partitions exposed as MTD devices (as is done in Linux) instead of
having yet another abstraction to handle them (see what's currently
done in cmd/{mtdparts,nand,sf,...}.c).
This lead us to duplicate the mtdparts/mtdids
On Tue, Sep 25, 2018 at 10:27:33AM +0800, Bin Meng wrote:
> On Sat, Sep 22, 2018 at 9:05 PM Andy Shevchenko
> wrote:
> > +/* SPCR (Serial Port Console Redirection table) */
> > +struct __packed acpi_spcr {
> > + struct acpi_table_header header;/* Common ACPI table header
> > */
>
On 11/15/2018 09:20 AM, Sven Schwermer wrote:
> This allows building the SPL without driver model for USB. So far,
> support has only been added to the iMX6/7 host driver. Other boards will
> keep their existing behaviour.
>
> Signed-off-by: Sven Schwermer
> ---
Sweet! Is this
Hi Heiko,
On Thu, 15 Nov 2018 15:21:31 +0100
Boris Brezillon wrote:
>
> Looks like spi_flash_mtd_register() is doing something really bad here
> [1]: memsetting the global sf_mtd_info object without testing if
> this object has already been registered, and then registering it again
> to the
The latest version of pytest (4.0.0) makes some of the code we have in
test/py/conftest.py a fatal error that needs to be migrated.
Unfortunately this in turn requires changes that don't exist in older
versions of pytest such as 2.8.7 that ships with Ubuntu 16.04. Force
travis to use this older
On 11/15/2018 08:13 AM, Ang, Chee Hong wrote:
> On Wed, 2018-11-14 at 12:52 +0100, Marek Vasut wrote:
>> On 11/14/2018 08:09 AM, Ang, Chee Hong wrote:
>>>
>>> On Thu, 2018-10-11 at 10:03 +, Marek Vasut wrote:
On 10/11/2018 08:21 AM, Ang, Chee Hong wrote:
>
>
> On Wed,
On Thu, Nov 15, 2018 at 11:39:03AM +0100, codekip...@gmail.com wrote:
> From: Marcus Cooper
>
> The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot,
> 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the
> SoC's integrated PHY, Wifi via an sdio wifi chip,
On Wed, 2018-11-14 at 11:25 +0100, Neil Armstrong wrote:
> The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
>
> This patchset add the driver ported from linux, but also import the regmap
> regmap_read_poll_timeout() to implify the register polling in the driver.
>
> Neil
> Sweet! Is this s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ or is there
> some other stuff in the patch too ?
There is also a bunch of CONFIG_BLK replacements.
> If the later is the case, it'd be
> nice to do the s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ in a separate
> patch, to make the later
can anybody help me here:
tried implementation here
https://github.com/frank-w/u-boot/blob/7a31819225b51d41cd6f1202250c2316e274aacf/board/mediatek/mt7623/mt7623_rfb.c#L55
but i'm unsure it's right, so currently it is disabled and mmc_get_env_dev
always return CONFIG_SYS_MMC_ENV_DEV=0=emmc
Hi Tom,
The following changes since commit 208ecbad2ea8e8f3c9933213867addf16f4a:
Merge branch 'next' (2018-11-14 11:30:07 -0500)
are available in the Git repository at:
git://git.denx.de/u-boot-dm.git tags/pull-14nov18
for you to fetch changes up to
On 11/15/2018 11:14 AM, Heiko Schocher wrote:
> Hello all,
>
> just see with current HEAD of u-boot on an imx6ull based board with SPI NOR
> and NAND following behaviour:
+CC Boris, since he was recently looking into this stuff.
> => mtdparts
>
> device nand0 , # parts = 1
> #: name
This is a series to enable SPCR table generation in U-Boot.
This table is useful to get early console in Linux for debugging purposes.
The benefit of using it is not only for x86, but also for arm64 community
(actually they introduced support in Linux kernel).
This implementation has been tested
New callback will give a necessary information to fill up ACPI SPCR table,
for example. Maybe used later for other purposes.
Signed-off-by: Andy Shevchenko
---
drivers/serial/serial-uclass.c | 21 +
include/common.h | 3 +++
include/serial.h | 17
Microsoft specifies a SPCR (Serial Port Console Redirection Table) [1].
Let's provide it in U-Boot.
[1]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Andy Shevchenko
---
arch/x86/include/asm/acpi_table.h | 2 +
arch/x86/lib/acpi_table.c
On Fri, Nov 9, 2018 at 8:41 PM Vasily Khoruzhick wrote:
>
> A64 requires new clock mode on SD and eMMC controllers. Not using
> new clock mode causes stability issues of the driver - SPL may
> occasionally fail to load u-boot from SD for some particular SD card
> on some particular devices.
>
>
Hi Andy,
On 15 November 2018 at 11:51, Andy Shevchenko wrote:
> On Thu, Nov 15, 2018 at 9:46 PM Simon Glass wrote:
>> On 15 November 2018 at 09:58, Andy Shevchenko
>> wrote:
>> >
>> > New callback will give a necessary information to fill up ACPI SPCR table,
>> > for example. Maybe used later
Recent removal of obsolete partition led to shifting of starting address
of "reserved" partition (which reflects U-Boot environment). Fix its
start address to keep it in sync with ENV_OFFSET and DFU environment.
This patch also provides fixed start address for "reserved" partition,
so that we can
On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
> Hi Tom,
>
> On 15 November 2018 at 08:32, Simon Glass wrote:
> > Hi Tom,
> >
> > The following changes since commit 208ecbad2ea8e8f3c9933213867addf16f4a:
> >
> > Merge branch 'next' (2018-11-14 11:30:07 -0500)
> >
> > are
Cache the value of the reg-io-width property for the future use.
Signed-off-by: Andy Shevchenko
---
drivers/serial/ns16550.c | 1 +
include/ns16550.h| 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index
New callback will supply necessary information, for example,
to ACPI SPCR table.
Signed-off-by: Andy Shevchenko
---
drivers/serial/ns16550.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index b51b56de9f..698acbfb51
On 15.11.18 18:58, Andy Shevchenko wrote:
> Microsoft specifies a SPCR (Serial Port Console Redirection Table) [1].
> Let's provide it in U-Boot.
>
> [1]
> https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
>
> Signed-off-by: Andy Shevchenko
> ---
>
On 15.11.18 18:58, Andy Shevchenko wrote:
> Cache the value of the reg-io-width property for the future use.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/serial/ns16550.c | 1 +
> include/ns16550.h| 4 +++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git
On Thu, Nov 15, 2018 at 8:28 PM Alexander Graf wrote:
> On 15.11.18 18:58, Andy Shevchenko wrote:
> > Cache the value of the reg-io-width property for the future use.
> > struct ns16550_platdata {
> > unsigned long base;
> > + int reg_width;
> > int reg_shift;
> > - int
Hi Ryder,
On 13 November 2018 at 17:32, Ryder Lee wrote:
> On Tue, 2018-11-13 at 11:53 -0800, Simon Glass wrote:
>> Hi Ryder,
>>
>> On 6 November 2018 at 01:47, Ryder Lee wrote:
>> > This patch adds an extra operation in ns16550.c to suuport MediaTek
>> > SoCs as we have a highspeed register
On 15.11.18 20:33, Andy Shevchenko wrote:
> On Thu, Nov 15, 2018 at 8:28 PM Alexander Graf wrote:
>> On 15.11.18 18:58, Andy Shevchenko wrote:
>>> Cache the value of the reg-io-width property for the future use.
>
>>> struct ns16550_platdata {
>>> unsigned long base;
>>> + int
Hi Tom,
On 15 November 2018 at 08:32, Simon Glass wrote:
> Hi Tom,
>
> The following changes since commit 208ecbad2ea8e8f3c9933213867addf16f4a:
>
> Merge branch 'next' (2018-11-14 11:30:07 -0500)
>
> are available in the Git repository at:
>
> git://git.denx.de/u-boot-dm.git
On 15.11.18 18:58, Andy Shevchenko wrote:
> New callback will give a necessary information to fill up ACPI SPCR table,
> for example. Maybe used later for other purposes.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/serial/serial-uclass.c | 21 +
> include/common.h
On 15.11.18 20:43, Andy Shevchenko wrote:
> On Thu, Nov 15, 2018 at 8:27 PM Alexander Graf wrote:
>> On 15.11.18 18:58, Andy Shevchenko wrote:
>>> Microsoft specifies a SPCR (Serial Port Console Redirection Table) [1].
>>> Let's provide it in U-Boot.
>>>
>>> [1]
>>>
Add SPCR table description as it provided in Linux kernel.
Port subtype for ACPI_DBG2_SERIAL_PORT is used as an interface type in SPCR.
Thus, provide a set of definitions to be utilized later.
Signed-off-by: Andy Shevchenko
---
arch/x86/include/asm/acpi_table.h | 49
On 15.11.18 18:58, Andy Shevchenko wrote:
> New callback will supply necessary information, for example,
> to ACPI SPCR table.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/serial/ns16550.c | 14 ++
> 1 file changed, 14 insertions(+)
>
> diff --git a/drivers/serial/ns16550.c
On Thu, Nov 15, 2018 at 8:27 PM Alexander Graf wrote:
> On 15.11.18 18:58, Andy Shevchenko wrote:
> > Microsoft specifies a SPCR (Serial Port Console Redirection Table) [1].
> > Let's provide it in U-Boot.
> >
> > [1]
> >
On Thu, Nov 15, 2018 at 9:46 PM Simon Glass wrote:
> On 15 November 2018 at 09:58, Andy Shevchenko
> wrote:
> >
> > New callback will give a necessary information to fill up ACPI SPCR table,
> > for example. Maybe used later for other purposes.
> Seems useful to me.
Thanks. What do you think
On 15.11.18 21:01, Simon Glass wrote:
> Hi Alex,
>
> On 14 November 2018 at 00:34, Alexander Graf wrote:
>> On 11/06/2018 11:57 PM, Simon Glass wrote:
>>>
>>> The CPU uclass expects that all CPUs have a parent device which is a
>>> cpu-bus. Fix up the sandbox test DT to follow this convention.
Reorder the tmio_sd_set_clk_rate() function such that it handles all
of the clock requiests correctly. Specifically, before this patch,
clock request with (mmc->clock == 0 && mmc->clk_disable) could leave
the clock enabled, as the function would exit on if (!mmc->clock)
condition on top and will
Hi,
On 14 November 2018 at 18:07, Ryder Lee wrote:
> From: Weijie Gao
>
> This adds a general board file based on MT7623 SoCs from MediaTek.
>
> As this u-boot is loaded by MTK proprietary preloader, there is no
> low level initializtion codes.
>
> Signed-off-by: Weijie Gao
> Signed-off-by:
Hi Bin,
On 13 November 2018 at 17:14, Bin Meng wrote:
> Hi Simon,
>
> On Wed, Nov 14, 2018 at 4:02 AM Simon Glass wrote:
>>
>> On 13 November 2018 at 00:21, Bin Meng wrote:
>> > This adds a timebase_freq member to the 'struct cpu_platdata', to
>> > hold the "timebase-frequency" value in the
On 14 November 2018 at 18:08, Ryder Lee wrote:
>
> Many SoCs from MediaTek have a high-speed uart. This UART is compatible
> with the ns16550 in legacy mode. It has extra registers for high-speed
> mode which can reach a maximum baudrate at 921600.
>
> However this UART will no longer be
Hi Akashi-san,
On 14 November 2018 at 22:57, AKASHI, Takahiro
wrote:
> Hi Simon,
>
> On Wed, 14 Nov 2018 at 03:52, Simon Glass wrote:
>>
>> Hi Akahsi,
>>
>> On 5 November 2018 at 20:15, AKASHI Takahiro
>> wrote:
>> > Hello Simon,
>> >
>> > You said, in efi/lib_loader/efi_disk.c,
>> >
>> >
Hi all,
It was noticed that after resetting the U-Boot environment ("env
default -f -a") some variables are missing, and being added back after
"reset". E.g. in my case it's next variables:
board_name=am57xx_evm_reva3
ethaddr=fc:0f:4b:7b:27:9c
fastboot.board_rev=A.3A
Hi Alex,
On 14 November 2018 at 00:34, Alexander Graf wrote:
> On 11/06/2018 11:57 PM, Simon Glass wrote:
>>
>> The CPU uclass expects that all CPUs have a parent device which is a
>> cpu-bus. Fix up the sandbox test DT to follow this convention. This allow
>> the code in smbios_write_type4_dm()
On Thu, Nov 15, 2018 at 8:22 PM Alexander Graf wrote:
> On 15.11.18 18:58, Andy Shevchenko wrote:
> > New callback will give a necessary information to fill up ACPI SPCR table,
> > for example. Maybe used later for other purposes.
> > +/* REVISIT: ACPI GAS specification implied */
>
> What does
On 15.11.18 20:31, Andy Shevchenko wrote:
> On Thu, Nov 15, 2018 at 8:22 PM Alexander Graf wrote:
>> On 15.11.18 18:58, Andy Shevchenko wrote:
>>> New callback will give a necessary information to fill up ACPI SPCR table,
>>> for example. Maybe used later for other purposes.
>
>>> +/* REVISIT:
On 15.11.18 06:34, Jonathan Gray wrote:
> On Sun, Sep 23, 2018 at 02:33:47PM +0200, Heinrich Schuchardt wrote:
>> Since GRUB patch d0c070179d4d ("arm/efi: Switch to arm64 linux loader",
>> 2018-07-09) we do not need a workaround for GRUB on 32bit ARM anymore.
>>
>> So let's eliminate function
On Thu, Nov 15, 2018 at 08:58:15AM -0500, Tom Rini wrote:
> The latest version of pytest (4.0.0) makes some of the code we have in
> test/py/conftest.py a fatal error that needs to be migrated.
> Unfortunately this in turn requires changes that don't exist in older
> versions of pytest such as
On Thu, Nov 15, 2018 at 11:04:50AM +0530, Lokesh Vutla wrote:
> Based on the MCU R5 efuse settings, R5F cores in MCU domain
> either work in split mode or in lock step mode.
>
> If efuse settings are in lockstep mode: ROM release R5 cores
> and SPL continues to run on the R5 core is lockstep
On Wed, Nov 14, 2018 at 12:49:45AM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks,
> Jagan.
>
> The following changes since commit 454cf76184c65426b68033a23da086e73663f2fc:
>
> Prepare v2018.11-rc3 (2018-10-29 16:04:26 -0400)
>
> are available in the Git repository
On 15 November 2018 at 13:02, Tom Rini wrote:
>
> On Thu, Nov 15, 2018 at 12:21:15PM -0800, Simon Glass wrote:
> > Hi Tom,
> >
> > On 15 November 2018 at 08:32, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > The following changes since commit
> > > 208ecbad2ea8e8f3c9933213867addf16f4a:
> > >
Hi Andy,
On 15 November 2018 at 09:58, Andy Shevchenko
wrote:
> Cache the value of the reg-io-width property for the future use.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/serial/ns16550.c | 1 +
> include/ns16550.h| 4 +++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
>
Hi Andy,
On 15 November 2018 at 09:58, Andy Shevchenko
wrote:
>
> New callback will give a necessary information to fill up ACPI SPCR table,
> for example. Maybe used later for other purposes.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/serial/serial-uclass.c | 21 +
HI Andy,
On 15 November 2018 at 11:37, Andy Shevchenko wrote:
> On Thu, Nov 15, 2018 at 8:30 PM Alexander Graf wrote:
>> On 15.11.18 18:58, Andy Shevchenko wrote:
>> > New callback will supply necessary information, for example,
>> > to ACPI SPCR table.
>
>> > +static int
Hi Paul, hi everyone,
we had the same problem with our olinuxino-a64, but we were able to
solve it by using an old patch series proposed by Icenowy Zheng.
We extended the *.dts with content of the current torvalds/Linux master
branch to contain an emac configuration, which basically results in
On 11/15/2018 08:47 PM, Alexander Weidinger wrote:
> Hi Paul, hi everyone,
>
> we had the same problem with our olinuxino-a64, but we were able to
> solve it by using an old patch series proposed by Icenowy Zheng.
>
> We extended the *.dts with content of the current torvalds/Linux master
>
Hello Boris,
Missatge de Boris Brezillon del dia dj.,
15 de nov. 2018 a les 16:58:
>
> Hello Enric,
>
> Miquel and I recently reworked drivers/mtd/mtdpart.c to get MTD
> partitions exposed as MTD devices (as is done in Linux) instead of
> having yet another abstraction to handle them (see what's
On 14 November 2018 at 01:01, Benjamin Gaignard
wrote:
> From: Benjamin Gaignard
>
> Protect configuration registers with a hardware spinlock.
>
> If a hwspinlock is defined in the device-tree node used it
> to be sure that none of the others processors on the SoC could
> change the
Hi Baruch,
On Wed, Nov 14, 2018 at 5:07 AM Baruch Siach wrote:
>
> Hi Ricardo,
>
> On Tue, Nov 13, 2018 at 11:42:44AM -0200, Ricardo Salveti wrote:
> > On Thu, Sep 6, 2018 at 12:52 PM Fabio Estevam wrote:
> > > On Thu, Sep 6, 2018 at 12:42 PM, Baruch Siach wrote:
> > >
> > > > I tested current
On Thu, 15 Nov 2018 23:18:46 +0100
Enric Balletbo Serra wrote:
> Hello Boris,
>
> Missatge de Boris Brezillon del dia dj.,
> 15 de nov. 2018 a les 16:58:
> >
> > Hello Enric,
> >
> > Miquel and I recently reworked drivers/mtd/mtdpart.c to get MTD
> > partitions exposed as MTD devices (as is
Hi Bin,
On Tue, 2018-11-13 at 00:22 -0800, Bin Meng wrote:
> Implement arch_cpu_init() to do some basic architecture level cpu
> initialization, like FPU enable, etc.
>
> Signed-off-by: Bin Meng
> ---
>
> arch/riscv/cpu/cpu.c | 21 +
> 1 file changed, 21 insertions(+)
>
>
On Wed, 2018-11-14 at 09:23 +0100, Alexander Graf wrote:
> On 11/12/2018 08:57 PM, Heinrich Schuchardt wrote:
> > qemu-riscv32_defconfig and qemu-riscv64_defconfig do not supply a
> > timer.
> > This causes the EFI selftest to hang on tests which require a
> > timer.
> >
> > So let's disable
On 14 November 2018 at 01:01, Benjamin Gaignard
wrote:
> From: Benjamin Gaignard
>
> This is uclass for Hardware Spinlocks.
> It implements two mandatory operations: lock and unlock
> and one optional relax operation.
>
> Signed-off-by: Benjamin Gaignard
> ---
> version 2:
> - use -ETIMEDOUT
On 14 November 2018 at 01:01, Benjamin Gaignard
wrote:
> From: Benjamin Gaignard
>
> Add hardware spinlock in the list of the clocks.
>
> Signed-off-by: Benjamin Gaignard
> ---
> drivers/clk/clk_stm32mp1.c | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass
Hi Bin,
On 4 October 2018 at 02:25, Bin Meng wrote:
>
> Hi Simon,
>
> On Tue, Oct 2, 2018 at 8:25 PM Simon Glass wrote:
> >
> > This macro should have two parameters, not one. Fix it so that it
> > correctly resolves to _ret when logging is disabled.
> >
> > Signed-off-by: Simon Glass
> > ---
On 13 November 2018 at 15:39, Marek Vasut wrote:
> Add HS400 properties parsing support to mmc_of_parse().
>
> Signed-off-by: Marek Vasut
> Cc: Tom Rini
> Cc: Jaehoon Chung
> Cc: Jean-Jacques Hiblot
> Cc: Kishon Vijay Abraham I
> Cc: Peng Fan
> Cc: Simon Glass
> ---
>
Hi Tom,
On 9 November 2018 at 10:43, Tom Rini wrote:
> On Tue, Oct 02, 2018 at 05:22:42AM -0600, Simon Glass wrote:
>
>> It can confusing when U-Boot SPL hangs for no obvious reason, when it is
>> unable to load U-Boot. Add a message to indicate the cause.
>>
>> Signed-off-by: Simon Glass
>>
Hi Tom,
On 9 November 2018 at 10:43, Tom Rini wrote:
> On Tue, Oct 02, 2018 at 05:22:34AM -0600, Simon Glass wrote:
>> The bloblist is normally set up in SPL ready for use by U-Boot. Add
>> a simple implementation of this to the common SPL code.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>>
On 14 November 2018 at 21:06, Heiko Schocher wrote:
> store fdt header member with name in U-Boot
> Environment variable with name .
>
> for example to get the total length of the fdt and store
> it in filesize, call:
>
> fdt header get filesize totalsize
>
> For membernames look into fdt header
On 14 November 2018 at 01:01, Benjamin Gaignard
wrote:
> Implement hardware spinlock support for STM32MP1.
>
> Signed-off-by: Benjamin Gaignard
> ---
> version 2:
> - remove useless include
> - add a private structure to store base address
> - be more verbose in configuration flag description
>
On Thu, Nov 15, 2018 at 04:07:59PM -0800, Simon Glass wrote:
> Hi Tom,
>
> On 9 November 2018 at 10:43, Tom Rini wrote:
> > On Tue, Oct 02, 2018 at 05:22:34AM -0600, Simon Glass wrote:
> >> The bloblist is normally set up in SPL ready for use by U-Boot. Add
> >> a simple implementation of this
Hi Tom,
On 15 November 2018 at 16:10, Tom Rini wrote:
> On Thu, Nov 15, 2018 at 04:07:59PM -0800, Simon Glass wrote:
>> Hi Tom,
>>
>> On 9 November 2018 at 10:43, Tom Rini wrote:
>> > On Tue, Oct 02, 2018 at 05:22:34AM -0600, Simon Glass wrote:
>> >> The bloblist is normally set up in SPL ready
This efi_selftest tests HII database protocol and HII string protocol.
Signed-off-by: AKASHI Takahiro
---
lib/efi_selftest/Makefile|1 +
lib/efi_selftest/efi_selftest_hii.c | 1046 ++
lib/efi_selftest/efi_selftest_hii_data.c | 452 ++
3
This patch is a place holder for HII configuration routing protocol and
HII configuration access protocol.
Signed-off-by: AKASHI Takahiro
---
include/efi_api.h | 157
include/efi_loader.h| 4 +
lib/efi_loader/Makefile | 2 +-
We should use a macro rather than hard-coding the SPL prompt to 'spl'
since the code can be used by TPL too. Add a macro that works for both
and use it in various places.
This allows TPL to use the same code without printing confusing messages.
Note that the string is lower case ('spl', 'tpl')
It is sometimes useful to log information in SPL and TPL. Add support for
this.
Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
---
Changes in v3:
- Add comments to the log_ret() functions to indicate usage
- Update log_msg_ret() to make use of the message and avoid a warning
Changes in v2:
At present we have no standard way of passing information from SPL to
U-Boot. Such information may be the size of DRAM banks or some information
about the reset state of the machine,for example.
This series first adds a bloblist, which allows a list of 'blobs' to be
created, each with a tag so
It is sometimes useful to restart sandbox with some particular flags to
test certain functionality. Add a new method to ConsoleSandbox to handle
this, without changing the existing APIs.
Signed-off-by: Simon Glass
Acked-by: Stephen Warren
---
Changes in v3: None
Changes in v2:
- Add back a
At present os_jump_to_image() jumps to a given image, and this is written
to a file. But it is useful to be able to jump to a file also.
To avoid duplicating code, split out the implementation of
os_jump_to_image() into a new function that jumps to a file.
Signed-off-by: Simon Glass
---
The bloblist is normally set up in SPL ready for use by U-Boot. Add
a simple implementation of this to the common SPL code.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/spl/spl.c | 18 --
include/spl.h| 27 +++
2
Hi Bin,
On 15 November 2018 at 17:43, Bin Meng wrote:
>
> Hi Simon,
>
> On Fri, Nov 16, 2018 at 8:08 AM Simon Glass wrote:
> >
> > Hi Bin,
> >
> > On 4 October 2018 at 02:25, Bin Meng wrote:
> > >
> > > Hi Simon,
> > >
> > > On Tue, Oct 2, 2018 at 8:25 PM Simon Glass wrote:
> > > >
> > > >
Allow for handling keyboard layout package in HII database protocol.
A package can be added or deleted in HII database protocol, but
we don't set 'current' keyboard layout as there is no driver that
requests a keyboard layout.
Signed-off-by: AKASHI Takahiro
---
include/efi_api.h| 11
From: Leif Lindholm
This patch provides enough implementation of the following protocols to
run EDKII's Shell.efi and UEFI SCT:
* EfiHiiDatabaseProtocol
* EfiHiiStringProtocol
Not implemented are:
* ExportPackageLists()
* RegisterPackageNotify()/UnregisterPackageNotify()
*
At present sandbox calls malloc() from various places in the OS layer and
this results in calls to U-Boot's malloc() implementation. It is better to
use the on in the OS layer, since it does not mix allocations with the
main U-Boot code.
Fix this by replacing calls with malloc() to os_malloc(),
Add support for locating a bloblist in U-Boot that has been set up by SPL.
It is copied into RAM during relocation.
Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/board_f.c | 34 +++
We have a few things in the memory map now, so add documentation for this
to avoid confusion. Also note that it is possible to run all tests now.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
board/sandbox/README.sandbox | 14 +-
1 file changed, 13
There is some basic informaton that SPL normally wants to pass through to
U-Boot, such as the SDRAM size and bank information.
Mkae use of the new bloblist structure for this. Add a new 'handoff' blob
which is set up in SPL and passed to U-Boot proper. Also adda test for
sandbox_spl that checks
The current method of starting U-Boot from U-Boot adds arguments to pass
the memory file through, so that memory is preserved. This is fine for a
single call, but if we call from TPL -> SPL -> U-Boot the arguments build
up and we have several memory files in the argument list.
Adjust the
Add a unit test for the bloblist functionality and enable bloblist for
sandbox.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/Kconfig | 1 +
include/test/suites.h | 1 +
test/Makefile | 1 +
test/bloblist.c | 187
The old 'sb' command was deprecated in 2015 and replaced with 'host'.
Remove the remaining users and the command, so that the name is available
for other purposes.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
cmd/host.c | 5 -
doc/README.trace
HII database protocol is the last missing (major?) piece of code so that
we can run unmodified EDKII's shell and UEFI SCT on EFI-enabled u-boot.
The original code was initially written by Leif and Rob a year ago[1],
and now I'm reworking it. The implementation has not been much
enhanced from the
At present these subsystems are only supported in U-Boot proper but it is
sometimes necessary to support them in SPL, or even TPL. Update the
Kconfig and Makefile to support this. Also adjust GPIO so that it can be
used in TPL if required.
Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
---
At present there is no standard way in U-Boot to pass information from SPL
to U-Boot proper. But sometimes SPL wants to convey information to U-Boot
that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM
then it might want to pass the size of SDRAM, or the location of each
bank,
Rather than having a negative option, make this a positive option and
enable it by default. This makes it easier to understand.
Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/spl/Kconfig | 17 +
common/spl/spl.c | 2 +-
Most architectures use jump_to_image_no_args() to jump from SPL to U-Boot.
At present sandbox is special in that it jumps in its
spl_board_load_image() call. This is not strictly correct, and means that
sandbox misses out some parts of board_init_r(), just as calling
bloblist_finish(), for
Add a description of the purpose of bloblist and how to use it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
doc/README.bloblist | 82 +
1 file changed, 82 insertions(+)
create mode 100644 doc/README.bloblist
diff --git
At present we don't have a test that of-platdata can be accessed in SPL.
Add this in as a command-line option to SPL.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Drop the wildcard in the .lds file as it is not needed
arch/sandbox/cpu/spl.c | 14 ++
1 - 100 of 134 matches
Mail list logo