arm: am57xx: cl-som-am57x: fix Ethernet
PATCH 1/1 arm: am57xx: cl-som-am57x: fix Ethernet
The module is continuously rebooting with the following message:
Net: data abort
pc : [<fff77f42>] lr : [<fff6e32b>]
reloc pc : [<80816f42>] lr : [<8080d32b>]
sp : fdf5ce48 ip : fdf5d79c fp : 00000017
r10: 8083cd58 r9 : fdf5cef0 r8 : fdf5d5d0
r7 : 48485000 r6 : 400000ff r5 : fdf5d6e0 r4 : fdf5d618
r3 : fdf5d5b4 r2 : fdf5d5d0 r1 : 643a3631 r0 : fdf5d6e0
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
Modifications:
* Enable Ethernet configuration in the SPL.
* Update PINMUX of PHY enable GPIO.
--- board/compulab/cl-som-am57x/mux.c | 2 +- include/configs/cl-som-am57x.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
board/compulab/cl-som-am57x/mux.c +1 -1
@@ -102,7 +102,7 @@ static const struct pad_conf_entry cl_som_am57x_padconf_ethernet[] = { {VIN2A_D22, (IEN | PDIS | PTD | M3) }, /* VIN2A_D22.RGMII1_RXD1 */ {VIN2A_D23, (IEN | PDIS | PTD | M3) }, /* VIN2A_D23.RGMII1_RXD0 *//* Eth PHY1 reset GPIOs*/ - {VIN1B_CLK1, (IDIS | PDIS | PTD | M14)}, /* VIN1B_CLK1.GPIO2_31 */ + {VIN2A_CLK0, (IDIS | PDIS | PTD | M14)}, /* VIN2A_CLK0.GPIO3_28 */ };#define SET_MUX (mux_array) do_set_mux32((*ctrl)->control_padconf_core_base, \
include/configs/cl-som-am57x.h +2 -2
@@ -103,6 +103,8 @@#define CONFIG_USB_ETHER_ASIX #define CONFIG_USB_ETHER_MCS7830 +#endif /* !CONFIG_SPL_BUILD */ +/* CPSW Ethernet */ #define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII
@@ -120,8 +122,6 @@#define CONFIG_BOOTP_SUBNETMASK #define CONFIG_NET_RETRY_COUNT 10 -#endif /* !CONFIG_SPL_BUILD */ -/* Default environment */ #undef CONFIG_EXTRA_ENV_SETTINGS#define CONFIG_EXTRA_ENV_SETTINGS \
Signature · 1 line
2.7.4
PATCH 1/1 arm: am57xx: cl-som-am57x: fix Ethernet
Quoted 11 lines · Uri Mashiach
The module is continuously rebooting with the following message:
Net: data abortpc : [<fff77f42>] lr : [<fff6e32b>]reloc pc : [<
80816f42>] lr : [<8080d32b>]
sp :fdf5ce48ip :fdf5d79cfp : 00000017
r10:8083cd58r9 :fdf5cef0r8 :fdf5d5d0
r7 : 48485000 r6 :400000ffr5 :fdf5d6e0r4 :fdf5d618
r3 :fdf5d5b4r2 :fdf5d5d0r1 :643a3631r0 :fdf5d6e0
Flags: nzCv IRQs off FIQs off ModeSVC_32
Resetting CPU ...
Quoted 5 lines
Modifications:
* Enable Ethernet configuration in the SPL.
* Update PINMUX of PHY enable GPIO.Signed-off-by Uri Mashiach <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170123/d28c0885/attachment-0001.sig>
Quoted 11 lines · Uri Mashiach
The module is continuously rebooting with the following message:
Net: data abortpc : [<fff77f42>] lr : [<fff6e32b>]reloc pc : [<
80816f42>] lr : [<8080d32b>]
sp :fdf5ce48ip :fdf5d79cfp : 00000017
r10:8083cd58r9 :fdf5cef0r8 :fdf5d5d0
r7 : 48485000 r6 :400000ffr5 :fdf5d6e0r4 :fdf5d618
r3 :fdf5d5b4r2 :fdf5d5d0r1 :643a3631r0 :fdf5d6e0
Flags: nzCv IRQs off FIQs off ModeSVC_32
Resetting CPU ...
Quoted 6 lines
Modifications:
* Enable Ethernet configuration in the SPL.
* Update PINMUX of PHY enable GPIO.Signed-off-by Uri Mashiach <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170124/23296f82/attachment.sig>