Re: [U-Boot] [PATCH v3 7/9] pinctrl: stm32: Add get_pin_muxing() ops

2018-10-18 Thread Simon Glass
Hi Patrice, On 9 October 2018 at 07:31, Patrice Chotard wrote: > Add get_pin_muxing() ops to obtain the pin muxing description > a given pin index. > > Signed-off-by: Patrice Chotard > --- > > Changes in v3: None > Changes in v2: None > > drivers/pinctrl/pinctrl_stm32.c | 77 >

Re: [U-Boot] [PATCH 0/4] Add adc uclass's channel mask and conversion helpers and enhance adc cmd

2018-10-18 Thread Simon Glass
Hi Fabrice, On 11 October 2018 at 10:00, Fabrice Gasnier wrote: > This series adds ADC uclass's helpers to > - retrieve the ADC device available channels > - ease conversions to standard unit (µV) > - enhance 'adc' command to print information on available ADC channels > - enhance 'adc' command t

Re: [U-Boot] [U-Boot,11/45] rtc: Allow use of RTC in SPL and TPL

2018-10-18 Thread Simon Glass
Hi Bin, On 12 October 2018 at 20:46, Bin Meng wrote: > Hi Heinrich, > > On Fri, Oct 12, 2018 at 3:56 AM Heinrich Schuchardt > wrote: >> >> On 10/11/2018 09:21 PM, Heinrich Schuchardt wrote: >> > >> > On 10/01/2018 08:22 PM, Simon Glass wrote: >> >> Add Kconfig options so that the RTC can be use

Re: [U-Boot] [PATCH v3 9/9] pinctrl: sandbox: Add get_pin_muxing ops support

2018-10-18 Thread Simon Glass
On 9 October 2018 at 07:31, Patrice Chotard wrote: > Add get_pin_mux ops support to display the pin muxing > description of the sandbox_pins[] > > Signed-off-by: Patrice Chotard > --- > > Changes in v3: > - Fix typo > > Changes in v2: None > > drivers/pinctrl/pinctrl-sandbox.c | 15

Re: [U-Boot] [PATCH 4/4] cmd: adc: add an option to scan some or all available channels

2018-10-18 Thread Simon Glass
Hi Fabrice, On 11 October 2018 at 10:00, Fabrice Gasnier wrote: > Add new option to 'adc' command to do a single scan of: > - some channel(s), using mask argument > - all channels available on an ADC device (when optional mask is omitted). > > Signed-off-by: Fabrice Gasnier > --- > > cmd/adc.c

Re: [U-Boot] [PATCH] debug uart: don't print before initialization

2018-10-18 Thread Simon Glass
Hi Simon, On 17 October 2018 at 14:02, Simon Goldschmidt wrote: > > > Simon Goldschmidt schrieb am Mi., 10. Okt. > 2018, 22:16: >> >> On Wed, Oct 10, 2018 at 10:03 PM Simon Glass wrote: >> > >> > Hi Simon, >> > >> > On 10 October 2018 at 07:28, Simon Goldschmidt >> > wrote: >> > > >> > > + Mar

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-10-18 Thread Simon Glass
On 9 August 2018 at 13:04, Simon Goldschmidt wrote: > If _debug_uart_putc() is called before _debug_uart_init(), the > ns16550 debug uart driver hangs in a tight loop waiting for the > tx FIFO to get empty. > > As this can happen via a printf sneaking in before the port calls > debug_uart_init(),

Re: [U-Boot] [PATCH v2 02/14] x86: Ensure no instruction sets of MMX/SSE are generated in 64-bit build

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > With the '-march=core2' fix, it seems that we have some luck that > the 64-bit U-Boot boots again. However if we examine the disassembly > codes there are still SSE instructions elsewhere which means passing > cpu type to GCC is not enough to prevent

Re: [U-Boot] [PATCH v3 1/9] dm: pinctrl: Add get_pin_muxing() ops

