[U-Boot] mkenvimage.c:119:35: error: ‘PLAIN_VERSION’ undeclared

2018-05-29 Thread Ed Swarthout
*** [sub-make] Error 2 This has been here for awhile and is in current master. I'm not sure why it was done this way, so I'm hesitate to provide a fix. Ed Swarthout ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] mpc85xx: do not include cmd_errata in SPL_BUILD

2016-07-01 Thread Ed Swarthout
-boot-spl' failed Signed-off-by: Ed Swarthout <ed.swarth...@nxp.com> --- This applies to denx/master. If there is a reason why cmd_errata is needed in SPL, a different fix would be needed... arch/powerpc/cpu/mpc85xx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH] dm: scsi: if_typename should be scsi

2016-06-01 Thread Ed Swarthout
Fixes: => ext2ls scsi 0:1 ** Bad device scsi 0:1 ** for boards which use the scsi legacy driver (such as ls1043ardb). Signed-off-by: Ed Swarthout <ed.swarth...@nxp.com> --- This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b common/scsi.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH RESEND] armv8: LSCH2 early and final mmu needs matching NS attribute

2016-03-28 Thread Ed Swarthout
When switching between the early and final mmu tables, the stack will get corrupted if the Non-Secure attribute is different. For ls1043a, this issue is currently masked because flush_dcache_all is called before the switch when CONFIG_SYS_DPAA_FMAN is defined. Signed-off-by: Ed Swarthout

[U-Boot] [PATCH] armv8/LSCH2: early and final mmu needs matching NS attribute

2016-03-28 Thread Ed Swarthout
When switching between the early and final mmu tables, the stack will get corrupted if the Non-Secure attribute is different. For ls1043a, this issue is currently masked because flush_dcache_all is called before the switch when CONFIG_SYS_DPAA_FMAN is defined. Signed-off-by: Ed Swarthout

[U-Boot] [PATCH] drivers/ddr/fsl: fsl_ddr_sdram_size remove unused controllers

2016-01-14 Thread Ed Swarthout
Following commit 61bd2f75, exclude unused DDR controller from calculating RAM size for SPL boot. Signed-off-by: Ed Swarthout <ed.swarth...@nxp.com> --- Applies to v2016.01. Tested on ls2080aqds. drivers/ddr/fsl/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ddr/fsl/ma

[U-Boot] [PATCH] Append board name to version identifier

2011-12-07 Thread Ed Swarthout
so it is printed as part of the version command and visible when displaying the image in the various flash banks. This allows strings u-boot.bin | head -1 to identify target: VU-Boot 2011.09-01427-g6ee5cf2 (Dec 07 2011 - 11:11:55) P4080DS Signed-off-by: Ed Swarthout ed.swarth...@freescale.com

[U-Boot] [PATCH] ati_radeon: return error with when emulator fails

2010-03-31 Thread Ed Swarthout
videoboot: Video ROM failed to map! 640x480x8 31kHz 59Hz radeonfb: FIFO Timeout ! Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- I consider this a bug fix. I'm also sending an independent patch that fixes the problem that caused this error. drivers/bios_emulator/atibios.c |3

[U-Boot] [PATCH] ati_radeon: Support PCI virtual not eq bus mapping.

2010-03-31 Thread Ed Swarthout
on mpc8572ds with and without CONFIG_PHYS_64BIT. Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- This patch is independent of the ati radeon return error patch, but for ease of debug it should be applied with this one. drivers/bios_emulator/atibios.c |9 --- drivers/video

[U-Boot] [PATCH V2] ati_radeon: Support PCI virtual not eq bus mapping.

2010-03-31 Thread Ed Swarthout
on mpc8572ds with and without CONFIG_PHYS_64BIT. Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- V2: Fix typos and warnings as pointed out by Anatolij Gustschin. -thanks Fixed checkpatch error: ERROR: do not use assignment in if condition #41: FILE: drivers/bios_emulator

[U-Boot] [PATCH V3 for NET] tsec: do not print Speed: if using netconsole

2010-02-01 Thread Ed Swarthout
: = Speed: 1000, full duplex 1Speed: 1000, full duplex 2Speed: 1000, full duplex 3Speed: 1000, full duplex 4Speed: 1000, full duplex 5Speed: 1000, full duplex Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- drivers/net/tsec.c | 10 ++ 1 files changed, 6 insertions(+), 4

[U-Boot] [PATCH v2] tsec: do not print Speed: if using netconsole

2010-01-28 Thread Ed Swarthout
: = Speed: 1000, full duplex 1Speed: 1000, full duplex 2Speed: 1000, full duplex 3Speed: 1000, full duplex 4Speed: 1000, full duplex 5Speed: 1000, full duplex Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- Based on a suggestion from Peter Tyser, check env and only disable if currently

[U-Boot] [PATCH RFC] tsec: do not print Speed: if using netconsole

2010-01-23 Thread Ed Swarthout
: = Speed: 1000, full duplex 1Speed: 1000, full duplex 2Speed: 1000, full duplex 3Speed: 1000, full duplex 4Speed: 1000, full duplex 5Speed: 1000, full duplex Unknown command '12345' - try 'help' = Speed: 1000, full duplex Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- Since the Speed

[U-Boot] [PATCH] DEBUG 8xxx cpu_numcores

