Page MenuHomeFreeBSD

Initial port to i.MX6UL for SBC-EC9100
AbandonedPublic

Authored by shurd on Jul 26 2023, 9:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 5:36 AM
Unknown Object (File)
Fri, Nov 7, 2:59 AM
Unknown Object (File)
Sat, Nov 1, 7:23 PM
Unknown Object (File)
Sat, Nov 1, 7:22 PM
Unknown Object (File)
Sat, Nov 1, 7:22 PM
Unknown Object (File)
Sat, Nov 1, 3:09 PM
Unknown Object (File)
Tue, Oct 14, 12:44 AM
Unknown Object (File)
Oct 12 2025, 1:33 PM
Subscribers

Details

Reviewers
andrew
manu
Group Reviewers
ARM
Summary

This adds support for the i.MX6UL SoC as used on the EMTOP-TECH
(formerly Embest) SBC-EC9100 board, currently $20 on Amazon
here: https://www.amazon.com/SBCSoM-Computer-Cortex-A7-Interface-SBC-IMX6UL/dp/B0BHQMZGS2/

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52860
Build 49751: arc lint + arc unit

Event Timeline

shurd requested review of this revision.Jul 26 2023, 9:10 PM

I understand this will need to be split up, just wanted to get initial feedback in case I'm heading in terrible directions.

Add SOC_IMX6 to GENERIC since it's used in if_ffec.c now

Yeah splitting would be easier.
I don't think that we should add new kernel configs, just make sure that it's working with GENERIC and if you want a specific kernel config for this board just keep it in your tree :)
For the DTS it's not in upstream linux either and so shouldn't be in the sys/contrib directory.

sys/arm/freescale/fsl_ocotp.c
166

You should switch that to a table and use ofw_bus_search_compatible instead.

sys/arm/freescale/imx/imx6_ccm.c
239

Convert to ofw_bus_search_compatible

sys/arm/freescale/vybrid/vf_adc.c
135

Swtich to ofw_bus_search_compatible

sys/dev/cpufreq/cpufreq_dt.c
503

Probably need a comment that this is imx6 specific and that there is no Binding docs for this regulator.
Is it enough though ? They seems to have arm-supply and soc-supply regulators.

cy removed a subscriber: cy.