2018-10-18 Thread Simon Glass
Hi Patrice, On 9 October 2018 at 07:31, Patrice Chotard wrote: > Add get_pin_muxing() which allows to display the muxing > of a given pin belonging to a pin-controller. > > Signed-off-by: Patrice Chotard > --- > > Changes in v3: > - Replace const char **buf parameter by char *buf, int size para

Re: [U-Boot] [PATCH 3/4] cmd: adc: print single conversion also in uV

2018-10-18 Thread Simon Glass
On 11 October 2018 at 10:00, Fabrice Gasnier wrote: > Use newly introduced adc_raw_to_uV() API to print conversion result > both as raw value and micro-volts by default. > > Signed-off-by: Fabrice Gasnier > --- > > cmd/adc.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > Rev

Re: [U-Boot] [PATCH v3 4/9] cmd: pinmux: Add pinmux command

2018-10-18 Thread Simon Glass
On 9 October 2018 at 07:31, Patrice Chotard wrote: > pinmux command allows to : > - list all pin-controllers available on platforms > - select a pin-controller > - display the muxing of all pins of the current pin-controller >or all pin-controllers depending of given options > > Signed-off-

Re: [U-Boot] [PATCH v3 07/11] m68k: add initial dts files for all m68k boards

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds basic dts files for all the m68k boards. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - new patch > Changes for v3: > - none > --- > arch/m68k/dts/M5208EVBE.dts | 22 +++ > arch/m68k/d

Re: [U-Boot] [PATCH v3 11/11] configs: remove CONFIG_SYS_DSPI_XX references

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch removes CONFIG_SYS_DSPI_XX options from > include/configs "m68k" .h board files, since CTAR > registers are now set with default values in the cf_spi > driver initialization, and configurable by devicetree. > > Note, these options

Re: [U-Boot] [PATCH 1/1] x86: qemu: enable CONFIG_SPL_DM_RTC

2018-10-18 Thread Simon Glass
On 11 October 2018 at 13:50, Heinrich Schuchardt wrote: > Since commit 380d4f787a3f ("rtc: Allow use of RTC in SPL and TPL") > qemu-x86_64_defconfig does not boot anymore. > > Fixes: 380d4f787a3f ("rtc: Allow use of RTC in SPL and TPL") > Signed-off-by: Heinrich Schuchardt > --- > configs/qemu-x

Re: [U-Boot] [PATCH] drivers: serial: probe all serial devices

2018-10-18 Thread Simon Glass
Hi Bin, On 15 October 2018 at 06:28, Bin Meng wrote: > On Mon, Oct 15, 2018 at 8:15 PM Vabhav Sharma wrote: >> >> Serial subsystem search and probe only one first serial >> device and unable to use remaining available UART devices >> >> This patch changes the logic to probe all available serial

Re: [U-Boot] [PATCH 2/4] cmd: adc: add info on channel mask

2018-10-18 Thread Simon Glass
Hi Fabrice, On 11 October 2018 at 10:00, Fabrice Gasnier wrote: > Enhance adc info command to report also the channel mask. > > Signed-off-by: Fabrice Gasnier > --- > > cmd/adc.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/cmd/adc.c b/cmd/adc.c > index c8857ed.

Re: [U-Boot] [PATCH 05/12] x86: qemu: enable CONFIG_SPL_DM_RTC

2018-10-18 Thread Simon Glass
On 13 October 2018 at 09:06, Bin Meng wrote: > From: Heinrich Schuchardt > > Since commit 380d4f787a3f ("rtc: Allow use of RTC in SPL and TPL") > qemu-x86_64_defconfig does not boot anymore. > > Fixes: 380d4f787a3f ("rtc: Allow use of RTC in SPL and TPL") > Signed-off-by: Heinrich Schuchardt > S

Re: [U-Boot] [PATCH v3 30/31] test: dm: virtio: Add test cases for virtio uclass

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:21, Bin Meng wrote: > Now that we have a sandbox virtio transport driver, add some test > cases to test virtio uclass driver. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - Exclude VIRTIO_BLK in sandbox_noblk_defconfig build > > Changes in v2: > - new patch to

