Re: svn commit: r301714 - head/sys/boot/efi/libefi

2016-06-09 Thread Emmanuel Vadot
Jun 2016 22:21:36 -0400 Warner Losh <wl...@bsdimp.com> wrote: > > > On Jun 8, 2016, at 10:02 PM, Emmanuel Vadot <m...@freebsd.org> wrote: > > > > Author: manu > > Date: Thu Jun 9 02:02:50 2016 > > New Revision: 301714 > > URL: https://sv

svn commit: r301747 - in head/sys: boot/fdt/dts/arm modules/dtb/allwinner

2016-06-09 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/boot/fdt/dts/arm/pcduino3b.dts Thu Jun 9 17:10:19 2016 (r301747) @@ -0,0 +1,48 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistri

svn commit: r301714 - head/sys/boot/efi/libefi

2016-06-08 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 9 02:02:50 2016 New Revision: 301714 URL: https://svnweb.freebsd.org/changeset/base/301714 Log: Print a message when the efi disk isn't a logical partition. Approved by: andrew (mentor) Differential Revision:https://reviews.freebsd.org/D6782

svn commit: r300777 - in head/sys: arm/allwinner boot/fdt/dts/arm dev/iicbus/twsi

2016-05-26 Thread Emmanuel Vadot
odified: head/sys/arm/allwinner/axp209.c == --- head/sys/arm/allwinner/axp209.c Thu May 26 21:08:44 2016 (r300776) +++ head/sys/arm/allwinner/axp209.c Thu May 26 21:09:07 2016 (r300777) @@ -1,5 +1,6 @@ /*- - * Copyright (c) 2015 Emmanuel Vadot

svn commit: r301995 - head/sys/boot/efi/libefi

2016-06-17 Thread Emmanuel Vadot
Author: manu Date: Fri Jun 17 17:09:22 2016 New Revision: 301995 URL: https://svnweb.freebsd.org/changeset/base/301995 Log: Print a message when disks are found but no logical partition are reported by EFI implementation. This address comment on r301714. Approved by: re (gjb), andrew

svn commit: r301945 - head/release/tools

2016-06-15 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 16 03:02:27 2016 New Revision: 301945 URL: https://svnweb.freebsd.org/changeset/base/301945 Log: Bump /tmp from 30m to 50m for ARM release images. 30m isn't enough for pkg anymore to extract packagesite.txz. 40m is fine for now but let's take a safer way as we

Re: svn commit: r295144 - head/sys/boot/efi/libefi

2016-02-02 Thread Emmanuel Vadot
dif->dif_private = efi_find_handle(_dev, i); > + dif->dif_private = h; > } > > return (0); > ___ > svn-src-h...@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" -- Emmanuel Vadot <m...@bidouilliste.com> ___ 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: r296548 - in head/sys: dev/agp dev/drm2 dev/drm2/i915 modules/drm2/i915kms

2016-03-09 Thread Emmanuel Vadot
R* timeout waiting for SBI to complete read transaction error: [drm:pid697:intel_sbi_write] *ERROR* timeout waiting for SBI to complete write transaction drmn0: taking over the fictitious range 0xc000-0xd000 When loaded via loader the kernel hangs after this line : error: [drm:pid697:lpt_init

Re: svn commit: r297426 - in head/sys: arm/conf boot/fdt/dts/arm

2016-03-30 Thread Emmanuel Vadot
}; > > { > @@ -65,6 +75,13 @@ > status = "okay"; > }; > > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_pins>; > + > + status = "okay"; > +}; > + > { > hdm

svn commit: r298542 - head/share/misc

2016-04-24 Thread Emmanuel Vadot
lidl [label="Kurt Lidl\nl...@freebsd.org\n2015/10/21"] loos [label="Luiz Otavio O Souza\nl...@freebsd.org\n2013/07/03"] lstewart [label="Lawrence Stewart\nlstew...@freebsd.org\n2008/10/06"] +manu [label="Emmanuel Vadot\nm...@freebsd.org\n2016/04/24"] marcel

svn commit: r298625 - in head/sys/arm: allwinner allwinner/a10 conf

2016-04-26 Thread Emmanuel Vadot
:48 2016 (r298625) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2012 Ganbold Tsagaankhuu <ganb...@freebsd.org> + * Copyright (c) 2016 Emmanuel Vadot <m...@bidouilliste.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -

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

2016-04-27 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/aw_nmi.c Wed Apr 27 20:49:57 2016 (r298721) @@ -0,0 +1,396 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights re

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

2016-04-30 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 30 18:07:13 2016 New Revision: 298855 URL: https://svnweb.freebsd.org/changeset/base/298855 Log: ACK the interrupt after disabling it, this avoid an interrupt storm. Approved by: andrew (mentor) Modified: head/sys/arm/allwinner/aw_nmi.c Modified:

svn commit: r299383 - head/sys/arm/arm

2016-05-10 Thread Emmanuel Vadot
Author: manu Date: Tue May 10 19:11:25 2016 New Revision: 299383 URL: https://svnweb.freebsd.org/changeset/base/299383 Log: When PLATFORM_SMP is enabled, check if tunable hw.ncpu is set and valid (>= 1 and <= real ncores) and set mp_ncpus to it. Approved by: andrew (mentor)

svn commit: r300068 - in head/sys: arm/allwinner arm/conf dev/usb/controller

2016-05-17 Thread Emmanuel Vadot
All rights reserved. + * Copyright (c) 2016 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: + * 1. Redistributions of source

svn commit: r299688 - in head/sys: arm/allwinner arm/allwinner/clk arm/allwinner/h3 arm/conf conf

2016-05-13 Thread Emmanuel Vadot
= 0) { Added: head/sys/arm/allwinner/h3/files.h3 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/h3/files.h3 Fri May 13 18:20:54 2016 (r299688) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +arm/allwinner/h3/h3_padconf.c standard +arm/allwinner

svn commit: r299851 - head/sys/arm/arm

2016-05-15 Thread Emmanuel Vadot
Author: manu Date: Sun May 15 13:20:59 2016 New Revision: 299851 URL: https://svnweb.freebsd.org/changeset/base/299851 Log: Allow arm generic_timer code to be included even if not present in the SoC. Reviewed by: andrew Approved by: cognet (mentor) Differential Revision:

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

2016-05-10 Thread Emmanuel Vadot
Author: manu Date: Tue May 10 18:00:37 2016 New Revision: 299380 URL: https://svnweb.freebsd.org/changeset/base/299380 Log: Merge a20_mp_start_ap and a31_mp_start_ap into one function. This function works with all smp non-multicluster allwinner SoC (A20, A31, A31S and H3). Approved by:

svn commit: r303186 - head/sys/arm/allwinner/a20

2016-07-22 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 22 14:39:55 2016 New Revision: 303186 URL: https://svnweb.freebsd.org/changeset/base/303186 Log: PC5 doesn't have mmc2 function. Modified: head/sys/arm/allwinner/a20/a20_padconf.c Modified: head/sys/arm/allwinner/a20/a20_padconf.c

svn commit: r303333 - stable/11/sys/boot/efi/libefi

2016-07-25 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 26 05:52:53 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: MFC: r303039 Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console. Approved by: re (gjb) Modified:

svn commit: r303974 - in head/sys: boot/fdt/dts/arm modules/dtb/allwinner

2016-08-11 Thread Emmanuel Vadot
(r303974, copy of r303973, head/sys/boot/fdt/dts/arm/pcduino3b.dts) @@ -0,0 +1,48 @@ +/*- + * Copyright (c) 2016 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 fol

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

2016-08-03 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 3 18:45:56 2016 New Revision: 303728 URL: https://svnweb.freebsd.org/changeset/base/303728 Log: We need aw_nmi to be attached which needs GIC so attach a bit later. Also the GPIOC doesn't need to be attach early Reviewed by: andrew MFC after:1 week

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

2016-08-14 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 14 13:17:59 2016 New Revision: 304077 URL: https://svnweb.freebsd.org/changeset/base/304077 Log: Correct the size of the softc in a10_ehci Reported by: andrew MFC after:1 week Modified: head/sys/arm/allwinner/a10_ehci.c Modified:

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

2016-07-21 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 21 13:26:39 2016 New Revision: 303144 URL: https://svnweb.freebsd.org/changeset/base/303144 Log: We need the GIC to be attached so attach later at BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE Reviewed by: andrew MFC after:1 week Differential Revision:

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

2016-07-21 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 21 13:28:07 2016 New Revision: 303145 URL: https://svnweb.freebsd.org/changeset/base/303145 Log: axp209 needs aw_nmi so attach a bit earlier Reviewed by: andrew Differential Revision:https://reviews.freebsd.org/D7081 Modified:

Re: svn commit: r303123 - head/sys/cam

2016-07-21 Thread Emmanuel Vadot
; + nvme_op_string(_ccb->nvmeio.cmd), > + nvme_cmd_string(_ccb->nvmeio.cmd, > + cdb_str, sizeof(cdb_str; > + break; > default: >

svn commit: r303039 - head/sys/boot/efi/libefi

2016-07-19 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 19 19:00:22 2016 New Revision: 303039 URL: https://svnweb.freebsd.org/changeset/base/303039 Log: Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console. Reviewed by: andrew, emaste MFC after:1 week Differential Revision:

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

2016-07-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 20 11:23:06 2016 New Revision: 303087 URL: https://svnweb.freebsd.org/changeset/base/303087 Log: Add support for the SID (Security ID Module) on Allwinner A10 and A20. The rootkey is burnt at production and can't be changed, thus is can be used as a device unique

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

2016-07-08 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 8 23:08:59 2016 New Revision: 302470 URL: https://svnweb.freebsd.org/changeset/base/302470 Log: Check that the pin function exists before setting it. This is needed for Allwinner A13 which has gpio pins with only "out" function. Modified:

svn commit: r302472 - in head/sys: arm/allwinner arm/allwinner/a13 arm/allwinner/clk arm/conf conf

2016-07-08 Thread Emmanuel Vadot
head/sys/arm/allwinner/a13/a13_padconf.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/a13/a13_padconf.cFri Jul 8 23:38:25 2016 (r302472) @@ -0,0 +1,129 @@ +/*-

svn commit: r304214 - stable/11/sys/arm/allwinner

2016-08-16 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 16 09:10:18 2016 New Revision: 304214 URL: https://svnweb.freebsd.org/changeset/base/304214 Log: MFC r303728: We need aw_nmi to be attached which needs GIC so attach a bit later. Also the GPIOC doesn't need to be attach early Reviewed by: andrew

svn commit: r304212 - stable/11/sys/arm/allwinner

2016-08-16 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 16 09:06:23 2016 New Revision: 304212 URL: https://svnweb.freebsd.org/changeset/base/304212 Log: MFC r303144: We need the GIC to be attached so attach later at BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE Reviewed by: andrew Differential Revision:

svn commit: r304215 - in stable/11/sys: boot/fdt/dts/arm modules/dtb/allwinner

2016-08-16 Thread Emmanuel Vadot
) +++ stable/11/sys/boot/fdt/dts/arm/pcduino3.dts Tue Aug 16 09:12:45 2016 (r304215, copy of r303974, head/sys/boot/fdt/dts/arm/pcduino3.dts) @@ -0,0 +1,48 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and

svn commit: r304213 - stable/11/sys/arm/allwinner

2016-08-16 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 16 09:08:44 2016 New Revision: 304213 URL: https://svnweb.freebsd.org/changeset/base/304213 Log: MFC r303145: axp209 needs aw_nmi so attach a bit earlier Reviewed by: andrew Differential Revision:https://reviews.freebsd.org/D7081 Modified:

svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-16 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 16 14:23:35 2016 New Revision: 304221 URL: https://svnweb.freebsd.org/changeset/base/304221 Log: Use %ju modifier for u_int64_t and %jd modifier for off_t. off_t is long long on arm32 and long on amd64 MFC after:1 week Modified:

svn commit: r304222 - head/sys/boot/efi/libefi

2016-08-16 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 16 14:33:25 2016 New Revision: 304222 URL: https://svnweb.freebsd.org/changeset/base/304222 Log: Only use WaitForKeys event if it exists, this is not the case in u-boot efi implementation. Reviewed by: jhb, emaste MFC after:1 week Differential Revision:

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

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 10:20:36 2016 New Revision: 304289 URL: https://svnweb.freebsd.org/changeset/base/304289 Log: a10_gpio_get_function now returns the whole function not only GPIO_INPUT/GPIO_OUTPUT. a10_gpio_get_pud now returns the whole pud not only PULLDOWN/PULLUP. Add

svn commit: r304291 - head/sys/boot/fdt/dts/arm

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 13:19:28 2016 New Revision: 304291 URL: https://svnweb.freebsd.org/changeset/base/304291 Log: Remove pullup settings for MMC pins, this is not needed since r304290 MFC after:1 week Modified: head/sys/boot/fdt/dts/arm/bananapi.dts Modified:

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

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 13:09:31 2016 New Revision: 304290 URL: https://svnweb.freebsd.org/changeset/base/304290 Log: Only set pud settings if this is a pullup or pulldown configuration. This removes the need to set the MMC pins with pullups in our DTS. Thanks to jmcneill@ for

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

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 17:59:09 2016 New Revision: 304297 URL: https://svnweb.freebsd.org/changeset/base/304297 Log: Add sun5i-a13-olinuxino to the build. Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

svn commit: r304316 - in head/sys/arm: allwinner allwinner/a10 conf

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 20:32:08 2016 New Revision: 304316 URL: https://svnweb.freebsd.org/changeset/base/304316 Log: Rename kernel config A10 into ALLWINNER_UP as it is intend to work with all Allwinner Uniprocessor SoC. As of now it works with A10 and A13 (and possibly R8 as it is

svn commit: r313389 - head/sys/boot/efi/libefi

2017-02-07 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 7 15:16:01 2017 New Revision: 313389 URL: https://svnweb.freebsd.org/changeset/base/313389 Log: efipart is also using the '%S' printf format, add -Wno-format for it. This fix building for armv6. Modified: head/sys/boot/efi/libefi/Makefile Modified:

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

2017-02-07 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 7 17:15:13 2017 New Revision: 313393 URL: https://svnweb.freebsd.org/changeset/base/313393 Log: Switch to the Linux device tree upstream names for Allwinner boards. Newer u-boot that uses the u-boot-master port uses these names. Modified:

svn commit: r313394 - head/sys/kern

2017-02-07 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 7 17:31:24 2017 New Revision: 313394 URL: https://svnweb.freebsd.org/changeset/base/313394 Log: subr_sfbus.c need sys/proc.h for struct thread definition. This fixes kernel build for armv6. Discussed with: kib Modified: head/sys/kern/subr_sfbuf.c Modified:

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

2017-02-07 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 7 19:28:32 2017 New Revision: 313403 URL: https://svnweb.freebsd.org/changeset/base/313403 Log: Rename timer.c to a10_timer.c Requested by: andrew Added: head/sys/arm/allwinner/a10_timer.c - copied unchanged from r313402, head/sys/arm/allwinner/timer.c

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

2017-02-22 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 23 05:33:20 2017 New Revision: 314119 URL: https://svnweb.freebsd.org/changeset/base/314119 Log: Do not check divider length if we have a div table. Reviewed by: mmel Modified: head/sys/dev/extres/clk/clk_div.c Modified: head/sys/dev/extres/clk/clk_div.c

svn commit: r304488 - head/sys/arm/arm

2016-08-19 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 19 18:02:36 2016 New Revision: 304488 URL: https://svnweb.freebsd.org/changeset/base/304488 Log: Keep boot parameters in ARM trampoline code Currently boot parameters (r0 - r3) are forgotten in ARM trampoline code. This patch save them at startup and restore

svn commit: r304464 - in head/sys/arm/allwinner: . a10

2016-08-19 Thread Emmanuel Vadot
/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/a10/a10_padconf.cFri Aug 19 12:48:32 2016 (r304464, copy of r304463, head/sys/arm/allwinner/a10_padconf.c) @@ -0,0 +1,231 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@bidouilliste.com> +

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

2016-08-19 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 19 23:44:07 2016 New Revision: 304509 URL: https://svnweb.freebsd.org/changeset/base/304509 Log: if_emac: Before generating a random MAC address, try using the SID rootkey to generate one. This is was U-Boot does to generate a random MAC so we end up with the same

svn commit: r304562 - stable/11/sys/arm/allwinner

2016-08-21 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 21 15:45:12 2016 New Revision: 304562 URL: https://svnweb.freebsd.org/changeset/base/304562 Log: MFC r304077: Correct the size of the softc in a10_ehci Reported by: andrew Modified: stable/11/sys/arm/allwinner/a10_ehci.c Directory Properties:

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

2016-08-21 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 21 16:03:44 2016 New Revision: 304566 URL: https://svnweb.freebsd.org/changeset/base/304566 Log: allwinner: Remove a20/a20_cpu_cfg.c from the build. This was needed when we used the SoC specific timer and not the generic-timer. Modified:

svn commit: r304318 - in head/sys/arm/allwinner: . clk

2016-08-17 Thread Emmanuel Vadot
right (c) 2012 Ganbold Tsagaankhuu <ganb...@freebsd.org> - * Copyright (c) 2015-2016 Emmanuel Vadot <m...@bidouilliste.com> + * Copyright (c) 2015-2016 Emmanuel Vadot <m...@freebsd.org> * All rights reserved. * * This code is derived from software written for Brini by Mark Brinicombe @

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

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 11:10:36 2017 New Revision: 314333 URL: https://svnweb.freebsd.org/changeset/base/314333 Log: allwinner: Order clocks by offset rather than by type for H3 ccu. Also add a few more supported gates and add comments for which clocks are missing. Modified:

svn commit: r314303 - in head/sys/arm/allwinner: . clkng h3

2017-02-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: + * 1. Redistributions of source code must retain the

Re: svn commit: r314212 - head/sys/dev/uart

2017-02-26 Thread Emmanuel Vadot
t; { "snps,dw-apb-uart", (uintptr_t)_snps_class }, > { NULL, (uintptr_t)NULL } > }; > -UART_FDT_CLASS(compat_data); > +UART_FDT_CLASS_AND_DEVICE(compat_data); > > #ifdef EXT_RESOURCES > static int -- Emmanuel Vadot

svn commit: r314394 - in head/sys/arm/allwinner: a31 clkng

2017-02-28 Thread Emmanuel Vadot
sys/arm/allwinner/clkng/ccu_a31.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/clkng/ccu_a31.c Tue Feb 28 15:44:21 2017 (r314394) @@ -0,0 +1,936 @@ +/*- + * Copyright (c) 2017 Emmanuel Vadot <m...@

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

2017-02-28 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 28 15:11:33 2017 New Revision: 314393 URL: https://svnweb.freebsd.org/changeset/base/314393 Log: allwinner: nkmp: Add MUX capability Some NKMP clocks have a mux options. Add the capability to aw_clk_nkmp. Modified: head/sys/arm/allwinner/clkng/aw_clk.h

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

2017-02-28 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 28 11:05:45 2017 New Revision: 314383 URL: https://svnweb.freebsd.org/changeset/base/314383 Log: allwinner: NM clock: Add value for fixed factor. The register func for aw_clk_nm didn't copy the value needed for the fixed factor, resulting in all fixed factor

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

2017-02-28 Thread Emmanuel Vadot
Author: manu Date: Tue Feb 28 11:38:11 2017 New Revision: 314384 URL: https://svnweb.freebsd.org/changeset/base/314384 Log: allwinner: NKMP clock: add update bit The PLL_DDR clock have an update bit which need to be set after changing the value, add the possibility to define one for NKMP

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

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 17:12:17 2017 New Revision: 314346 URL: https://svnweb.freebsd.org/changeset/base/314346 Log: allwinner: Correct some clocks name for H3 CCU. Modified: head/sys/arm/allwinner/clkng/ccu_h3.c Modified: head/sys/arm/allwinner/clkng/ccu_h3.c

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

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 08:58:27 2017 New Revision: 314329 URL: https://svnweb.freebsd.org/changeset/base/314329 Log: allwinner: Add support for lock and fractional mode on NM clock Some PLL have a fractional mode and a lock bit. Add support for it on the NM clock and export the

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

2016-08-22 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 23 00:46:22 2016 New Revision: 304649 URL: https://svnweb.freebsd.org/changeset/base/304649 Log: Do not include file from dt-bindings and simply use the already present defines. Reported by: jmcneill MFC after:1 week Modified:

Re: svn commit: r305354 - head/sys/arm/allwinner

2016-09-03 Thread Emmanuel Vadot
] << 16) | > >> + (rootkey[3] << 8) | 0x02; > >> + machi = (rootkey[15] << 8) | rootkey[14]; > >> + } else { > >> + /* Create one */ > >> + rnd = arc4rand

