[U-Boot] [PATCH u-boot-marvell v2 00/12] Updates for Turris Mox

Marek BehĂșn marek.behun at nic.cz
Fri Aug 17 10:58:50 UTC 2018


This is second version of updates for Turris Mox.
The first version was sent three months ago, on 16th May. Sorry :).
It would be great if this got to 2018.09 release, but I will
understand if it does not.

I changed the first patch, "phy: marvell: Support changing SERDES
map in board file", according to Stefan's suggestions.

The other patches have changed, since I have reworked the system
of how U-Boot tells kernel about the different Mox modules.

Previously the board code created a variable module_topology, which
then was used by boot script to load correct device tree. There were
many device trees, one for each correct module topology.

Now there is only one device tree, and U-Boot patches the device tree
in ft_board_setup, according to which modules are connected.

Patch 2 adds code to peripheral clocks, so that their parents/rates
can be changed.

Patch 3 fixes watchdog setup.

Patch 4 adds fixup for U-Boot's device tree according to module
topology (enables PCIe node if PCIe device is connected).

Patches 5 and 10 add configs to defcofnig.

Patch 6 is cosmetic.

Patch 7 adds comphy_update_map which updates SERDES lane 1 speed
according to module topology.

Patch 8 adds check for module topology, if it is correct and so on,
then adds configuration of switch modules via SPI and finally some
fancy switch LED blinking.

Patch 9 adds the code which patches Linux's device tree according
to module topology.

Patch 11 changes the Mox's U-Boot device tree.

Patch 12 creates a new config variable to support 1 GB RAM version
of Mox (and adds a -u-boot.dtsi to support the change).

Marek



More information about the U-Boot mailing list