2009-12-14 Thread Ed Swarthout
cpu_numcores gd=3fe6df68 cpu=effed578 n=2 cpu_numcores gd=3fe6df68 cpu=effed578 n=2 Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- cpu/mpc8xxx/cpu.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/cpu/mpc8xxx/cpu.c b/cpu/mpc8xxx/cpu.c index d191263..268c1b4 100644

[U-Boot] [PATCH] fsl_pci_init_port end-point initialization is broken

2009-11-02 Thread Ed Swarthout
commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller. fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point. Signed-off-by: Ed Swarthout ed.swarth

Re: [U-Boot] [PATCH 1/1] ppc/85xx/pci: fsl_pci_in it: pcie agent mode support

2009-10-29 Thread Ed Swarthout
Vivek Mahajan vivek.mahajan at freescale.com writes: * Supported in fsl_pci_init_port() after adding pcie_ep as a param * Mods in 85xx based board specific pci init after this change Signed-off-by: Vivek Mahajan vivek.mahajan at freescale.com board/freescale/mpc8572ds/mpc8572ds.c |6

[U-Boot] [PATCH] Fix mpc85xx ddr-gen3 ddr_sdram_cfg.

2009-02-24 Thread Ed Swarthout
Commit e1be0d25, 32bit BUg fix for DDR2 on 8572 prevented other sdram_cfg bits (such as ecc and self_refresh_in_sleep) from being set. Signed-off-by: Ed Swarthout ed.swarth...@freescale.com --- ECC and self refresh are broke for mpc8572ds in 2009.03-rc1. = md ffe02110 1 ffe02110: 8300

[U-Boot] [PATCH] mpc85xx shrink boot block page to 1M

2008-12-17 Thread Ed Swarthout
Use CONFIG_SYS_BOOT_BLOCK_{EPN,RPN,PAGESZ} in start.S for the boot block TLB for AS=1 mapping. Reduce the default size from 16M to 1M. Change bne to blt in 85xx clear_bss to protect against the pointer never being equal to _end if _end is not word aligned. Signed-off-by: Ed Swarthout ed.swarth

[U-Boot] [PATCH] fsl ddr skip interleaving if not supported.

2008-10-29 Thread Ed Swarthout
Removed while(1) hang if memctl_intlv_ctl is set wrong. Remove embedded tabs from strings. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- cpu/mpc8xxx/ddr/main.c|9 +++-- cpu/mpc8xxx/ddr/options.c | 20 ++-- 2 files changed, 17 insertions(+), 12 deletions

[U-Boot] [PATCH] fsl_law clear enable before changing.

2008-10-09 Thread Ed Swarthout
Debug sessions may have left enabled laws. Changing lawbar with an unkown enabled tgtid could cause problems. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- drivers/misc/fsl_law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/fsl_law.c b/drivers/misc

[U-Boot] [PATCH] 85xx do not reset PIC if already configured

2008-10-09 Thread Ed Swarthout
This allows a second core to restart without causing a PIC reset. Internal interupt changes: Enable L2 error interrupt IIVPR0 and give it vector 0x100. Use correct interrupt (8) for mpc8572 pcie3. Add pcie3 interrupt (11) for mpc8536ds. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- cpu

[U-Boot] [PATCH] cfi_flash write fix for AMD legacy

2008-10-09 Thread Ed Swarthout
The flash_unlock_seq requires a sector for AMD_LEGACY. Fix a retcode check typeo. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- This patch is needed to make flash work on an internal testcard. drivers/mtd/cfi_flash.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 1/2] Make mpc8572ds, mpc8544ds, mpc8536ds relocatable

2008-10-09 Thread Ed Swarthout
Fixes boot crash from bad string pointers in get_table_entry_name when flash is erased or differs from current u-boot image. Remove .fixup from .text section since __fixup_entries is only calculated from .reloc section. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- tested with freescale

[U-Boot] [PATCH 2/2] Leave x86emu op code tables in default section

2008-10-09 Thread Ed Swarthout
Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- The only boards which define CONFIG_BIOSEMU are: MPC8536DS, MPC8572DS, MPC8544DS

[U-Boot] [PATCH] fsl_pci_init do not scan bus when configured as an end-point

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- drivers/pci/fsl_pci_init.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c index bb2813f..38a16e5 100644 --- a/drivers/pci/fsl_pci_init.c +++ b

[U-Boot] [PATCH] pixis do not print long help if not configured

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- board/freescale/common/pixis.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/freescale/common/pixis.c b/board/freescale/common/pixis.c index b5a0e84..8192bb3 100644 --- a/board/freescale/common/pixis.c +++ b

[U-Boot] [PATCH] 85xx if NUM_CPUS1, print cpu number

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- cpu/mpc85xx/cpu.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index 67e81c0..bc7d092 100644 --- a/cpu/mpc85xx/cpu.c +++ b/cpu/mpc85xx/cpu.c @@ -98,7 +98,12 @@ int checkcpu

[U-Boot] [PATCH RFC] mpc8572ds relocatable

2008-09-08 Thread Ed Swarthout
Fixes boot crash from bad string pointers in get_table_entry_name when flash is erased or differs from current u-boot image. Signed-off-by: Ed Swarthout [EMAIL PROTECTED] --- Fix was pointed out by Peter Tyser in Image.c get_table_entry_name thread. This redoes Grant Likey's relocation change