- Feb 17, 2018
-
-
Stijn Tintel authored
The gzip step in the sdcard image build fails because the image filename already has the gzip extension. This results in an empty image file, to which the metadata is finally appended. Remove the .gz extension from the image filename to fix this. Fixes: e79b096e ("brcm2708: convert to metadata") Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be>
-
Philip Prindeville authored
Signed-off-by:
Philip Prindeville <philipp@redfish-solutions.com>
-
Evgeniy Didin authored
In the initial patch which adds HSDK board there were no update of network configuration scripts. Without it by default static IP is set for br-lan and there is no access to internet. This patch fixes the issue. Signed-off-by:
Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: Hauke Mehrtens <hauke@hauke-m.de> CC: John Crispin <john@phrozen.org>
-
Russell Senior authored
Between mbedtls 2.6.0 and 2.7.0, the void returning mbedtls_MODULE* functions were deprecated in favor of functions returning an int error code. Use the new function mbedtls_sha256_ret(). Signed-off-by:
Russell Senior <russell@personaltelco.net> Tested-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Russell Senior authored
Between mbedtls 2.6.0 and 2.7.0, the void returning mbedtls_MODULE* functions were deprecated in favor of functions returning an int error code. Use the new function mbedtls_sha256_ret(). Signed-off-by:
Russell Senior <russell@personaltelco.net> Tested-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Hauke Mehrtens authored
This is based on a patch from armbian: https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/sunxi-add-orangepi-zero-plus.patch Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
This is based on a patch from armbian: https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/add-orangepi-zeroplus.patch Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
The Orange Pi Zero Plus uses a RTL8211E, add the driver for this PHY. This is probably used on more boards with a Allwinner SoC. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Antony Antony authored
arm64: allwinner: h5: NanoPi NEO Plus2 DT support Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A module) - 2x USB 2.0 host ports & 2x USB via headers Signed-off-by:
Antony Antony <antony@phenome.org>
-
Antony Antony authored
Linux Kernel upstream commit d73413058 Signed-off-by:
Antony Antony <antony@phenome.org>
-
Antony Antony authored
u-boot upstream commit 6130b1f6bc23 Signed-off-by:
Antony Antony <antony@phenome.org>
-
Hauke Mehrtens authored
This syncs the Orange Pi R1 device tree files with the one from the upstream kernel and also uses the default configuration from the Orange Pi Zero. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Feb 16, 2018
-
-
Mathias Kresin authored
Fix syntax error introduced with 18832811 ("treewide: move nand_do_upgrade call to platform_do_upgrade"). Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Hauke Mehrtens authored
Some functions used by a lot of other software was renamed and is only active when deprecated functions are allowed, deactivate the removal of deprecated functions for now. Fixes: 75c5ab4c ("mbedtls: update to version 2.7.0") Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Jasper Scholte authored
The PC Engines APU3b has a new nct5104b version with chip ID 0xc453. This adds support for that version. Signed-off-by:
Jasper Scholte <NightNL@outlook.com>
-
Mathias Kresin authored
Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated with 30f61a34 ("base-files: always use staged sysupgrade"). Update the platform upgrade code to use platform_do_upgrade() for NAND images as well. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Mathias Kresin authored
The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce930 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
Zoltan HERPAI authored
Signed-off-by:
Zoltan HERPAI <wigyori@uid0.hu>
-
Zoltan HERPAI authored
This reverts commit 805f756d. Move back to 2017.07 until we move sunxi to GCC7. Signed-off-by:
Zoltan HERPAI <wigyori@uid0.hu>
-
Zoltan HERPAI authored
This reverts commit f142de5f. Revert until we can move to 2017.11 Signed-off-by:
Zoltan HERPAI <wigyori@uid0.hu>
-
Zoltan HERPAI authored
This reverts commit ef041666. Revert until we can move to 2017.11 Signed-off-by:
Zoltan HERPAI <wigyori@uid0.hu>
-
John Crispin authored
These cause mediatek arm to fail full builds Signed-off-by:
John Crispin <john@phrozen.org>
-
- Feb 15, 2018
-
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
The musl compatibility patches are now included in the upstream version. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
This fixes the following security problems: * CVE-2018-0488: Risk of remote code execution when truncated HMAC is enabled * CVE-2018-0487: Risk of remote code execution when verifying RSASSA-PSS signatures Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Roman Yeryomin authored
- removed upstreamed patches - 0901-spansion_nand_id_fix.patch is disabled, not clear if it's needed Signed-off-by:
Roman Yeryomin <roman@advem.lv> Signed-off-by:
John Crispin <john@phrozen.org>
-
Daniel Golle authored
223e09b add support for expected throughput Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
- Feb 14, 2018
-
-
Jo-Philipp Wich authored
On MT7621, the REG_ESW_VLAN_VTIM reads are undefined, causing swconfig to always report `vid: 0` in swconfig show output. Since a 4K VLAN table is used on this platform, the VLAN ID always correponds to the actual VLAN table index so provide a specific MT7621 implementation of the get_vid callback which returns the table index as VLAN ID. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Currently, untagged port primary vlan IDs are set to the VLAN table index, and not the actual VLAN ID, breaking configurations with IDs deviating from the VLAN index. Fix the issue by resolving the per-port pvid property to the target VLAN ID value before committing to the hardware. Fixes FS#991, FS#1147, FS#1341 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Avoid overwriting vlan entries with remapped vid in later iterations of the vlan enumeration loop of mt7530_apply_config(). Fix the problem by refactoring the code to first reset the entire table, then reprogram only vlans with members to prevent overwriting configured vlans with unconfigured ones. Fixes FS#1147, FS#1341 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
The current image build code has a number of race conditions and interface contract violations in the custom image build steps: - Build/install-zImage, solely used by at91, relies on $(PROFILE_SANITIZED) which is not available when building with CONFIG_TARGET_MULTI_PROFILE - Build/at91-sdcard, which may run concurrently, creates scratch files at fixed locations and manipulates target files directly which can lead to file corruption and other unexpected failures Rename the install-zImage macro to at91-install-zImage and move it to the at91 image Makefile since this target is the sole user. Also utilize "$@" as output file name and switch the usage of $(PROFILE_SANITIZED) to $(DEVICE_NAME) in order to fix naming under multi profile builds. Fix the at91-sdcard macro to construct scratch file paths relative to "$@", which is guaranteed to be unique and store the final artifact output in "$@" as well, instead of inside $(BIN_DIR). The generic image build code takes care of moving a build steps "$@" output to the final destination in a concurrency-safe manner. Finally remove the broken install-zImage from the generic image-commands Makefile. Fixes: d7a679a0 ("at91: Install zImage.") Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
John Crispin authored
This drops support for all the !emmc EVB and adds banannaPi-R2 Also drop mtkhnat until the nftables offoad driver is ready Signed-off-by:
John Crispin <john@phrozen.org>
-
Dongming Han authored
This patch adds support for GL.iNet GL-B1300 Specification: - SOC: IPQ4028 / QCA Dakota - RAM: 256 MiB - FLASH: 32 MiB - ETH: Qualcomm Atheros QCA8075 Gigabit Switch (2 x LAN, 1 x WAN) - USB: 1 x 3.0 (via Synopsys DesignWare DWC3 controller in the SoC) - WLAN1: Qualcomm Atheros QCA4028 2.4GHz 802.11bgn 2:2x2 - WLAN2: Qualcomm Atheros QCA4028 5GHz 802.11a/n/ac 2:2x2 - INPUT: one reset and one WPS button - LEDS: 3 leds: Power, WIFI(only for 2.4G currently), and one reserved - UART: 1 x UART on PCB (3.3V, TX, RX, GND) - 115200 8N1 Installation: Method 1: - use serial port to stop uboot - uboot command: run lf Method 2: - push down reset button and power on - wait until three leds constantly on then release - upgrade by uboot web at http://192.168.1.1 Note: - the sysupgrade image need to be renamed to lede-gl-b1300.bin in both method. - the sysupgrade image can be automatically downloaded if tftp server at 192.168.1.2 have that file. - the wifi led will be flashing when writing image. Signed-off-by:
Dongming Han <handongming@gl-inet.com>
-
John Crispin authored
128bc35 logread: fix reconnect logd logic 66347ec logread: move the code setting up the request blob out of the main loop 975a258 logread: move output connection setup code out of main loop b81bea7 logread: cleanup pid file handling d73e7d2 ubox: Replace strerror(errno) with %m format. Signed-off-by:
John Crispin <john@phrozen.org>
-
Evgeniy Didin authored
Synopsys DesignWare HSDK (which stands for ARC HS Development Kit) is the latest and greatest development platform that sports quad-core ARC HS38 in real silicon. Most noticeable features of the board are: * Quad-core ARC HS38 CPU running at 1GHz * 4Gb of DDR * Built-in Vivante GPU (well supported via open source Etnaviv drivers) * Built-in Wi-Fi/Bluetooth module (RedPine RS-9113) And as usual we have: * [micro] SD-card slot * 2 USB 2.0 ports * 1Gbit Ethernet port * Built-in Digilent JTAG probe * Serial port accessible via micro-USB port For more information about HSDK board visit: https://www.synopsys.com/dw/ipdir.php?ds=arc-hs-development-kit Signed-off-by:
Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: Hauke Mehrtens <hauke@hauke-m.de> CC: John Crispin <john@phrozen.org>
-
Evgeniy Didin authored
We have managed to get USB 2.0 working good enough on all archs38 platforms so we're ready to switch to much faster USB 2.0. Signed-off-by:
Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: Hauke Mehrtens <hauke@hauke-m.de> CC: John Crispin <john@phrozen.org>
-
Kevin Darbyshire-Bryant authored
sysfs attributes 'port_mask' & 'speed_mask' held locks whilst doing mundane tasks such as sprintf. Refactor code to reduce length of time locks are held unnecessarily. Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
Kevin Darbyshire-Bryant authored
Add sysfs 'mode' attribute to swconfig controlled LEDs. swconfig 'link state' LEDs blink in the presence of port traffic. This behaviour becomes more obvious as switches start to support get_port_stats() e.g. commits 0369e358, 3056d09b, 4ddbc43c, 4d8a66d9. This blinking can be confusing/distracting if the switch has other LEDs used to indicate traffic. Provide a 'mode' sysfs attribute that controls the blink on traffic behaviour. mode - either "none" (LED is off) or a space separated list of one or more: link: LED's normal state reflects whether the link is up (has carrier) or not tx: LED blinks on transmitted data rx: LED blinks on receive data Note that 'link' considers any port speed mask that may be applicable. e.g. if an LED is configured to indicate 1Gbit link speed and mode is set to 'link rx tx' but the port is connected at 100Mbit then the LED will not light or blink. A mode of 'tx rx' will blink in the presence of traffic only if the port matches the rate (if configured) This maintains compatibility with existing behaviour. Attribute is 'link tx rx' by default for backwards compatible behaviour. Many thanks to Thibaut Varene for providing a more sensible led_event routine after I had mangled the original, and other coding style hints. Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Acked-by:
Thibaut VARENE <hacks@slashdirt.org>
-
- Feb 13, 2018
-
-
Hauke Mehrtens authored
Some people reported problems with the current development version, so go back to the latests more or less release. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
vfs_write() is not exported on kernel 4.14 any more and kernel_write() should be used instead. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-