svn commit: r305437 - stable/11/sys/arm/allwinner/a20

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:29:04 2016 New Revision: 305437 URL: https://svnweb.freebsd.org/changeset/base/305437 Log: MFC r303186 PC5 doesn't have mmc2 function. Modified: stable/11/sys/arm/allwinner/a20/a20_padconf.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r305441 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 21:25:45 2016 New Revision: 305441 URL: https://svnweb.freebsd.org/changeset/base/305441 Log: MFC r304509 if_emac: Before generating a random MAC address, try using the SID rootkey to generate one. This is was U-Boot does to generate a random MAC so we end

svn commit: r305439 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:46:45 2016 New Revision: 305439 URL: https://svnweb.freebsd.org/changeset/base/305439 Log: MFC r304290,r304649 r304290: Only set pud settings if this is a pullup or pulldown configuration. This removes the need to set the MMC pins with pullups in our

svn commit: r305436 - in stable/11/sys: arm/allwinner arm/allwinner/a13 arm/allwinner/clk arm/conf conf

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:17:18 2016 New Revision: 305436 URL: https://svnweb.freebsd.org/changeset/base/305436 Log: MFC r302472 Add support for Allwinner A13. Reviewed by: jmcneill Relnotes: yes Differential Revision:https://reviews.freebsd.org/D6809 Added:

