Re: [U-Boot] [U-Boot, v4, 01/66] spl: add a 'return to bootrom' boot method

2017-08-06 Thread Philipp Tomsich
> Some devices (e.g. the RK3368) have only limited SRAM, but provide > support for loading the next boot stage after our SPL performs basic > setup (e.g. DRAM). > > For target systems like these, we add a boot device BOOTROM that will > invoke a board-specific hook to return to the bootrom (if

Re: [U-Boot] [U-Boot, 1/3] rockchip: add u-boot specific dts for rk3368 based boards

2017-08-06 Thread Philipp Tomsich
> Device drivers like debug serial, dmc should be enabled before > relocation, so add u-boot.dtsi files to contain devices that > should be marked as dm-pre-reloc. > > Signed-off-by: Andy Yan > Reviewed-by: Philipp Tomsich >

Re: [U-Boot] [U-Boot, 3/3] rockchip: remove the hard coded uart iomux setting for px5 evb

2017-08-06 Thread Philipp Tomsich
> As the debug uart is marked as dm-pre-reloc, the pinctrl driver > will handle the correct iomux setting. > > Signed-off-by: Andy Yan > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH] efi_loader: LocateHandle should return EFI_NOT_FOUND if none found

2017-08-06 Thread Rob Clark
Spotted this debugging OpenBSD's bootloader in qemu. (Wouldn't really fix anything, the problem was not having any disks, but we should probably return the correct error code.) Signed-off-by: Rob Clark --- lib/efi_loader/efi_boottime.c | 3 +++ 1 file changed, 3

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Jonathan Gray
On Sun, Aug 06, 2017 at 11:34:15AM -0400, Rob Clark wrote: > On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: > > > > I've started trying to hack up test_efi_loader.py to add a test that > > loads OpenBSD's bootloader.. kinda muddling through it at this point, > > since not

[U-Boot] [RFC] efi_loader: Add test to boot OpenBSD's efi bootloader

2017-08-06 Thread Rob Clark
Signed-off-by: Rob Clark --- Kinda works, but since we don't have an 'exit' command like grub, we have to reboot, which leaves the "board" in a bad state (I guess, since the next test fails). I haven't tackled the travis bits to get travis to download OpenBSD's bootloader,

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Heinrich Schuchardt
On 08/06/2017 05:34 PM, Rob Clark wrote: > On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: >> >> I've started trying to hack up test_efi_loader.py to add a test that >> loads OpenBSD's bootloader.. kinda muddling through it at this point, >> since not a py expert or too

[U-Boot] [PATCH] igep00x0: merge igep0020 and igep0030 defconfigs to igep00x0_defconfig

2017-08-06 Thread Pau Pajuelo
Update igep00x0 code with the following features: - Add board and revision detection for the boards: - IGEP0020-RF - IGEP0020-RC - IGEP0030-RG - IGEP0030-RE - Merge IGEP0020 and IGEP0030 mux tables - Add suport to use GPIO_126, GPIO_127 and GPIO_129 - board_name environment variable

Re: [U-Boot] [PATCH 2/3] spl: moveconfig: remove SPL_LDSCRIPT definitions for header-files

2017-08-06 Thread Simon Glass
On 4 August 2017 at 14:52, Philipp Tomsich wrote: > With the hierarchical defaults set up, we remove these from the header > files. To do so, I've run moveconfig on SPL_LDSCRIPT and this commits > the changes. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH v3 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-08-06 Thread Simon Glass
On 26 July 2017 at 05:22, Philipp Tomsich wrote: > With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with > USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH 1/3] spl: add hierarchical defaults for SPL_LDSCRIPT

2017-08-06 Thread Simon Glass
Hi Philipp, On 4 August 2017 at 14:52, Philipp Tomsich wrote: > With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config > node), all the lingering definitions in header files will cause errors > due to the redefinition of the configuration

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: > > I've started trying to hack up test_efi_loader.py to add a test that > loads OpenBSD's bootloader.. kinda muddling through it at this point, > since not a py expert or too familiar w/ u-boot's test framework. But > I'll

