the bitrig master branch has been updated by patrick with 2 new commits:

commit 0b6e0b1845c3536b0765002c5054a3e1e234854c
diff: https://github.com/bitrig/bitrig/commit/0b6e0b1
author: Patrick Wildt <[email protected]>
date: Sat Oct 10 15:46:57 2015 +0200

sunxi: dont attach sxiuart to fdt

The serial controller in the Allwinner SoCs use the Synopsys DesignWare
ABP UART. This controller is fairly compatible to the standard com(4).

For another SoC that uses the same controller a com(4) attachment
driver has been written. This driver is to be used when booted with
a device tree. Thus we don't need sxiuart on the fdt bus.

M       sys/arch/armv7/conf/generic.sunxi
M       sys/arch/armv7/sunxi/files.sunxi
M       sys/arch/armv7/sunxi/sxiuart.c

commit 2c791601db7243e16761f80125666742b7e6d68c
diff: https://github.com/bitrig/bitrig/commit/2c79160
author: Patrick Wildt <[email protected]>
date: Sat Oct 10 15:31:17 2015 +0200

fdt: rework console lookup and attachment

Before this commit we found our early console by:
  * looking for a known compatible node and attach the first
  * look for the /chosen/stdout-path when used on an i.MX6 SoC

The first serial in the device tree is not necessarily the actual
serial wired to the outside. Instead of doing that, we should always
check the /chosen path first, which can show the correct serial node
to be used. If that fails, we can fall back to using the first serial
node in the tree.

M       sys/arch/armv7/fdt/fdt_machdep.c

Reply via email to