svn commit: r328198 - head/sys/dev/extres/clk

2018-01-20 Thread Emmanuel Vadot
Author: manu Date: Sat Jan 20 14:47:27 2018 New Revision: 328198 URL: https://svnweb.freebsd.org/changeset/base/328198 Log: clk: Get new parent freq after set_freq During set_freq a clknode might have reparent (using a better parent that have a higher frequency for example), before

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Emmanuel Vadot
/* We only have one child, the SPI bus, which needs our own node. */ > return (ofw_bus_get_node(bus)); > } > > + > static device_method_t bcm_pwm_methods[] = { > /* Device interface */ > DEVMETHOD(device_probe, bcm_pwm_probe), > DEVMETH

svn commit: r328279 - head/usr.bin/sockstat

2018-01-23 Thread Emmanuel Vadot
Author: manu Date: Tue Jan 23 13:03:47 2018 New Revision: 328279 URL: https://svnweb.freebsd.org/changeset/base/328279 Log: sockstat: Add -q option to suppress the header line MFC after:1 week Sponsored by: Gandi.net Modified: head/usr.bin/sockstat/sockstat.1

svn commit: r328380 - in head/sys: arm/conf arm/lpc dev/uart modules/uart

2018-01-24 Thread Emmanuel Vadot
Author: manu Date: Wed Jan 24 22:04:16 2018 New Revision: 328380 URL: https://svnweb.freebsd.org/changeset/base/328380 Log: arm: lpc: Remove support Code hasn't been touch this it's original commit in 2012 beside api changes. Reviewed by: ian Differential Revision:

Re: svn commit: r328402 - head/sys/dev/usb/controller

2018-01-26 Thread Emmanuel Vadot
On Thu, 25 Jan 2018 17:14:52 + Ruslan Bukin <ruslan.bu...@cl.cam.ac.uk> wrote: > On Thu, Jan 25, 2018 at 06:12:04PM +0100, Emmanuel Vadot wrote: > > > Log: > > > Add basic driver for Qualcomm USB 2.0 EHCI controller. > > > This driver relie

svn commit: r327922 - head/sys/dev/mmc/host

2018-01-13 Thread Emmanuel Vadot
Author: manu Date: Sat Jan 13 14:10:45 2018 New Revision: 327922 URL: https://svnweb.freebsd.org/changeset/base/327922 Log: dwmmc_hisi: Fix build when option MMCCAM is defined Modified: head/sys/dev/mmc/host/dwmmc_hisi.c Modified: head/sys/dev/mmc/host/dwmmc_hisi.c

Re: svn commit: r328402 - head/sys/dev/usb/controller

2018-01-25 Thread Emmanuel Vadot
eric-ehci, would it be better to subclass generic-ehci to fdt and add qualcomm quirks if necessary ? Cheers, -- Emmanuel Vadot <m...@bidouilliste.com> <m...@freebsd.org> ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mail

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-27 Thread Emmanuel Vadot
do it was. - Even after some developpers point out that it wasn't the way to go he didn't revert his commit. And even he didn't say that he won't, his mail suggest that he will not. - Now we have a crappy driver in the tree. What's next ? Cheers, -- Emmanuel Vadot <m...@bidouil

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-27 Thread Emmanuel Vadot
f you don't want to reboot provide patch for loading overlays at runtime. > -adrian -- Emmanuel Vadot <m...@bidouilliste.com> <m...@freebsd.org> ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Emmanuel Vadot
; IMHO if we shove the standard down our own throats we are in > effect cutting our hands off in the process, not somethig we > really want to do is it? No. > > > (I personally hate having to edit the dts/recompile/reboot for every > > > test hardwar

svn commit: r328588 - head/usr.bin/nfsstat

2018-01-30 Thread Emmanuel Vadot
Author: manu Date: Tue Jan 30 09:59:52 2018 New Revision: 328588 URL: https://svnweb.freebsd.org/changeset/base/328588 Log: nfsstat: Add libxo output Add libxo output support Merge exp41_intpr and exp_intpr function. The only difference is to print NFSV4.1 operations in exp41, add a

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Emmanuel Vadot
On Tue, 30 Jan 2018 10:15:26 + "Poul-Henning Kamp" <p...@phk.freebsd.dk> wrote: > > In message <20180130105812.d1de09e0d4ac88934d776...@bidouilliste.com>, > Emmanuel > Vadot writes: > >On Tue, 30 Jan 2018 09:47:57 + > > >

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Emmanuel Vadot
o the list of overlays loaded by the rpi firmware. > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > p...@freebsd.org | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incomp

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Emmanuel Vadot
On 2018-01-28 00:14, Poul-Henning Kamp wrote: In message <20180127210801.37b8001125dd0a2c92372...@bidouilliste.com>, Emmanuel Vadot writes: - We have a commiter that commited something for his own need: he wanted to use the pwm on his rpi, coded a driver (this part is good) bu

Re: svn commit: r328136 - in head/etc: defaults rc.d

2018-02-12 Thread Emmanuel Vadot
t; + set -- `/bin/kenv dhcp.domain-name-servers` > + for ns in `IFS=','; echo $*`; do > + echo nameserver $ns > + done > + ) | /sbin/resolvconf -a ${interface}:dhcp4 > fi > - > - set -- `/bin/kenv dhcp.

svn commit: r329090 - vendor/device-tree/4.15

2018-02-09 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 9 22:34:57 2018 New Revision: 329090 URL: https://svnweb.freebsd.org/changeset/base/329090 Log: Tag import of DTS 4.15 Added: vendor/device-tree/4.15/ - copied from r329089, vendor/device-tree/dist/ ___

svn commit: r329088 - in vendor/device-tree/dist: Bindings Bindings/arm Bindings/arm/amlogic Bindings/arm/bcm Bindings/arm/mediatek Bindings/arm/omap Bindings/arm/samsung Bindings/arm/tegra Binding...

2018-02-09 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 9 22:33:22 2018 New Revision: 329088 URL: https://svnweb.freebsd.org/changeset/base/329088 Log: Update our copies of the Device Tree Source to Linux 4.15 Added: vendor/device-tree/dist/Bindings/arm/amlogic/

svn commit: r329268 - in head/stand/efi: include libefi loader

2018-02-14 Thread Emmanuel Vadot
Author: manu Date: Wed Feb 14 18:05:37 2018 New Revision: 329268 URL: https://svnweb.freebsd.org/changeset/base/329268 Log: efi: Only scan the BLKIO MEDIA once Scan only the BLOCK IO MEDIA once instead of each time for each type of device (fd, cd and hdd). Leave the mechanism to free

svn commit: r329059 - in stable/11/usr.bin/mkimg: . tests

2018-02-09 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 9 09:15:43 2018 New Revision: 329059 URL: https://svnweb.freebsd.org/changeset/base/329059 Log: MFC r306325, r306329-r306330, r306333, r306620-r306622, r307544, r307550, r318137, r319125, r319295 r306325 by marcel: Replace the use of linker sets with

svn commit: r329104 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/phy include/dt-bindings/pinctrl include/dt-bindings/p...

2018-02-10 Thread Emmanuel Vadot
Author: manu Date: Sat Feb 10 15:29:46 2018 New Revision: 329104 URL: https://svnweb.freebsd.org/changeset/base/329104 Log: dts: Update our device tree sources files from Linux 4.15 Added: head/sys/gnu/dts/arm/axp81x.dtsi (contents, props changed) head/sys/gnu/dts/arm/bcm-hr2.dtsi

svn commit: r328974 - in stable/11/usr.bin/mkimg: . tests

2018-02-07 Thread Emmanuel Vadot
Author: manu Date: Wed Feb 7 15:32:31 2018 New Revision: 328974 URL: https://svnweb.freebsd.org/changeset/base/328974 Log: MFC r306325, r306329-r306330, r306333, r306620-r306622, r307387, r307544, r307550, r318137, r319125, r319295 r306325 by marcel: Replace the use of linker sets with

svn commit: r328976 - in stable/11/usr.bin/mkimg: . tests

2018-02-07 Thread Emmanuel Vadot
Author: manu Date: Wed Feb 7 16:45:38 2018 New Revision: 328976 URL: https://svnweb.freebsd.org/changeset/base/328976 Log: Revert r328974, r307387 was not supposed to be part of it. Deleted: stable/11/usr.bin/mkimg/endian.h stable/11/usr.bin/mkimg/uuid.c Modified:

svn commit: r329463 - head/sys/arm/allwinner

2018-02-17 Thread Emmanuel Vadot
Author: manu Date: Sat Feb 17 18:30:25 2018 New Revision: 329463 URL: https://svnweb.freebsd.org/changeset/base/329463 Log: aw_mmc: Only change the clock if it has really changed This also seems to fix problem when booting Pine64 from the mmc. Tested On:Pine64 Tested On:

svn commit: r329517 - head/stand/efi/include

2018-02-18 Thread Emmanuel Vadot
Author: manu Date: Sun Feb 18 11:17:39 2018 New Revision: 329517 URL: https://svnweb.freebsd.org/changeset/base/329517 Log: efi: Do not pad the efi devpath structure This solve problem when booting with efi on armv7 Reviewed by: imp, tsoome MFC after:2 weeks Differential

svn commit: r327184 - in head/sys: arm/allwinner arm/allwinner/a10 dev/iicbus/twsi

2017-12-25 Thread Emmanuel Vadot
/a10_intc.c Mon Dec 25 21:07:54 2017 (r327183) +++ head/sys/arm/allwinner/a10/a10_intc.c Mon Dec 25 22:09:25 2017 (r327184) @@ -1,6 +1,6 @@ /*- * Copyright (c) 2012 Ganbold Tsagaankhuu <ganb...@freebsd.org> - * Copyright (c) 2016 Emmanuel Vadot <m...@bidouil

svn commit: r327185 - head/share/man/man4

2017-12-25 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 25 23:01:09 2017 New Revision: 327185 URL: https://svnweb.freebsd.org/changeset/base/327185 Log: aw_rsb.4: Remove useless .Re Modified: head/share/man/man4/aw_rtc.4 Modified: head/share/man/man4/aw_rtc.4

svn commit: r327197 - head/share/man/man4

2017-12-26 Thread Emmanuel Vadot
Author: manu Date: Tue Dec 26 10:59:54 2017 New Revision: 327197 URL: https://svnweb.freebsd.org/changeset/base/327197 Log: aw_rtc.4: Correct some error/style found by mandoc -Tlint Modified: head/share/man/man4/aw_rtc.4 Modified: head/share/man/man4/aw_rtc.4

svn commit: r327199 - in head: share/man/man4 sys/arm/allwinner

2017-12-26 Thread Emmanuel Vadot
/share/man/man4/aw_gpio.4 Tue Dec 26 12:11:04 2017 (r327199) @@ -0,0 +1,102 @@ +.\"- +.\" Copyright (c) 2017 Emmanuel Vadot <m...@freebsd.org> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\"

svn commit: r327202 - head/sys/arm/allwinner

2017-12-26 Thread Emmanuel Vadot
Author: manu Date: Tue Dec 26 14:34:38 2017 New Revision: 327202 URL: https://svnweb.freebsd.org/changeset/base/327202 Log: arm: a10_gpio.c was renamed aw_gpio.c While here order files in files.allwinner Modified: head/sys/arm/allwinner/files.allwinner Modified:

svn commit: r327207 - head/sys/conf

2017-12-26 Thread Emmanuel Vadot
Author: manu Date: Tue Dec 26 15:35:19 2017 New Revision: 327207 URL: https://svnweb.freebsd.org/changeset/base/327207 Log: arm64: a10_gpio.c and a10_mmc.c were renamed aw_gpio.c and aw_mmc.c Modified: head/sys/conf/files.arm64 Modified: head/sys/conf/files.arm64

svn commit: r327210 - in head/share/man/man4: . man4.arm

2017-12-26 Thread Emmanuel Vadot
@@ +.\"- +.\" Copyright (c) 2017 Emmanuel Vadot <m...@freebsd.org> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\"

svn commit: r327216 - in head/share/man/man4: . man4.arm

2017-12-26 Thread Emmanuel Vadot
m r327215, head/share/man/man4/man4.arm/aw_gpio.4) == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/aw_gpio.4 Tue Dec 26 16:50:49 2017 (r327216, copy of r327215, head/share/man/man4/man4.arm/aw_gpio.4) @@ -0,0 +1,102

svn commit: r327198 - in head: share/man/man4 sys/arm/allwinner

2017-12-26 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/aw_mmc.4Tue Dec 26 12:06:56 2017 (r327198) @@ -0,0 +1,76 @@ +.\"- +.\" Copyright (c) 2017 Emmanuel Vadot <m...@freebsd.org> +.\" All rights reserved. +.\" +

svn commit: r327180 - head/share/man/man4

2017-12-25 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/aw_rtc.4Mon Dec 25 19:42:04 2017 (r327180) @@ -0,0 +1,63 @@ +.\"- +.\" Copyright (c) 2017 Emmanuel Vadot <m...@freebsd.org> +.\"

svn commit: r327250 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/mv arm/nvidia/te...

2017-12-27 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 27 21:39:57 2017 New Revision: 327250 URL: https://svnweb.freebsd.org/changeset/base/327250 Log: arm: Add kern/kern_clocksource.c to files.arm Instead of adding it to every files.vendor, add it to the common arch file. Modified:

svn commit: r327251 - in head/sys/arm: allwinner freescale/imx

2017-12-27 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 27 21:58:19 2017 New Revision: 327251 URL: https://svnweb.freebsd.org/changeset/base/327251 Log: arm: hdmi_if.m is already in files.arm Do not require it in files.vendor Modified: head/sys/arm/allwinner/files.allwinner head/sys/arm/freescale/imx/files.imx6

svn commit: r327280 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/mv arm/nvidia/te...

2017-12-27 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 28 07:31:14 2017 New Revision: 327280 URL: https://svnweb.freebsd.org/changeset/base/327280 Log: Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 Reported by: ian Modified: head/sys/arm/allwinner/files.allwinner

svn commit: r330036 - in head/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf

2018-02-26 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm64/rockchip/clk/rk3328_cru.cMon Feb 26 21:25:50 2018 (r330036) @@ -0,0 +1,476 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot &l

svn commit: r330039 - head

2018-02-26 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 26 21:50:13 2018 New Revision: 330039 URL: https://svnweb.freebsd.org/changeset/base/330039 Log: MAINTAINERS: add myself for Allwinner and 64bits RockChip Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r330037 - head/sys/dev/mmc/host

2018-02-26 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 26 21:27:42 2018 New Revision: 330037 URL: https://svnweb.freebsd.org/changeset/base/330037 Log: dwmmc: Add clock support and other improvements * If compiled with EXT_RESOURCES look up the "biu" and "ciu" clocks in the DT * Don't use custom property

svn commit: r330038 - in head/sys: conf dev/mmc/host

2018-02-26 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 26 21:29:01 2018 New Revision: 330038 URL: https://svnweb.freebsd.org/changeset/base/330038 Log: dwmmc_rockchip: Add support for rk3328-dw-mshc * Do not use pio mode like rk2928 * Change clocks frequency in update_ios Tested-On:Pine64 Rock64 (RK3328)

svn commit: r335446 - in head/sys: arm64/arm64 arm64/include kern

2018-06-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jun 20 16:07:35 2018 New Revision: 335446 URL: https://svnweb.freebsd.org/changeset/base/335446 Log: Add pmap_mapdev_attr for arm64 This is needed for efifb. arm and ricv pmap (the two arch with arm64 that uses subr_devmap) have very different implementation so

svn commit: r335443 - head/sys/arm64/rockchip

2018-06-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jun 20 14:45:26 2018 New Revision: 335443 URL: https://svnweb.freebsd.org/changeset/base/335443 Log: if_rk_dwc: Fix delays handling The property are named {t,r}x_delay and not {t,r}-delay. The upper bits of the register are a mask of which bits is allowed to be

svn commit: r335445 - head/sys/arm64/rockchip

2018-06-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jun 20 15:27:09 2018 New Revision: 335445 URL: https://svnweb.freebsd.org/changeset/base/335445 Log: if_rk_dwc: Disable setting delays for now The values for tx/rx delays differs accross the different DTS. Mainline Linux set it to 0x24/0x18 Mostly-Vendor u-boot

svn commit: r335444 - head/sys/arm64/rockchip

2018-06-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jun 20 14:46:07 2018 New Revision: 335444 URL: https://svnweb.freebsd.org/changeset/base/335444 Log: rk_gpio: Read the correct register for gpio read Reported by: jmcneill Modified: head/sys/arm64/rockchip/rk_gpio.c Modified: head/sys/arm64/rockchip/rk_gpio.c

Re: svn commit: r335476 - in head/sys: arm/allwinner conf

2018-06-21 Thread Emmanuel Vadot
p = BUS_DMASYNC_POSTWRITE; > @@ -712,13 +1049,29 @@ aw_mmc_request(device_t bus, device_t child, struct mm > sc = device_get_softc(bus); > > AW_MMC_LOCK(sc); > +#ifdef MMCCAM > + KASSERT(req == NULL, ("req should be NULL in MMCCAM case!&quo

svn commit: r336848 - head/release/arm

2018-07-28 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 28 20:45:36 2018 New Revision: 336848 URL: https://svnweb.freebsd.org/changeset/base/336848 Log: release: arm: Add a GENERIC sdcard image This produce a generic sdcard image using armv7 GENERIC kernel that just need some u-boot (or none if the board have u-boot

svn commit: r336844 - head

2018-07-28 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 28 20:33:08 2018 New Revision: 336844 URL: https://svnweb.freebsd.org/changeset/base/336844 Log: UPDATING: Add note about efifb support and serial output Modified: head/UPDATING Modified: head/UPDATING

svn commit: r336726 - in stable/11/release: . arm tools

2018-07-25 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 25 21:52:49 2018 New Revision: 336726 URL: https://svnweb.freebsd.org/changeset/base/336726 Log: MFC r336598-r336600, r336721 r336598: release: Uniform release arm image size Create a 50m fat16 for all boards. Reviewed by: gjb Differential

svn commit: r336995 - head/release

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:57:11 2018 New Revision: 336995 URL: https://svnweb.freebsd.org/changeset/base/336995 Log: release: Deinstall u-boot ports before installing FORCE_PKG_REGISTER is broken so multiple invocation of release.sh for the same board will fails if /scratch isn't

svn commit: r336996 - in head: share/man/man9 sys/arm/conf sys/arm64/conf sys/conf sys/dev/extres/nvmem

2018-07-31 Thread Emmanuel Vadot
/man9/nvmem.9 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man9/nvmem.9 Tue Jul 31 19:08:24 2018(r336996) @@ -0,0 +1,157 @@ +.\" Copyright (c) 2018 Emmanuel

Re: svn commit: r336998 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
On Tue, 31 Jul 2018 19:12:31 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Tue Jul 31 19:12:31 2018 > New Revision: 336998 > URL: https://svnweb.freebsd.org/changeset/base/336998 > > Log: > release: arm: Always boot armv6/v7 image with EFI > >

svn commit: r336992 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:52:43 2018 New Revision: 336992 URL: https://svnweb.freebsd.org/changeset/base/336992 Log: release: arm: Use GENERIC kernel for IMX6 based boards Switch the IMX.6 based board to GENERIC the kernel config. Reviewed by: gjb Differential Revision:

svn commit: r336998 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:12:31 2018 New Revision: 336998 URL: https://svnweb.freebsd.org/changeset/base/336998 Log: release: arm: Always boot armv6/v7 image with EFI boot.scr is a u-boot script that loads and execute ubldr.bin If not present u-boot will automatically boot

svn commit: r336993 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:54:06 2018 New Revision: 336993 URL: https://svnweb.freebsd.org/changeset/base/336993 Log: release: rpi-b: add BOARDNAME variable Reviewed by: gjb Differential Revision:https://reviews.freebsd.org/D16514 Modified: head/release/arm/RPI-B.conf

svn commit: r337000 - head/release/arm64

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:14:52 2018 New Revision: 337000 URL: https://svnweb.freebsd.org/changeset/base/337000 Log: release: arm64: Add PINE64-LTS configuration file Pine64 isn't produced anymore but Pine64-LTS is. This image works on the LTS release and the Sopine module.

svn commit: r336999 - head/release/tools

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:13:50 2018 New Revision: 336999 URL: https://svnweb.freebsd.org/changeset/base/336999 Log: release: arm: Enable multicons for arm64 Since we have now EFI framebuffer enabled for ARM64 if we boot on a board with an screen, u-boot will set up a EFI GOP

svn commit: r336994 - head/release

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:55:44 2018 New Revision: 336994 URL: https://svnweb.freebsd.org/changeset/base/336994 Log: release: arm: Use BOARDNAME in the image name Using KERNEL made sense when all boards had different kernel configuration. Now that all of them are using GENERIC use

svn commit: r336997 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:10:50 2018 New Revision: 336997 URL: https://svnweb.freebsd.org/changeset/base/336997 Log: release: Restore copy of boot.scr for some board This is not a problem for 12-CURRENT as EFI boot works but it doesn't for 11. While here some board

svn commit: r337004 - head/sys/dev/ofw

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 20:50:50 2018 New Revision: 337004 URL: https://svnweb.freebsd.org/changeset/base/337004 Log: ofw_cpu: Add support for getting cpu clock via clock property Nominal Mhz is either expressed via the clock-frequency property or can be get via the clock property

svn commit: r337276 - head/sys/modules/dtb/rpi

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:06:15 2018 New Revision: 337276 URL: https://svnweb.freebsd.org/changeset/base/337276 Log: dtb: rpi: Only compile and copy the DTSO The DTB is now loaded via the firmware, passed to u-boot then to loader.efi Only compile and copy the dts overlays.

svn commit: r337274 - stable/11/release/arm

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 21:59:01 2018 New Revision: 337274 URL: https://svnweb.freebsd.org/changeset/base/337274 Log: MFC r336997: release: Restore copy of boot.scr for some board This is not a problem for 12-CURRENT as EFI boot works but it doesn't for 11. While here some

svn commit: r337277 - head/sys/arm/conf

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:15:58 2018 New Revision: 337277 URL: https://svnweb.freebsd.org/changeset/base/337277 Log: arm: Remove ALLWINNER_UP kernel config This was needed when we GENERIC couldn't boot on UP system. Deleted: head/sys/arm/conf/ALLWINNER_UP

svn commit: r337275 - head/sys/modules/dtb/am335x

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:04:00 2018 New Revision: 337275 URL: https://svnweb.freebsd.org/changeset/base/337275 Log: dtb: am335x: Remove links and add more dts The links were to cope with the switch to upstream dts. We don't need them anymore. While here add the rest of the

svn commit: r337347 - head/sys/arm/allwinner/clkng

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 5 06:16:36 2018 New Revision: 337347 URL: https://svnweb.freebsd.org/changeset/base/337347 Log: allwinner: a64: Add THS clock support The clock for the thermal sensor controller was missing when this driver was made. Modified:

svn commit: r337346 - head/sys/dev/extres/clk

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 5 06:15:35 2018 New Revision: 337346 URL: https://svnweb.freebsd.org/changeset/base/337346 Log: extres: clkdiv: Fix div_with_table We didn't allowed a divider register value of 0 which can exists and also didn't wrote the value but the divider, which result of

svn commit: r337344 - head/sys/arm/allwinner

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 5 06:08:23 2018 New Revision: 337344 URL: https://svnweb.freebsd.org/changeset/base/337344 Log: arm: allwinner: Remove old unused clocks Remove the old clocks for allwinner as now all the SoCs have been converted to clkng. The only old clock now is the gmac

svn commit: r337345 - head/sys/arm/allwinner

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 5 06:10:13 2018 New Revision: 337345 URL: https://svnweb.freebsd.org/changeset/base/337345 Log: arm: allwinner: Disconnect A10/A20 HDMI driver It doesn't work since 2 years when we stopped patching DTS. The DTS now have the correct bindings but they are a lot

svn commit: r337372 - head/sys/arm/allwinner

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 6 05:36:00 2018 New Revision: 337372 URL: https://svnweb.freebsd.org/changeset/base/337372 Log: aw_thermal: Add nvmem and H5 support Now that aw_sid expose nvmem interface, use that to read the calibration data. Add support for H5 SoC. Fix the bindings, we

svn commit: r337371 - head/sys/arm/allwinner

2018-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 6 05:35:24 2018 New Revision: 337371 URL: https://svnweb.freebsd.org/changeset/base/337371 Log: aw_sid: Add nvmem interface Rework aw_sid so it can work with the nvmem interface. Each SoC expose a set of fuses (for now rootkey/boardid and, if available, the

svn commit: r337877 - head/sys/modules/dtb/am335x

2018-08-15 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 15 21:47:03 2018 New Revision: 337877 URL: https://svnweb.freebsd.org/changeset/base/337877 Log: am335x: Add pocketbeagle DTS to the build U-Boot works for this board since 2018.07 and the DTS is now present in the tree. Modified:

svn commit: r337383 - head/release/tools

2018-08-06 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 6 17:21:20 2018 New Revision: 337383 URL: https://svnweb.freebsd.org/changeset/base/337383 Log: release: arm: Copy the dtb to the fat partition When booting via EFI on arm we have no way to know the dtb file to load and we always use the one provided from the

svn commit: r337701 - in vendor/device-tree/dist: Bindings Bindings/arm Bindings/arm/altera Bindings/arm/bcm Bindings/arm/mediatek Bindings/arm/mrvl Bindings/arm/msm Bindings/arm/omap Bindings/arm/...

2018-08-12 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 13 05:53:54 2018 New Revision: 337701 URL: https://svnweb.freebsd.org/changeset/base/337701 Log: Import latest DTS files from Linux 4.18 Added: vendor/device-tree/dist/Bindings/arm/mediatek/mediatek,g3dsys.txt (contents, props changed)

svn commit: r337703 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/dma include/dt-bindings/memory include/dt-bindings/net include/dt-bindings/phy include/dt-bindings/pinct...

2018-08-13 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 13 06:40:20 2018 New Revision: 337703 URL: https://svnweb.freebsd.org/changeset/base/337703 Log: Import DTS files from Linux 4.18 Added: - copied unchanged from r337701, vendor/device-tree/dist/src/arm/am335x-osd335x-common.dtsi - copied unchanged from

svn commit: r337702 - vendor/device-tree/4.18

2018-08-12 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 13 05:54:42 2018 New Revision: 337702 URL: https://svnweb.freebsd.org/changeset/base/337702 Log: Tag DTS files from Linux 4.18 Added: vendor/device-tree/4.18/ - copied from r337701, vendor/device-tree/dist/ ___

svn commit: r338247 - head/sys/conf

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 13:23:54 2018 New Revision: 338247 URL: https://svnweb.freebsd.org/changeset/base/338247 Log: dtb: aarch64 uses vendor subdirectories, handle that Modified: head/sys/conf/dtb.mk Modified: head/sys/conf/dtb.mk

svn commit: r338248 - head/sys/modules/dtb/allwinner

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 13:24:28 2018 New Revision: 338248 URL: https://svnweb.freebsd.org/changeset/base/338248 Log: dtb: Allwinner: Add aarch64 dts files Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

svn commit: r338246 - head/sys/tools/fdt

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 13:23:21 2018 New Revision: 338246 URL: https://svnweb.freebsd.org/changeset/base/338246 Log: make_dtb: Always add root directory in the include path Some arch like arm and arm64 share DTS files, add the root dts directory to the include paths. Modified:

svn commit: r338271 - head/sys/arm/allwinner

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 18:33:42 2018 New Revision: 338271 URL: https://svnweb.freebsd.org/changeset/base/338271 Log: aw_mmc: Handle MMCBR_IVAR_RETUNE_REQ Without this the mmc stack sometimes think that we are in in a retune operation and some command like switch the bus width to 4

svn commit: r338249 - head/sys/arm64/conf

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 13:25:32 2018 New Revision: 338249 URL: https://svnweb.freebsd.org/changeset/base/338249 Log: arm64: GENERIC: Compile allwinner dtbs Modified: head/sys/arm64/conf/GENERIC Modified: head/sys/arm64/conf/GENERIC

svn commit: r338272 - in head/sys: arm/allwinner arm64/conf conf

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 18:46:05 2018 New Revision: 338272 URL: https://svnweb.freebsd.org/changeset/base/338272 Log: a10_timer: Update the driver so we can use it on other SoC a10_timer is currently use in UP allwinner SoC (A10 and A13). Those don't have the generic arm timer.

svn commit: r338294 - in head/sys: dts/arm64 dts/arm64/overlays modules/dtb/allwinner

2018-08-24 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 24 15:00:36 2018 New Revision: 338294 URL: https://svnweb.freebsd.org/changeset/base/338294 Log: arm64: Add DTS overlays for A64 - sun50i-a64-sid.dtso registers the Security ID node, needed for thermal - sun50i-a64-ths.dtso registers the thermal node, for

svn commit: r338295 - head/release/tools

2018-08-24 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 24 15:01:22 2018 New Revision: 338295 URL: https://svnweb.freebsd.org/changeset/base/338295 Log: release: arm: Setup overlays if board config defines some Approved by: re (gjb) Modified: head/release/tools/arm.subr Modified: head/release/tools/arm.subr

svn commit: r338296 - head/release/arm64

2018-08-24 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 24 15:01:58 2018 New Revision: 338296 URL: https://svnweb.freebsd.org/changeset/base/338296 Log: release: arm64: Enable overlays for PINE64 and PINE64-LTS Approved by: re (gjb) Modified: head/release/arm64/PINE64-LTS.conf head/release/arm64/PINE64.conf

svn commit: r338070 - in head/sys: arm/allwinner arm64/conf conf

2018-08-19 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 19 18:55:33 2018 New Revision: 338070 URL: https://svnweb.freebsd.org/changeset/base/338070 Log: arm64: allwinner: Add aw_syscon driver to GENERIC Recent DTS use the syscon for the emac controller. We support this but since U-Boot is still using old DTS it was

svn commit: r338245 - in head/sys/gnu/dts/arm64: actions al allwinner altera amd amlogic apm arm broadcom broadcom/northstar2 broadcom/stingray cavium exynos freescale hisilicon lg marvell mediatek...

2018-08-23 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 23 13:21:01 2018 New Revision: 338245 URL: https://svnweb.freebsd.org/changeset/base/338245 Log: dts: Import DTS for arm64 - Most of the boards are using U-Boot, u-boot embed a DTB that isn't compiled with -@ (overlay ready) so we cannot use overlays. We want

svn commit: r338371 - in head/sys: arm/nvidia dev/sdhci

2018-08-29 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 29 14:01:27 2018 New Revision: 338371 URL: https://svnweb.freebsd.org/changeset/base/338371 Log: arm64: GENERIC-MMCCAM: Fix build and module depend Fix the build of the GENERIC-MMCCAM kernel config after the sdhci_xenon driver was commited. While here correct

svn commit: r336519 - in head/sys: arm64/arm64 arm64/include kern

2018-07-19 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 19 21:58:06 2018 New Revision: 336519 URL: https://svnweb.freebsd.org/changeset/base/336519 Log: Raise the size of L3 table for early devmap on arm64 Some driver (like efifb) needs to map more than the current L2_SIZE Raise the size so we can map the

svn commit: r336520 - head/sys/arm64/conf

2018-07-19 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 19 21:59:52 2018 New Revision: 336520 URL: https://svnweb.freebsd.org/changeset/base/336520 Log: arm64: Add vt_efifb to GENERIC We can now have efifb being setup correctly. Enjoy video output on some boards when you couldn't before. Tested-On: Pine64

svn commit: r336600 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:04:21 2018 New Revision: 336600 URL: https://svnweb.freebsd.org/changeset/base/336600 Log: release: Add rpi firmware dtb and mmc overlays for RPI-B and RPI2 This is needed with new u-boot that uses the rpi-firmware dtbs. Reviewed by: gjb MFC after:

Re: svn commit: r336598 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
On Sun, 22 Jul 2018 12:02:07 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Sun Jul 22 12:02:07 2018 > New Revision: 336598 > URL: https://svnweb.freebsd.org/changeset/base/336598 > > Log: > release: Uniform release arm image size > > Create

svn commit: r336598 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:02:07 2018 New Revision: 336598 URL: https://svnweb.freebsd.org/changeset/base/336598 Log: release: Uniform release arm image size Create a 50m fat16 for all boards. Reviewed by: gjb Differential Revision:https://reviews.freebsd.org/D16238

svn commit: r336599 - in head/release: . arm arm64 tools

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:03:17 2018 New Revision: 336599 URL: https://svnweb.freebsd.org/changeset/base/336599 Log: release: Add arm_install_boot to install the commit boot bits This reduce the per-board arm_install_uboot to just install u-boot. While here remove the installation

svn commit: r336477 - head/sys/kern

2018-07-19 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 19 11:28:14 2018 New Revision: 336477 URL: https://svnweb.freebsd.org/changeset/base/336477 Log: kern_cpu: When adding abs frequency allow for unordered insertion Keep the list ordered as some code assume that it is but allow for unordered cf_settings sets.

svn commit: r336479 - head/sys/dev/fdt

2018-07-19 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 19 11:41:53 2018 New Revision: 336479 URL: https://svnweb.freebsd.org/changeset/base/336479 Log: fdt_pinctrl: Add some TSLOG annotations While we see the time spent in the pin controller attach via the hooks in DEVICE_ATTACH, it is useful to see the time spent

svn commit: r336478 - head/sys/dev/cpufreq

2018-07-19 Thread Emmanuel Vadot
== --- head/sys/dev/cpufreq/cpufreq_dt.c Thu Jul 19 11:28:14 2018 (r336477) +++ head/sys/dev/cpufreq/cpufreq_dt.c Thu Jul 19 11:31:49 2018 (r336478) @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2018 Emmanuel Vadot * Copyright (c) 2016 Jared McNeill * All rights

svn commit: r336476 - in head/sys/arm: arm include

2018-07-19 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 19 11:27:11 2018 New Revision: 336476 URL: https://svnweb.freebsd.org/changeset/base/336476 Log: arm: Implement cpu_est_clockrate for armv[67] Modified: head/sys/arm/arm/machdep.c head/sys/arm/include/pcpu.h Modified: head/sys/arm/arm/machdep.c

Re: svn commit: r336514 - head/sys/dev/vt/hw/ofwfb

2018-07-19 Thread Emmanuel Vadot
>> if (OF_getprop(chosen, "stdout", , sizeof(stdout)) == > >> sizeof(stdout)) > >> node = OF_instance_to_package(stdout); > >> + if (node == -1) > >> + if (OF_getprop(chosen, "stdout-path", , sizeof(stdout))

svn commit: r336339 - head/sys/arm/allwinner/clkng

2018-07-16 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 16 13:38:16 2018 New Revision: 336339 URL: https://svnweb.freebsd.org/changeset/base/336339 Log: allwinner: a83t: Fix PLL_CPU clocks The PLL_CPU clocks formula is 24Mhz * N and not 24Mhz / N Fix it by using a NKMP clock with fixed factor values for the one

svn commit: r336721 - head/release/arm

2018-07-25 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 25 17:45:56 2018 New Revision: 336721 URL: https://svnweb.freebsd.org/changeset/base/336721 Log: release: Add OL_DIR forgot in r336600 Reviewed by: gjb Differential Revision:https://reviews.freebsd.org/D16439 Modified: head/release/arm/RPI-B.conf

<    1   2   3   4   5   6   7   8   9   10   >