[U-Boot] [PATCH 22/30] riscv: remove unused labels in start.S

2018-10-19 Thread Lukas Auer
The labels nmi_vector, trap_vector and handle_reset in start.S are not used for RISC-V. Remove them. While we are here, also remove the code from the beginning of start.S, which stores the contents of a2 to memory. Only registers a0 and a1 contain information from the previous boot stage. There

[U-Boot] [PATCH 12/30] riscv: make use of the barrier functions from Linux

2018-10-19 Thread Lukas Auer
Replace the barrier functions in arch/riscv/include/asm/io.h with those defined in barrier.h, which is imported from Linux. This version is modified to remove the include statement of asm-generic/barrier.h, which is not available in u-boot or required. Signed-off-by: Lukas Auer --- Checkpatch

[U-Boot] [PATCH 24/30] riscv: save hart ID and device tree passed by prior boot stage

2018-10-19 Thread Lukas Auer
Store the hart ID and device tree passed by the prior boot stage (in a0 and a1) in registers s0 and s1. Replace one use of s1 in start.S to avoid overwriting it. The device tree is also stored in memory to make it available to u-boot with the configuration CONFIG_OF_PRIOR_STAGE. Signed-off-by:

[U-Boot] [PATCH 26/30] bdinfo: riscv: print fdt_blob address

2018-10-19 Thread Lukas Auer
Print the address of the u-boot device tree. Signed-off-by: Lukas Auer --- cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 60b438766d..a9692f7662 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -430,6 +430,8 @@ int do_bdinfo(cmd_tbl_t

[U-Boot] [PATCH 23/30] riscv: do not blindly modify the mstatus CSR

2018-10-19 Thread Lukas Auer
The mstatus CSR includes WPRI (writes preserve values, reads ignore values) fields and must therefore not be set to zero without preserving these fields. It is not apparent why mstatus is set to zero here since it is not required for u-boot to run. Remove it. This instruction and others encode

[U-Boot] [PATCH 29/30] dm: core: add missing prototype for ofnode_read_u64

2018-10-19 Thread Lukas Auer
Signed-off-by: Lukas Auer --- include/dm/ofnode.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 2fc9fa39a3..a7b8609cf4 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -216,6 +216,16 @@ static inline int

[U-Boot] [PATCH 25/30] riscv: qemu: use device tree passed by prior boot stage

2018-10-19 Thread Lukas Auer
QEMU provides a device tree, which is passed to u-boot using register a1. We are now able to directly select the device tree with the configuration CONFIG_OF_PRIOR_STAGE. Replace the hard-coded address in qemu-riscv with it. Signed-off-by: Lukas Auer --- board/emulation/qemu-riscv/qemu-riscv.c

[U-Boot] [PATCH 08/30] riscv: add Kconfig entries for the code model

2018-10-19 Thread Lukas Auer
RISC-V has two code models, medium low (medlow) and medium any (medany). Medlow limits addressable memory to a single 2 GiB range between the absolute addresses -2 GiB and +2 GiB. Medany limits addressable memory to any single 2 GiB address range. By default, medlow is selected on 32-bit systems

[U-Boot] [PATCH 30/30] riscv: qemu: detect and boot the kernel passed by QEMU

2018-10-19 Thread Lukas Auer
QEMU embeds the location of the kernel image in the device tree. Store this address in the environment as variable kernel_start and use it in CONFIG_BOOTCOMMAND to boot the kernel. Signed-off-by: Lukas Auer --- board/emulation/qemu-riscv/Kconfig | 1 +

[U-Boot] [PATCH 19/30] riscv: fix inconsistent use of spaces and tabs in start.S

2018-10-19 Thread Lukas Auer
Start.S uses both tabs and spaces after instructions. Fix this by only using tabs after instructions. Signed-off-by: Lukas Auer --- arch/riscv/cpu/start.S | 322 - 1 file changed, 161 insertions(+), 161 deletions(-) diff --git a/arch/riscv/cpu/start.S

[U-Boot] [PATCH 21/30] riscv: remove CONFIG_INIT_CRITICAL

2018-10-19 Thread Lukas Auer
CONFIG_INIT_CRITICAL is deprecated and not used for RISC-V. Remove it. Signed-off-by: Lukas Auer --- arch/riscv/cpu/start.S | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S index 88b4aaa1c0..f375a9316e 100644 ---

[U-Boot] [PATCH 15/30] riscv: treat undefined exception codes as reserved

2018-10-19 Thread Lukas Auer
Undefined exception codes currently lead to an out-of-bounds array access. Prevent this by treating undefined exception codes as "reserved". Signed-off-by: Lukas Auer --- arch/riscv/lib/interrupts.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 16/30] riscv: hang on unhandled exceptions

