Commit 8f2cf651 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

updated configs for other boards

parent aaf833a3
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
/*#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) */ /*#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) */
#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024) #define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
#define CONFIG_ZYNQ_SERIAL_UART0 * #define CONFIG_ZYNQ_SERIAL_UART0
#if 0 #if 1
#define CONFIG_ZYNQ_GEM0 //#define CONFIG_ZYNQ_GEM0
#define CONFIG_ZYNQ_GEM_PHY_ADDR0 0 #define CONFIG_ZYNQ_GEM_PHY_ADDR0 0
#endif #endif
......
...@@ -78,13 +78,16 @@ ...@@ -78,13 +78,16 @@
#define CONFIG_EZYNQ_MIO_SDIO_0__PULLUP #define CONFIG_EZYNQ_MIO_SDIO_0__PULLUP
#define CONFIG_EZYNQ_MIO_SDCD_0 46 /* any but 7,8 */ #define CONFIG_EZYNQ_MIO_SDCD_0 46 /* any but 7,8 */
#define CONFIG_EZYNQ_MIO_SDCD_0__PULLUP #define CONFIG_EZYNQ_MIO_SDCD_0__PULLUP
#define CONFIG_EZYNQ_MIO_SDWP_0 50 /* #any but 7,8 */ //#define CONFIG_EZYNQ_MIO_SDWP_0 50 /* #any but 7,8 */
#define CONFIG_EZYNQ_MIO_SDWP_0__PULLUP //#define CONFIG_EZYNQ_MIO_SDWP_0__PULLUP
#define CONFIG_EZYNQ_MIO_UART_1 48 /* # 8+4*N */ #define CONFIG_EZYNQ_MIO_UART_1 48 /* # 8+4*N */
#define CONFIG_EZYNQ_MIO_UART_0 50 /* # 8+4*N */
/* LED will be OFF */ /* LED will be OFF */
#define CONFIG_EZYNQ_MIO_INOUT_47 OUT /* Make output, do not set data. Will be set after debug will be over */ #define CONFIG_EZYNQ_MIO_INOUT_47 OUT /* Make output, do not set data. Will be set after debug will be over */
#define CONFIG_EZYNQ_MIO_GPIO_OUT_7 1 /* Set selected GPIO output to 0/1 */ #define CONFIG_EZYNQ_MIO_GPIO_OUT_7 1 /* Set selected GPIO output to 0/1 */
#define CONFIG_EZYNQ_UART_DEBUG_CHANNEL 0x0
/* /*
Red LED - pullup, input - on, Red LED - pullup, input - on,
#define CONFIG_EZYNQ_MIO_INOUT_47 OUT #define CONFIG_EZYNQ_MIO_INOUT_47 OUT
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024) #define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
#define CONFIG_ZYNQ_SERIAL_UART1 #define CONFIG_ZYNQ_SERIAL_UART1
#if 0 #if 1
#define CONFIG_ZYNQ_GEM0 //#define CONFIG_ZYNQ_GEM0
#define CONFIG_ZYNQ_GEM_PHY_ADDR0 0 #define CONFIG_ZYNQ_GEM_PHY_ADDR0 0
#endif #endif
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
#undef CONFIG_SYS_TEXT_BASE #undef CONFIG_SYS_TEXT_BASE
#define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */ #define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */
#define CONFIG_SYS_PROMPT "ezynq> " #define CONFIG_SYS_PROMPT "microzed> "
#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* Physical start address of SDRAM. _Must_ be 0 here. */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 /* Physical start address of SDRAM. _Must_ be 0 here. */
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) #define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024)
#define CONFIG_ZYNQ_SERIAL_UART1 #define CONFIG_ZYNQ_SERIAL_UART1
#if 0 #if 1
#define CONFIG_ZYNQ_GEM0 //#define CONFIG_ZYNQ_GEM0
#define CONFIG_ZYNQ_GEM_PHY_ADDR0 0 #define CONFIG_ZYNQ_GEM_PHY_ADDR0 0
#endif #endif
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#undef CONFIG_SYS_TEXT_BASE #undef CONFIG_SYS_TEXT_BASE
#define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */ #define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */
#define CONFIG_SYS_PROMPT "ezynq> " #define CONFIG_SYS_PROMPT "zedboard> "
#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* Physical start address of SDRAM. _Must_ be 0 here. */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 /* Physical start address of SDRAM. _Must_ be 0 here. */
...@@ -122,10 +122,10 @@ ...@@ -122,10 +122,10 @@
"fpga load 0 ${loadbit_addr} ${filesize}\0" \ "fpga load 0 ${loadbit_addr} ${filesize}\0" \
"sdboot=echo Copying Linux from SD to RAM... && " \ "sdboot=echo Copying Linux from SD to RAM... && " \
"mmcinfo && " \ "mmcinfo && " \
"fatload mmc 0 0x3000000 ${kernel_image} && " \ "fatload mmc 0 0x3A00000 ${kernel_image} && " \
"fatload mmc 0 0x2A00000 ${devicetree_image} && " \ "fatload mmc 0 0x3400000 ${devicetree_image} && " \
"fatload mmc 0 0x2000000 ${ramdisk_image} && " \ "fatload mmc 0 0x2000000 ${ramdisk_image} && " \
"bootm 0x3000000 0x2000000 0x2A00000\0" \ "bootm 0x3A00000 0x2000000 0x3400000\0" \
"nandboot=echo Copying Linux from NAND flash to RAM... && " \ "nandboot=echo Copying Linux from NAND flash to RAM... && " \
"nand read 0x3000000 0x100000 ${kernel_size} && " \ "nand read 0x3000000 0x100000 ${kernel_size} && " \
"nand read 0x2A00000 0x600000 ${devicetree_size} && " \ "nand read 0x2A00000 0x600000 ${devicetree_size} && " \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment