Ts7970 silex wifi: Difference between revisions

From embeddedTS Manuals
(Created page with "Due to an EOL the WIFI module this part is being replaced wit the Silex SX-SDMAC2832S+ starting with PCB revision F. For users who do not use WIFI and write...")
 
No edit summary
Line 3: Line 3:
For users who do not use WIFI and write their own image, no action is required to support REV F boards.
For users who do not use WIFI and write their own image, no action is required to support REV F boards.


For users with custom u-boots this requires a u-boot change to support loading the new PCB revision device trees. This patch will be linked here when it is available.
For users with custom u-boot binaries this requires a u-boot change to support loading the new PCB revision device trees.
* [https://github.com/embeddedarm/u-boot-imx/commit/9d8d31cbaef3f5a8b41d2852fd8feba3ff2c3b8d#diff-29b61e6a9b2041f7f35bad42d6aa980fb5b73ff723621c11f6ef792582950e52 REV F/G support]


U-boot will now search for the device tree preferring a file with the -rev<pcbrev> in the file name.  For example, on a quad core TS-76970 REV F, it will attempt to load these files in this order:
U-boot will now search for the device tree preferring a file with the -rev<pcbrev> in the file name.  For example, on a quad core TS-7970 REV F, it will attempt to load these files in this order:
* imx6q-ts7970-revf.dtb
* imx6q-ts7970-revf.dtb
* imx6q-ts7970.dtb
* imx6q-ts7970.dtb
Line 19: Line 20:
</pre>
</pre>


The kernel drivers are pending release, but this will be distributed initially as a new set of images to support this new module, as well as a precompiled tar users can extract over their custom images. The kernel compile instructions will be updated to support the new driver for customized kernels as well.
 
For users with unmodified kernels these can be updated to include the new WIFI support with a tar:
* [https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/kernel/linux-4.9.11-20200701.tar.bz2 4.9.11 kernel]
* [https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/kernel/linux-4.1.15-20200701.tar.bz2 4.1.15 kernel]
 
This can be installed directly to the board:
<source lang=bash>
wget https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/kernel/linux-4.9.11-20200701.tar.bz2
tar -xf linux-4.9.11-20200701.tar.bz2 -C /
</source>
 
This can also be used to install over an existing image:
<source lang=bash>
mkdir /tmp/image/
sudo tar --numeric-owner -xf old-image.tar.bz2 -C /tmp/image/
sudo tar -xf linux-4.9.11-20200701.tar.bz2 -C /tmp/image/
sudo tar --numeric-owner -cjf new-image.tar.bz2 -C /tmp/image .
</source>
 
For users with custom kernels these should be updated to our latest commits:
* 4.9 cdcfd0831e1c67d982a98741ae92bef9ac766aaf
* 4.1 e7279c10cc16fc8cbed47c318613879a37b82a02

Revision as of 13:30, 11 May 2021

Due to an EOL the WIFI module this part is being replaced wit the Silex SX-SDMAC2832S+ starting with PCB revision F.

For users who do not use WIFI and write their own image, no action is required to support REV F boards.

For users with custom u-boot binaries this requires a u-boot change to support loading the new PCB revision device trees.

U-boot will now search for the device tree preferring a file with the -rev<pcbrev> in the file name. For example, on a quad core TS-7970 REV F, it will attempt to load these files in this order:

  • imx6q-ts7970-revf.dtb
  • imx6q-ts7970.dtb

Boards before REV F will not attempt to load the revf dtb files.

When using the older images which did not have the pcb rev in the device tree, this will fall back to the older file but the startup output will show this output while it checks for the updated device tree.

Booting from the eMMC ...
** File not found /boot/boot.ub **
** File not found /boot/imx6q-ts7970-revf.dtb **
42451 bytes read in 126 ms (328.1 KiB/s)


For users with unmodified kernels these can be updated to include the new WIFI support with a tar:

This can be installed directly to the board:

wget https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/kernel/linux-4.9.11-20200701.tar.bz2
tar -xf linux-4.9.11-20200701.tar.bz2 -C /

This can also be used to install over an existing image:

mkdir /tmp/image/
sudo tar --numeric-owner -xf old-image.tar.bz2 -C /tmp/image/
sudo tar -xf linux-4.9.11-20200701.tar.bz2 -C /tmp/image/
sudo tar --numeric-owner -cjf new-image.tar.bz2 -C /tmp/image .

For users with custom kernels these should be updated to our latest commits:

  • 4.9 cdcfd0831e1c67d982a98741ae92bef9ac766aaf
  • 4.1 e7279c10cc16fc8cbed47c318613879a37b82a02