2018-10-19 Thread Lukas Auer
Hang on unhandled exceptions to prevent execution in a faulty state. Signed-off-by: Lukas Auer --- arch/riscv/lib/interrupts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/lib/interrupts.c b/arch/riscv/lib/interrupts.c index 32d0598750..3b74b76c70 100644 ---

[U-Boot] [PATCH 14/30] riscv: complete the list of exception codes

2018-10-19 Thread Lukas Auer
Only the first four exception codes are defined. Add the missing exception codes from the definition in RISC-V Privileged Architecture Version 1.10. Signed-off-by: Lukas Auer --- arch/riscv/lib/interrupts.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 11/30] riscv: fix use of incorrectly sized variables

2018-10-19 Thread Lukas Auer
The RISC-V arch incorrectly uses 32-bit instead of 64-bit variables in several places. Fix this. In addition, BITS_PER_LONG is set to 64 on RV64I systems. Signed-off-by: Lukas Auer --- arch/riscv/include/asm/io.h | 6 +++--- arch/riscv/include/asm/posix_types.h | 6 +++---

[U-Boot] [PATCH 17/30] riscv: implement the invalidate_icache_* functions

2018-10-19 Thread Lukas Auer
Implement the functions invalidate_icache_range() and invalidate_icache_all(). RISC-V does not have instructions for explicit cache-control. The functions in this patch are implemented with the memory ordering instruction for synchronizing the instruction and data streams. This may be implemented

[U-Boot] [PATCH 27/30] riscv: qemu: support booting Linux

2018-10-19 Thread Lukas Auer
Support booting Linux (as payload of BBL) from FIT images. For this, the default CONFIG_SYS_BOOTM_LEN is increased to 16 MB, and the environment variables fdt_high and initrd_high are set to mark the device tree and initrd as in-place. Signed-off-by: Lukas Auer ---

[U-Boot] [PATCH 20/30] riscv: align mtvec on a 4-byte boundary

2018-10-19 Thread Lukas Auer
The machine trap-vector base address (mtvec) must be aligned on a 4-byte boundary. Add the necessary align directive to trap_entry. This patch also removes the global directive for trap_entry, which is not required. Signed-off-by: Lukas Auer --- arch/riscv/cpu/start.S | 2 +- 1 file changed,

[U-Boot] [PATCH 28/30] riscv: align bootm implementation with that of other architectures

2018-10-19 Thread Lukas Auer
The bootm implementation of RISC-V diverges from that of other architectures. Update it to match the implementation of other architectures. The ARM implementation is used as a reference. This adds the following features and changes to RISC-V. * Add support for the BOOTM_STATE_OS_FAKE_GO command *

[U-Boot] [PATCH 10/30] riscv: enable -fdata-sections

2018-10-19 Thread Lukas Auer
Enable the -fdata-sections compiler option for RISC-V. Buildman reports the binary size decrease from this as 8365.3 bytes. Signed-off-by: Lukas Auer --- arch/riscv/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index

[U-Boot] [PATCH 09/30] riscv: move target selection into separate file

