Hello together,
I´m not sure if the smallest IMX6UL has a L2 cache:
The block diagram that shows the optional block dottet indicates the presence of 128k L2C on all versions.
The datasheet only refers to the feature set Baseline/ General purpose 1 and 2 and security, no details.
The UL Fact sheet shows no L2 cache for the G0 version.