Hello, sorry for referring old mail.

I found the reason of character flood of Allwinner H6, the symptom of
following message.

>> Does it accept input at that point?
>
>Yes, simply press Enter, message flood has occured like this:
>
>bootfile: sd0a:/bsd
>boot device: lookup sd0a:/bsd failed
>root device: <-- press enter here
>ohci1: 1193 scheduling overruns
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>use one of: exit
>root device:
>
>and this flood can stop by pressing Ctrl-C.
>simply hit a key, it looks many times pressed.
>
>use one of: exit
>root device: 
>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

This is caused by disabling FIFO of Allwinner H6.
Allwinner H2+ (and maybe H5) has 64bytes FIFO.
But H6's one has 256bytes, we have to treat it uses different UART.

We can test the difference of behavior. Simply boot U-boot and
write 6 (reset Tx/Rx FIFO and disable FIFO) or 0 (simply disable FIFO) to
UART's FCR register.

* U-boot enables UART FIFO as default.

There is no problem on H2+ but same flood occurs on H6.

I haven't found the method how to disable FIFO without any problem.
Does anyone have good idea?

Regards,
-- 
SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>

Reply via email to