2018-10-19 Thread Lukas Auer
Move the target selection into a separate file (Kconfig.board) to avoid clutter once we support more boards. Signed-off-by: Lukas Auer --- arch/riscv/Kconfig | 17 ++--- arch/riscv/Kconfig.board | 14 ++ 2 files changed, 16 insertions(+), 15 deletions(-) create

[U-Boot] [PATCH 18/30] riscv: invalidate the instruction cache before jumping to Linux

2018-10-19 Thread Lukas Auer
Signed-off-by: Lukas Auer --- arch/riscv/lib/bootm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c index a7a9fb921b..bc1d4b2864 100644 --- a/arch/riscv/lib/bootm.c +++ b/arch/riscv/lib/bootm.c @@ -38,6 +38,7 @@ int do_bootm_linux(int flag,

[U-Boot] [PATCH 07/30] riscv: set -march and -mabi based on the Kconfig configuration

2018-10-19 Thread Lukas Auer
Use the new Kconfig entries to construct the ISA string for the -march compiler flag. The -mabi compiler flag is selected based on the base integer instruction set. With this change, the C (compressed instructions) ISA extension is now enabled for all boards with CONFIG_RISCV_ISA_C set. Buildman

[U-Boot] [PATCH 06/30] riscv: add Kconfig entries for the C and A ISA extensions

2018-10-19 Thread Lukas Auer
Add Kconfig entries for the C (compressed instructions) and A (atomic instructions) ISA extensions. Only the C ISA extension is selectable. This matches the configuration in Linux. The Kconfig entries are not used yet. A follow-up patch will select the appropriate compiler flags based on the

[U-Boot] [PATCH 13/30] riscv: do not reimplement generic io functions

2018-10-19 Thread Lukas Auer
RISC-V u-boot reimplements the generic io functions from asm-generic/io.h. Remove the redundant implementation and include the generic io.h instead. Signed-off-by: Lukas Auer --- arch/riscv/include/asm/io.h | 31 +++ 1 file changed, 3 insertions(+), 28 deletions(-)

[U-Boot] [PATCH 05/30] riscv: select CONFIG_PHYS_64BIT on RV64I systems

2018-10-19 Thread Lukas Auer
CONFIG_PHYS_64BIT should be enabled on RV64I systems. Select it. Signed-off-by: Lukas Auer --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 7c76b4d664..b81e0d990a 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@

[U-Boot] [PATCH 03/30] dts: riscv: update makefile to also clean the RISC-V dts directory

2018-10-19 Thread Lukas Auer
Signed-off-by: Lukas Auer --- dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/Makefile b/dts/Makefile index 9a9a3d5c98..cd6e9a968e 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -61,4 +61,4 @@ dtbs: $(obj)/dt.dtb $(obj)/dt-spl.dtb clean-files := dt.dtb.S

[U-Boot] [PATCH 04/30] riscv: rename CPU_RISCV_32/64 to match architecture names ARCH_RV32I/64I

2018-10-19 Thread Lukas Auer
RISC-V defines the base integer instruction sets as RV32I and RV64I. Rename CPU_RISCV_32 and CPU_RISCV_64 to ARCH_RV32I and ARCH_64I to match this convention. Signed-off-by: Lukas Auer --- arch/riscv/Kconfig | 16 arch/riscv/lib/setjmp.S | 2 +-

[U-Boot] [PATCH 02/30] riscv: ignore device tree binaries

2018-10-19 Thread Lukas Auer
Ignore all device tree binaries in arch/riscv/dts. Signed-off-by: Lukas Auer --- arch/riscv/dts/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/riscv/dts/.gitignore diff --git a/arch/riscv/dts/.gitignore b/arch/riscv/dts/.gitignore new file mode 100644 index

[U-Boot] [PATCH 01/30] tools: .gitignore: add prelink-riscv

2018-10-19 Thread Lukas Auer
Ignore tools/prelink-riscv. Signed-off-by: Lukas Auer --- tools/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.gitignore b/tools/.gitignore index c8cdaef90c..e5ede22842 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -24,6 +24,7 @@ /mksunxiboot /mxsboot /ncb

[U-Boot] [PATCH 00/30] General fixes / cleanup for RISC-V and improvements to qemu-riscv

2018-10-19 Thread Lukas Auer
This patch series includes general fixes and cleanup for RISC-V. It also adds support for booting Linux on qemu-riscv. At the moment, only single-core systems are supported. Support for multi-core systems will be added with a future patch series. To boot Linux on qemu-riscv, Linux must be

[U-Boot] [PATCH] imx: imx6: perform gpr_init only on suitable cpu types

2018-10-19 Thread cniedermaier
From: Christoph Niedermaier If the function gpr_init is used in a common MX6 spl implementation we have to ensure that it is only called for suitable cpu types, otherwise it breaks hardware parts like enet1, can1, can2, etc. Signed-off-by: Christoph Niedermaier --- arch/arm/mach-imx/mx6/soc.c

Re: [U-Boot] [PULL] u-boot-sh/master

2018-10-19 Thread Tom Rini
On Fri, Oct 19, 2018 at 12:29:10PM +0200, Marek Vasut wrote: > The following changes since commit e3beca3a2fe172ca707a0e70310f9f7ebd3b3f0f: > > Merge tag 'signed-efi-2018.11' of git://github.com/agraf/u-boot > (2018-10-17 07:20:52 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-10-19 Thread Marek Vasut
On 10/19/2018 04:12 PM, Tom Rini wrote: > On Fri, Oct 19, 2018 at 12:29:43PM +0200, Marek Vasut wrote: > >> The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: >> >> Merge tag 'arc-more-updates-for-2018.11-rc2-2' of >> git://git.denx.de/u-boot-arc (2018-10-15 07:20:07

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-10-19 Thread Tom Rini
On Fri, Oct 19, 2018 at 12:29:43PM +0200, Marek Vasut wrote: > The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: > > Merge tag 'arc-more-updates-for-2018.11-rc2-2' of > git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400) > > are available in the Git repository

