]>
git.ipfire.org Git - thirdparty/u-boot.git/log
Joe Hershberger [Thu, 31 May 2012 01:47:05 +0000 (20:47 -0500)]
Xilinx: ARM: Enable fpga command
This will allow the PL to be configured from within u-boot.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
John Linn [Fri, 1 Jun 2012 21:42:47 +0000 (14:42 -0700)]
Xilinx: ARM: fpga: Register the internal PL on DFE targets
If FPGA support is compiled into DFE targets, register the programmable
logic as an fpga target
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 31 May 2012 01:33:51 +0000 (20:33 -0500)]
Xilinx: ARM: fpga: Add a driver to configure the Zynq PL
Add support for configuring the programmable logic on a ZC7Z020
from within u-boot using fpga command
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Jagan [Fri, 1 Jun 2012 14:50:58 +0000 (20:20 +0530)]
Xilinx: ARM: few more configuartions are factored from board headers
Factored few more configs from board headers and placed on to
zynq_common.h, apart from this few more config cleanups are done.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 12:19:45 +0000 (17:49 +0530)]
Xilinx: ARM: Removed unneeded configurations from zc702
Removed NOR, NAND configurations from board header and
also few misc configs.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 12:07:11 +0000 (17:37 +0530)]
Xilinx: ARM: Removed unnecessary conditional macros from ep107 board
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 11:39:55 +0000 (17:09 +0530)]
Xilinx: ARM: Factor out common configs from board config headers
Factor out common configs from zynq_ep107.h, zynq_zc702.h and
zynq_zc770.h into a new file zynq_common.h
We may factor few more configs on future as well.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 09:54:12 +0000 (15:24 +0530)]
Xilinx: ARM: NET: Moved Xgmac_register decleration into netdev header
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 09:44:58 +0000 (15:14 +0530)]
Xilinx: ARM: Fixed patch Errors and Warning from preious commit
From,
1a23f719a1409f1a5867b5c359fc18a8d1e045d2
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 09:32:33 +0000 (15:02 +0530)]
Xilinx: ARM: Fixed patch Errors & Warnings on previous commits
From,
209f4a42b2fccfab973654b95c1843c52b9aea87
5fb49bcd309884b504d64f0bc3a369505f7a5031
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 30 May 2012 07:07:37 +0000 (12:37 +0530)]
Xilinx: ARM: NET: Ethernet speed changed from 100 to 1000 MBPS
This patch add support to operate u-boot ethernet on 1Gig, as
the Linux operates the same. we synchronise both the speeds.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 30 May 2012 06:47:40 +0000 (12:17 +0530)]
Xilinx: ARM: Renamed pele_qspi.c into xilinx_qspi.c
Also deleted config.mk from board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 13:17:02 +0000 (18:47 +0530)]
Xilinx: ARM: Renamed legacy pss with ps, including files names
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 12:46:45 +0000 (18:16 +0530)]
Xilinx: ARM: Making XIo_Out32 and XIo_In32 in a board file
As we compiled the code based on the board selection,
we placed the IO macros on board file where xgmac and xnand
can use.
Signed-off-by: Jagan <jaganna@xilinx.com>
John Linn [Fri, 9 Jul 2010 16:45:31 +0000 (10:45 -0600)]
Xilinx: ARM: Hack to fix bug for Numonyx flash in 8 bit mode
This is a hack that should be reconsidered. In 8 bit mode, the CFI data
for the part is wrong in that the buffer size is 1024 but should be 256.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 11:20:59 +0000 (16:50 +0530)]
Xilinx: ARM: Renamed u-boot prompt from pele to zynq on zc702
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 11:15:11 +0000 (16:45 +0530)]
Xilinx: ARM: Removed unneeded IDENT_STRING on ep107, zc770 and cseflash
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 11:11:09 +0000 (16:41 +0530)]
Xilinx: ARM: Removed unneeded ping from bootmodes on ep107 and zc770
This patch removes the ping commands from QSPI
and SD bootmodes on zc702 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 29 May 2012 11:07:57 +0000 (16:37 +0530)]
Xilinx: ARM: Decreased bootdelay from 10 to 3 sec on ep107 and zc770
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 11:34:56 +0000 (17:04 +0530)]
Xilinx: ARM: Renamed XDF* to XZYNQ*
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 09:56:52 +0000 (15:26 +0530)]
Xilinx: ARM: Removed redundent macro names on board selection
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 09:53:43 +0000 (15:23 +0530)]
Xilinx: ARM: Updated High level configuration options.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 12:50:05 +0000 (18:20 +0530)]
Xilinx: ARM: Renamed CONFIG_PELE_* to CONFIG_ZYNQ_*
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 12:24:06 +0000 (17:54 +0530)]
Xilinx: ARM: Build the ethernet for respective boards only.
Few of the DC varients on zc770 doesn't have net support,
so we make the ethernet as conditional compilation
for respective boards.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Sun, 27 May 2012 18:24:37 +0000 (23:54 +0530)]
Xilinx: ARM: Renamed board, SOC directory names to zynq like names
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 06:15:18 +0000 (11:45 +0530)]
Xilinx: ARM: All configs on board entry are in defined order
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 06:14:03 +0000 (11:44 +0530)]
Xilinx: ARM: Added board support for zynq_cseflash config
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Sun, 27 May 2012 17:55:47 +0000 (23:25 +0530)]
Xilinx: ARM: Renamed xpele config to zynq related name
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Sun, 27 May 2012 17:53:26 +0000 (23:23 +0530)]
Xilinx: ARM: Add Dual QSPI config build support
This patch added a support to build Dual QSPI, w/o
editing xpele.h
$ make xpele_dual_qspi_config
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Sun, 27 May 2012 17:47:24 +0000 (23:17 +0530)]
Xilinx: ARM: Removed ZC770 XM013 config file
This patch removes the XM013 config, as we have a common config
for all DC varients.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Mon, 28 May 2012 06:10:43 +0000 (11:40 +0530)]
Xilinx: ARM: Make a single config file for all ZC770 DC varients
This patch prevents the duplication of different config files for
different DC varients on ZC770.
now,
We have a common config file zynq_zc770.h
for configure we just do
make zynq_zc770_<XM010|XM011|XM012|XM013>_config
As we have a common config's for individual DC's at a time, we just
compile only respective drivers on board Makefile.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 31 May 2012 07:53:18 +0000 (13:23 +0530)]
Merge branch 'master-2011.03' into master-new
Conflicts:
Makefile
drivers/mtd/spi/spansion.c
drivers/mtd/spi/winbond.c
include/configs/zynq_zc702.h
Signed-off-by: Jagan <jaganna@xilinx.com>
Joe Hershberger [Tue, 28 Feb 2012 19:02:18 +0000 (13:02 -0600)]
Xilinx: ARM: i2c: Disable restart in i2c read
It doesn't seem to work. Hardware bug?
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 22 Feb 2012 19:46:12 +0000 (13:46 -0600)]
Xilinx: ARM: i2c: Add i2c driver for zynq
I2C is needed on some boards for peripherial initialization
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 28 Feb 2012 01:32:18 +0000 (19:32 -0600)]
Xilinx: ARM: nand: Only trace that the NAND has on-die ECC if it claims to work
The device should say that it is using the mode before we report it.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 23 Feb 2012 15:24:51 +0000 (09:24 -0600)]
Xilinx: ARM: Clean up zynq board.c
Fix compile warnings
Make the NOR configuration optional (only if the board has NOR)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 24 May 2012 22:14:46 +0000 (17:14 -0500)]
Xilinx: ARM: net: Initialize MDIO early (and only once)
This allows the board init to read phy registers
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 19 Apr 2012 19:27:05 +0000 (14:27 -0500)]
Xilinx: ARM: net: Fix rate of MDC for 111MHz CPU_1x clk
Change the MDC divisor from 32 to 48
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Mon, 19 Mar 2012 23:18:26 +0000 (18:18 -0500)]
Xilinx: ARM: net: Program the MAC address to hardware on boot
This will allow Linux to not make up a new MAC on each boot and never
keep the same IP address from boot to boot.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 28 Feb 2012 19:03:35 +0000 (13:03 -0600)]
Xilinx: ARM: net: Print the phy id on init
This makes it clear if we can talk to the phy or not
(i.e. if the phy is out of reset or not)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 28 Feb 2012 01:31:09 +0000 (19:31 -0600)]
Xilinx: ARM: net: Only init xgmac data structures, not phy on boot
This makes the boot faster in the case we don't want to actually use
Ethernet in u-boot
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 23 Feb 2012 16:08:07 +0000 (10:08 -0600)]
Xilinx: ARM: net: Add xgmac support for the mii command
This allows the MII command to access phys connected to the xgmac
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 23 Feb 2012 16:05:52 +0000 (10:05 -0600)]
Xilinx: ARM: net: Update xgmac driver to use the NET_MULTI API
The NET_MULTI API is required in the upstream u-boot.
Get it closer to a state where it could live in the real world.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 21 Feb 2012 23:37:29 +0000 (17:37 -0600)]
Xilinx: ARM: net: Make phy address configurable
Other boards my have different phy addresses. Make it configurable.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Fri, 20 Apr 2012 21:56:13 +0000 (16:56 -0500)]
Xilinx: ARM: Add multiblock MMC read support
Direct buffer DMA is currently broken. I suspect an alignment requirement.
The latest u-boot upstream aligns the DOS partition and FAT fs buffers.
The intermediate DMA buffer is too small for most transfers.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Thu, 19 Apr 2012 20:05:24 +0000 (15:05 -0500)]
Xilinx: ARM: Fix mmcinfo hang if booted from SD
Include the same check that was added to the FSBL
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 22:04:23 +0000 (17:04 -0500)]
Xilinx: ARM: Fix build warnings in mmc.c
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Jagan [Tue, 15 May 2012 14:46:18 +0000 (20:16 +0530)]
Xilinx: ARM: Decreased bootdelay from 10 to 3 sec on zc702
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 15 May 2012 14:43:48 +0000 (20:13 +0530)]
Xilinx: ARM: Removed unneeded ping from bootmodes on zc702
This patch removes the ping commands from QSPI
and SD bootmodes on zc702 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 15 May 2012 14:41:56 +0000 (20:11 +0530)]
Xilinx: ARM: Renamed u-boot prompt from pele to zynq on zc702
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Tue, 15 May 2012 12:54:52 +0000 (18:24 +0530)]
Xilinx: ARM: Removed unneeded IDENT_STRING on zc702
This patch is a part of cleanup activity.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Fri, 4 May 2012 07:24:47 +0000 (12:54 +0530)]
Xilinx: ARM: Adding Winbond(W25Q64DW) x2 QSPI support.
This patch adds a support for W25Q64DW with x2 device.
for building x2 QSPI, please uncomment
CONFIG_XILINX_PSS_QSPI_USE_DUAL_FLASH on include/configs/xpele.h.
I was recommended to use Winbond in dual mode, as it's flash size
is less compared to remaining QSPI's
This was tested on the ep107-2 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Thu, 3 May 2012 12:35:22 +0000 (18:05 +0530)]
Xilinx: ARM: Making Dual QSPI as default for zc770 XM013 boards
Signed-off-by: Jagan <jaganna@xilinx.com>
John Linn [Wed, 2 May 2012 20:35:32 +0000 (13:35 -0700)]
Xilinx: ARM: fixing USB PHY hack
The driver team has recommended this reset change
to make USB behave better based on OTG testing.
Jagan [Mon, 16 Apr 2012 11:04:58 +0000 (16:34 +0530)]
Xilinx: ARM: Adding minimal board support for zc770 XM013
New configuration file is added for XM013,by keeping
XM010 configs as it is.
Tested on zc770-21, -34 boards.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 11 Apr 2012 09:28:17 +0000 (14:58 +0530)]
Xilinx: ARM: Enabled all QSPI driver's
This patch enables STMICRO, WINBOND and SPANSION
QSPI's by default.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 11 Apr 2012 09:20:55 +0000 (14:50 +0530)]
Xilinx: ARM: Adding Spansion(S25FL129P) x2 QSPI support.
This patch adds a support for S25FL129P with x2 device.
for building x2 QSPI, please uncomment
CONFIG_XILINX_PSS_QSPI_USE_DUAL_FLASH on include/configs/xpele.h
This was tested on the ep107-11 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 11 Apr 2012 09:43:41 +0000 (15:13 +0530)]
Xilinx: ARM: Adding Spansion(S25FL129P) QSPI support.
This patch adds a support for S25FL129P with x1 device.
This was tested on the ep107-11 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jagan [Wed, 11 Apr 2012 09:38:27 +0000 (15:08 +0530)]
Xilinx: ARM: Adding Winbond(W25Q64DW) QSPI support.
This patch adds a support for W25Q64DW with x1 device.
This was tested on the ep107-2 board.
Signed-off-by: Jagan <jaganna@xilinx.com>
Jun Flores JR [Tue, 10 Apr 2012 20:27:28 +0000 (13:27 -0700)]
Xilinx: ARM: add cse flash support for Xilinx tools
This updates the top-level make file to add zynq_cseflash_config
target. This is needed to support QSPI programming from the
Xilinx tools.
A new header file, zynq_cseflash.h, is also added so
that u-boot can be configured to build using the
zynq_cseflash_config target.
Joe Hershberger [Wed, 21 Mar 2012 20:17:14 +0000 (15:17 -0500)]
Xilinx: ARM: Disable flash in zc702 config
zc702 has no NOR flash, so it must be disabled to boot.
The header is not needed when booting with the FSBL, so disable it.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 20:13:25 +0000 (15:13 -0500)]
Xilinx: ARM: Move CONFIG_SYS_NO_FLASH in zynq configs
CONFIG_SYS_NO_FLASH must be defined before you include
config_cmd_default.h so that CMD_IMLS will not be defined
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 20:10:29 +0000 (15:10 -0500)]
Xilinx: ARM: Report a more helpful error on undefined header entry
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 18:47:18 +0000 (13:47 -0500)]
Xilinx: ARM: Update NAND driver to match nand_scan_ident()
nand_scan_ident() has been updated to match Linux...
Remove special case.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 00:35:07 +0000 (19:35 -0500)]
Xilinx: ARM: Only build the NAND controller driver if NAND is enabled
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 22:38:48 +0000 (17:38 -0500)]
Xilinx: ARM: Fix memory corruption bug in pele timer_init
Global variables (.bss) must not be accessed before relocation.
That memory is now overlayed with the .rel.dyn ELF relocation table.
Even if that was allowed, it would have no positive effect since
initialized value would not be relocated into RAM. It would be 0
again.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:14:10 +0000 (18:14 -0500)]
Xilinx: ARM: Define CONFIG_SYS_BOOTMAPSZ to enable fdt relocation
This is needed until the fdt_high command is included (v2011.09)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:19:37 +0000 (18:19 -0500)]
Xilinx: ARM: INIT_SP is now needed before relocation
Define the offset and size of the INIT_RAM.
Base the INIT_SP on the INIT_RAM and reference the generated
GBL_DATA_SIZE.
Remove the explicit definition of the CONFIG_SYS_GBL_DATA_SIZE.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:05:46 +0000 (18:05 -0500)]
Xilinx: ARM: TEXT_BASE was renamed CONFIG_SYS_TEXT_BASE
The TEXT_BASE belongs in the config headers for the boards
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:04:04 +0000 (18:04 -0500)]
Xilinx: ARM: Remove redundant do_reset()
do_reset() implementation was unified and is no longer needed here
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:01:48 +0000 (18:01 -0500)]
Xilinx: ARM: Fix crash when accessing uninit'd ptr
The gd->bd pointer is no longer available in dram_init()
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Tue, 20 Mar 2012 23:00:13 +0000 (18:00 -0500)]
Xilinx: ARM: Update to new build process
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 18:07:57 +0000 (13:07 -0500)]
Xilinx: ARM: Remove zynq boards from Makefile
Board definitions belong in boards.cfg, not in Makefile
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger [Wed, 21 Mar 2012 18:04:49 +0000 (13:04 -0500)]
Merge commit 'v2011.03' into xpele-upgrade-v2011.03
Conflicts:
arch/arm/lib/bootm.c
boards.cfg
drivers/mtd/cfi_flash.c
drivers/mtd/nand/nand_base.c
John Linn [Mon, 5 Mar 2012 05:21:02 +0000 (21:21 -0800)]
Merge branch 'master-zc770'
John Linn [Mon, 5 Mar 2012 02:04:45 +0000 (18:04 -0800)]
Xilinx: ARM: Adding more zynq board support
New board configurations are needed to allow EP107 to
not be broken, and to allow each board to be configured
differently.
zynq_zc770_config and zynq_zc702_config are now new
make targets.
John Linn [Mon, 5 Mar 2012 02:00:34 +0000 (18:00 -0800)]
Xilinx: ARM: fix low level to include correct header file
The previous fix, including xpele.h, worked for EP107, but
doesn't work once there are more configuation header files
other than xpele.h. This now works for new ones also.
John Linn [Sun, 4 Mar 2012 07:17:18 +0000 (23:17 -0800)]
Xilinx: ARM: fix NAND for EP107 and make EP107 the default build
NAND was not being built for EP107. A new header file will
be added for Zynq so that xpele.h will remain for EP107.
John Linn [Sun, 4 Mar 2012 07:15:49 +0000 (23:15 -0800)]
Xilinx: ARM: fix EP107 XIP booting
This fixes XIP (NOR and QSPI) booting. This problem
was caused by Zynq silicon integration.
GIT Repo [Wed, 18 Jan 2012 02:40:52 +0000 (18:40 -0800)]
Merge branch 'master-zc770' of /home/linnj/sivlinnj/u-boot-xarm into master-zc770
John Linn [Wed, 18 Jan 2012 02:39:09 +0000 (18:39 -0800)]
Xilinx: ARM: prevent 1 Gb with GEM for now
This commit is intended to be reverted once all the boards
are patched so that Gb works. Until then, stay at 100 Mb.
This allowed the previous work to be checked in so that it's
ready.
Andrei Simion [Thu, 12 Jan 2012 00:05:37 +0000 (16:05 -0800)]
Xilinx: ARM: Updated ethernet driver for EP107.
On EP107, U-boot can now communicate over ethernet at 10 and 100 Mbps.
Andrei Simion [Thu, 22 Dec 2011 23:04:24 +0000 (15:04 -0800)]
Xilinx: ARM: Clean-up of ethernet code.
MAC/PHY driver has been cleaned up and commented thoroughly. Uneeded
code has been removed.
Andrei Simion [Thu, 22 Dec 2011 22:07:27 +0000 (14:07 -0800)]
Xilinx: ARM: Update for gigabit ethernet support.
The PHY driver has been updated to establish a link at the highest
speed possible. The GEM divisors are modified to create an input
frequency that matches the link speed:
2.5MHz for 10Mbps
25MHz for 100Mbps
125MHz for 1000Mbps
Error checking has also been included to prevent auto-negotiation
from stalling and for catching failed auto-negotiation attempts.
GIT Repo [Tue, 17 Jan 2012 22:15:49 +0000 (14:15 -0800)]
Merge branch 'master-zc770' of /home/linnj/sivlinnj/u-boot-xarm into master-zc770
John Linn [Tue, 17 Jan 2012 22:12:50 +0000 (14:12 -0800)]
Xilinx: ARM: adding jtag boot mode
To make it easier for developers in jtag mode, make it
automatically TFTP a kernel into memory and start it.
John Linn [Fri, 6 Jan 2012 03:19:42 +0000 (19:19 -0800)]
Xilinx: ARM: Stop GCC from generating unaligned accesses
With the newer GNU tools, GCC 4.5.2 and newer, we're
seeing data aborts. This solution may not be the right
long term solution, but works for now. This causes GCC
not to generate unaligned data.
John Linn [Fri, 6 Jan 2012 03:19:42 +0000 (19:19 -0800)]
Xilinx: ARM: Stop GCC from generating unaligned accesses
With the newer GNU tools, GCC 4.5.2 and newer, we're
seeing data aborts. This solution may not be the right
long term solution, but works for now. This causes GCC
not to generate unaligned data.
John Linn [Fri, 6 Jan 2012 03:19:42 +0000 (19:19 -0800)]
Xilinx: ARM: Stop GCC from generating unaligned accesses
With the newer GNU tools, GCC 4.5.2 and newer, we're
seeing data aborts. This solution may not be the right
long term solution, but works for now. This causes GCC
not to generate unaligned data.
John Linn [Tue, 20 Dec 2011 19:16:44 +0000 (11:16 -0800)]
Xilinx: ARM: Adding board support for FMC daughter cards
The NAND working caused u-boot to lockup when there was
no NAND so now there's CONFIGs for each board permutation
of the ZC770. The default is for DC1 (XM010) card.
John Linn [Mon, 19 Dec 2011 20:35:55 +0000 (12:35 -0800)]
Xilinx: ARM: NAND: wait for device ready after device reset
When moving from PEEP to Zynq, the ID of the flash was not
being read at all, only zeroes. The driver was not waiting
for the device to be ready after resetting the device and
since Zynq is so much faster it was a problem.
John Linn [Tue, 13 Dec 2011 20:58:04 +0000 (12:58 -0800)]
Xilinx: ARM: adding SD boot mode
SD boot was not supported in the automatic boot mode, now
it is. Even though this loads a ramdisk you can just ignore
the ramdisk if the root file system is on SD in an EXT2
file system.
John Linn [Tue, 13 Dec 2011 20:55:56 +0000 (12:55 -0800)]
Xilinx: ARM: SD: change divisor to speed it up
In the former change, a divisor too low seems cause problems
with the lower speed cards. This is attempt to have something
that's tolerable even if it's not the optimal.
This allows the kernel and ramdisk to be loaded reasonably
quickly.
John Linn [Tue, 13 Dec 2011 17:43:58 +0000 (09:43 -0800)]
Revert "Xilinx: ARM: SD: speed up SD by removing the clock divide"
This reverts commit
a0d4d7e736ac3fc721ea59a54e3d4c94c3853a2a .
John Linn [Tue, 13 Dec 2011 16:25:40 +0000 (08:25 -0800)]
Xilinx: ARM: BSP: adding hack to take USB out of reset
Temporary hack to take USB out of reset til Linux is fixed.
John Linn [Tue, 13 Dec 2011 16:20:36 +0000 (08:20 -0800)]
Xilinx: ARM: SD: speed up SD by removing the clock divide
It's not clear why it was was running so slow, but maybe
it was needed for EP107. Speed it up now.
John Linn [Wed, 7 Dec 2011 23:41:00 +0000 (15:41 -0800)]
Xilinx: ARM: adding ping to qspi boot mode
This is a hack to compensate for Linux not having the PHY updated
yet as u-boot needs to touch the PHY for Linux networking to work.
John Linn [Sun, 4 Dec 2011 14:59:09 +0000 (06:59 -0800)]
Xilinx: ARM: making u-boot match FSBL for zc770
This should allow u-boot to be built for the zc770 and
work with the default FSBL which setups up the DDR, PLLs,
and MIO for 800 MHz CPU, 533 MHz DDR.
UART and Ethernet are working at this point.
John Linn [Fri, 2 Dec 2011 00:51:44 +0000 (16:51 -0800)]
Xilinx: ARM: adding header file for compile error
This header file was needed for the commit (a ways back)
that added PLL init to the board.c file.
John Linn [Wed, 30 Nov 2011 01:36:25 +0000 (17:36 -0800)]
Xilinx: ARM: GEM: updated to work with ZC770 and DC1
Only minor changes to GEM assuming MIO and IO PL are
setup somewhere else (FSBL or a script).
The DC1 PHY needs some help to work on the ZC770 and
that was added.
Since Zynq is much faster than EP107, removed some of
the printing of "." which was too much.