Page MenuHomeFreeBSD

ALLWINNER generic config file and A31 kernel config
ClosedPublic

Authored by manu_bidouilliste.com on Mar 8 2016, 12:33 PM.
Tags
Referenced Files
Unknown Object (File)
Thu, Oct 31, 7:31 AM
Unknown Object (File)
Thu, Oct 31, 12:45 AM
Unknown Object (File)
Tue, Oct 29, 9:42 AM
Unknown Object (File)
Thu, Oct 24, 9:51 PM
Unknown Object (File)
Oct 19 2024, 10:57 AM
Unknown Object (File)
Oct 19 2024, 10:57 AM
Unknown Object (File)
Oct 19 2024, 10:57 AM
Unknown Object (File)
Oct 19 2024, 10:57 AM

Details

Summary

Add a ALLWINNER generic kernel config file, this build a kernel that works on A20 and A31.
Add a A31 kernel config file that include ALLWINNER and remove A20 support
Use ALLWINNER in A20 and remove A31 support
Move arm/allwinner/a20/if_dwc.c to if arm/allwinner/if_gmac.c
Add custom dts for BananaPi M2, this add the clock driver node and disable mmc2.

Test Plan

Apply patch and build kernel for A20 and A31 hardware.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu_bidouilliste.com retitled this revision from to ALLWINNER generic config file and A31 kernel config.
manu_bidouilliste.com updated this object.
manu_bidouilliste.com edited the test plan for this revision. (Show Details)
manu_bidouilliste.com added a reviewer: ARM.
manu_bidouilliste.com set the repository for this revision to rS FreeBSD src repository - subversion.
manu_bidouilliste.com added a project: ARM.

After a discussion with jmcneill@ we decided to remove the A20 and A31 specific kernel config. It will be a pain to maintain as we adds more allwinner soc support.
Update release file to use the ALLWINNER kernel instead of the A20.

I'll update this rev once I've reworked D5573 to work with latest INTRNG bits so when we introduce the ALLWINNER kernel it will be for all Allwinner supported SoC.

There is still some stuff to do on A10 (INTRNG and DELAY) so update now.
This generic ALLWINNER kernel works on my A20-SOM-EVB, BananaPi M1 (A20) and Bananapi M2 (A31s)

jmcneill added inline comments.
sys/arm/allwinner/files.allwinner
20 ↗(On Diff #15118)

How about aw_if_dwc.c?

Move if_gmac.c to aw_if_dwc.c
Add options SOC_ALLWINNER_A31S into ALLWINNER kernel

manu_bidouilliste.com added inline comments.
sys/arm/allwinner/files.allwinner
20 ↗(On Diff #15118)

It's named like that for amlogic so I guess it make sense.

This revision is now accepted and ready to land.Apr 20 2016, 8:15 AM
This revision was automatically updated to reflect the committed changes.