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
F81680353: D5580.id15118.diff
Fri, Apr 19, 8:30 PM
F81680350: D5580.id15359.diff
Fri, Apr 19, 8:29 PM
F81680347: D5580.id14272.diff
Fri, Apr 19, 8:29 PM
F81680346: D5580.id14162.diff
Fri, Apr 19, 8:29 PM
F81680333: D5580.id15451.diff
Fri, Apr 19, 8:29 PM
F81680332: D5580.id.diff
Fri, Apr 19, 8:29 PM
Unknown Object (File)
Thu, Apr 18, 12:05 AM
Unknown Object (File)
Wed, Apr 17, 12:59 PM

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 2815
Build 2837: 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
21

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
21

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.