Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-11 Thread Alexander Graf
> Am 11.11.2016 um 17:17 schrieb Simon Glass : > > Hi Alex, > >> On 7 November 2016 at 09:32, Alexander Graf wrote: >> >> >>> On 07/11/2016 10:46, Simon Glass wrote: >>> >>> Hi Alex, >>> On 19 October 2016 at 01:09, Alexander Graf

Re: [U-Boot] [PATCH 0/3] Hi all,

2016-11-11 Thread Stefan Agner
Hi Marek, On 11.11.2016 14:33, Marek Vasut wrote: > On 11/11/2016 11:18 PM, Stefan Agner wrote: >> From: Stefan Agner >> >> >> This cleans up the SPL USB Gadget Kconfig and Makfile a bit. The >> first two patches are actual fixes and we might consider to add >> them

Re: [U-Boot] [PATCH 0/3] Hi all,

2016-11-11 Thread Marek Vasut
On 11/11/2016 11:18 PM, Stefan Agner wrote: > From: Stefan Agner > > > This cleans up the SPL USB Gadget Kconfig and Makfile a bit. The > first two patches are actual fixes and we might consider to add > them for the v2016.11 release. The third one adds a new config >

[U-Boot] [PATCH 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig

2016-11-11 Thread Stefan Agner
From: Stefan Agner The DFU Kconfig menu entries should be part of the SPL Kconfig file. Also avoid using the top level Makefile by moving the config dependent build artifacts to the driver/ and driver/usb/gadget/ Makfiles. With that, DFU can be built again in SPL if

[U-Boot] [PATCH 3/3] spl: add USB Gadget config option

2016-11-11 Thread Stefan Agner
From: Stefan Agner Introduce USB Gadget config option. This allows to combine Makefile entries for SPL_USBETH_SUPPORT and SPL_DFU_SUPPORT. Signed-off-by: Stefan Agner --- common/spl/Kconfig | 31

[U-Boot] [PATCH 1/3] spl: add RAM boot device only if it is actually defined

2016-11-11 Thread Stefan Agner
From: Stefan Agner Some devices (e.g. dra7xx) support loading to RAM using DFU without having direct boot from RAM support. Make sure the linker list does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_SUPPORT is not enabled. Fixes: 98136b2f26fa ("spl: Convert

[U-Boot] [PATCH 0/3] Hi all,

2016-11-11 Thread Stefan Agner
From: Stefan Agner This cleans up the SPL USB Gadget Kconfig and Makfile a bit. The first two patches are actual fixes and we might consider to add them for the v2016.11 release. The third one adds a new config option for cleaner structure. I plan to add another USB

Re: [U-Boot] sunxi board: why MMC dev are swapped ?

2016-11-11 Thread Maxime Ripard
Adding hans to the recipient list Maxime On Fri, Nov 11, 2016 at 07:33:43PM +0100, Mylene Josserand wrote: > Hi everyone, > > > I am currently using FEL and Fastboot to flash a sunxi-device with SPL and > u-boot. > > > In my board, I have two MMC devices: a MMC slot and an eMMC. > > My

Re: [U-Boot] [PATCH 2/4] rsa: Verify RSA padding programatically

2016-11-11 Thread Andrew Duda
Simon, So I looked into this more after you asked this, and it looks very platform dependent. I tested on two builds: sandbox and a version of x86-common. The before/after for sandbox image was 5486016-5486800(+784). The before/after for my x86 build was 3306100-3305908(-192). So memory saving is

Re: [U-Boot] [PATCH 1/4] rsa: cosmetic: rename pad_len to key_len

2016-11-11 Thread Andrew Duda
Simon, padded_len could work. I decided to go with key_len to be more RSA-independent since I have been dealing with ECDSA primarily. More specifically, ECDSA has no notion of padding or padded_len, but it does have a notion of key_len. And in RSA, I believe the padded_len is the same as the

[U-Boot] sunxi board: why MMC dev are swapped ?

2016-11-11 Thread Mylene Josserand
Hi everyone, I am currently using FEL and Fastboot to flash a sunxi-device with SPL and u-boot. In my board, I have two MMC devices: a MMC slot and an eMMC. My use-case is to flash an empty device. I want to use FEL to boot a u-boot and then, use fastboot to flash u-boot into eMMC. When

Re: [U-Boot] [PATCH 26/27] ARM64: zynqmp: Add clocks for LPDDMA

2016-11-11 Thread Soren Brinkmann
> -Original Message- > From: Michal Simek [mailto:mon...@monstr.eu] On Behalf Of Michal Simek > Sent: November 11, 2016 05:42 > To: u-boot@lists.denx.de > Cc: Appana Durga Kedareswara Rao ; Naga Sureshkumar > Relli ; Bharat Kumar Gogada

Re: [U-Boot] [PATCH RESEND 4/9] w1: Add 1-Wire gpio driver

2016-11-11 Thread Maxime Ripard
On Thu, Nov 10, 2016 at 02:35:46PM +0100, Michal Simek wrote: > On 8.11.2016 11:19, Maxime Ripard wrote: > > Add a bus driver for bitbanging a 1-Wire bus over a GPIO. > > > > Signed-off-by: Maxime Ripard > > --- > > drivers/w1/Kconfig | 6 ++- > >

Re: [U-Boot] [PATCH 3/3] test/py: Create tests for ext4 and fat testing on sandbox

2016-11-11 Thread Simon Glass
Hi, On 5 November 2016 at 10:45, Stefan Brüns wrote: > > The following checks are currently implemented: > 1. listing a directory > 2. verifying size of a file > 3. veryfying md5sum for a file region > 4. reading the beginning of a file > > Signed-off-by: Stefan

Re: [U-Boot] xhci USB controller driver for x86 board

2016-11-11 Thread Marek Vasut
On 11/10/2016 07:21 AM, Stefan Roese wrote: > Hi Chi, > > On 10.11.2016 03:16, Kever Yang wrote: >> Hi Chi, >> >> On 11/10/2016 12:51 AM, Ding, ChiX wrote: >>> Hi there >>> I'm having problem getting USB 3.0 controller working properly on the >>> Intel Denverton x86 board. >>> First I tried to

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-11 Thread Moritz Fischer
Hi Maxime, On Tue, Nov 8, 2016 at 2:19 AM, Maxime Ripard wrote: > Add a driver for the Maxim DS2431 1-Wire EEPROM > > Signed-off-by: Maxime Ripard > --- > drivers/eeprom/Kconfig | 6 ++ > drivers/eeprom/Makefile | 1 + >

Re: [U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass

2016-11-11 Thread Moritz Fischer
Hi Maxime, On Fri, Nov 11, 2016 at 8:17 AM, Simon Glass wrote: > Hi Maxime, > > On 8 November 2016 at 03:19, Maxime Ripard > wrote: >> We might want to access data stored onto EEPROMs. Create a framework to >> provide a consistent API. > > We

[U-Boot] [PATCH v3] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-11 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. This is V2 of this patch with changes recommended by the maintainer CC: Jagan Teki --- Changes for v2: -

Re: [U-Boot] [PATCH 1/2] ARM: zynq: Remove DTC 1.2 warnings

2016-11-11 Thread Tom Rini
On Fri, Nov 11, 2016 at 06:32:15PM +0100, Michal Simek wrote: > Hi, > > 2016-11-11 17:04 GMT+01:00 Tom Rini : > > > On Fri, Nov 11, 2016 at 01:26:05PM +0100, Michal Simek wrote: > > > > > DTC 1.2 reports these warnings: > > > Warning (unit_address_vs_reg): Node /memory has a

Re: [U-Boot] [PATCH 1/2] ARM: zynq: Remove DTC 1.2 warnings

2016-11-11 Thread Michal Simek
Hi, 2016-11-11 17:04 GMT+01:00 Tom Rini : > On Fri, Nov 11, 2016 at 01:26:05PM +0100, Michal Simek wrote: > > > DTC 1.2 reports these warnings: > > Warning (unit_address_vs_reg): Node /memory has a reg or ranges > > property, but no unit name > > Warning

Re: [U-Boot] [PATCH v4 2/2] rpi: passthrough of the firmware provided FDT blob

2016-11-11 Thread Stephen Warren
On 11/11/2016 03:59 AM, Cédric Schieli wrote: Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and the blob size [1]. If one wants to passthrough this FDT blob to the kernel, the most reliable

Re: [U-Boot] [PATCH v4 1/2] arm: add save_boot_params for ARM1176

2016-11-11 Thread Stephen Warren
On 11/11/2016 03:59 AM, Cédric Schieli wrote: Implement a hook to allow boards to save boot-time CPU state for later use. When U-Boot is chain-loaded by another bootloader, CPU registers may contain useful information such as system configuration information. This feature mirrors the equivalent

Re: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-11 Thread Tom Rini
On Wed, Nov 09, 2016 at 03:10:18PM +0100, Maxime Ripard wrote: > Hi Tom, > > On Tue, Nov 08, 2016 at 10:44:18PM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 11:19:20AM +0100, Maxime Ripard wrote: > > > > [snip] > > > I think the biggest drawback at the moment is that we maintain a list of

Re: [U-Boot] [PATCH v8 0/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-11 Thread york sun
On 11/11/2016 05:58 AM, Ryan Harkin wrote: > Hi Alison, > > On 10 November 2016 at 02:49, Alison Wang wrote: >> This series is to support loading a 32-bit OS, the execution state will >> change from AArch64 to AArch32 when jumping to kernel. The architecture >> information

Re: [U-Boot] [PATCH 2/4] rsa: Verify RSA padding programatically

2016-11-11 Thread Simon Glass
On 8 November 2016 at 11:53, aduda wrote: > From: Andrew Duda > > Padding verification was done against static SHA/RSA pair arrays which > take up a lot of static memory, are mostly 0xff, and cannot be reused > for additional SHA/RSA pairings. The padding can

Re: [U-Boot] [PATCH 0/7] sunxi: Add support for the CHIP Pro

2016-11-11 Thread Tom Rini
On Thu, Nov 10, 2016 at 12:57:09PM +0100, Heiko Schocher wrote: > Hello Maxime, > > Am 09.11.2016 um 15:44 schrieb Maxime Ripard: > >Hi Heiko, > > > >On Wed, Nov 09, 2016 at 08:47:12AM +0100, Heiko Schocher wrote: > >>Am 08.11.2016 um 17:21 schrieb Maxime Ripard: > >>>The CHIP Pro is a SoM made

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-11 Thread Tom Rini
On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > This program generates raw SPL images that can be flashed on the NAND with > the ECC and randomizer properly set up. > > Signed-off-by: Maxime Ripard [snip] > +++ b/tools/sunxi-spl-image-builder.c

Re: [U-Boot] [PATCH] sata: fix sata command not being executed bug

2016-11-11 Thread Simon Glass
Hi Tang, On 9 November 2016 at 02:37, wrote: > From: Tang Yuantian > > Variable sata_curr_device is used to indicate if > there is a available sata disk on board. > > Previously, sata_curr_device is set in sata_initialize(). > Now,

Re: [U-Boot] [PATCHv2 03/15] dm: pci: remove pci_bus_to_hose(0) calling

2016-11-11 Thread Simon Glass
Hi, On 10 November 2016 at 03:58, Zhiqiang Hou wrote: > From: Minghuan Lian > > There may be multiple PCIe controllers in a SoC. > It is not correct that always calling pci_bus_to_hose(0) to get > the first PCIe controller for the PCIe device

Re: [U-Boot] [PATCH 11/11] tools: Add tool to add crc8 to a mac address

2016-11-11 Thread Simon Glass
Hi Olliver, (is it one l or two?) On 8 November 2016 at 08:54, Olliver Schinagl wrote: > This patch adds a little tool that takes a generic MAC address and > generates a CRC byte for it. The output is the full MAC address without > any separators, ready written into an

Re: [U-Boot] Rockchip USB driver

2016-11-11 Thread Simon Glass
On 9 November 2016 at 00:33, Kever Yang wrote: > Hi Simon, > > I have send patch for rk3036 kylin and rk3288 PopMetal to enable the usb > host, > both have test with U-Disk, you can enable usb host for other boards with > reference > to my patches if you want.

Re: [U-Boot] [PATCHv2 09/15] pci: layerscape: add pci driver based on DM

2016-11-11 Thread Simon Glass
On 10 November 2016 at 03:58, Zhiqiang Hou wrote: > From: Minghuan Lian > > There are more than five kinds of Layerscape SoCs. unfortunately, > PCIe controller of each SoC is a little bit different. In order > to avoid too many macro definitions, the

Re: [U-Boot] [PATCH] serial: ns16550: Fix Debug UART initialization for AM335x

2016-11-11 Thread Simon Glass
Hi, On 10 November 2016 at 04:00, Jacob Siverskog wrote: > Fixed the init sequence in debug_uart_init() to match the one in > NS16550_init(). Without this I was unable to get debug UART working on > AM335x. Based on a patch by Vasili Galka. > > Signed-off-by: Jacob

Re: [U-Boot] [PATCH 3/3] board: popmetal: enable the usb host port power in board init

2016-11-11 Thread Simon Glass
Hi Kever, On 9 November 2016 at 00:30, Kever Yang wrote: > Enable the usb host port 5V power by enable the fix regulator. > The PopMetal board have a on board FE1.1 usb 2.0 hub which connect to > the usb host port, we need to de-assert its reset pin at the same time.

Re: [U-Boot] [PATCHv2 02/15] dm: pci: return the real controller in pci_bus_to_hose()

2016-11-11 Thread Simon Glass
On 10 November 2016 at 03:58, Zhiqiang Hou wrote: > From: Minghuan Lian > > for the legacy PCI driver, the function pci_bus_to_hose() returns > the real PCIe controller. To keep consistency, this function is > changed to return the PCIe controller

Re: [U-Boot] [PATCH 2/3] config: popmetal: enable the USB host controller and function

2016-11-11 Thread Simon Glass
On 9 November 2016 at 00:30, Kever Yang wrote: > RK3288 using the dwc2 USB host controller, enable it and other usb host > funtion like storage and ether. > > Signed-off-by: Kever Yang > --- > > configs/popmetal-rk3288_defconfig | 3 +++ >

Re: [U-Boot] [PATCH 1/3] dts: popmetal: add usb host power supply node

2016-11-11 Thread Simon Glass
On 9 November 2016 at 00:30, Kever Yang wrote: > The popmetal board using a HOST_VBUS_DRV gpio signal to control the > USB host port 5V power, add a fix regulator and pinctrl for it, and > enable the USB host1 controller at the same time. > > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH 3/4] image: Add crypto_algo struct for RSA info

2016-11-11 Thread Simon Glass
On 8 November 2016 at 11:53, aduda wrote: > From: Andrew Duda > > Cut down on the repetition of algorithm information by defining separate > checksum and crypto structs. image_sig_algos are now simply pairs of > unique checksum and crypto algos. > >

Re: [U-Boot] [PATCH 10/11] tools: Allow crc8 to be used

2016-11-11 Thread Simon Glass
On 8 November 2016 at 08:54, Olliver Schinagl wrote: > This patch enables crc8 to be used from within the tools directory using > u-boot/crc.h. > > Signed-off-by: Olliver Schinagl > Reviewed-by: Joe Hershberger > --- >

Re: [U-Boot] [PATCH 4/4] image: Combine image_sig_algo with image_sign_info

2016-11-11 Thread Simon Glass
On 8 November 2016 at 11:53, aduda wrote: > From: Andrew Duda > > Remove the need to explicitly add SHA/RSA pairings. Invalid SHA/RSA > pairings will still fail on verify operations when the hash length is > longer than the key length. > > Follow the same

Re: [U-Boot] [PATCH 1/4] rsa: cosmetic: rename pad_len to key_len

2016-11-11 Thread Simon Glass
Hi, On 8 November 2016 at 11:53, aduda wrote: > From: Andrew Duda > > checksum_algo's pad_len field isn't actually used to store the length of > the padding but the total length of the RSA key (msg_len + pad_len) Perhaps it should be padded_key_len or

Re: [U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass

2016-11-11 Thread Simon Glass
Hi Maxime, On 8 November 2016 at 03:19, Maxime Ripard wrote: > We might want to access data stored onto EEPROMs. Create a framework to > provide a consistent API. We have UCLASS_I2C_EEPROM. Can we unify these? If not, please add a sandbox driver and test. > >

Re: [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

2016-11-11 Thread Simon Glass
Hi Maxime, On 8 November 2016 at 03:19, Maxime Ripard wrote: > Some boards might need to some additional setup right before initialising > the video console. > > Add some hook to allow that. Instead of this, can you use driver model (UCLASS_VIDEO)? > >

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-11-11 Thread Simon Glass
Hi Alex, On 7 November 2016 at 09:32, Alexander Graf wrote: > > > On 07/11/2016 10:46, Simon Glass wrote: >> >> Hi Alex, >> >> On 19 October 2016 at 01:09, Alexander Graf wrote: >>> >>> >>> >>> On 18/10/2016 22:37, Simon Glass wrote: Hi Alex, On

Re: [U-Boot] [PATCH 4/9] w1: Add 1-Wire gpio driver

2016-11-11 Thread Simon Glass
Hi Maxime, On 8 November 2016 at 03:06, Maxime Ripard wrote: > Add a bus driver for bitbanging a 1-Wire bus over a GPIO. > > Signed-off-by: Maxime Ripard > --- > drivers/w1/Kconfig | 6 ++- > drivers/w1/Makefile | 1 +-

Re: [U-Boot] [PATCH 4/4] rk3036: enable the vbus regulator when borad_init

2016-11-11 Thread Simon Glass
Hi Kever, On 8 November 2016 at 03:13, Kever Yang wrote: > enable the vbus for usb host in board_init(). Note 'borad_init' typo in subject. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3036-board.c | 20

Re: [U-Boot] [PATCH 3/9] w1: Add 1-Wire uclass

2016-11-11 Thread Simon Glass
Hi Maxime, On 8 November 2016 at 03:06, Maxime Ripard wrote: > We might want to use 1-Wire devices connected on boards such as EEPROMs in > U-Boot. > > Provide a framework to be able to do that. Also please can you add a sandbox driver and a test for this

Re: [U-Boot] [PATCH 3/4] dts: arm: rk3036: add usb vbus node

2016-11-11 Thread Simon Glass
On 8 November 2016 at 03:13, Kever Yang wrote: > add fix regulator node for usb vbus power control. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3036-sdk.dts | 37 + > 1 file changed, 33

Re: [U-Boot] [PATCH 2/4] config: rk3036: enable fix regulator

2016-11-11 Thread Simon Glass
On 8 November 2016 at 03:13, Kever Yang wrote: > usb host vbus power is using gpio fix regulator, enable it. > > Signed-off-by: Kever Yang > --- > > configs/kylin-rk3036_defconfig | 1 + > 1 file changed, 1 insertion(+) Acked-by: Simon

Re: [U-Boot] [PATCH 1/4] config: rk3036: enable configs for USB HOST

2016-11-11 Thread Simon Glass
Hi Kever, On 8 November 2016 at 03:13, Kever Yang wrote: > rk3036 using dwc2 usb controller, need enable relate configs for it. > > Signed-off-by: Kever Yang > --- > > configs/kylin-rk3036_defconfig | 3 +++ >

Re: [U-Boot] [PATCH v2 1/1] cmd: pci: add option to parse and display BAR information

2016-11-11 Thread Simon Glass
Hi, On 6 November 2016 at 07:31, wrote: > From: Yehuda Yitschak > > Currently the PCI command only allows to see the BAR register > values but not the size and actual base address. > This little extension parses the BAR registers and displays > the

Re: [U-Boot] [PATCH] api: Use hashtable function for API_env_enum

2016-11-11 Thread Simon Glass
Hi, On 5 November 2016 at 15:27, Emmanuel Vadot wrote: > > Since the env is an hashtable, use the hashtable function for the API_ENV_ENUM > api call. Can you please explain why in your commit message? > > Signed-off-by: Emmanuel Vadot > --- >

Re: [U-Boot] [PATCH] config: evb-rk3399: enable PWM_ROCKCHIP

2016-11-11 Thread Simon Glass
On 7 November 2016 at 01:30, Kever Yang wrote: > PWM_ROCKCHIP need to enable for PWM regulator, this config > is missing during rebase and new patch set in previous submission. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [PATCH] evb-rk3399: deduced the dram node size when space reserved

2016-11-11 Thread Simon Glass
On 7 November 2016 at 02:40, Andreas Färber wrote: > Am 07.11.2016 um 09:30 schrieb Kever Yang: >> The size dram node need to be deduced by the same amount of reserved space. >> >> > > Reported-by: Andreas Färber > >> Signed-off-by: Kever Yang

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-11 Thread Tom Rini
On Tue, Nov 08, 2016 at 11:50:19PM +, Will Deacon wrote: > On Tue, Nov 08, 2016 at 02:47:30PM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 07:34:34PM +, Will Deacon wrote: > > > On Tue, Nov 08, 2016 at 01:04:40PM -0500, Tom Rini wrote: > > > > On Tue, Nov 08, 2016 at 06:01:42PM

Re: [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options

2016-11-11 Thread Tom Rini
On Mon, Nov 07, 2016 at 09:34:27AM +0100, Emmanuel Vadot wrote: > This series of patches add the needed bits for booting the FreeBSD > loader. > FreeBSD loader needs the U-Boot API and dache disabled for it to run so > add kconfig options for them. > Also add some some boot command that locate

Re: [U-Boot] [PATCH v3 5/5] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-11 Thread Tom Rini
On Mon, Nov 07, 2016 at 12:13:54PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > A most basic PSCI implementation with only one psci_version is added for > LS1043A, this can verify the generic PSCI framework, and more platform > specific > implementation

Re: [U-Boot] [PATCH v3 4/5] ARMv8: Setup PSCI memory and device tree

2016-11-11 Thread Tom Rini
On Mon, Nov 07, 2016 at 12:13:53PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > The newly added ARMv8 PSCI needs to be initialized, be copied or reserved in > right place, this patch does all the setup steps. > > Signed-off-by: Hongbo Zhang

Re: [U-Boot] [PATCH v3 3/5] ARMv8: Add basic PSCI framework

2016-11-11 Thread Tom Rini
On Mon, Nov 07, 2016 at 12:13:52PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > This patch introduces a generic ARMv8 PSCI framework, with all functions > returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each > platform to implement

Re: [U-Boot] [PATCH] board: am335x/mux: Do not hang when encountering a bad EEPROM

2016-11-11 Thread Tom Rini
On Tue, Nov 08, 2016 at 08:48:44PM -0800, Alexandru Gagniuc wrote: > In most cases, the SPL and u-boot.img will be on the same boot media. > Since the SPL was loaded by the boot rom, the pinmux will already have > been configured for this media. This, the board will still be able to > boot

Re: [U-Boot] [PATCH 1/2] ARM: zynq: Remove DTC 1.2 warnings

2016-11-11 Thread Tom Rini
On Fri, Nov 11, 2016 at 01:26:05PM +0100, Michal Simek wrote: > DTC 1.2 reports these warnings: > Warning (unit_address_vs_reg): Node /memory has a reg or ranges > property, but no unit name > Warning (unit_address_vs_reg): Node /pmu has a reg or ranges property, > but no unit name > Warning

Re: [U-Boot] [PATCH v3 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-11-11 Thread Jagan Teki
On Sat, Nov 5, 2016 at 4:05 PM, Vignesh R wrote: > Fix the divider calculation logic to choose a value so that the > resulting baudrate is either equal to or closest possible baudrate less > than the requested value. While at that, cleanup ti_spi_set_speed(). > > Signed-off-by:

Re: [U-Boot] [PATCH v3 1/2] ARM: dts: dra7xx: Update spi-max-frequency for qspi slave node

2016-11-11 Thread Jagan Teki
On Sat, Nov 5, 2016 at 4:05 PM, Vignesh R wrote: > Update the spi-max-frequency property of m25p80 flash slave to match > that of TI QSPI controller node, so that QSPI operations happen at > maximum supported frequency of 76.8MHz. > > Signed-off-by: Vignesh R >

Re: [U-Boot] [PATCH v8 0/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-11 Thread Ryan Harkin
Hi Alison, On 10 November 2016 at 02:49, Alison Wang wrote: > This series is to support loading a 32-bit OS, the execution state will > change from AArch64 to AArch32 when jumping to kernel. The architecture > information will be got through checking FIT image, then

[U-Boot] [PATCH 27/27] ARM64: zynqmp: Adding prefetchable memory space to pcie

2016-11-11 Thread Michal Simek
From: Bharat Kumar Gogada Adding prefetchable memory space to pcie device tree node. Shifting configuration space to 64-bit address space. Removing pcie device tree node from amba as it requires size-cells=<2> in order to access 64-bit address space.

[U-Boot] [PATCH 26/27] ARM64: zynqmp: Add clocks for LPDDMA

2016-11-11 Thread Michal Simek
From: Kedareswara rao Appana Zynqmp DMA driver expects two clocks (main clock and apb clock) For LPDDMA channels the two clocks are missing in the Dma node resulting probe failure. xilinx-zynqmp-dma ffa8.dma: main clock not found. xilinx-zynqmp-dma ffa8.dma:

[U-Boot] [PATCH 25/27] ARM64: zynqmp: Add description for LPDDMA channel usage

2016-11-11 Thread Michal Simek
From: Kedareswara rao Appana LPDDMA default allows only secured access. inorder to enable these dma channels, one should ensure that it allows non secure access. This patch updates the same. Reported-by: Sai Pavan Boddu Signed-off-by:

[U-Boot] [PATCH 24/27] ARM64: zynqmp: Use 64bit size cell format for main amba bus

2016-11-11 Thread Michal Simek
Use 64bit size cell for main amba bus instead of 32bit because PCIe node requires it Change 64bit sizes also for all others IPs. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 130 +++ 1 file changed, 65

[U-Boot] [PATCH 23/27] ARM64: zynqmp: Add ocm node in dtsi

2016-11-11 Thread Michal Simek
From: Naga Sureshkumar Relli This patch adds ocm controller node in zynqmp.dtsi. needed for OCM edac support. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 7

[U-Boot] [PATCH 21/27] Revert "ARM64: zynqmp: Added broken-tuning property to SD, eMMC nodes"

2016-11-11 Thread Michal Simek
This reverts commit bd750e7a6c515c081b72d4ef108a2bfa691a3fd1 Implemented the new workaround for auto tuning based on zynqmp compatible string, so removed the 'broken-tuning' property. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 -- 1 file changed, 2

[U-Boot] [PATCH 22/27] ARM64: zynqmp: Add device tree properties for ZynqMP GT core

2016-11-11 Thread Michal Simek
From: Anurag Kumar Vulisha This patch adds the ZynqMP GT core device-tree properties for zynqmp.dtsi file. Signed-off-by: Anurag Kumar Vulisha Tested-by: Hyun Kwon Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 20/27] ARM64: zynqmp: change sdhci compatible string.

2016-11-11 Thread Michal Simek
From: Sai Krishna Potthuri This patch changes the compatible string for sdhci node, adds "xlnx,device_id" and "xlnx,mio_bank" property to sdhci node. Signed-off-by: Sai Krishna Potthuri Signed-off-by: Michal Simek

[U-Boot] [PATCH 18/27] ARM64: zynqmp: Add support for zynqmp fpga manager

2016-11-11 Thread Michal Simek
From: Nava kishore Manne Add support for zynqmp fpga manager. Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 19/27] ARM64: zynqmp: List all SMMU ids

2016-11-11 Thread Michal Simek
Add SMMU description for all tested IPs. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 73 +++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi

[U-Boot] [PATCH 17/27] ARM64: zynqmp: Add cortexa53 edac node

2016-11-11 Thread Michal Simek
From: Naga Sureshkumar Relli This patch adds edac node for arm cortexa53 to report errors on L1 and L2 caches. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4

[U-Boot] [PATCH 16/27] Revert "ARM64: zynqmp: Add serdes address space dp driver"

2016-11-11 Thread Michal Simek
This reverts commit 786db82bd5bf09cc8f78c8b14445e843d7566b1c. Since we are using serdes driver , no need of mapping serdes register space into DP driver. Signed-off-by: Anurag Kumar Vulisha Tested-by: Hyun Kwon Signed-off-by: Michal Simek

[U-Boot] [PATCH 13/27] ARM64: zynqmp: Remove xlnx,id property

2016-11-11 Thread Michal Simek
Remove unused xlnx,id property because it is not the part of DT binding. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index

[U-Boot] [PATCH 15/27] ARM64: zynqmp: drm: Add DMA index

2016-11-11 Thread Michal Simek
From: Hyun Kwon Each plane can be associated with multiple DMA channels. So add index for each DMA channel. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 +--- 1 file changed, 5

[U-Boot] [PATCH 14/27] ARM64: zynqmp: Sync gpio node properties

2016-11-11 Thread Michal Simek
Keep dtsi in sync with mainline kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 64438167fbec..ff18596eda06 100644 ---

[U-Boot] [PATCH 12/27] ARM64: zynqmp: pci: Updating device tree as per upstream

2016-11-11 Thread Michal Simek
From: Bharat Kumar Gogada Updating required device tree changes as per mainlined driver from 4.6 kernel. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 5 - 1

[U-Boot] [PATCH 11/27] ARM64: zynqmp: Support for multiple PM IDs assigned to a PM domain

2016-11-11 Thread Michal Simek
From: Filip Drazic Previously, it was assumed that there is a 1:1 mapping between PM ID defined in the platform firmware and a PM domain. However, there can be a situation where multiple PM IDs belong to a single PM domain (e.g. PM IDs for GPU and two pixel processors

[U-Boot] [PATCH 10/27] ARM64: zynqmp: DT: Add PM domains for GPU and PCIE

2016-11-11 Thread Michal Simek
From: Filip Drazic Signed-off-by: Filip Drazic Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 12 1 file changed, 12 insertions(+)

[U-Boot] [PATCH 08/27] ARM64: zynqmp: DT: Remove unused DDR PM domain

2016-11-11 Thread Michal Simek
From: Filip Drazic DDR power states are handled by the PM firmware, so this domain is redundant. Also, since there is no device using this PM domain, it will be powered off during boot, which is wrong. Signed-off-by: Filip Drazic Acked-by:

[U-Boot] [PATCH 09/27] ARM64: zynqmp: DT: Remove unused PM domains for PLL

2016-11-11 Thread Michal Simek
From: Filip Drazic Signed-off-by: Filip Drazic Acked-by: Soren Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 25 - 1 file changed, 25

[U-Boot] [PATCH 06/27] ARM64: zynqmp: Add dcc port to dtsi

2016-11-11 Thread Michal Simek
Add dcc to dtsi for supporting system without serial port. DCC is enabled by default on ZynqMP. Adding dcc to zcu100 and zcu102 which were tested. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102.dts | 5 + arch/arm/dts/zynqmp.dtsi | 6 ++ 2

[U-Boot] [PATCH 07/27] ARM64: zynqmp: Remove note about level shifter on zcu102

2016-11-11 Thread Michal Simek
i2c device is just level shifter. Remove reference from dts. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102.dts b/arch/arm/dts/zynqmp-zcu102.dts index

[U-Boot] [PATCH 04/27] ARM64: zynqmp: Enable gpio-led as heartbeat on zcu102

2016-11-11 Thread Michal Simek
Show user that Linux is alive on the board. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu102.dts b/arch/arm/dts/zynqmp-zcu102.dts index b3f5eaacaefc..d6cee07890c5

[U-Boot] [PATCH 05/27] ARM64: zynqmp: Add gpio-keys for zcu102

2016-11-11 Thread Michal Simek
There is gpio push button on MIO22. Add it to DTS to have full board description. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu102.dts

[U-Boot] [PATCH 03/27] ARM64: zynqmp: Enable can1 for ep108

2016-11-11 Thread Michal Simek
From: Naga Sureshkumar Relli This patch enables can1 for ep108. Signed-off-by: Naga Sureshkumar Relli Reviewed-by: Kedareswara rao Appana Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 02/27] ARM64: zynqmp: Added clocks to DT for ep108

2016-11-11 Thread Michal Simek
From: VNSL Durga Added clks for ep108 platform. Signed-off-by: VNSL Durga Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108-clk.dtsi | 44 ++ 1 file changed, 44

[U-Boot] [PATCH 01/27] ARM64: zynqmp: Add clocks for LPDDMA

2016-11-11 Thread Michal Simek
From: Kedareswara rao Appana Zynqmp DMA driver expects two clocks (main clock and apb clock) LPDDMA clock cofiguration is missing for the same in the zynqmp-clk.dtsi file. This patch updates for the same. Reported-by: Sai Pavan Boddu

[U-Boot] [PATCH 1/2] ARM: zynq: Remove DTC 1.2 warnings

2016-11-11 Thread Michal Simek
DTC 1.2 reports these warnings: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /pmu has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg

[U-Boot] [PATCH 2/2] ARM64: zynqmp: Remove DTC 1.2 warnings

2016-11-11 Thread Michal Simek
DTC 1.2 reports these warnings: Warning (unit_address_vs_reg): Node /amba_apu has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /amba has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /amba/usb@fe20 has a unit name, but no reg

Re: [U-Boot] [PATCH] SPI: fixup typo in omap2_spi.c

2016-11-11 Thread Jagan Teki
This patch missing name in English and Signed-Off-by. please fix. On Fri, Nov 4, 2016 at 8:23 PM, 郑 祎 wrote: > regs->channel[] is an array of registers in SoC. It is indexed by CS# > Fixup the typo which will cause the index error when accessing the hardware. > > In

[U-Boot] [PATCH v4 2/2] rpi: passthrough of the firmware provided FDT blob

2016-11-11 Thread Cédric Schieli
Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and the blob size [1]. If one wants to passthrough this FDT blob to the kernel, the most reliable way is to save its address from the r2/x0 register

[U-Boot] [PATCH v4 0/2] rpi: passthrough of the firmware provided FDT blob

2016-11-11 Thread Cédric Schieli
Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and the blob size [1]. If one wants to passthrough this FDT blob to the kernel, the most reliable way is to save its address from the r2/x0 register

[U-Boot] [PATCH v4 1/2] arm: add save_boot_params for ARM1176

2016-11-11 Thread Cédric Schieli
Implement a hook to allow boards to save boot-time CPU state for later use. When U-Boot is chain-loaded by another bootloader, CPU registers may contain useful information such as system configuration information. This feature mirrors the equivalent ARMv7 feature. Signed-off-by: Cédric Schieli

[U-Boot] [PATCH] armv8/fsl-layerscape: Update CONFIG_LS2080A to CONFIG_FSL_LSCH3

2016-11-11 Thread Shengzhou Liu
Update CONFIG_LS2080A to CONFIG_FSL_LSCH3 to make those workaround implementing of erratum reusable for more SoCs. Signed-off-by: Shengzhou Liu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-11 Thread Chen-Yu Tsai
Hi, On Fri, Nov 4, 2016 at 11:18 PM, Maxime Ripard wrote: > The SinA33 comes with an optional 7" display. Enable it in the > configuration. > > Signed-off-by: Maxime Ripard > --- > configs/Sinlinx_SinA33_defconfig | 4 >

Re: [U-Boot] [PATCH] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-11 Thread Jagan Teki
On Fri, Nov 11, 2016 at 2:09 AM, Angus Ainslie wrote: > Enable the escpi3 nets attached to the mikroBUS slot > on the i.MX7 Sabre evalution board. Also enble the SPI flash > commands to work with the "flash click" board. > > This is V2 of this patch with changes recommended by the

  1   2   >