Re: [U-Boot] [PATCH] usb: Do not compile USB_STORAGE with !BLK && !DM_USB

2018-10-19 Thread Alexander Graf
On 19.10.18 14:48, Marek Vasut wrote: > On 10/19/2018 02:47 PM, Alexander Graf wrote: >> >> >> On 19.10.18 14:45, Marek Vasut wrote: >>> On 10/19/2018 02:43 PM, Alexander Graf wrote: The USB storage driver does not compile when CONFIG_BLK is set, but DM_USB is not set, as we're missing

[U-Boot] u-boot without network boot

2018-10-19 Thread Alexandru Onea
Hello all, I am new to u-boot and have played around by compiling for ARM and running with qemu (as found in may tutorials). However, the default configuration also includes network boot and I would like to reduce the configuration to the bare minimum. I tried removing all networking support and

[U-Boot] [PATCH] nand: fix up badblock skipping

2018-10-19 Thread Jiri Valek
From: Jiri Valek Currently the badblock skipping fails. SPL loader fails to boot from NAND. End up on message "SPL: failed to boot from all boot devices" Signed-off-by: Jiri Valek --- drivers/mtd/nand/raw/mxs_nand_spl.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH] usb: Do not compile USB_STORAGE with !BLK && !DM_USB

2018-10-19 Thread Marek Vasut
On 10/19/2018 02:47 PM, Alexander Graf wrote: > > > On 19.10.18 14:45, Marek Vasut wrote: >> On 10/19/2018 02:43 PM, Alexander Graf wrote: >>> The USB storage driver does not compile when CONFIG_BLK is set, >>> but DM_USB is not set, as we're missing the DM device links for >>> CONFIG_BLK

Re: [U-Boot] [PATCH] usb: Do not compile USB_STORAGE with !BLK && !DM_USB

2018-10-19 Thread Alexander Graf
On 19.10.18 14:45, Marek Vasut wrote: > On 10/19/2018 02:43 PM, Alexander Graf wrote: >> The USB storage driver does not compile when CONFIG_BLK is set, >> but DM_USB is not set, as we're missing the DM device links for >> CONFIG_BLK enabled code paths. >> >> So far it looks like nobody fell