Re: [U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-06 Thread Eric Nelson
Hi Stefan, On 08/04/2017 04:38 PM, Stefan Agner wrote: From: Stefan Agner This series adds NXP's Serial Download Protocol (SDP) support via USB for SPL/U-Boot. It allows to download U-Boot via USB from a (recovered) SPL using the same tools used to download SPL

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 10:28 AM, Mark Kettenis wrote: >> Date: Sun, 6 Aug 2017 15:16:09 +0200 (CEST) >> From: Mark Kettenis >> >> Things are already broken before that commit though, so there is >> another problem. I'll see if I can figure out

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Mark Kettenis
> Date: Sun, 6 Aug 2017 15:16:09 +0200 (CEST) > From: Mark Kettenis > > Things are already broken before that commit though, so there is > another problem. I'll see if I can figure out what it is... data abort pc : [<7ef59160>] lr : [<7ef59118>] reloc pc :

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 10:17 AM, Rob Clark wrote: > On Sun, Aug 6, 2017 at 9:16 AM, Mark Kettenis wrote: >>> From: Rob Clark >>> Date: Sat, 5 Aug 2017 11:36:25 -0400 >>> >>> On Sat, Aug 5, 2017 at 11:24 AM, Rob Clark

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 9:16 AM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Sat, 5 Aug 2017 11:36:25 -0400 >> >> On Sat, Aug 5, 2017 at 11:24 AM, Rob Clark wrote: >> > On Sat, Aug 5, 2017 at 11:10 AM, Heinrich Schuchardt

Re: [U-Boot] [PATCH v3] omap3: evm: Update board, defconfig, and maintainer file

2017-08-06 Thread Tom Rini
On Sun, Aug 06, 2017 at 12:00:21AM -0500, Derald D. Woods wrote: > This patch brings the OMAP3 EVM to a bootable state, on master, as of > v2017.09-rc1. > > Signed-off-by: Derald D. Woods > Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Mark Kettenis
> From: Rob Clark > Date: Sat, 5 Aug 2017 11:36:25 -0400 > > On Sat, Aug 5, 2017 at 11:24 AM, Rob Clark wrote: > > On Sat, Aug 5, 2017 at 11:10 AM, Heinrich Schuchardt > > wrote: > >> On 08/05/2017 04:35 PM, Rob Clark wrote: > >>>

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Mark Kettenis
> From: Rob Clark > Date: Sat, 5 Aug 2017 10:28:34 -0400 > > On Sat, Aug 5, 2017 at 10:01 AM, Mark Kettenis > wrote: > > > > OpenBSD doesn't run on the db410c. However, our EFI bootloader should > > just run. You can download it from: > > > >

Re: [U-Boot] [PATCH] rockchip: clk: rk3399: fix SPI clock code for SPI3

2017-08-06 Thread Dr. Philipp Tomsich
> On 06 Aug 2017, at 07:15, Simon Glass wrote: > > On 26 July 2017 at 04:28, Philipp Tomsich > wrote: >> On the RK3399, SPI3 is special (it's configured via PMUGRF). The >> implementation of the clock-setup for SPI3 was never supported

Re: [U-Boot] [PATCH] usb: kbd: don't fail with iomux (v3)

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > On 4 August 2017 at 07:16, Bin Meng wrote: >> Hi Rob, >> >> On Fri, Aug 4, 2017 at 8:51 PM, Rob Clark wrote: >>> stdin might not be set, which would cause iomux_doenv() to fail >>>

[U-Boot] [PATCH] vsprintf.c: add GUID printing

2017-08-06 Thread Rob Clark
This works (roughly) the same way as linux's, but we currently always print lower-case (ie. we just keep %pUB and %pUL for compat with linux), mostly just because that is what uuid_bin_to_str() supports. %pUb: 01020304-0506-0708-090a-0b0c0d0e0f10 %pUl: 04030201-0605-0807-090a-0b0c0d0e0f10

Re: [U-Boot] [PATCH] usb: kbd: don't fail with iomux (v3)

2017-08-06 Thread Bin Meng
Hi Rob, On Sun, Aug 6, 2017 at 6:41 PM, Rob Clark wrote: > On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: >> On 4 August 2017 at 07:16, Bin Meng wrote: >>> Hi Rob, >>> >>> On Fri, Aug 4, 2017 at 8:51 PM, Rob Clark

Re: [U-Boot] [PATCH] usb: kbd: don't fail with iomux (v3)

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > On 4 August 2017 at 07:16, Bin Meng wrote: >> Hi Rob, >> >> On Fri, Aug 4, 2017 at 8:51 PM, Rob Clark wrote: >>> stdin might not be set, which would cause iomux_doenv() to fail >>>

Re: [U-Boot] [PATCH] fs: add fs_readdir()

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > Hi Rob, > > On 3 August 2017 at 13:36, Rob Clark wrote: >> On Thu, Aug 3, 2017 at 3:10 PM, BrĂ¼ns, Stefan >> wrote: >>> On Donnerstag, 3. August 2017 18:54:30 CEST Rob Clark

Re: [U-Boot] [PATCH 1/6] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2017-08-06 Thread Rob Clark
On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > Hi Rob, > > On 3 August 2017 at 10:48, Rob Clark wrote: >> Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by >> u-boot build. This allows the board to patch the fdt, etc. >> >> In

Re: [U-Boot] [PATCH 1/6 v3] x86: dfi: Add option to select different config headers for baseboards

2017-08-06 Thread Bin Meng
Hi Stefan, On Sun, Aug 6, 2017 at 1:13 PM, Stefan Roese wrote: > Hi Bin, > > > On 06.08.2017 02:48, Bin Meng wrote: >> >> On Sun, Aug 6, 2017 at 12:49 AM, Stefan Roese wrote: >>> >>> This patch adds the infrastructure to define different config headers >>> with

Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig

2017-08-06 Thread Bin Meng
Hi Simon, On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass wrote: > Hi Bin, > > On 3 August 2017 at 18:17, Bin Meng wrote: >> Hi Simon, >> >> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 1 August 2017 at 17:33,

[U-Boot] [PATCH 6/6 v4] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-08-06 Thread Stefan Roese
This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- v4: - Remove Gigadevice and Macronix flash support v3: - New patch

[U-Boot] [PATCH 2/6 v4] x86: conga: Add option to select different config headers for baseboards

2017-08-06 Thread Stefan Roese
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-conga-qa3-e3845 is also added. Also the new defconfig file for this new

<    1   2