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)
Tue, Jan 21, 6:13 PM
Unknown Object (File)
Dec 14 2024, 11:31 AM
Unknown Object (File)
Dec 9 2024, 6:05 AM
Unknown Object (File)
Nov 27 2024, 12:59 PM
Unknown Object (File)
Nov 20 2024, 10:25 PM
Unknown Object (File)
Nov 18 2024, 5:36 PM
Unknown Object (File)
Nov 18 2024, 7:59 AM
Unknown Object (File)
Nov 18 2024, 6:32 AM
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.