svn commit: r305435 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:07:03 2016 New Revision: 305435 URL: https://svnweb.freebsd.org/changeset/base/305435 Log: MFC r302470 Check that the pin function exists before setting it. This is needed for Allwinner A13 which has gpio pins with only "out" function. Modified:

svn commit: r305438 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:34:15 2016 New Revision: 305438 URL: https://svnweb.freebsd.org/changeset/base/305438 Log: MFC r304289 a10_gpio_get_function now returns the whole function not only GPIO_INPUT/GPIO_OUTPUT. a10_gpio_get_pud now returns the whole pud not only

svn commit: r305440 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 21:11:27 2016 New Revision: 305440 URL: https://svnweb.freebsd.org/changeset/base/305440 Log: MFC r303087 Add support for the SID (Security ID Module) on Allwinner A10 and A20. The rootkey is burnt at production and can't be changed, thus is can be used as

svn commit: r305377 - stable/11/sys/boot/efi/libefi

2016-09-04 Thread Emmanuel Vadot
Author: manu Date: Sun Sep 4 08:53:58 2016 New Revision: 305377 URL: https://svnweb.freebsd.org/changeset/base/305377 Log: MFC 304222 Only use WaitForKeys event if it exists, this is not the case in u-boot efi implementation. Modified: stable/11/sys/boot/efi/libefi/efi_console.c

