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)
Wed, Dec 25, 2:35 PM
Unknown Object (File)
Tue, Dec 24, 2:20 PM
Unknown Object (File)
Tue, Dec 24, 3:53 AM
Unknown Object (File)
Tue, Dec 24, 3:52 AM
Unknown Object (File)
Mon, Dec 23, 10:48 PM
Unknown Object (File)
Thu, Dec 19, 6:02 PM
Unknown Object (File)
Thu, Dec 19, 2:50 PM
Unknown Object (File)
Tue, Dec 17, 2:15 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 Passed
Unit
No Test Coverage
Build Status
Buildable 3231
Build 3264: arc lint + arc unit

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

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

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.