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.

Details

Summary

move to early printf code to sys/arm/allwinner

Diff Detail

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

Event Timeline

manu added a comment.Nov 7 2018, 1:21 AM

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.

manu added a comment.Nov 7 2018, 3:18 PM

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.