svn commit: r305376 - stable/11/sys/boot/efi/boot1

2016-09-04 Thread Emmanuel Vadot
Author: manu Date: Sun Sep 4 08:52:09 2016 New Revision: 305376 URL: https://svnweb.freebsd.org/changeset/base/305376 Log: MFC 304221 and 304271 Use %ju modifier for u_int64_t and %jd modifier for off_t. off_t is long long on arm32 and long on amd64 Correctly print and cast

svn commit: r305814 - head/sys/boot/common

2016-09-14 Thread Emmanuel Vadot
Author: manu Date: Wed Sep 14 17:43:32 2016 New Revision: 305814 URL: https://svnweb.freebsd.org/changeset/base/305814 Log: ufsread: Do not cast struct direct from void * This cause alignment problem on ARM (and possibly other archs), instead copy it. MFC after:1 week Modified:

Re: svn commit: r305814 - head/sys/boot/common

2016-09-14 Thread Emmanuel Vadot
Hi Bruce, On Thu, 15 Sep 2016 05:37:19 +1000 (EST) Bruce Evans <b...@optusnet.com.au> wrote: > On Wed, 14 Sep 2016, Emmanuel Vadot wrote: > > > Log: > > ufsread: Do not cast struct direct from void * > > This cause alignment problem on ARM (and possibly o

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

2016-09-12 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 12 16:13:27 2016 New Revision: 305740 URL: https://svnweb.freebsd.org/changeset/base/305740 Log: Remove CUBIEBOARD kernel config file. Every Allwinner board should either use ALLWINNER (SMP) or ALLWINER_UP kernel config files. MFC after:2 week Deleted:

svn commit: r305739 - head/release/arm

2016-09-12 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 12 16:10:47 2016 New Revision: 305739 URL: https://svnweb.freebsd.org/changeset/base/305739 Log: Use "generic" ALLWINNER_UP kernel config for Cubieboard release. Reviewed by: gjb MFC after:2 week Modified: head/release/arm/CUBIEBOARD.conf Modified:

svn commit: r306491 - in head/sys/arm: broadcom/bcm2835 conf

2016-09-30 Thread Emmanuel Vadot
Author: manu Date: Fri Sep 30 10:21:04 2016 New Revision: 306491 URL: https://svnweb.freebsd.org/changeset/base/306491 Log: RPI2: Add support for MULTIDELAY, this is needed for inclusion into GENERIC. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c head/sys/arm/conf/RPI2

svn commit: r306489 - head/sys/arm/broadcom/bcm2835

2016-09-30 Thread Emmanuel Vadot
Author: manu Date: Fri Sep 30 10:00:57 2016 New Revision: 306489 URL: https://svnweb.freebsd.org/changeset/base/306489 Log: bcm2835_cpufreq: Only attach driver if we correcly match on the machine compatible string. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Modified:

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

2016-09-30 Thread Emmanuel Vadot
Author: manu Date: Fri Sep 30 10:46:27 2016 New Revision: 306493 URL: https://svnweb.freebsd.org/changeset/base/306493 Log: Add support for RPI2 to the armv6 GENERIC kernel. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

Re: svn commit: r304221 - head/sys/boot/efi/boot1

2016-08-17 Thread Emmanuel Vadot
On Tue, 16 Aug 2016 12:16:30 -0600 Warner Losh <i...@bsdimp.com> wrote: > On Tue, Aug 16, 2016 at 8:57 AM, Ed Schouten <e...@nuxi.nl> wrote: > > Hi Emmanuel, > > > > 2016-08-16 16:23 GMT+02:00 Emmanuel Vadot <m...@freebsd.org>: > >> Author: m

svn commit: r304271 - head/sys/boot/efi/boot1

2016-08-17 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 17 08:29:30 2016 New Revision: 304271 URL: https://svnweb.freebsd.org/changeset/base/304271 Log: Correctly print and cast u_int64_t and off_t. Reported by: ed, imp MFC after:1 week Modified: head/sys/boot/efi/boot1/ufs_module.c

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

2016-08-23 Thread Emmanuel Vadot
:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/aw_ts.c Tue Aug 23 22:26:50 2016 (r304710) @@ -0,0 +1,230 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary

svn commit: r304623 - head/sys/arm/arm

2016-08-22 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 22 18:33:56 2016 New Revision: 304623 URL: https://svnweb.freebsd.org/changeset/base/304623 Log: Fix building for ARM kernel that have FLASHADDR, PHYSADDR and LOADERRAMADDR defined. Pointy Hat: myself Reported by: bz Modified:

svn commit: r306436 - in head/sys/arm: broadcom/bcm2835 conf

2016-09-29 Thread Emmanuel Vadot
Author: manu Date: Thu Sep 29 06:49:59 2016 New Revision: 306436 URL: https://svnweb.freebsd.org/changeset/base/306436 Log: RPI-B: Add support for MULTIDELAY 100 cycles per us seems accurate enough, at least it's better than the 200 value that was used before. Reviewed by: andrew,

svn commit: r306437 - in head/sys/arm: broadcom/bcm2835 conf

2016-09-29 Thread Emmanuel Vadot
i, retry; Added: head/sys/arm/broadcom/bcm2835/bcm2836_mp.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/broadcom/bcm2835/bcm2836_mp.h Thu Sep 29 06:54:02 2016 (r306437) @@ -0,0 +1,38 @@ +/*- + * Copyright (C) 20

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

2016-10-09 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 10 04:53:15 2016 New Revision: 306934 URL: https://svnweb.freebsd.org/changeset/base/306934 Log: Add CHIP dts into the build Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

Re: svn commit: r308458 - in head/sys: boot/fdt/dts/arm modules/dtb/am335x

2016-11-08 Thread Emmanuel Vadot
ED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL > + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT > + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY > + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > + * SUCH DAMAGE. > + * > + * $FreeBSD$ > + */ > + > +/dts-v1/; > + > +#include "am33xx.dtsi" > +#include "ubmc.dtsi" > + > +/ { > + model = "AM335x uFW"; > + compatible = "ti,am335x-ufw", "ti,am335x-ubmc", "ti,am33xx"; > +}; > + > + { > + vmmc-supply = <_fixed>; > + pinctrl-names = "default"; > + pinctrl-0 = <_pins>; > + bus-width = <4>; > + non-removable; > + status = "okay"; > +}; > + > + { > + vmmc-supply = <_fixed>; > + pinctrl-names = "default"; > + pinctrl-0 = <_pins>; > + bus-width = <8>; > + ti,dual-volt; > + non-removable; > + status = "okay"; > +}; > + > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_pins>; > + > + status = "okay"; > +}; > + > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_pins>; > + > + status = "okay"; > +}; > > Modified: head/sys/modules/dtb/am335x/Makefile > == > --- head/sys/modules/dtb/am335x/Makefile Tue Nov 8 23:59:41 2016 > (r308457) > +++ head/sys/modules/dtb/am335x/Makefile Wed Nov 9 04:07:15 2016 > (r308458) > @@ -2,6 +2,7 @@ > # All the dts files for am335x systems we support. > DTS= \ > beaglebone.dts \ > -beaglebone-black.dts > + beaglebone-black.dts \ > + ufw.dts > > .include -- 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"

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

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 19:21:11 2016 New Revision: 308306 URL: https://svnweb.freebsd.org/changeset/base/308306 Log: Set rst_apb to NULL to avoid panic when release. Modified: head/sys/arm/allwinner/aw_cir.c Modified: head/sys/arm/allwinner/aw_cir.c

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

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 20:02:52 2016 New Revision: 308309 URL: https://svnweb.freebsd.org/changeset/base/308309 Log: Add support for AXP221 Power Management Unit. AXP221 is used on board with A31/A31S and is mostly compatible with AXP209. Regulators, GPIO and Sensors are

svn commit: r308310 - head/sys/boot/fdt/dts/arm

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 20:06:32 2016 New Revision: 308310 URL: https://svnweb.freebsd.org/changeset/base/308310 Log: Add AXP221 node in our BananaPi M2 dts. Modified: head/sys/boot/fdt/dts/arm/bananapim2.dts Modified: head/sys/boot/fdt/dts/arm/bananapim2.dts

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

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 19:23:52 2016 New Revision: 308307 URL: https://svnweb.freebsd.org/changeset/base/308307 Log: Fix r308306 by spelling variable correctly. Modified: head/sys/arm/allwinner/aw_cir.c Modified: head/sys/arm/allwinner/aw_cir.c

svn commit: r308341 - stable/11/sys/arm/conf

2016-11-05 Thread Emmanuel Vadot
Author: manu Date: Sat Nov 5 14:16:32 2016 New Revision: 308341 URL: https://svnweb.freebsd.org/changeset/base/308341 Log: Remove A10 kernel config file, this should have been done in rr308273 Deleted: stable/11/sys/arm/conf/A10 ___

svn commit: r308441 - head/sys/arm/allwinner/clk

2016-11-08 Thread Emmanuel Vadot
Author: manu Date: Tue Nov 8 10:06:43 2016 New Revision: 308441 URL: https://svnweb.freebsd.org/changeset/base/308441 Log: Do not fail to attach the clock if we cannot set the assigned parents as this property isn't mandatory. MFC after:2 weeks Modified:

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

2016-11-08 Thread Emmanuel Vadot
Author: manu Date: Tue Nov 8 10:05:11 2016 New Revision: 308440 URL: https://svnweb.freebsd.org/changeset/base/308440 Log: Do not warn if the 'assigned-clock-parents' property does not exists. MFC after:2 weeks Modified: head/sys/dev/extres/clk/clk.c Modified:

svn commit: r307822 - in head/sys/arm: allwinner conf

2016-10-23 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/aw_p2wi.cSun Oct 23 12:48:09 2016 (r307822) @@ -0,0 +1,277 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistri

svn commit: r307885 - stable/11/sys/arm/allwinner

2016-10-24 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 24 21:31:47 2016 New Revision: 307885 URL: https://svnweb.freebsd.org/changeset/base/307885 Log: MFC r307379: axp209: Add support for regulators Except for LDO4, all regulators are supported. Modified: stable/11/sys/arm/allwinner/axp209.c

svn commit: r307918 - head/sys/arm/allwinner/clk

2016-10-25 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 25 15:21:08 2016 New Revision: 307918 URL: https://svnweb.freebsd.org/changeset/base/307918 Log: allwinner A10 Pll1 allow changing freq PLL1 is used by the cpu core, allowing changing freq is needed for cpufreq. The factors table contains all the frequencies in

svn commit: r307862 - in head/sys/arm: allwinner conf

2016-10-24 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 24 14:24:12 2016 New Revision: 307862 URL: https://svnweb.freebsd.org/changeset/base/307862 Log: Revert 307822 P2WI is almost compatible with RSB which we already support. I'll add support for P2WI in aw_rsb instead. Discussed with:jmcneill

svn commit: r307878 - in head/sys/arm: allwinner conf

2016-10-24 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 24 20:33:42 2016 New Revision: 307878 URL: https://svnweb.freebsd.org/changeset/base/307878 Log: allwinner: Add support for P2WI in RSB driver Push-Pull Two Wire interface is a almost compatible iic like bus used in sun6i SoC. It's only use is to communicate

svn commit: r307883 - head/sys/boot/fdt/dts/arm

2016-10-24 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 24 21:09:48 2016 New Revision: 307883 URL: https://svnweb.freebsd.org/changeset/base/307883 Log: Add needed cpu-supply property for cpufreq. Patch is merged upstream, in the meantime add it in our DTS. Modified: head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts

  1   2   3   4   5   6   7   8   9   10   >