Re: [U-Boot] [PATCH] usb: Do not compile USB_STORAGE with !BLK && !DM_USB

2018-10-19 Thread Marek Vasut
On 10/19/2018 02:43 PM, Alexander Graf wrote: > The USB storage driver does not compile when CONFIG_BLK is set, > but DM_USB is not set, as we're missing the DM device links for > CONFIG_BLK enabled code paths. > > So far it looks like nobody fell into this trap, because no board > enabled

[U-Boot] [PATCH] usb: Do not compile USB_STORAGE with !BLK && !DM_USB

2018-10-19 Thread Alexander Graf
The USB storage driver does not compile when CONFIG_BLK is set, but DM_USB is not set, as we're missing the DM device links for CONFIG_BLK enabled code paths. So far it looks like nobody fell into this trap, because no board enabled CONFIG_BLK and CONFIG_USB_STORAGE while not enabling

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

2018-10-19 Thread Tom Rini
On Thu, Oct 18, 2018 at 09:27:49PM -0600, Simon Glass wrote: > 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

[U-Boot] [PULL] u-boot-sh/master

2018-10-19 Thread Marek Vasut
The following changes since commit e3beca3a2fe172ca707a0e70310f9f7ebd3b3f0f: Merge tag 'signed-efi-2018.11' of git://github.com/agraf/u-boot (2018-10-17 07:20:52 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

[U-Boot] [PULL] u-boot-socfpga/master

2018-10-19 Thread Marek Vasut
The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch

Re: [U-Boot] [PATCH] arm: qemu: rework Kconfig

2018-10-19 Thread Bin Meng
Hi, On Fri, Oct 19, 2018 at 4:55 PM AKASHI Takahiro wrote: > > Define a missing CONFIG_SYS_SOC and move some CONFIG_SYS_* to a more > canonical place (i.e. under board). > > Signed-off-by: AKASHI Takahiro > --- > arch/arm/Kconfig | 1 + > arch/arm/mach-qemu/Kconfig | 18

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

