Re: [OpenWrt-Devel] [PATCH 4/4] build: add urandom-seed and urngd to default packages set

2019-05-28 Thread Petr Štetiar
Yousong Zhou [2019-05-29 10:25:52]: > On Tue, 28 May 2019 at 05:30, Petr Štetiar wrote: > > > > urandom-seed content was split from base-files into separate package so > > in order to preserve the current functionality and to provide some > > fallback mechanism in case jent-rng initialization fa

Re: [OpenWrt-Devel] [PATCH 3/4] base-files: move urandom seed bits into separate package

2019-05-28 Thread Yousong Zhou
On Wed, 29 May 2019 at 05:17, Etienne Champetier wrote: > > Hi Yousong, > > Le mar. 28 mai 2019 à 09:01, Yousong Zhou a écrit : >> >> On Tue, 28 May 2019 at 05:30, Petr Štetiar wrote: >> >> ... >> >> > + >> > +save() { >> > +touch "$1.tmp" >> > +chown root:root "$1.tmp" >> > +chmod 6

Re: [OpenWrt-Devel] [PATCH 4/4] build: add urandom-seed and urngd to default packages set

2019-05-28 Thread Yousong Zhou
On Tue, 28 May 2019 at 05:30, Petr Štetiar wrote: > > urandom-seed content was split from base-files into separate package so > in order to preserve the current functionality and to provide some > fallback mechanism in case jent-rng initialization fails in urngd we > need to add it back. > > urngd

Re: [OpenWrt-Devel] [PATCH 3/4] base-files: move urandom seed bits into separate package

2019-05-28 Thread Etienne Champetier
Hi Yousong, Le mar. 28 mai 2019 à 09:01, Yousong Zhou a écrit : > On Tue, 28 May 2019 at 05:30, Petr Štetiar wrote: > > ... > > > + > > +save() { > > +touch "$1.tmp" > > +chown root:root "$1.tmp" > > +chmod 600 "$1.tmp" > > +getrandom 512 > "$1.tmp" > > +mv "$1.tmp" "$1" > >

[OpenWrt-Devel] [PATCH] openssl: update to version 1.1.1c

2019-05-28 Thread Eneas U de Queiroz via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Highlights of this version: - Pre

[OpenWrt-Devel] [PATCH 4/4] at91: Update kernel to version 4.14

2019-05-28 Thread Sandeep Sheriker M
From: Hauke Mehrtens This adds support for kernel 4.14 to the target and directly make it the default kernel version to use. Signed-off-by: Hauke Mehrtens --- target/linux/at91/Makefile | 2 +- target/linux/at91/config-4.14 | 568 + ta

[OpenWrt-Devel] [OpenWrt-Devel, 4/7] at91: generate fit image

2019-05-28 Thread Sandeep Sheriker M
From: Sandeep Sheriker Mallikarjun generate & add fit image to sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker M --- target/linux/at91/image/Makefile | 21 - target/linux/at91/image/sam9x.mk | 10 +- 2 files changed, 17 in

[OpenWrt-Devel] [OpenWrt-Devel, 5/7] at91: default sdcard image on sd1

2019-05-28 Thread Sandeep Sheriker M
From: Sandeep Sheriker Mallikarjun generating default sdcard image for som1 Ek board on sd1 interface. Signed-off-by: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker M --- target/linux/at91/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target

[OpenWrt-Devel] [OpenWrt-Devel, 7/7] uboot-at91: bump linux4sam_5.8 to linux4sam_6.0

2019-05-28 Thread Sandeep Sheriker M
1.add support to build u-boot binaries for at91sam9x5ek socs. 2.removed sama5d27_som1_ek_spiflash defconfig & add QSPI defconfig. 3.removed sama5d27_som1_ek_mmc defconfig & mmc1 defconfig. 3.add patch to fix -Wformat-security warnings into errors insead of editing cflags. Signed-off-by: Sandeep

[OpenWrt-Devel] [OpenWrt-Devel, 6/7] at91: Add uboot environment's

2019-05-28 Thread Sandeep Sheriker M
From: Sandeep Sheriker Mallikarjun Add uboot environment's to sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker M --- target/linux/at91/image/Makefile | 21 ++--- target/linux/at91/image/uboot-env.txt | 14 ++ 2 files c

[OpenWrt-Devel] [PATCH 3/4] at91: Merge SAMA5 subtargets

2019-05-28 Thread Sandeep Sheriker M
From: Hauke Mehrtens Instead of maintaining 3 very similar subtargets merge them into one. This does not use the Arm NEON extension any more, because the SAMA5D3 does not support NEON. Signed-off-by: Hauke Mehrtens --- package/boot/at91bootstrap/Makefile | 26 ++-- package/boot/ub

[OpenWrt-Devel] [OpenWrt-Devel, 2/7] at91bootstrap: bump v3.8.10 to v3.8.12

2019-05-28 Thread Sandeep Sheriker M
From: Sandeep Sheriker Mallikarjun 1. bump to v3.8.12 2. add support for at91sam9x5ek 3. add sama5d27_som1_eksd1_uboot as default defconfig Signed-off-by: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker M --- package/boot/at91bootstrap/Makefile | 24 +--- 1 f

[OpenWrt-Devel] [PATCH 2/4] at91: Clean up kernel configuration

2019-05-28 Thread Sandeep Sheriker M
From: Hauke Mehrtens This removes some settings which are normally set by the generic configuration and should not be changed. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config-4.9 | 18 +- target/linux/at91/sama5d2/config-default | 3 --- 2 files changed,

[OpenWrt-Devel] [OpenWrt-Devel, 3/7] at91: Generate sdcard images for at91sam9x5ek boards.

2019-05-28 Thread Sandeep Sheriker M
From: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker Mallikarjun Signed-off-by: Sandeep Sheriker M --- target/linux/at91/image/Makefile | 8 +++- target/linux/at91/image/sam9x.mk | 5 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/target/linux/at91/imag

[OpenWrt-Devel] [OpenWrt-Devel, 1/7] at91:renaming subtraget legacy to sam9x

2019-05-28 Thread Sandeep Sheriker M
renaming subtraget legacy to sam9x for adding new sam9 soc's Signed-off-by: Sandeep Sheriker M --- package/boot/uboot-at91/Makefile | 4 ++-- target/linux/at91/Makefile | 5 +++-- target/linux/at91/image/Makefile | 4 ++-- target/linux/

[OpenWrt-Devel] [PATCH 1/4] at91: Refresh kernel configuration

2019-05-28 Thread Sandeep Sheriker M
From: Hauke Mehrtens The configuration of the sama5d4 subtarget was used as the default configuration and then the subtarget configurations were adapted. The resulting kernel configuration without any extra modules selected is still the same. Signed-off-by: Hauke Mehrtens --- target/linux/at9

[OpenWrt-Devel] [OpenWrt-Devel, 0/7] at91 patch series.

2019-05-28 Thread Sandeep Sheriker M
Hi, This patch series is dependent on patch series at91: Update kernel to version 4.14 Regards, Sandeep Sheriker M Sandeep Sheriker M (2): at91:renaming subtraget legacy to sam9x uboot-at91: bump linux4sam_5.8 to linux4sam_6.0 Sandeep Sheriker Mallikarjun (5): at91bootstrap: bump v3.8

[OpenWrt-Devel] [RFC] Dual-Flash (NOR/NAND) Board Naming and Kernel

2019-05-28 Thread Jeff Kletsky
With the availability of the SPI-NAND framework in Linux 4.19 and later it has become possible to support devices with SPI NAND on the ath79 platform. The two devices I've been working on have both NOR and NAND flash. These devices can be built in multiple configurations and, with U-Boot support,

Re: [OpenWrt-Devel] Netgear DM200 Boot Issue/Patch Availability?

2019-05-28 Thread Alberto Bursi
Last attempt I saw was here https://github.com/openwrt/openwrt/pull/1770 but it was rejected. I have some experience with the bootloader used in this device, I can provide more complete instructions to do the uboot fix though. TTL/serial access seems to be easy (there is a header as you see

[OpenWrt-Devel] Netgear DM200 Boot Issue/Patch Availability?

2019-05-28 Thread Chris
Hi folks, I was wondering if a patch enabling this device was ever released? http://lists.infradead.org/pipermail/openwrt-devel/2019-January/015556.html The wiki suggests one can only install/boot into OpenWRT by wiring up a JTAG/serial interface and manually intervene... Which is far beyond my

Re: [OpenWrt-Devel] [PATCH 3/4] base-files: move urandom seed bits into separate package

2019-05-28 Thread Yousong Zhou
On Tue, 28 May 2019 at 05:30, Petr Štetiar wrote: ... > + > +save() { > +touch "$1.tmp" > +chown root:root "$1.tmp" > +chmod 600 "$1.tmp" > +getrandom 512 > "$1.tmp" > +mv "$1.tmp" "$1" > +echo "Seed saved ($1)" > +} Maybe we could prepare the .tmp file in /tmp of tmpfs

Re: [OpenWrt-Devel] [PATCH 0/4] add μrngd: true RNG based on timing jitter

2019-05-28 Thread Petr Štetiar
Rosen Penev [2019-05-27 19:19:53]: Hi, > Tested this on both mt7621 and Turris Omnia. Works pretty well. Init > gets done fast. thanks a lot for testing, can you please reply with your Tested-by next time so the patchwork could add this tag automatically to this patch? > The Turris people migh

Re: [OpenWrt-Devel] [PATCH 3/4] base-files: move urandom seed bits into separate package

2019-05-28 Thread Petr Štetiar
Stephan Mueller [2019-05-28 08:34:08]: Hi, [...] > > +start_service() { > > +procd_open_instance "urandom_seed" > > +procd_set_param command "/sbin/urandom_seed" > > +procd_set_param stdout 1 > > +procd_set_param stderr 1 > > +procd_close_instance > > Just as a recommendati