Page MenuHomeFreeBSD

move to early printf code to sys/arm/allwinner.
AbandonedPublic

Authored by yamori813_yahoo.co.jp on Nov 7 2018, 12:23 AM.
Tags
None
Referenced Files
F132667303: D17880.id50098.diff
Sat, Oct 18, 9:51 PM
Unknown Object (File)
Fri, Oct 3, 2:04 AM
Unknown Object (File)
Sun, Sep 21, 5:38 AM
Unknown Object (File)
Sat, Sep 20, 2:05 PM
Unknown Object (File)
Fri, Sep 19, 4:32 PM
Unknown Object (File)
Jul 12 2025, 4:51 AM
Unknown Object (File)
Jul 1 2025, 6:53 AM
Unknown Object (File)
Jun 28 2025, 1:36 AM
Subscribers
None

Details

Summary

move to early printf code to sys/arm/allwinner

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20672
Build 20087: arc lint + arc unit

Event Timeline

Why ?
This code can work with any snps uart IP.

I seem uart_dev_snps.c use ather soc uart. Not only allwinner, And ALLWINNER_32 and ALLWINNER_64 define is not valid.

I seem uart_dev_snps.c use ather soc uart. Not only allwinner, And ALLWINNER_32 and ALLWINNER_64 define is not valid.

The ALLWINNER_XX defines are fake ones so one need to choose between the two.
If you have another device that uses snps uart driver feel free to submit some early routines if those ones doesn't work for you.
Also aw_machdep.c isn't used in aarch64 build.

In D17880#382169, @manu wrote:

I seem uart_dev_snps.c use ather soc uart. Not only allwinner, And ALLWINNER_32 and ALLWINNER_64 define is not valid.

The ALLWINNER_XX defines are fake ones so one need to choose between the two.
If you have another device that uses snps uart driver feel free to submit some early routines if those ones doesn't work for you.
Also aw_machdep.c isn't used in aarch64 build.

Sorry I don't understand that is not use in aarch64.