Re: [U-Boot] [PATCH] watchdog: aspeed: restore default value of reset_mask

2018-10-18 Thread Simon Glass
On 16 October 2018 at 05:57, Cédric Le Goater wrote: > This is required for the current Linux kernel to reboot. It should also > probably be fixed in Linux. > > Signed-off-by: Cédric Le Goater > --- > arch/arm/include/asm/arch-aspeed/wdt.h | 9 + > drivers/watchdog/ast_wdt.c

Re: [U-Boot] [PATCH v2 03/14] x86: doc: Mention qemu-x86_64 support

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > Currently only 32-bit U-Boot for QEMU x86 is documented. Mention > the 64-bit support. > > Signed-off-by: Bin Meng > Reviewed-by: Heinrich Schuchardt > > --- > > Changes in v2: > - some rewording in the doc per Heinrich's review comments > > doc/RE

Re: [U-Boot] [PATCH v2 11/14] x86: quark: Specify X86_TSC_TIMER_EARLY_FREQ

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > Specify X86_TSC_TIMER_EARLY_FREQ for Quark SoC so that TSC as > the early timer can be supported. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Change the config option value to 400 which indicates 400 MHz > > arch/x86/cpu/quark/Kconfig

Re: [U-Boot] [PATCH v3 09/11] configs: enable use of DT for all m68k boards

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > Enable DT usage for all m68k boards. To provide a > working single binary, the dts has been kept as embedded. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - new patch > Changes for v3: > - none > --- > configs/M5208EVBE_de

Re: [U-Boot] [PATCH 07/12] x86: put global data pointer into the .data section

2018-10-18 Thread Simon Glass
On 13 October 2018 at 09:06, Bin Meng wrote: > From: Heinrich Schuchardt > > On x86_64 the field global_data_ptr is assigned before relocation. As > sections for uninitialized global data (.bss) overlap with the relocation > sections (.rela) this destroys the relocation table and leads to spuriou

Re: [U-Boot] [PATCH v11 08/16] regmap: Add raw read/write functions

2018-10-18 Thread Simon Glass
On 15 October 2018 at 01:24, Mario Six wrote: > The regmap functions currently assume that all register map accesses > have a data width of 32 bits, but there are maps that have different > widths. > > To rectify this, implement the regmap_raw_read and regmap_raw_write > functions from the Linux k

