WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Discussion of your EDM baseboard, your add-on boards or other peripherals for your wandboard.

WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby pompomJuice » Mon May 29, 2017 3:26 pm

Hi.

Recently our supplier of Wandboard indicated that our current version is no longer being built. A new version is out. EDM1-IMX6-SD Rev A1

We received a sample but the Ethernet does not work. The carrier is not sensed when you plug the cable, but the driver is loaded.

Inspecting the schematics reveals that the ETH_RXD2 and ETH_RXD3 are pulled high now.

What now? Aren't these things are supposed to be the same? Or did our supplier give us the wrong board. It looks the same, linux says it's the same processor.

Please help.
pompomJuice
 
Posts: 3
Joined: Mon May 29, 2017 3:02 pm

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby rfindley » Tue May 30, 2017 9:12 pm

We are currently in the same situation. We've confirmed that the part number you listed is the correct replacement board.

The ethernet still works when we put the module in the Wandboard carrier board, but not with our custom carrier board.

I don't have the schematic for the new module yet, though.
rfindley
 
Posts: 22
Joined: Fri Nov 22, 2013 7:44 pm

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby Jaime » Wed May 31, 2017 1:15 pm

Even if there is not available the schematics of the new EDM1-IMX6-SD Rev A1, looking forward on Technexion website I found the "EDM1-IMX6PLUS Hardware Manual"

https://s3-us-west-2.amazonaws.com/technexion-downloads/documentation/edm1-imx6plus-rev100.pdf

Seems Technexion decided to unify all layout SOM, but made some changes than make it not compatible with the old WB-EDM-IMX6 REV C1

Mechanical changes:
- SD slot moved from the opposite side of camera connector to the bottom of it. On "EDM1 Fairy" carrier board the SD now can't be changed with SOM screwed to the CB

