Re: [OpenWrt-Devel] [PATCH] upgrade: nand: fix board_name assumtions

2019-05-20 Thread Jeff Kletsky
(imgtec.com addresses removed as mail to them bounces) On 5/20/19 6:42 AM, Jeff Kletsky wrote: On 5/20/19 3:14 AM, Bjørn Mork wrote: nand_do_platform_check assumes that the current board name is used as-is in the tar file sysupgrade directory. This fails for any image supporting multiple devi

Re: [OpenWrt-Devel] openwrt-devel Digest, Vol 37, Issue 94

2019-05-20 Thread Joe Ayers
> On Sun, May 19, 2019 at 12:44:18PM -0700, Jeff Kletsky wrote: > > I'm in the process of porting the AR750S to the ath79 target with > > SPI-NAND support now available on Linux 4.19[1]. > > > > From what I can tell, the AR300M (NAND) target, while it builds, > > does not provide a functional image

[OpenWrt-Devel] Payment Receipt

2019-05-20 Thread Managing Director.
Dear Sir/Madam Kindly verify the payment made to your company in the attached file. we hope to get a quick response from you in-regards to the payment made from our company to yours. Kindest Regards,ᅡᅠ Mrs.Rachael (Managing Director,) <> ___ openwrt-d

Re: [OpenWrt-Devel] [PATCH v3] gemini: Support sysupgrade on DIR-685

2019-05-20 Thread Linus Walleij
On Mon, May 20, 2019 at 10:56 PM Petr Štetiar wrote: > And merged[1] it into my staging tree, so please check it and let me know if > it's ok with you or if you prefer to go with v4, thanks. Thanks man, sorry if I'm a bit confused around how you want the sysupgrade to work. Maybe we could open

Re: [OpenWrt-Devel] [PATCH v3] gemini: Support sysupgrade on DIR-685

2019-05-20 Thread Petr Štetiar
Linus Walleij [2019-05-20 22:25:21]: Hi, I don't want to drag out more of your time so, > +platform_find_part_size() { > + local first dev size erasesize name > + while read dev size erasesize name; do > + name=${name#'"'}; name=${name%'"'} > + [ "$name" = "$1" ]

[OpenWrt-Devel] [PATCH v3] gemini: Support sysupgrade on DIR-685

2019-05-20 Thread Linus Walleij
This makes sysupgrade work on the D-Link DIR-685 after initial factory install. We create the platform.sh script to support sysupgrade on more targets as we move on with sysupgrade support. Cc: Petr Štetiar Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Drop the WRGG magic check: after th

[OpenWrt-Devel] [PATCHv2] kernel: Add AEAD and RNG support to kmod-crypto-user

2019-05-20 Thread Rosen Penev
Now that kernel 3.18 is gone, we can safely add these features. Tested on Turris Omnia. Signed-off-by: Rosen Penev --- v2: Rebased against master package/kernel/linux/modules/crypto.mk | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.

[OpenWrt-Devel] [PATCH] ath79: Add support for ZBT-WD323

2019-05-20 Thread Kristian Evensen
ZBT-WD323 is a dual-LTE router based on AR9344. The detailed specifications are: * AR9344 560MHz/450MHz/225MHz (CPU/DDR/AHN). * 128 MB RAM * 16MB of flash(SPI-NOR, 22MHz) * 1x 2.4GHz wifi (Atheros AR9340) * 3x 10/100Mbos Ethernet (AR8229) * 1x USB2.0 port * 2x miniPCIe-slots (USB2.0 only) * 2x SIM

[OpenWrt-Devel] [PATCH RFC 5/5] ath79: make urngd default RNG seed source

2019-05-20 Thread Petr Štetiar
This fixes some of the current urandom-seed based flaws. First, simply writing to /dev/urandom does not increase the kernel's entropy count, this casuses processes obtaining randomness to block. Particularly processes using OpenSSL's RAND_bytes() will block until the kernel emits 'random: crng ini

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

2019-05-20 Thread Petr Štetiar
So it's possible to install or remove it as needed. Signed-off-by: Petr Štetiar --- package/base-files/Makefile| 11 +++- package/base-files/files/etc/init.d/urandom_seed | 12 .../base-files/files/lib/preinit/81_urandom_seed | 24 packag

[OpenWrt-Devel] [PATCH RFC 4/5] build: add urandom-seed to the default packages set

2019-05-20 Thread Petr Štetiar
urandom-seed content was split from base-files into separate package so in order to preserve the current functionality we need to add it back. Signed-off-by: Petr Štetiar --- include/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/target.mk b/include/target.

[OpenWrt-Devel] [PATCH RFC 2/5] ubox: move getrandom into separate getrandom package

2019-05-20 Thread Petr Štetiar
So it's possible to install or remove it as needed. Signed-off-by: Petr Štetiar --- package/system/ubox/Makefile | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index 268fab9d74bb..ab79731a561a 100

[OpenWrt-Devel] [PATCH RFC 0/5] ath79: add micro non-physical true RNG based on timing jitter

2019-05-20 Thread Petr Štetiar
Hi, this patch series is an RFC which attempts to fix some of the current urandom-seed based flaws. First, simply writing to /dev/urandom does not increase the kernel's entropy count, this casuses processes obtaining randomness to block. Particularly processes using OpenSSL's RAND_bytes() will bl

[OpenWrt-Devel] [PATCH RFC 1/5] urng: add micro non-physical true RNG based on timing jitter

2019-05-20 Thread Petr Štetiar
μrngd is OpenWrt's micro non-physical true random number generator based on timing jitter. Using the Jitter RNG core, the rngd provides an entropy source that feeds into the Linux /dev/random device if its entropy runs low. It updates the /dev/random entropy estimator such that the newly provided

Re: [OpenWrt-Devel] [PATCH] upgrade: nand: fix board_name assumtions

2019-05-20 Thread Jeff
On 5/20/19 6:42 AM, Jeff Kletsky wrote: cc-ing primary Imgtec / pistachio / Creator Ci40 contributors identified Note that all five imgtec.com email addresses found in the commit log bounce. The pistachio and the Ci40 do not seem to appear on the imgtec.com site, nor do related downloads at h

Re: [OpenWrt-Devel] [PATCH] upgrade: nand: fix board_name assumtions

2019-05-20 Thread Jeff Kletsky
cc-ing primary Imgtec / pistachio / Creator Ci40 contributors identified On 5/20/19 3:14 AM, Bjørn Mork wrote: nand_do_platform_check assumes that the current board name is used as-is in the tar file sysupgrade directory. This fails for any image supporting multiple device names, and it also f

[OpenWrt-Devel] [PATCH] upgrade: nand: fix board_name assumtions

2019-05-20 Thread Bjørn Mork
nand_do_platform_check assumes that the current board name is used as-is in the tar file sysupgrade directory. This fails for any image supporting multiple device names, and it also fails if the board_name contains a comma. Signed-off-by: Bjørn Mork --- This is a local workaround I'va had lying