Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
20e75934
Commit
20e75934
authored
Nov 02, 2013
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some cleanup
parent
ca3abcf6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
ezynq_uboot.py
ezynq_uboot.py
+7
-1
ezynq393.h
u-boot-tree/include/configs/ezynq/ezynq393.h
+3
-4
No files found.
ezynq_uboot.py
View file @
20e75934
...
...
@@ -691,7 +691,13 @@ int arch_cpu_init(void)
\t
while (d < ((int *) 0x30000)) *d++=*s++;
\t
ddrc_wait_queue_empty(); /* Wait no commands are pending in DDRC queue */
/*
* Below is a hack - copying the same data to low SDRAM again - probably just a delay.
* Waiting for ddrc_wait_queue_empty() alone is not sufficient - some of the
* generated images work always, some - half times, some - never, dependent on
* seemingly unrelated changes. With this extra delay all seems fine.
* Better understanding of the original problem and a fix is needed.
*/
\t
s= (int *) 0x4000000;
\t
d= (int *) 0;
\t
while (d < ((int *) 0x30000)) *d++=*s++;
...
...
u-boot-tree/include/configs/ezynq/ezynq393.h
View file @
20e75934
...
...
@@ -69,8 +69,7 @@
#define CONFIG_EZYNQ_NAND__SLOW
#define CONFIG_EZYNQ_MIO_ETH_0__SLOW
/* TODO: enable MDIO */
/*#define CONFIG_EZYNQ_MIO_ETH_MDIO__SLOW */
#define CONFIG_EZYNQ_MIO_ETH_MDIO__SLOW
#define CONFIG_EZYNQ_MIO_USB_0__SLOW
#define CONFIG_EZYNQ_MIO_USB_0__PULLUP
...
...
@@ -219,7 +218,7 @@ output (or undefined) - off
// #define CONFIG_EZYNQ_MIO_INOUT_53 OUT /* Make output, do not set data. Will be set after debug will be over */
#define CONFIG_EZYNQ_MIO_GPIO_OUT_53 0
/* Set selected GPIO output to 0/1 */
/* #define CONFIG_EZYNQ_MIO_GPIO_OUT_53 0 */
/* Set selected GPIO output to 0/1 */
#undef CONFIG_EZYNQ_DDR_DS_CKE
#define CONFIG_EZYNQ_DDR_DS_CKE 4
/* CKE min pulse width (in tCK) */
...
...
@@ -228,7 +227,7 @@ output (or undefined) - off
#define CONFIG_EZYNQ_LED_DEBUG 53
/* toggle LED during boot - temporary, normal use - MDIO_D */
/* #define CONFIG_EZYNQ_LED_DEBUG 53 */
/* toggle LED during boot - temporary, normal use - MDIO_D */
#define CONFIG_EZYNQ_UART_DEBUG_USE_LED N
/* turn on/off LED while waiting for transmit FIFO not full */
#define CONFIG_EZYNQ_SILICON 3
/* 3 */
/* Silicon revision */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment