Ts7970 silex wifi: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Due to an EOL the WIFI module this part is being replaced wit the [[#TS-4900 WIFI|Silex SX-SDMAC2832S+]] starting with PCB revision F.
Due to an EOL the WIFI module this part is being replaced wit the [[#TS-4900 WIFI|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. The board will now attempt to load a new device tree, but it will fall back to the old location so existing images will boot.
 
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.
* [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-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.
<pre>
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)
</pre>


To support this new wifi chipset a new u-boot and kernel updates are required. For most WIFI users this will require only an updated kernel to support the new WIFI, and the newer board revisions will ship with the required u-boot to make use of this.


For users with unmodified kernels these can be updated to include the new WIFI support with a tar:
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.embeddedTS.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]
* [https://files.embeddedTS.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:
This can be installed directly to the board:
<source lang=bash>
<source lang=bash>
wget https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/kernel/linux-4.9.11-20200701.tar.bz2
wget https://files.embeddedTS.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 /
tar -xf linux-4.9.11-20200701.tar.bz2 -C /
</source>
</source>
Line 40: Line 22:


For users with custom kernels these should be updated to our latest commits:
For users with custom kernels these should be updated to our latest commits:
* 4.9 cdcfd0831e1c67d982a98741ae92bef9ac766aaf
* 4.9 3544502eff51a659101411ed7879c0596e7c73f5
* 4.1 e7279c10cc16fc8cbed47c318613879a37b82a02
* 4.1 04b83989d3930580a2f6ee70ac4483e6728e1fcf
Existing images will also need to be updated to support the firmware required by these new chipsets. If either of the above stock kernels are installed these packages also include the required firmware.  This can also be installed in your image with the files here:
<source lang=bash>
cd /tmp/
wget http://files.embeddedts.com/ts-arm-sbc/ts-7970-linux/wifi-firmware/silex-sdmac-plus-firmware-latest.tar.bz2
mkdir /tmp/image/
sudo tar --numeric-owner -xf old-image.tar.bz2 -C /tmp/image/
sudo tar -xf /tmp/silex-sdmac-plus-firmware-latest.tar.bz2 -C /tmp/image/lib/firmware/
sudo tar --numeric-owner -cjf new-image.tar.bz2 -C /tmp/image .
</source>
 
For users versions this requires a u-boot change to support loading the new PCB revision device trees.
* [https://github.com/embeddedTS/u-boot-imx/commit/9d8d31cbaef3f5a8b41d2852fd8feba3ff2c3b8d#diff-29b61e6a9b2041f7f35bad42d6aa980fb5b73ff723621c11f6ef792582950e52 REV F/G support]
 
U-boot will now search for the device tree looking for imx6<cpu>-ts7970-revf.dtb if the board is a rev f. 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.
<pre>
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)
</pre>

Latest revision as of 18:22, 16 November 2022

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. The board will now attempt to load a new device tree, but it will fall back to the old location so existing images will boot.

To support this new wifi chipset a new u-boot and kernel updates are required. For most WIFI users this will require only an updated kernel to support the new WIFI, and the newer board revisions will ship with the required u-boot to make use of this.

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.embeddedTS.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 3544502eff51a659101411ed7879c0596e7c73f5
  • 4.1 04b83989d3930580a2f6ee70ac4483e6728e1fcf

Existing images will also need to be updated to support the firmware required by these new chipsets. If either of the above stock kernels are installed these packages also include the required firmware. This can also be installed in your image with the files here:

cd /tmp/
wget http://files.embeddedts.com/ts-arm-sbc/ts-7970-linux/wifi-firmware/silex-sdmac-plus-firmware-latest.tar.bz2
mkdir /tmp/image/
sudo tar --numeric-owner -xf old-image.tar.bz2 -C /tmp/image/
sudo tar -xf /tmp/silex-sdmac-plus-firmware-latest.tar.bz2 -C /tmp/image/lib/firmware/
sudo tar --numeric-owner -cjf new-image.tar.bz2 -C /tmp/image .

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

U-boot will now search for the device tree looking for imx6<cpu>-ts7970-revf.dtb if the board is a rev f. 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)