UEFI ConOut with systemd-boot: attributes aren't working

2024-12-31 Thread Kevin P. Fleming
I've got a couple of Traverse ten64 machines, which have serial consoles and are using U-Boot 2023.07-rc2 (a bit old, granted). I connect to their consoles using Minicom on a Debian machine. If I stop the U-Boot autoboot process, the U-Boot menu itself is displayed as expected, with 'reverse' h

[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
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
iscite VAR-SOM-AM33 module. Just wanted 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
th a Variscite VAR-SOM-AM33 module. Just wanted to check with the list to see if I am missing something... Thanks, 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 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/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
ces to get in contact with the > community to talk about 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
27;t 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
... (/me goes searching for the compatible)... hmm, doesn't look like it. > +[0.00] OF: fdt: Ignoring memory range 0x8000 - 0x8020 > +[0.00] Linux version 5.0.0-rc1-00020-g4b51f736 (atish@jedi-01) (gcc > version 7.2.0 (GCC)) #262 SMP Mon Jan 21 17:

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

2018-12-06 Thread Kevin Hilman
/ GPIOs in 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 +++--- &g

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

2017-06-23 Thread Kevin Hilman
> that package to test it. > > Signed-off-by: Simon Glass > Reported-by: Kevin Hilman While I removed the pip package that was causing me problems, this looks basically like the workaround I had done locally. Acked-by: Kevin Hilman Thanks for fixing it up, Kevin _

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 wrote: > Hi Kevin, > > On 1 June 2017 at 17:08, Kevin Hilman wrote: >> >> On Thu, Jun 1, 2017 at 8:23 AM, Simon Glass wrote: >> > Hi Kevin, >> > >> > On 1 June 2017 at 07:55, Kevin Hilman wrote: >

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 wrote: > Hi Kevin, > > On 1 June 2017 at 07:55, Kevin Hilman wrote: >> On Wed, May 31, 2017 at 12:19 PM, Simon Glass wrote: >>> Hi Kevin, >>> >>> On 31 May 2017 at 12:13, Kevin Hilman wrote: >>>

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 wrote: > Hi Kevin, > > On 31 May 2017 at 12:13, Kevin Hilman wrote: >> While trying to build v2017.05 for sun5i-r8-chip (CHIP_defconfig), I get >> the following build error. I'm not familiar with binman, so not sure >&

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

2017-05-31 Thread Kevin Hilman
e:1107: recipe for target '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 --- 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/sdhci.c +++ b/drivers/mmc/sdhci.c

[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 Signed-off-by: Kevin Hilman --- Applies to v2016.11 board/warp7/warp7.c | 14 ++ configs/warp7_defconfig | 5 + include

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

2016-07-12 Thread Kevin Hilman
Sekhar Nori 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 Tested-by: Kevin Hilman Thanks! This was the only change I needed to use the latest mainline u-boot

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

2016-05-16 Thread Kevin Smith
important to use LEB size instead of PEB size when using UBI. Signed-off-by: Kevin Smith Cc: Michael Heimpold Cc: Joe Hershberger --- tools/env/fw_env.c | 71 -- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git a/tools/env/fw_env.c

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

2016-05-13 Thread Kevin Hilman
Carlo Caione writes: > On Fri, May 13, 2016 at 3:46 PM, Kevin Hilman wrote: >> Carlo Caione writes: >> >>> From: Carlo Caione >>> >>> This is a port / rewrite of the Amlogic driver shipped whithin the >>> Amlogic SDK for the Meson GXB

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

2016-05-13 Thread Kevin Hilman
patible = "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 ___ U-Boot mailing list U-Boot@

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

2016-05-11 Thread Kevin Smith
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 > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Unable to compile > > On Fri, Apr 22, 2016 at 03:33:13AM +, Kevin Welsh wrote: > &g

[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' /home/kdu

[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%. B

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

2016-04-08 Thread Kevin Smith
> Signed-off-by: Stefan Roese > Cc: Kevin Smith > --- > 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..75dc73e 100644 > --- a/drivers/gpio/mvebu_gpio.c > +++

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

2016-03-31 Thread Kevin Smith
bitfield.h to clean up bit operations * Use correct error return codes * Comment/code formatting improvements and clarifications Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Albert ARIBAUD Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused

[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 Acked-by: Prafulla Wadaskar Cc: Albert

[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 Acked-by: Joe Hershberger Cc: Prafulla Wadaskar Cc: Albert ARIBAUD Cc: Stefan Roese Cc: Marek Vasut --- drivers/net/phy/mv88e61xx.c | 537

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 > Cc: Dirk Eibach > Cc: Phil Sutter > Cc: Kevin Smith > Cc: Luka Perkov > Cc: Tom Rini > --- > Reviewed-by: Kevin Smith Tested-by: Kevin Smith

[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 Cc: St

[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 Cc

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 = <&gpioX ...>" nodes in

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

2016-01-28 Thread Kevin Kowalewski
Adding the 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:

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

2016-01-27 Thread Kevin Smith
; +* return 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 tim

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 > wrote: >> Hello Kevin, >> >> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith >> wrote: >>> The previous version of this d

[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 Cc: Stefan Roese Cc: Luka Perkov Cc: Scott Wood --- drivers/mtd/nand

[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 Cc: Stefan Roese Cc: Luka Perkov Cc: Scott Wood --- drivers/mtd/nand/pxa3xx_nand.c | 4

[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 Cc: Stefan Roese Cc: Luka Perkov Cc: Scott

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

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 << SAR_CPU_FREQ_O

[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 fe

[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 Cc: Joe Hershberger Cc: Prafulla Wadaskar Cc: Stefan Roese Cc: Marek Vasut --- drivers/net/phy/mv88e61xx.c | 537

[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 Acked-by: Prafulla Wadaskar Cc: Joe

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

2015-12-21 Thread Kevin Smith
appreciated. Signed-off-by: Kevin Smith Acked-by: Prafulla Wadaskar Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused mv88e61xx switch driver net: phy: Add PHY driver for mv88e61xx switches drivers/net/phy/mv88e61xx.c | 959

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

2015-12-21 Thread Kevin Smith
appreciated. Signed-off-by: Kevin Smith Cc: Prafulla Wadaskar Cc: Joe Hershberger Cc: Stefan Roese Cc: Marek Vasut Kevin Smith (2): net: Remove unused mv88e61xx switch driver net: phy: Add PHY driver for mv88e61xx switches drivers/net/phy/mv88e61xx.c | 959

[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 Cc: Joe Hershberger Cc: Prafulla Wadaskar Cc: Stefan

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
lation 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. Perhap

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

2015-10-23 Thread Kevin Smith
work it right now. 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

[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 Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka

[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:

[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 Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka Perkov --- arch/arm/mach-mvebu/serdes/a38x/Makefile |1 - .../serdes/a38x/high_speed_env_spec-38x.c |1 - .../mach-mvebu/serdes/a38x

[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 Cc: Stefan Roese Cc: Dirk Eibach Cc: Luka Perkov --- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c| 2 +- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h| 2 +- arch/arm

[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 Cc: Joe Hershberger Cc: Tom Rini --- common/env_ubi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/env_ubi.c b/common/env_ubi.c index e0dc5af..e611199 100644 --- a/common/env_ubi.c +++ b/common/env_ubi.c @@ -181,8 +181

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

2015-10-23 Thread Kevin Smith
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 Cc: Stefan Roese Cc: Luka Perkov

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

2015-10-01 Thread Kevin Smith
-off-by: Stefan Roese No lockups over many load tests. Thanks! Tested-by: Kevin Smith ___ 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 > Cc: Luka Perkov > Cc: Kevin Smith > C

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

2015-09-22 Thread Kevin Smith
ls, 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 --- 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 100644 --- a/fs/ubifs/io.c

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

2015-09-16 Thread Kevin Smith
`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 --- 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 +++ b/tools/kwboot.c @@ -71,6 +71,7 @@

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

2015-08-25 Thread Kevin Smith
> > Tested on these Marvell eval boards: > DB-MV784MP-GP - Armada XP > DB-88F6820-GP - Armada 38x > > Signed-off-by: Stefan Roese Tested-by: Kevin Smith ___ 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
are significant differences with the Haier one that would effect this. Kevin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[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 Acked-by: Stefan Roese --- 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-common.h +++ b/include/configs/mv-common.h

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

2015-05-18 Thread Kevin Smith
: Kevin Smith Acked-by: Stefan Roese --- 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-gp.h +++ b/include/configs/db-88f6820

[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 Acked-by: Stefan Roese --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed

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

2015-05-18 Thread Kevin Smith
From: Stefan Roese 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 Tested-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu/cpu.c

[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 for

[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 --- 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 @@ -59,6 +59,8 @@ #define

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

2015-05-13 Thread Kevin Smith
: Kevin Smith --- 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-88f6820-gp.h @@ -63,6 +63,11

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

2015-05-13 Thread Kevin Smith
From: Stefan Roese 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 Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-mvebu

[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 --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff

[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 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
: Kevin Smith --- 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-88f6820-gp.h @@ -63,6 +63,11

[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 --- arch/arm/mach-mvebu/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff

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

2015-05-12 Thread Kevin Smith
From: Stefan Roese 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 Signed-off-by: Kevin Smith --- arch/arm/mach-mvebu/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-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 3/4] mv-common.h: Include support for device trees

2015-05-12 Thread Kevin Smith
Signed-off-by: Kevin Smith --- 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 @@ -59,6 +59,8 @@ #define

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

2015-04-16 Thread Kevin Smith
I (including SPI NOR flash) > - I2C > - 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

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

2015-03-18 Thread Kevin Smith
define CONFIG_ENV_SECT_SIZE (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] [PATCH] tools/kwbimage.c: Correct header size for SPI boot

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

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 wrote: > On Thu, Jan 22, 2015 at 9:51 AM, Kevin Hilman wrote: >> Suriyan Ramasami writes: >> >>> Hello Kevin, >>> >>> On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman wrote: >>&

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

2015-02-25 Thread Kevin Hilman
hose who 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

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

2015-02-25 Thread Kevin Hilman
uot;mrc p15, 1, %0, c15, c0, 0\n\t" : "=r"(val)); >> +val |= (1 << 7); >> +asm volatile ("mcr p15, 1, %0, c15, c0, 0\n\t" : : "r"(val)); > > This wont work for us in DRA7/OMAP5 L2ACTLR cannot be modified by > u-boot. has to go to secure world using smc call. > I believe the same may be true even on some exynos5 platforms with secure firmware (e.g. exynos5422-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-01-22 Thread Kevin Hilman
Suriyan Ramasami writes: > Hello Kevin, > > On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman wrote: >> Hi Surijan, >> >> Suriyan Ramasami writes: >> >>> Hello Sjoerd Simons, >>>A signed BL2 which allows unsigned BL2 chain load is already

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

2015-01-21 Thread Kevin Hilman
and write your unsigned BL2 at the appropriate offset, it no longer 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

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

2015-01-21 Thread Kevin Hilman
Suriyan Ramasami writes: > Hello Kevin, > > On Tue, Jan 20, 2015 at 3:29 PM, Suriyan Ramasami wrote: >> Hello Kevin, >> >> On Tue, Jan 20, 2015 at 2:43 PM, Kevin Hilman wrote: >>> Suriyan Ramasami writes: >>> >>>> Hello Kevin, >&

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

2015-01-20 Thread Kevin Hilman
Suriyan Ramasami 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 > > c

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

2015-01-20 Thread Kevin Hilman
ot/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/mailman/listinfo/u-boot

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

2015-01-20 Thread Kevin Hilman
-rc3), but for it to work correctly, IIUC, I'll also need 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 ___

  1   2   >