[PATCH] armv8: Skip PIE in SPL due to load alignment fault.

2023-08-03 Thread Kevin Chen
when executing ldp instuction in pie_fix_loop. Signed-off-by: Kevin Chen --- arch/arm/cpu/armv8/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index f3ea858577..6cc1d26e5e 100644 --- a/arch/arm/cpu/armv8/start.S

Re: [PATCH v2] usb: gadget: ether: split start/stop from init/halt

2023-01-25 Thread Kevin Hilman
ers. By suggestion from Marek, I was testing this patch and discovered that it broke fastboot over USB support. With this patch applied on top of v2022.10, I'm seeing: => fastboot 0 couldn't find an available UDC g_dnl_register: failed!, error: -19 Kevin

nand/am335x_spl_bch - SPL NAND loading hang on power on only

2021-08-31 Thread Kevin Baker
ed to check with the list to see if I am missing something... Thanks, Kevin

am335x_spl_bch - SPL NAND loading hang on power on only

2021-08-30 Thread Kevin Baker
ed to check with the list to see if I am missing something... Thanks, Kevin

Re: [PATCH 4/4] board: amlogic: vim3: add support for dynamic PCIe enable

2020-09-18 Thread Kevin Hilman
c/vim3/vim3.c > @@ -11,6 +11,122 @@ > #include > #include > #include > +#include > +#include "khadas-mcu.h" This file doesn't exist in this series, so it doesn't compile. Copying it from Linux, it compiles and works fine. Kevin

Re: [PATCH 0/4] amlogic: vim3: add support for dynamic PCIe enable

2020-09-18 Thread Kevin Hilman
B3.0 controller and the PCIe Controller, thus only > a single controller can use it. > > This serie adds a VIM3 specific board support and adds this dynamic > switching right before booting Linux. Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Tested on khadas vim3 Kevin

Re: [PATCH 0/2] amlogic: add Khadas VIM3L support

2019-12-12 Thread Kevin Hilman
Christian Hewitt writes: > Khadas VIM3L is a new revision of the VIM3 board that swaps the premium > A311D chip for Amlogic's mid-range S905D3 chip. Tested-by: Kevin Hilman

Re: [U-Boot] Using kernelCI infrastructure for firmware testing

2019-11-22 Thread Kevin Hilman
this? We just had an automated-testing summit connected to Embedded Linux Conference Europe last month, where many of us were gathered. Remi even gave a talk on bootloader testing with LAVA, maybe he can share the slides for that. Kevin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-19 Thread Kevin Hilman
On Fri, Apr 19, 2019 at 1:38 PM Kevin Hilman wrote: > > Atish Patra writes: > > > On 4/18/19 4:16 PM, Kevin Hilman wrote: > >> Atish Patra writes: > >> > >>> On 4/18/19 12:15 PM, Kevin Hilman wrote: > >>>> Palmer, Anup, > &g

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-19 Thread Kevin Hilman
Atish Patra writes: > On 4/18/19 4:16 PM, Kevin Hilman wrote: >> Atish Patra writes: >> >>> On 4/18/19 12:15 PM, Kevin Hilman wrote: >>>> Palmer, Anup, >>>> >>>> On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: >>>

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Kevin Hilman
Atish Patra writes: > On 4/18/19 12:15 PM, Kevin Hilman wrote: >> Palmer, Anup, >> >> On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: >>> >>> On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: >>>> On Thu, Feb 14, 201

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-04-18 Thread Kevin Hilman
Palmer, Anup, On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt wrote: > > On Mon, 11 Mar 2019 07:33:25 PDT (-0700), bmeng...@gmail.com wrote: > > On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman wrote: > >> > >> Kevin Hilman writes: > >> > >

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-02-13 Thread Kevin Hilman
Kevin Hilman writes: > Hi Anup, > > Anup Patel writes: > >> This patchset adds SiFive Freedom Unleashed (FU540) support >> to RISC-V U-Boot. >> >> The patches are based upon latest U-Boot source tree >> (git://git.denx.de/u-boot.git) at commit id &

Re: [U-Boot] [PATCH v7 00/15] SiFive FU540 Support

2019-02-13 Thread Kevin Hilman
work anymore. Can you do some sanity testing with a 100Mb switch? Kevin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v7 14/15] doc: Add a readme guide for SiFive FU540