Re: [U-Boot] [PATCH v3 03/31] riscv: bootm: Add dm_remove_devices_flags() call to do_bootm_linux()

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:20, Bin Meng wrote: > This adds a call to dm_remove_devices_flags() to do_bootm_linux() > so that drivers that have one of the removal flags set (e.g. > DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may do some > last-stage cleanup before the OS is started. > > arm an

Re: [U-Boot] [PATCH v3 05/11] drivers: serial: mcfuart: add Kconfig option

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds missing CONFIG_MCFUART to Kconfig. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - better Kconfig help > Changes for v3: > - none > --- > drivers/serial/Kconfig | 9 + > 1 file changed, 9 insertions(

Re: [U-Boot] efi_loader: handling of global data in *.efi files

2018-10-18 Thread Simon Glass
Hi Heinrich, On 13 October 2018 at 04:40, Heinrich Schuchardt wrote: > Hello Alex, hello Simon, > > in arch/arm/lib/elf_aarch64_efi.lds we merge the .bss section into the > .data section with a comment by Simon: > > "The EFI loader doesn't seem to like a .bss section, so we stick it into > .data"

Re: [U-Boot] [PATCH 1/1] sandbox: README: setting environment variables

2018-10-18 Thread Simon Glass
On 14 October 2018 at 13:40, Heinrich Schuchardt wrote: > The command to set environment variables is setenv. > > Signed-off-by: Heinrich Schuchardt > --- > board/sandbox/README.sandbox | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v3 02/31] test: dm: core: Add test case for uclass driver's child_post_probe()

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:20, Bin Meng wrote: > Add test case to cover uclass driver's child_post_probe() method. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: None > Changes in v2: > - new patch to add test case for uclass driver's child_post_probe() > > include/dm/test.h | 1 + > tes

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-10-18 Thread Simon Glass
Hi Simon, On 17 October 2018 at 03:41, Simon Goldschmidt wrote: > On Wed, Oct 17, 2018 at 8:54 AM Alexander Graf wrote: >> >> >> >> On 16.10.18 21:33, Simon Goldschmidt wrote: >> > Currently, only the kernel can be compressed in a FIT image. >> > By moving the uncompression logic to 'fit_image_l

Re: [U-Boot] [PATCH v2 12/14] travis: Generate grub_x64.efi for qemu-x86_64

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > grub_x86.efi is for 32-bit QEMU. Generate the 64-bit one. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch to generate grub_x64.efi for qemu-x86_64 for travis-ci > > .travis.yml | 3 +++ > 1 file changed, 3 insertions(+) Reviewe

Re: [U-Boot] [PATCH v11 2/6] efi_loader: Drop setup_ok

2018-10-18 Thread Simon Glass
Hi, On 15 October 2018 at 11:16, Heinrich Schuchardt wrote: > On 10/15/2018 04:17 PM, Simon Glass wrote: >> This value is stored in data which appears to be read-only with sandbox on >> my Ubuntu 18.04 machine. In any case it is not good practice to store >> run-time data in a build-time linker l

Re: [U-Boot] [PATCH v3 08/11] m68k: enabling long jumps on mcf54x5 SoCs

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > Growing of binary size asks for long assembly jumps. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - new patch > Changes for v3: > - none > --- > arch/m68k/cpu/mcf547x_8x/start.S | 6 -- > 1 file changed, 4 insertions(+

Re: [U-Boot] [PATCH v11 3/6] sandbox: smbios: Update to support sandbox

2018-10-18 Thread Simon Glass
Hi Alex, On 16 October 2018 at 06:55, Alexander Graf wrote: > > > On 15.10.18 16:17, Simon Glass wrote: >> At present this code casts addresses to pointers so cannot be used with >> sandbox. Update it to use mapmem instead. >> >> Signed-off-by: Simon Glass > > Unfortunately this won't work. The

Re: [U-Boot] [PATCH v3 04/11] drivers: serial: mcfuart: add DT support

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds devicetree support to the mcfuart.c driver > and removes non DM code. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - remove non DM code > Changes for v3: > - none > --- > drivers/serial/mcfuart.c | 106

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-10-18 Thread Simon Glass
Hi Simon, On 16 October 2018 at 13:33, Simon Goldschmidt wrote: > Currently, only the kernel can be compressed in a FIT image. > By moving the uncompression logic to 'fit_image_load()', all types > of images can be compressed. > > This works perfectly for me when using a gzip'ed FPGA image in > a

Re: [U-Boot] [PATCH 1/1] sandbox: remove stray DEBUG

2018-10-18 Thread Simon Glass
On 14 October 2018 at 12:45, Heinrich Schuchardt wrote: > DEBUG should not be defined in production code. > Change printf() to debug() where this writes a debug message. > > Signed-off-by: Heinrich Schuchardt > --- > arch/sandbox/cpu/cpu.c | 8 > 1 file changed, 4 insertions(+), 4 delet

Re: [U-Boot] [PATCH v3 01/31] dm: core: Allow uclass to set up a device's child after it is probed

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:20, Bin Meng wrote: > Some buses need to set up their child devices after they are probed. > Support a common child_post_probe() method for the uclass. > > With this change, the two APIs uclass_pre_probe_device() and > uclass_post_probe_device() become symmetric. > > Signe

Re: [U-Boot] [PATCH v3 03/11] drivers: spi: cf_spi: convert to driver model

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > Converting to driver model and removes non-dm code. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - removed non DM code part > - add default setup of CTAR registers > - add DT CTAR register setup support > Changes for v3: >

Re: [U-Boot] [PATCH v3 3/9] dm: uclass: Add uclass_foreach_dev_probe

2018-10-18 Thread Simon Glass
Hi Patrick, On 15 October 2018 at 03:01, Patrice CHOTARD wrote: > Hi Bin > > On 10/12/2018 12:13 PM, Bin Meng wrote: >> Hi Patrice, >> >> On Fri, Oct 12, 2018 at 3:51 PM Patrice CHOTARD >> wrote: >>> >>> Hi Bin >>> >>> On 10/11/2018 11:06 AM, Bin Meng wrote: Hi Patrice, On Tue, O

Re: [U-Boot] [PATCH v2 10/14] x86: tsc: Introduce config option for early timer frequency

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > So far the TSC timer driver supports trying hardware calibration first > and using device tree as last resort for its running frequency as the > normal timer. > > However when it is used as the early timer, it only supports hardware > calibration and

Re: [U-Boot] [PATCH v2 13/14] travis: Update to use QEMU 3.0.0 for testing

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > This updates travis-ci to use QEMU 3.0.0 for testing. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch to update to use QEMU 3.0.0 for travis-ci testing > > .travis.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Rev

Re: [U-Boot] [PATCH v3 02/11] drivers: spi: cf_spi: add Kconfig option

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds cf_spi DM Kconfig option. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - new patch > Changes for v3: > - re-put SOFT_SPI in place, options are out of alphabetical order > --- > drivers/spi/Kconfig | 6 +

Re: [U-Boot] Please pull u-boot-dm

2018-10-18 Thread Simon Glass
Hi, On 17 October 2018 at 11:14, Stephen Warren wrote: > On 10/16/18 8:33 PM, Bin Meng wrote: >> >> On Wed, Oct 17, 2018 at 7:01 AM Bin Meng wrote: >>> >>> >>> Hi Stephen, >>> >>> On Wed, Oct 17, 2018 at 12:27 AM Stephen Warren >>> wrote: On 10/15/18 5:43 PM, Bin Meng wrote:

Re: [U-Boot] [PATCH v3 06/11] m68k: architecture changes to support fdt

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds fdt support to the m68k architecture. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - add OF_CONTROL, DM and DM_SERIAL as default config options > for all cpu families > Changes for v3: > - none > --- > ar

Re: [U-Boot] [PATCH v3 2/9] dm: pinctrl: Add pinctrl_get_pin_name and pinctrl_get_pins_count

2018-10-18 Thread Simon Glass
On 9 October 2018 at 07:31, Patrice Chotard wrote: > Add pinctrl_get_pin_name() and pinctrl_get_pins_count() methods > to obtain pin's name and pin's muxing given a pin reference. > > This will be used by the new pinmux command. > > Signed-off-by: Patrice Chotard > --- > > Changes in v3: > - Rep

Re: [U-Boot] [PATCH] travis: Add sandbox/clang-7 support

2018-10-18 Thread Simon Glass
Hi Tom, On 9 October 2018 at 05:35, Tom Rini wrote: > On Mon, Oct 08, 2018 at 09:40:51PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 7 October 2018 at 12:20, Tom Rini wrote: >> > >> > To make testing with clang support easier, add sandbox/clang-7 >> > combination to our testing matrix. To fac

Re: [U-Boot] [PATCH v2 14/14] travis: Add qemu-x86_64 target for test.py testing

2018-10-18 Thread Simon Glass
On 13 October 2018 at 21:52, Bin Meng wrote: > Add qemu-x86_64 to the list of targets we use for test.py runs. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: None > > .travis.yml | 8 > 1 file changed, 8 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v3 04/31] dm: Add a new uclass driver for VirtIO transport devices

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:21, Bin Meng wrote: > This adds a new virtio uclass driver for “virtio” [1] family of > devices that are are found in virtual environments like QEMU, > yet by design they look like physical devices to the guest. > > The uclass driver provides child_pre_probe() and child_po

Re: [U-Boot] [PATCH v3 10/11] configs: add DM_SPI config option

2018-10-18 Thread Simon Glass
On 13 October 2018 at 16:34, Angelo Dureghello wrote: > This patch adds CONFIG_DM_SPI for all m68k boards using > the cf_spi.c driver (DSPI module). > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: > - new patch > Changes for v3: > - none > --- > configs/M52277EVB_defconfig

Re: [U-Boot] [PATCH v3 29/31] virtio: Add a Sandbox transport driver

2018-10-18 Thread Simon Glass
On 15 October 2018 at 03:21, Bin Meng wrote: > This driver provides support for Sandbox implementation of virtio > transport driver which is used for testing purpose only. > > Two drivers are provided. The 2nd one is a driver that lacks the > 'notify' op. > > Signed-off-by: Bin Meng > > --- > > C

Re: [U-Boot] [PATCH 2/2] pci: Change the first CFG read to Vendor ID in enumeration

2018-10-18 Thread Simon Glass
On 9 October 2018 at 02:07, Z.q. Hou wrote: > Hi Simon and Bin, > > Do I need to send the standalone patch 1/2 in version 2? I don't think that is needed, no. - SImon > > Thanks, > Zhiqiang > >> -Original Message- >> From: s...@google.com On Behalf Of Simon Glass >> Sent: 2018年10月9日 11

Re: [U-Boot] [U-Boot,11/45] rtc: Allow use of RTC in SPL and TPL

2018-10-18 Thread Bin Meng
Hi Simon, On Fri, Oct 19, 2018 at 11:25 AM Simon Glass wrote: > > Hi Bin, > > On 12 October 2018 at 20:46, Bin Meng wrote: > > Hi Heinrich, > > > > On Fri, Oct 12, 2018 at 3:56 AM Heinrich Schuchardt > > wrote: > >> > >> On 10/11/2018 09:21 PM, Heinrich Schuchardt wrote: > >> > > >> > On 10/01

[U-Boot] [PATCH 1/1] efi_selftest: do not write to linker generated array

2018-10-18 Thread Heinrich Schuchardt
Linker generated arrays may be stored in code sections of memory that are not writable. So let's allocate setup_ok as an array at runtime. This avoids an illegal memory access observed in the sandbox. Reported-by: Simon Glass Signed-off-by: Heinrich Schuchardt --- include/efi_selftest.h

Re: [U-Boot] [PATCH v11 2/6] efi_loader: Drop setup_ok

2018-10-18 Thread Heinrich Schuchardt
On 10/19/2018 05:25 AM, Simon Glass wrote: > Hi, > > On 15 October 2018 at 11:16, Heinrich Schuchardt wrote: >> On 10/15/2018 04:17 PM, Simon Glass wrote: >>> This value is stored in data which appears to be read-only with sandbox on >>> my Ubuntu 18.04 machine. In any case it is not good practic

Re: [U-Boot] [PATCH 2/2] ARM: qemu-arm: define fdt_addr_r

2018-10-18 Thread AKASHI Takahiro
On Thu, Oct 18, 2018 at 09:25:04AM +0200, Alexander Graf wrote: > > > On 18.10.18 00:25, Tuomas Tynkkynen wrote: > > Hi Alexander, > > > > On Tue, 16 Oct 2018 15:04:26 +0200 > > Alexander Graf wrote: > > > > ... > >>> > Glancing at cmd/pxe.c, > there is a problem though, in that i

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-10-18 Thread Simon Goldschmidt
On 19.10.2018 05:25, Simon Glass wrote: Hi Simon, On 17 October 2018 at 03:41, Simon Goldschmidt wrote: On Wed, Oct 17, 2018 at 8:54 AM Alexander Graf wrote: On 16.10.18 21:33, Simon Goldschmidt wrote: Currently, only the kernel can be compressed in a FIT image. By moving the uncompressio

Re: [U-Boot] U-Boot and The Boot Loader Specification

2018-10-18 Thread Wolfgang Denk
Dear Alexander, In message <2092760.TlMJupW03t@ada> you wrote: > > I played with the extlinux.conf format snippets from the U-Boot docs. > Upstream > extlinux docs are not really helpful, especially not for options regarding > dtb > files. And I tried a config based on the Boot Loader Spec: >

<    1   2