2018-10-19 Thread Wolfgang Denk
Dear Alexander, In message <118460556.a0Y5euKZZ7@ada> you wrote: > > > 864 /* > > 865 * Keywords recognized. > > 866 */ > > 867 static const struct token keywords[] = { > > 868 {"menu", T_MENU}, > > 869 {"title", T_TITLE}, > > 870 {"timeout", T_TIMEOUT}, > > 871

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

2018-10-19 Thread Alexander Dahl
Hello Wolfgang, thanks for your interest in this topic. I think you misunderstood my question, I will elaborate on that. You might skip over the technical details and read my questions in the end of this mail. Am Freitag, 19. Oktober 2018, 11:10:48 CEST schrieb Wolfgang Denk: > > As you might

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

2018-10-19 Thread Wolfgang Denk
Dear Alexander, In message <18120382.ptJS9iqsuP@ada> you wrote: > > Okay first the content of /boot/extlinux/extlinux.conf from the root > filesystem, which does not work (of course without additional linebreaks from > my mail client): Thanks. > As you might guess, I use ptxdist for building

[U-Boot] [PATCH] arm: qemu: rework Kconfig

2018-10-19 Thread AKASHI Takahiro
Define a missing CONFIG_SYS_SOC and move some CONFIG_SYS_* to a more canonical place (i.e. under board). Signed-off-by: AKASHI Takahiro --- arch/arm/Kconfig | 1 + arch/arm/mach-qemu/Kconfig | 18 ++ board/emulation/qemu-arm/Kconfig | 9 + 3 files

Re: [U-Boot] [PATCH 1/2] efi_loader: rework fdt handling in distro boot script

2018-10-19 Thread Alexander Graf
On 19.10.18 10:32, AKASHI Takahiro wrote: > On Fri, Oct 19, 2018 at 09:31:14AM +0200, Alexander Graf wrote: >> >> >> On 19.10.18 09:20, AKASHI Takahiro wrote: >>> On Thu, Oct 18, 2018 at 09:31:57AM +0200, Alexander Graf wrote: On 18.10.18 04:07, AKASHI Takahiro wrote: > On

Re: [U-Boot] efi-next: Kconfig: error: recursive dependency detected!

2018-10-19 Thread Alexander Graf
On 19.10.18 10:41, AKASHI, Takahiro wrote: > On Thu, Oct 18, 2018 at 11:23:42PM +0200, Heinrich Schuchardt wrote: >> Hello Alex, >> >> in branch efi-next Kconfig has a recursive dependency: >> >> $ make qemu_arm64_defconfig >> drivers/usb/Kconfig:1:error: recursive dependency detected! >>

Re: [U-Boot] efi-next: Kconfig: error: recursive dependency detected!

2018-10-19 Thread AKASHI, Takahiro
On Thu, Oct 18, 2018 at 11:23:42PM +0200, Heinrich Schuchardt wrote: > Hello Alex, > > in branch efi-next Kconfig has a recursive dependency: > > $ make qemu_arm64_defconfig > drivers/usb/Kconfig:1:error: recursive dependency detected! > drivers/usb/Kconfig:1: symbol USB is selected by

Re: [U-Boot] [PATCH 1/2] efi_loader: rework fdt handling in distro boot script

2018-10-19 Thread AKASHI Takahiro
On Fri, Oct 19, 2018 at 09:31:14AM +0200, Alexander Graf wrote: > > > On 19.10.18 09:20, AKASHI Takahiro wrote: > > On Thu, Oct 18, 2018 at 09:31:57AM +0200, Alexander Graf wrote: > >> > >> > >> On 18.10.18 04:07, AKASHI Takahiro wrote: > >>> On Tue, Oct 16, 2018 at 03:15:13PM +0200, Alexander

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

2018-10-19 Thread Alexander Dahl
Hello, Am Freitag, 19. Oktober 2018, 08:53:15 CEST schrieb Wolfgang Denk: > 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> >

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

2018-10-19 Thread AKASHI Takahiro
On Fri, Oct 19, 2018 at 09:46:51AM +0200, Alexander Graf wrote: > > > On 19.10.18 08:33, AKASHI Takahiro wrote: > > 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

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

2018-10-19 Thread Alexander Graf
On 19.10.18 08:33, AKASHI Takahiro wrote: > 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

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

2018-10-19 Thread Fabrice Gasnier
On 10/19/2018 05:25 AM, Simon Glass wrote: > 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

Re: [U-Boot] [PATCH 1/2] efi_loader: rework fdt handling in distro boot script

2018-10-19 Thread Alexander Graf
On 19.10.18 09:20, AKASHI Takahiro wrote: > On Thu, Oct 18, 2018 at 09:31:57AM +0200, Alexander Graf wrote: >> >> >> On 18.10.18 04:07, AKASHI Takahiro wrote: >>> On Tue, Oct 16, 2018 at 03:15:13PM +0200, Alexander Graf wrote: On 12.10.18 07:07, AKASHI Takahiro wrote: > The

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

2018-10-19 Thread Alexander Graf
On 19.10.18 05:25, Simon Glass wrote: > 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. >>> >>>

Re: [U-Boot] [PATCH 1/2] efi_loader: rework fdt handling in distro boot script

2018-10-19 Thread AKASHI Takahiro
On Thu, Oct 18, 2018 at 09:31:57AM +0200, Alexander Graf wrote: > > > On 18.10.18 04:07, AKASHI Takahiro wrote: > > On Tue, Oct 16, 2018 at 03:15:13PM +0200, Alexander Graf wrote: > >> > >> > >> On 12.10.18 07:07, AKASHI Takahiro wrote: > >>> The current scenario for default UEFI booting,

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

2018-10-19 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:

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

2018-10-19 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

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

2018-10-19 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