2019-02-13 Thread Kevin Hilman
Atish Patra writes: >> On Feb 12, 2019, at 4:18 PM, Kevin Hilman wrote: >> >> Anup Patel writes: >> >>> From: Atish Patra >>> >>> The readme guide describes the procedure to build, flash and boot Linux >>> using U-Boot on HiFive

Re: [U-Boot] [PATCH v7 14/15] doc: Add a readme guide for SiFive FU540

2019-02-12 Thread Kevin Hilman
hmm, doesn't look like it. > +[0.00] OF: fdt: Ignoring memory range 0x8000 - 0x8020 > +[0.000000] Linux version 5.0.0-rc1-00020-g4b51f736 (atish@jedi-01) (gcc > version 7.2.0 (GCC)) #262 SMP Mon Jan 21 17:39:27 PST 2019 Looks like you're testing with a handfu

Re: [U-Boot] [PATCH] pinctrl: meson: axg: Fix GPIO pin offsets

2018-12-06 Thread Kevin Hilman
n the second GPIO chip > (the AO bank is driven correctly because the shifting is already 0). > > Signed-off-by: Carlo Caione This looks like it could use a Fixes: tag for stable. Kevin > --- > drivers/pinctrl/meson/pinctrl-meson-axg.c | 22 +++--- > 1 file

Re: [U-Boot] [PATCH] binman: Put our local modules ahead of system modules

2017-06-23 Thread Kevin Hilman
thon. I cannot access > that package to test it. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reported-by: Kevin Hilman <khil...@baylibre.com> While I removed the pip package that was causing me problems, this looks basically like the workaround I had done locally. Acked-by