Electronic "discovered" changes:
- Ethernet now has a mosfet (see Q2 near to uSD slot on SOM and Pag.31 of edm1-imx6plus-rev100.pdf) to power it ON.
Even if there is no documentation about the way to drive it, for a quick test I shorted Source and Drain. It works (even if the ethernet chip is AR8035 diferent than AR8031 of old SOM)
- Pen-down & Interrupt for Touch Controller ( I'm doing this changes on .dtsi and will test it soon)
EDM1 Pin 263 now is GPIO_4 - GPIO1_IO04 (in the old SOM Pin 263 was GPIO19 - GPIO04_IO05)

Hope this helps.

Will be appreciated if someone find and share schematics.
Jaime
 
Posts: 2
Joined: Wed May 31, 2017 12:31 pm

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby Jaime » Wed May 31, 2017 3:59 pm

News......

GETTING STARTED:
To use your new wandboard: Just download your preferred SD card image and enjoy it ( wandboard.org downloads website - see below)
For old projects: Recompile your kernel using imx6qdl-wandboard-revd1.dtsi (and use the created ...revd1.dtb)
There isn't documentation -neither schematics- available, but all information you need is in the Device Tree

Hope you find this helpful.

Below something more about it:
-----------------------------------------------------------------------------------------------------------------------------------------
TECHNEXION AND WANDBOARD COMBINED A MESS

The SOM changed mod. Before: WB-EDM-iMX6 REV C1
Now is:
- EDM1-IMX6-SD REV:A1 - PCB screen printed -
- EDM1-IMX6Q-MSD-BW on technexion website http://shop.technexion.com/edm1-imx6q-msd-bw.html or wandboard.org website http://www.wandboard.org/index.php/buy
Links to buy outdated and not available documentation on distributors webpages (MOUSER, Digi-Key or others)
- imx6qdl-wandboard-revd1.dtsi different Device Tree (changes on porting and other features)

Wandboard.org anounced on March 30 2017 a "Wandboard Reload" but forgot to mention than it's now named Wandboard REV D1
http://www.wandboard.org/
Even TECHNEXION forgot to mention the new REV D1
http://shop.technexion.com/catalogsearch/result/?dir=asc&order=price&q=wandboard&sa_core_architecture=812

In Wandboard org downloads the "Documentation" is outdated (last update 8 February 2013 REV C1), [url]but SD card images: Android Marshmellow, Ubuntu 16.04 LTS and YOCTO were updated to REV D1[/url]
http://www.wandboard.org/index.php/downloads

There is a new dtsi "imx6qdl-wandboard-revd1.dtsi" what contents pinout changes, ethernet power driving, and others
https://github.com/TechNexion/linux/blo ... revd1.dtsi
https://github.com/wandboard-org/linux/ ... revd1.dtsi
Jaime
 
Posts: 2
Joined: Wed May 31, 2017 12:31 pm

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby Richard » Thu Jun 01, 2017 3:53 am

Hello guys:

You give very good advices.
The document and schematic should be updated soon.

In fact, "wandboard rev.D1" and "EDM1-IMX6-SD rev.A1" mean the same CPU module.

The differences between wandboard rev.C1 and rev.D1 are:

1. wandboard rev.D1 adds MMPF0100 PMIC. wandboad rev.C1 only uses discrete regulator.
It requires to initialize the PMIC in software.

2. wandboard rev.D1 replace ethernet PHY Atheros AR8031 with Atheros AR8035. wandboard rev.C1 uses AR8031.
AR8035 requires the reset signal as power sequence. AR8031 doesn't require a reset signal.
And wandboard rev.D1 has a switch to control the ENET_3V3 output(Vdd of ethernet PHY).
It requres to control the GPIO in software to switch it on.

3. wandboard rev.D1 replaces wifi chip BCM4330(USI WM-BN-BM-04) with BCM4339(Ampak AP6335).
The brcmfmac driver isn't compatible with AP6335 so far.
In the software release, it uses bcmdhd driver to be compatible with BCM4330 and BCM4339.
bcmdhd driver will detect the chip id and load the corresponding firmware and nvram file.

4. change the pin "CSPI_CS1" from "KEY_COL2" to "GPIO1_25".
("KEY_COL2" conflicts with "CAN1_RX" in wandboard rev.C1)

SPL u-boot would take care of the divergence of device tree file.
It'd detect the version of wandboard module and load corresponding device tree file.
So, one binary still works for wandboard rev.C1 and wandboard rev.D1.

If you get wandboard rev.D1, please make sure to use the software release of wandboard rev.D1.


Thanks for your feedback !

BR,

Richard
Richard
Site Admin
 
Posts: 137
Joined: Tue Dec 17, 2013 6:57 am

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby gismael » Thu Jun 08, 2017 6:30 pm

Hi Richard.
The PCIe host controller is not showing up with the 4.1.15 kernel build. lspci produces nothing. With the earlier 3.10.53 kernel, we managed to make it work with some patches, but we are not eager to repeat the experience. Rev D1 PCI works with the older kernel, but so far, I have found no compatible wifi driver, since 3.10.53 does not support bcmdhd. What to do? I am working on the 4.1.15 kernel to try to get the PCIe bridge to appear. Have you tested the PCIe interface?
gismael
 
Posts: 1
Joined: Thu Jun 08, 2017 6:25 pm

Re: WANDBOARD EDM1-IMX6-SD Rev A1 NIC RXD2 & RXD3

Postby repu1sion » Sun Jun 18, 2017 8:02 pm

Are there any chances to get Ethernet working on 3.0.35 kernel?

From my efforts I see that eth0 interface is up and even ip could be assigned and it even tries to send some TX packets, at least counter increases, but ping doesn't work.
Also it looks like code already supports needed sequence for AR8035 reset:
Code: Select all
in wand_init_ethernet(void) from arch/arm/mach-mx6/board-wand.c
{
...
gpio_request(WAND_RGMII_RST, "rgmii reset");
gpio_direction_output(WAND_RGMII_RST, 0);
msleep(10);
gpio_set_value(WAND_RGMII_RST, 1);
...
}


Also it seems that phy setup sequence from wand_fec_phy_init (arch/arm/mach-mx6/board-wand.c) should work also for AR8035.

But how to enable regulator for ENET_3V3 output(Vdd of ethernet PHY)?
Just setting up GPIO(7, 13) is not enough.
Should I enable any driver for regulator in kernel config?
Is MMPF0100 PMIC the needed one which controls vdd of phy?

And also, any changes in MX6QDL_PAD needed to make Ethernet working?

Any help is welcome!
repu1sion
 
Posts: 13
Joined: Mon Jun 01, 2015 4:00 pm


Return to Hardware and peripherals

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 2 guests

cron