Re: [U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-06-02 Thread Kevin Hilman
On Fri, Jun 2, 2017 at 11:00 AM, Simon Glass <s...@chromium.org> wrote: > Hi Kevin, > > On 1 June 2017 at 17:08, Kevin Hilman <khil...@baylibre.com> wrote: >> >> On Thu, Jun 1, 2017 at 8:23 AM, Simon Glass <s...@chromium.org> wrote: >> > Hi Kevin,

Re: [U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-06-01 Thread Kevin Hilman
On Thu, Jun 1, 2017 at 8:23 AM, Simon Glass <s...@chromium.org> wrote: > Hi Kevin, > > On 1 June 2017 at 07:55, Kevin Hilman <khil...@baylibre.com> wrote: >> On Wed, May 31, 2017 at 12:19 PM, Simon Glass <s...@chromium.org> wrote: >>> Hi Kevin, >>&

Re: [U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-06-01 Thread Kevin Hilman
On Wed, May 31, 2017 at 12:19 PM, Simon Glass <s...@chromium.org> wrote: > Hi Kevin, > > On 31 May 2017 at 12:13, Kevin Hilman <khil...@baylibre.com> wrote: >> While trying to build v2017.05 for sun5i-r8-chip (CHIP_defconfig), I get >> the following build error.

[U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-05-31 Thread Kevin Hilman
'u-boot-sunxi-with-spl.bin' failed make: *** [u-boot-sunxi-with-spl.bin] Error 1 If it matters, compiler is: gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) Kevin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] mmc: sdhci: only flush cache for data command

2017-03-08 Thread Kevin Liu
No need to flush cache for command without data. Signed-off-by: Kevin Liu <kevin...@asrmicro.com> --- drivers/mmc/sdhci.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 93cefd8..c94d58d 100644 --- a/drivers/mmc/s

[U-Boot] [PATCH] ARM: imx7s-warp: enable USB gadget ethernet

2016-12-16 Thread Kevin Hilman
Enable USB gadget ethernet by default to have networking capabilities. Tested using DHCP and TFTP to transfer kernel, DT, ramdisk. Cc: Fabio Estevam <feste...@gmail.com> Signed-off-by: Kevin Hilman <khil...@baylibre.com> --- Applies to v2016.11 board/warp7/warp

Re: [U-Boot] [PATCH] configs: da850evm: enable bootz command

2016-07-12 Thread Kevin Hilman
Sekhar Nori <nsek...@ti.com> writes: > Enable bootz command on Texas Instruments DA850 EVM > board. This helps it boot zImage with device-tree > blob passed. > > Signed-off-by: Sekhar Nori <nsek...@ti.com> Tested-by: Kevin Hilman <khil...@baylibre.com> Thanks!

[U-Boot] [RFC] tools/env: Support UBI devices

2016-05-16 Thread Kevin Smith
It is important to use LEB size instead of PEB size when using UBI. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Michael Heimpold <m...@heimpold.de> Cc: Joe Hershberger <joe.hershber...@ni.com> --- tools/env/fw_env.c | 71

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-05-13 Thread Kevin Hilman
Carlo Caione <ca...@caione.org> writes: > On Fri, May 13, 2016 at 3:46 PM, Kevin Hilman <khil...@baylibre.com> wrote: >> Carlo Caione <ca...@caione.org> writes: >> >>> From: Carlo Caione <ca...@endlessm.com> >>> >>> This is a po

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-05-13 Thread Kevin Hilman
] > +static const struct udevice_id meson_mmc_match[] = { > + { .compatible = "amlogic,meson-mmc" }, > + { /* sentinel */ } IIUC, this controller is different between meson8* and gxbb. If that's the case, this compatible should probably be more specific. Kevin ___

Re: [U-Boot] U-boot UBI environment

2016-05-11 Thread Kevin Smith
will let you know. Thank you for your help, Kevin On 05/11/2016 12:51 AM, Heiko Schocher wrote: > Hello Joe, > > Am 11.05.2016 um 01:15 schrieb Joseph Hershberger: >> Hi Kevin, >> >> Am 09.05.2016 um 23:16 schrieb Kevin Smith: >>> Hello, >>> >>> I

Re: [U-Boot] Unable to compile

2016-04-22 Thread Kevin Welsh
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, April 22, 2016 9:50 AM > To: Kevin Welsh <kwe...@welshtechnologies.com> > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Unable to compile > > On Fri, Apr 22, 2016 at 03:33

[U-Boot] Unable to compile

2016-04-22 Thread Kevin Welsh
After moving to v2006.03, I can no longer compile with my existing defconfig: cmd/built-in.o: In function `do_fastboot': /home/kdubious/u-boot/cmd/fastboot.c:34: undefined reference to `g_dnl_clear_detach' /home/kdubious/u-boot/cmd/fastboot.c:35: undefined reference to `g_dnl_register'

[U-Boot] ITEAD Board (A20) fails to communicate on boot unless UART is connected

2016-04-08 Thread Kevin Welsh
I'm trying to resolve a strange networking issue with the ITEAD Core EVB + AW2041 module. If I connect all 3 UART wires (GND, RCV & TX) between the board and a USB UART device: I get an IP 100% of the time. If I connect only TX & RCV: I get an IP 100%. If I connect TX & GND, I get an IP 100%.

Re: [U-Boot] [PATCH] gpio: mvebu_gpio: Add missing out value set to gpio_direction_output()

2016-04-08 Thread Kevin Smith
t; > Signed-off-by: Stefan Roese <s...@denx.de> > Cc: Kevin Smith <kevin.sm...@elecsyscorp.com> > --- > drivers/gpio/mvebu_gpio.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c > index 9564ce2..75dc7

[U-Boot] [PATCH v3 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-03-31 Thread Kevin Smith
in bitfield.h to clean up bit operations * Use correct error return codes * Comment/code formatting improvements and clarifications Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Acked-by: Prafulla Wadaskar <prafu...@marvell.com> Cc: Albert ARIBAUD <albert.u.b...@aribaud.net> C

[U-Boot] [PATCH v3 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-03-31 Thread Kevin Smith
The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>

[U-Boot] [PATCH v3 1/2] net: Remove unused mv88e61xx switch driver

2016-03-31 Thread Kevin Smith
No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> Cc: Prafulla Wadaskar <prafu...@marvell.com> Cc: Albert A

Re: [U-Boot] [PATCH] tools/kwboot.c: Support UART fallback mode

2016-03-29 Thread Kevin Smith
Hi Stefan, On 03/24/2016 04:29 AM, Stefan Roese wrote: > Hi Kevin, > > On 01.09.2015 14:52, Stefan Roese wrote: >> Hi Kevin, >> >> (Added Luka to Cc, as the Marvell / MVEBU custodian) >> >> On 31.08.2015 22:30, Kevin Smith wrote: >>> On som

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-17 Thread Kevin Smith
oC (Kirkwood / Orion) may follow once they > support DM as well. > > Signed-off-by: Stefan Roese <s...@denx.de> > Cc: Dirk Eibach <dirk.eib...@gdsys.cc> > Cc: Phil Sutter <p...@nwl.cc> > Cc: Kevin Smith <kevin.sm...@elecsyscorp.com> > Cc: Luka Perkov &l

[U-Boot] [PATCH 1/2] tools: kwboot: Clean up usage text

2016-02-16 Thread Kevin Smith
Usage text was getting unwieldy and somewhat incorrect. The usage summary implied that some options were mutually exclusive (e.g. -q or -s). Clean up the summary to just include the important ones, and include a generic "[OPTIONS]" instead. Signed-off-by: Kevin Smith

[U-Boot] [PATCH 2/2] tools: kwboot: Add xmodem timeout option

2016-02-16 Thread Kevin Smith
Add command-line specification of xmodem timeout. If the binary header needs to take a while to do something (e.g. DDR ECC scrubbing), the xmodem transfer can time out. Add a configurable xmodem block timeout to allow transfers with slow binary headers to succeed. Signed-off-by: Kevin Smith

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-15 Thread Kevin Smith
er MVEBU SoC (Kirkwood / Orion) may follow once they > support DM as well. > Are there any GPIO functions on the db-88f6820-gp board that I can use to test this patch? I'm not seeing any "-gpios = < ...>" nodes in the curr

[U-Boot] Olinuxino A13 NAND boot (Sunxi)

2016-01-28 Thread Kevin Kowalewski
chip to the nand_ids.c file, just enabled ONFI, without it u-Boot claims the ONFI header can't be found, doesn't seem like a big deal. Any help would be greatly appreciated. Thanks, Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listin

Re: [U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-01-27 Thread Kevin Smith
turn false positives during this time. */ > This is OK? Yes. This is used to skip the autonegotiation process if nothing is plugged into the port. If you have 5-6 ports enabled but only one cable plugged in, waiting for all the other autonegotiation timeouts takes a long time. This tries

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Kevin Smith
Hi Albert, On 01/26/2016 10:13 AM, Joe Hershberger wrote: > Hi Albert, > > On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD > <albert.u.b...@aribaud.net> wrote: >> Hello Kevin, >> >> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith >> <kevin.sm...@ele

[U-Boot] [PATCH v2 1/3] mtd: pxa3xx_nand: Correct null dereference

2016-01-14 Thread Kevin Smith
Correct a null pointer dereference in board_nand_init(). Zeroed memory was allocated, then immediately dereferenced. The dereference is completely removed, since this pointer is later initialized in alloc_nand_resources. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Stefan

[U-Boot] [PATCH v2 2/3] mtd: pxa3xx_nand: Correct offset calculation

2016-01-14 Thread Kevin Smith
Correct some pointer math in initialization. An offset was added to a struct-typed pointer instead of one casted to a byte-size, resulting in a much larger offset than intended. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Stefan Roese <s...@denx.de> Cc: Luka Perk

[U-Boot] [PATCH v2 3/3] mtd: pxa3xx_nand: Don't alloc unneeded memory

2016-01-14 Thread Kevin Smith
The allocation size is reduced from what was introduced from the Linux kernel, as U-boot uses the statically allocated nand_info instead of needing to dynamically allocate an mtd_info instance. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Stefan Roese <s...@denx.de&

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/09/2016 03:07 AM, Stefan Roese wrote: > @@ -100,14 +100,24 @@ > #if defined(CONFIG_ARMADA_38X) > /* SAR values for Armada 38x */ > #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18600)) > + > #define SAR_CPU_FREQ_OFFS 10 > #define SAR_CPU_FREQ_MASK (0x1f <<

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/13/2016 10:18 AM, Stefan Roese wrote: > On 13.01.2016 17:12, Kevin Smith wrote: >> On 01/09/2016 03:07 AM, Stefan Roese wrote: >>> @@ -100,14 +100,24 @@ >>>#if defined(CONFIG_ARMADA_38X) >>>/* SAR values for Armada 38x */ >>>#define

[U-Boot] Newbie to u-boot needs help! Please help if you can

2016-01-11 Thread Kevin Alexander
Hello I am making a bigeffort to try to acquire knowledge regarding embedded Linux. Myprimary reference is the book entitled 'Embedded Linux Primer, SecondEdition A Practical, Real-World Approach' by Christopher Hallinan,published 2010 I have reachedchapter 7, 'Bootloaders', and I am having a

[U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches

2015-12-21 Thread Kevin Smith
The previous mv88e61xx driver was a driver for configuring the switch, but did not integrate with the PHY/networking system, so it could not be used as a PHY by U-boot. This is a complete rework to support this device as a PHY. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>

[U-Boot] [PATCH v2 1/2] net: Remove unused mv88e61xx switch driver

2015-12-21 Thread Kevin Smith
No boards are using this driver. Remove in preparation for a new driver with integrated PHY support. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Joe Hershberger <joe.hershber...@ni.com> Cc: Prafulla Wadaskar <prafu...@marvell.com> Cc: Stefan Roese <s...@den

[U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-21 Thread Kevin Smith
is appreciated. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Prafulla Wadaskar <prafu...@marvell.com> Cc: Joe Hershberger <joe.hershber...@ni.com> Cc: Stefan Roese <s...@denx.de> Cc: Marek Vasut <ma...@denx.de> Kevin Smith (2): net: Remove unused mv88e61xx swi

[U-Boot] [PATCH 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-21 Thread Kevin Smith
is appreciated. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Acked-by: Prafulla Wadaskar <prafu...@marvell.com> Cc: Joe Hershberger <joe.hershber...@ni.com> Cc: Stefan Roese <s...@denx.de> Cc: Marek Vasut <ma...@denx.de> Kevin Smith (2): net: Remove unused mv88

[U-Boot] [PATCH] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-15 Thread Kevin Smith
as a basic PHY on any/all ports. This driver was developed with a mv88e6176 switch and a CPU connected over SGMII on port 5. Other configurations should be supported, but this is the only one that could be tested. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Joe Hersh

[U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
was introduced from the Linux kernel, as U-boot uses the statically allocated nand_info instead of needing to dynamically allocate an mtd_info instance. Also, some pointer math was corrected in the initialization of the nand_chip pointer. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com&

[U-Boot] [PATCH] env_ubi.c: Correct pointer error in env load

2015-10-23 Thread Kevin Smith
d the cast. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Joe Hershberger <joe.hershber...@ni.com> Cc: Tom Rini <tr...@konsulko.com> --- common/env_ubi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/env_ubi.c b/common/env_ubi.c i

[U-Boot] [PATCH 0/3] arm: mvebu: a38x: Cleanup serdes/DDR training

2015-10-23 Thread Kevin Smith
is a mechanism in the drivers themselves for changing the board-specified configuration based on values loaded from an on-board EEPROM. This belongs in the board file instead of the driver, and is not needed for the db-88f6820-gp development board, so is completely removed. Kevin Smith (3): arm: mvebu

[U-Boot] [PATCH 1/3] arm: mvebu: a38x: Remove unsupported topologies

2015-10-23 Thread Kevin Smith
, it should be handled in the board file, not in core code. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Stefan Roese <s...@denx.de> Cc: Dirk Eibach <eib...@gdsys.de> Cc: Luka Perkov <luka.per...@sartura.hr> --- arch/arm/mach-mvebu/serdes/a38x/Makefile

[U-Boot] [PATCH 2/3] arm: mvebu: a38x: Add const to some function calls

2015-10-23 Thread Kevin Smith
Functions that do not modify the pointer passed should declare it as const. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc: Stefan Roese <s...@denx.de> Cc: Dirk Eibach <eib...@gdsys.de> Cc: Luka Perkov <luka.per...@sartura.hr> --- arch/arm/mach-mveb

[U-Boot] [PATCH 3/3] arm: mvebu: a38x: serdes specification cleanup

2015-10-23 Thread Kevin Smith
Instead of allocating space in the driver for the serdes specification table, just allow the board file to set a pointer to it. Also, allow the board to only specify the lanes that are used instead of including unused lanes. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> Cc:

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
ow. I think my patch fixes a legitimate issue. (It at least fixes the crashes I was experiencing). I hope it can be accepted as-is. Thanks, Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
On 10/23/2015 04:14 PM, Scott Wood wrote: > On Fri, 2015-10-23 at 20:57 +0000, Kevin Smith wrote: >> On 10/23/2015 03:34 PM, Scott Wood wrote: >>> Does Linux have this problem? Assuming no, please fix this by making the >>> driver look more like Linux. At least then it

Re: [U-Boot] [PATCH] mtd: pxa3xx_nand: Correct allocation and init bug

2015-10-23 Thread Kevin Smith
lculation of "chip" and the > allocation size is relevant to the NULL dereference? Couldn't that be fixed > by just removing the "info->host[0]->mtd" line? It's not, they are two separate bugs that crash when I try to load from NAND. Perhaps I should

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Configure the SDHCI MBUS bridge windows

2015-10-01 Thread Kevin Smith
-off-by: Stefan Roese <s...@denx.de> No lockups over many load tests. Thanks! Tested-by: Kevin Smith <kevin.sm...@elecsyscorp.com> ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] tools: kwboot: Add support for UART boot mode patching for Armada XP/38x

2015-09-30 Thread Kevin Smith
ts possible now to use the UART boot mode without on images that > are generated for other boot devices, like SPI. So no need to change > BOOT_FROM to "uart" for UART xmodem booting any more. > > Signed-off-by: Stefan Roese <s...@denx.de> > Cc: Luka Perkov

[U-Boot] [PATCH] ubifs: Add missing macros for U-boot build

2015-09-22 Thread Kevin Smith
s, because the definitions are macro'd out. This patch macros out the calls so that the build succeeds with -O0. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> --- fs/ubifs/io.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c index bdccdc4..eab3281

[U-Boot] U-boot UBI breaks build with -O0

2015-09-16 Thread Kevin Smith
to `dbg_leb_unmap' This function is in a #ifndef __UBOOT__ section. Kevin Smith ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] tools/kwboot.c: Support UART fallback mode

2015-08-31 Thread Kevin Smith
he NAK, and start the transfer successfully. Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com> --- tools/kwboot.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index af7a6ee..6b58fc9 100644 --- a/tools/kwboot.c

Re: [U-Boot] [PATCH 2/3] arm: mvebu: Add option to use UART xmodem protocol via kwboot

2015-08-25 Thread Kevin Smith
- Armada XP DB-88F6820-GP - Armada 38x Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 00/25] dm: Introduce Rockchip RK3288 support

2015-06-24 Thread Kevin Hilman
this. Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-18 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Changes in v3: - Correct coding-style errors - Correct config macro style error - Add acked-by lines Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support

[U-Boot] [PATCH v3 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-18 Thread Kevin Smith
-by: Kevin Smith kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..95a05e6 100644 --- a/include/configs/db-88f6820

[U-Boot] [PATCH v3 3/4] mv-common.h: Include support for device trees

2015-05-18 Thread Kevin Smith
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..4039b71 100644 --- a/include/configs/mv

[U-Boot] [PATCH v3 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-18 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com Acked-by: Stefan Roese s...@denx.de --- arch/arm/mach

[U-Boot] [PATCH v3 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-18 Thread Kevin Smith
From: Stefan Roese s...@denx.de L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese s...@denx.de Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8

[U-Boot] [PATCH v2 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-13 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file

[U-Boot] [PATCH v2 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-13 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Changes in v2: - Correct address written to CBAR to be the SCU address instead of the internal registers address Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h

[U-Boot] [PATCH v2 3/4] mv-common.h: Include support for device trees

2015-05-13 Thread Kevin Smith
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..03518b0 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h

[U-Boot] [PATCH v2 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-13 Thread Kevin Smith
-by: Kevin Smith kevin.sm...@elecsyscorp.com --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..490d74e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db

[U-Boot] [PATCH v2 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-13 Thread Kevin Smith
From: Stefan Roese s...@denx.de L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed

[U-Boot] [PATCH 1/4] arm: mvebu: Disable L2 cache before enabling d-cache

2015-05-12 Thread Kevin Smith
From: Stefan Roese s...@denx.de L2 cache may still be enabled by the BootROM. We need to first disable it before enabling d-cache support. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed

[U-Boot] [PATCH 2/4] arm: mvebu: Update CBAR with SOC regs base

2015-05-12 Thread Kevin Smith
SMP-enabled Linux kernels read the CBAR register in CP15 to find the address of the SCU registers. After remapping internal registers, also update the CBAR so the kernel can find them. Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file

[U-Boot] [PATCH 3/4] mv-common.h: Include support for device trees

2015-05-12 Thread Kevin Smith
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- include/configs/mv-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 51436da..03518b0 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h

[U-Boot] [PATCH 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-12 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for device trees db-88f6820-gp.h: Load data blobs into lower memory Stefan Roese (1): arm: mvebu

[U-Boot] [PATCH 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux

2015-05-12 Thread Kevin Smith
Changes needed to allow the DB-88F6820-GP development board to successfully boot a Linux kernel. Kevin Smith (3): arm: mvebu: Update CBAR with SOC regs base mv-common.h: Include support for device trees db-88f6820-gp.h: Load data blobs into lower memory Stefan Roese (1): arm: mvebu

[U-Boot] [PATCH 4/4] db-88f6820-gp.h: Load data blobs into lower memory

2015-05-12 Thread Kevin Smith
-by: Kevin Smith kevin.sm...@elecsyscorp.com --- include/configs/db-88f6820-gp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 12a24ce..490d74e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db

Re: [U-Boot] [PATCH v2 0/13] Add Marvell Armada A38x 88F6820 SoC support

2015-04-16 Thread Kevin Smith
- Ethernet (neta) One big part of this new SoC support is the move of the already exisiting Armada XP support into the mach-mvebu directory. With this move its easier to re-use this code for the A38x, which is pretty similar to the AXP. Thanks, Stefan Tested-by: Kevin Smith kevin.sm

Re: [U-Boot] [PATCH 10/10] arm: mvebu: Add Armada A38x DB-88F6820-GP board support

2015-03-18 Thread Kevin Smith
(64 10) /* 64KiB sectors */ The M25P128 SPI flash chip on the DB-88F6820-GP board has 1024-page sectors, so these will need to be 256KiB instead of 64. Otherwise the SF driver complains when trying to saveenv. Regards, Kevin ___ U-Boot mailing list U

[U-Boot] [PATCH] tools/kwbimage.c: Correct header size for SPI boot

2015-03-16 Thread Kevin Smith
that returns the header size so that the same value is used in all places. Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com --- tools/kwbimage.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 9540e7e..1ff17ca

Re: [U-Boot] [PATCH v4 03/10] Exynos542x: Add workaround for ARM errata 798870

2015-02-25 Thread Kevin Hilman
don't want it need not bother about it. This was the intention. :) What about exynos542x platforms which also have secure firmware? Are you testing this on any of those (e.g. exynos5422-odroid-xu3?) Kevin ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v4 03/10] Exynos542x: Add workaround for ARM errata 798870

2015-02-25 Thread Kevin Hilman
-odroid-xu3). Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-02-25 Thread Kevin Hilman
Hi Suriyan, On Thu, Jan 22, 2015 at 5:46 PM, Suriyan Ramasami suriya...@gmail.com wrote: On Thu, Jan 22, 2015 at 9:51 AM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman khil...@kernel.org wrote

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-22 Thread Kevin Hilman
Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman khil...@kernel.org wrote: Hi Surijan, Suriyan Ramasami suriya...@gmail.com writes: Hello Sjoerd Simons, A signed BL2 which allows unsigned BL2 chain load is already available

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-21 Thread Kevin Hilman
Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami suriya...@gmail.com wrote: Hello Kevin, On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman khil...@kernel.org wrote: Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-21 Thread Kevin Hilman
boots. Is the unsigned BL2 supposed to boot u-boot at offset 65 when it's finished as well? How are you debugging your SPL images? I tried adding CONFIG_SPL_SERIAL_SUPPORT so I could printf from SPL, but that doesn't compile because it seems that libfdt support is needed. Kevin [1] branch

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Kevin Hilman
Suriyan Ramasami suriya...@gmail.com writes: Hello Kevin, These are the changes that would be necessary in uboot mainline for SPL: arch/arm/cpu/armv7/exynos/Kconfig - select OF_CONTROL + select SUPPORT_SPL + select OF_CONTROL if !SPL_BUILD configs/odroid

Re: [U-Boot] [PATCH 00/11] Add support for booting multiple cores

2015-01-20 Thread Kevin Hilman
with mainline u-boot/SPL.) Are you testing this on mainline u-boot? Can you describe what platforms you've tested this on and whether or not those platforms are using secure firmware? Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-20 Thread Kevin Hilman
to build an SPL from mainline. Can you share your changes to mainline u-boot that enable the building of SPL? I'd like to try that using your BL2 that will load an unsigned BL2. Thanks, Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH v2] common/board_f.c: fix compile error when tracing disabled

2014-12-15 Thread Kevin Hilman
From: Kevin Hilman khil...@linaro.org When CONFIG_TRACE is disabled, linking fails with: common/built-in.o:(.data.init_sequence_f+0x8): undefined reference to `trace_early_init' To fix, wrap the call to trace_early_init() with #ifdef CONFIG_TRACE. Cc: Simon Glass s...@chromium.org Cc: Tom

  1   2   >