Commit Graph

235 Commits (be3c8f8b2bf2893950b11ea7fa16cea074bc7903)

Author SHA1 Message Date
Piotr Dymacz 62610129b2 uboot-envtools: add support for ALFA Network AP91-5G
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
6 years ago
Sven Eckelmann 9514cde2b9 uboot-envtools: add OpenMesh A42 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
6 years ago
Luis Araneda 7293499f71 ipq806x: Sort occurrences of boardame alphabetically
This restores the alphabetical sort that was present
before the renaming of boardname.

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
6 years ago
Luis Araneda 33f09cf151 ipq806x: convert to dt-based board-detection
Use the generic board detection method:
- Board name: First compatible string from the device tree
- Board model: Model property from the device tree

Change occurrences of board name in userspace by the compatible
string, and removed target specific board detection script

Replace the definition of SUPPORTED_DEVICES in Device/Default
to extract the dt compatible string from each device definition.
Additionally, for devices supported by lede-17.01, append
the value of BOARD_NAME to SUPPORTED_DEVICES in the device
definition.

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
6 years ago
Mathias Kresin 0674a99f7e kirkwood: sort occurrences of boardame alphabetically
This restores the alphabetical sort that was present
before the renaming of boardname.

Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years ago
Alberto Bursi 0e94df65ca uboot-envtools: add pogoplug v4
add pogoplug v4 envs support in uboot-envtools

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
6 years ago
Mathias Kresin c9e2c35f46 kirkwood: use the generic board detect
Drop the target specific detection function in favour of the generic
one provided by base-files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years ago
Mathias Kresin 0ebdf0c1d3 kirkwood: drop support for orphaned boards
No image build code for the Guruplug, Sheevaplug and NSA310S exists. Drop
support for the boards for now.

Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years ago
Matthias Schiffer ca04884262
uboot-envtool: remove superfluous + sign from PKG_BUILD_DEPENDS
A + sign does not have meaning in build depends.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
6 years ago
Mathias Kresin 224d4a96dd ramips: drop LinkIt Smart 7688 Duo userspace support
The  LinkIt Smart 7688/LinkIt Smart 7688 Duo are identical beside the
extra ATmega32U4 - accessible via UART - on the the Duo.

Since all relevant hardware is identical, drop the Duo special handling
in userspace.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin 63d7f7fc92 lantiq: use the compatible string as board name
Use the first compatible string as board name in userspace. Add the new
board name as well as the former used board name to the image metadata
to keep compatibilty with already deployed installations.

Don't add the former used boardname for boards which exists only in
master or evaluation boards.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Piotr Dymacz c7fdff157e uboot-envtools: add support for Wallys DR342
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years ago
Felix Fietkau 184c92e7fb uboot-envtools: add support for Nokia WI2A-AC200i
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Kevin Darbyshire-Bryant f2107fc328 ramips: improve Xiaomi Mi Router 3G support
This commit improves support for the Xiaomi Mi Router 3G originally
added in commit 6e283cdc0d

Improvements:

- Remove software watchdog as hardware watchdog now working as per
  commit 3fbf3ab44f for all mt7621
  devices.

- Reset button polarity corrected - length of press determines reboot
  (short press) vs. reset to defaults (long press) behaviour.

- Enable GPIO amber switch port LEDs on board rear - lit indicates 1Gbit
  link and blink on activity.  Green LEDs driven directly by switch
  indicating any link speed and tx activity.

- USB port power on/off GPIO exposed as 'usbpower'

- Add access to uboot environment settings for checking/setting uboot
  boot order preference from user space.

Changes:

- Front LED indicator is physically made of independent Yellow/Amber,
  Red & Blue LEDs combined via a plastic 'lightpipe' to a front panel
  indicator, hence the colour behaviour is similar to an RGB LED. RGB
  LEDs are not supported at this time because they produce colour results
  that do not then match colour labels, e.g. enabling 'mir3g:red' and
  'mir3g:blue' would result in a purple indicator and we have no such
  label for purple.
  The yellow, red & blue LEDs have been split out as individual yellow,
  red & blue status LEDs, with yellow being the default status LED as
  before and with red's WAN and blue's USB default associations removed.

- Swapped order of vlan interfaces (eth0.1 & eth0.2) to match stock vlan
  layout. eth0.1 is LAN, eth0.2 is WAN

- Add 'lwlll' vlan layout to mt7530 switch driver to prevent packet
  leakage between kernel switch init and uci swconfig

uboot behaviour & system 'recovery'

uboot expects to find bootable kernels at nand addresses 0x200000 &
0x600000 known by uboot as "system 1" and "system 2" respectively.
uboot chooses which system to hand control to based on 3 environment
variables: flag_last_success, flag_try_sys1_failed & flag_try_sys2_failed

last_success represents a preference for a particular system and is set
to 0 for system 1, set to 1 for system 2.  last_success is considered *if*
and only if both try_sys'n'_failed flags are 0 (ie. unset) If *either*
failed flags are set then uboot will attempt to hand control to the
non failed system. If both failed flags are set then uboot will check
the uImage CRC of system 1 and hand control to it if ok.  If the uImage
CRC of system is not ok, uboot will hand control to system 2
irrespective of system 2's uImage CRC.

NOTE: uboot only ever sets failed flags, it *never* clears them. uboot
sets a system's failed flag if that system's was selected for boot but
the uImage CRC is incorrect.

Fortunately with serial console access, uboot provides the ability to
boot an initramfs image transferred via tftp, similarly an image may
be flashed to nand however it will flash to *both* kernels so a backup
of stock kernel image is suggested. Note that the suggested install
procedure below set's system 1's failed flag (stock) thus uboot ignores
the last_success preference and boots LEDE located in system 2.

Considerable thought has gone into whether LEDE should replace both
kernels, only one (and which one) etc. LEDE kernels do not include a
minimal rootfs and thus unlike the stock kernel cannot include a
method of controlling uboot environment variables in the event of
rootfs mount failure. Similarly uboot fails to provide an external
mechanism for indicating boot system failure.

Installation - from stock.

Installation through telnet/ssh:
- copy lede-ramips-mt7621-mir3g-squashfs-kernel1.bin and
  lede-ramips-mt7621-mir3g-squashfs-rootfs0.bin to usb disk or wget it
  from LEDE download site to /tmp
- switch to /extdisks/sda1/ (if copied to USB drive) or to /tmp if
  wgetted from LEDE download site
- run: mtd write lede-ramips-mt7621-mir3g-squashfs-kernel1.bin kernel1
- run: mtd write lede-ramips-mt7621-mir3g-squashfs-rootfs0.bin rootfs0
- run: nvram set flag_try_sys1_failed=1
- run: nvram commit
- run: reboot

Recovery - to stock.

Assuming you used the above installation instructions you will have a
stock kernel image in system 1. If it can be booted then it may be used
to perform a stock firmware recovery, thus erasing LEDE completely. From
a 'working' LEDE state (even failsafe)

Failsafe only:
- run: mount_root
- run: sh /etc/uci-defaults/30_uboot-envtools
Then do the steps for 'All'

All:
- run: fw_setenv flag_try_sys2_failed 1
- run: reboot

The board will reboot into system 1 (stock basic kernel) and wait with
system red light slowly blinking for a FAT formatted usb stick with a
recovery image to be inserted.  Press and hold the reset button for
around 1 second. Status LED will turn yellow during recovery and blue
when recovery complete.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
7 years ago
Ram Chandra Jangir 9adfeccd84 uboot-envtools: Add support for IPQ806x AP148 and DB149
IPQ806x AP148 and DB149 boards didn't have the UCI ubootenv
section initialized, so the usage of fw_printenv required manual
configuration. With this change, the "fw_printenv" and "fw_setenv"
command will automatically work on NOR and NAND based platforms.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
7 years ago
Mathias Kresin 60f6c2b2eb ramips: drop Edimax BR-6425 support
Code to build an image for the Edimax BR-6425 never existed.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Piotr Dymacz 8223dac99a uboot-envtools: add support for ALFA Network AP121F
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
7 years ago
Mathias Kresin f12a32630f treewide: use the generic board_name function
Use the generic function instead ot the target specific ones.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Camille Bilodeau bdd3c94872 uboot-envtools: add Arduino Yun support
Signed-off-by: Camille Bilodeau <camille.bilodeau@protonmail.com>
7 years ago
Marty Plummer 558d86923e ar71xx: add support for EnGenius ENS202EXT
EnGenius ENS202EXT is an outdoor wireless access point with
2-port 10/100 switch, detachable antennas and proprietery PoE.

The device is based on Qualcomm/Atheros AR9341 v1.

Specifications:
- 535/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM
- 16 MB of FLASH
- UART (J1) header on PCB (unpopulated)
- 2x 10/100 Mbps Ethernet
- 2.4 GHz, up to 26dBm
- 2x external, detachable antennas
- 7x LED, 1x button

Flash instructions:

You have three options:

- Use the vendor firmware upgrade page on the web interface and give
it the factory.img. This is the easiest way to go about it.

- If you have serial access during u-boot, interrupt the normal boot
(any key before timeout) and run 'run failsafe_boot'; this will bring
you to a minimal openwrt luci image on ip 192.168.1.1 useful if you've
bricked the normal firmware.

- Use the vendor's management cli, which can be accessed via telnet
with the same credentials as the web login (default admin:admin), then
issue the following commands:

*** Hi admin, welcome to use cli(V-1.6.7) ***
---========= Commands Help =========---
      stat -- Status
       sys -- System
    wless2 -- 2.4G-Wireless
      mgmt -- Management
      tree -- Tree
      help -- Help
    reboot -- Reboot
ens202ext>mgmt
  Management
---========= Commands Help =========---
     admin -- Administration
     mvlan -- Management VLAN settings
      snmp -- SNMP settings
    backup -- Backup/Restore settings
    autorb -- Auto reboot settings
   fwgrade -- Firmware upgrade
      time -- Time settings
   wifisch -- Wifi schedule
       log -- Log
      diag -- Diagnostics
      disc -- Device Discovery
    logout -- Logout
      help -- Help
      exit -- Exit
ens202ext/mgmt>fwgrade
  Management --> Firmware upgrade
---========= Commands Help =========---
      fwup -- Firmware upgrade
      help -- Help
      exit -- Exit
ens202ext/mgmt/fwgrade>fwup http://web.server/lede-ar71xx-generic-ens202ext-squashfs-factory.bin

Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
7 years ago
Mantas Pucka cd9d0f9e97 uboot-envtools: add support for 8devices Rambutan
Signed-off-by: Mantas Pucka <mantas@8devices.com>
7 years ago
Mathias Kresin 18618695ae ramips: dont replace the board name
Use fixed led names and add each board variant instead of manipulating
the board name.

It makes the ramips board name function less different to the one used
in other targets and allows to merge them with a common function.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Felix Fietkau ca44b9a0d4 pistachio: remove custom board detection override
Use device tree based model string

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau eb98bf605e pistachio: remove pistachio_board_name, use the generic function
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Ian Pozella 0d271cef80 target: add pistachio
The Pistachio target is a MIPS interaptiv based SoC developed by
Imagination Technologies. It includes blocks for i2c, spi, audio,
usb and WiFi.

This also adds the base support for the 'Creator Ci40 (marduk)'
device which uses the Pistachio SoC to create an IoT hub by
including Bluetooth, WiFi and 6lowpan on one board. Additionally 2x
Mikrobus ports are available to expand with further RF technologies
or add sensors. You can find out more here http://creatordev.io.

Note, this commit is just the initial board support hence the
following are not expected to work yet:
 * WiFi
 * Bluetooth
 * 6lowpan
 * Audio
 * Mikrobus uarts, user leds (clock dependency of 6lowpan chip)

The aim of this commit is to essentially have the same level of
support that currently exists in the mainline kernel.

Signed-off-by: Abhijit Mahajani <Abhijit.Mahajani@imgtec.com>
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
Signed-off-by: Mayank Sirotiya <Mayank.Sirotiya@imgtec.com>
Signed-off-by: Sean Kelly <Sean.Kelly@imgtec.com>
7 years ago
Felix Fietkau 7e798dab56 lantiq: remove lantiq_board_name, use the generic function instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Sven Eckelmann 2696b0ec1e package/uboot-envtools: add OpenMesh A40 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
7 years ago
Sven Eckelmann bddb243640 package/uboot-envtools: add OpenMesh a60 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
7 years ago
Sven Eckelmann 88aa7eeee5 package/uboot-envtools: add OpenMesh OM2Pv4/-HSv4 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
7 years ago
Alberto Bursi 760185972f uboot-envtools: add nsa325 envs
adding nsa325 envs for consistency with other kirkwoods

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
7 years ago
Alberto Bursi 55ecceb84e uboot-envtools: add nsa310b envs
accessing the u-boot's envs on this device is required to read the mac address.
These are the envs of the new u-boot, not of the stock one.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
7 years ago
Piotr Dymacz 1599a14b32 uboot-envtools: drop executable file attribute from files/ipq
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz a9ce2ba31c uboot-envtools: fix Edimax BR-6425 board name
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz 35ed3be59f uboot-envtools: fix code formatting style in uci-defaults files
Few minor code formatting style fixes, including:

- keep one board per line
- always use "|\" (for consistency)
- remove redundant double quotes and empty lines

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz f70a2adca1 uboot-envtools: keep boards in alphabetical order
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Piotr Dymacz c40477519e uboot-envtools: add support for YunCore SR3200 and XD3200
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Eddi De Pieri 9720185820 uboot-envtools: make it not shared
uboot-envtools have some stuff related to the cpu.

This should fix following error on lantiq soc:

Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uboot-envtools_2015.10-1_mips_24kc.ipk.
Configuring uboot-envtools.
//usr/lib/opkg/info/uboot-envtools.postinst: .: line 10: can't open '/lib/ar71xx.sh'

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
8 years ago
Paul Wassi d6e8b1f841 uboot-envtools: add 'dockstar' for kirkwood
Add board 'dockstar' to known fw_env-configurations.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years ago
Piotr Dymacz d86f08cc94 uboot-envtools: add support for YunCore CPE830
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz dcceea4fd3 uboot-envtools: add support for YunCore CPE870
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz 9ee8257cc7 uboot-envtools: add support for YunCore AP90Q
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Alberto Bursi 08279810ed uboot-envtools: move to Boot Loaders submenu
Boot Loaders submenu is where other bootloader tools (fconfig and grub2-editenv) are.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years ago
Stijn Tintel e3875350f3 ar71xx: add support for D-Link DAP-2695 rev. A1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years ago
André Valentin ebd7e565c7 package/uboot-envtools: Add support for ZyXEL NBG6817
Signed-off-by: André Valentin <avalentin@marcant.net>
8 years ago
Imre Kaloz 3764caa934 mvebu: add support for the Linksys WRT3200ACM (Rango)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Josua Mayer c8580f51ba u-boot-envtools: fix building with glibc
tools/env/fw_env.c misses to include stdint.h.
Apparently musl doesn't mind and includes this header by default,
but glibc does not and causes the build to fail.

Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
8 years ago
Zhao Gang d963ddf042 ar71xx: add support for gl-ar300m
This add initial support for gl-ar300m router.
Product page: http://www.gl-inet.com/ar300m/

Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
8 years ago
Piotr Dymacz 14ee2b0642 uboot-envtools: add support for jjPlus JWAP230
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Piotr Dymacz c30fd5e87d uboot-envtools: add support for Wallys DR531
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years ago
Daniel Golle fac7ba1abc uboot-envtools: add support for ZBT-WG2626
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years ago
John Crispin 928163bad2 uboot-envtools: add ipq806x support
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Felix Fietkau 704965d93f uboot-envtools: add config for WBMR300 (lantiq)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Sven Eckelmann 3f508fce77 package/uboot-envtools: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 00943e0931 package/uboot-envtools: add OpenMesh OM2P-HSv3 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Andrew Yong 374cae9e6f ramips: add initial support for SamKnows SK-WB8
Signed-off-by: Andrew Yong <me@ndoo.sg>
8 years ago
John Crispin 152da8b240 lantiq: uboot-envtools on BTHOMEHUBV3A
Generate fw_env.config for BTHOMEHUBV3A.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 49236
8 years ago
Hauke Mehrtens 012da658a4 oxnas: add support for Akitio MyCloud mini
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 49197
8 years ago
John Crispin eeaf5035df uboot-envtools: add OpenMesh OM5P-ACv2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 49153
8 years ago
John Crispin 2b541ce3f9 uboot-envtools: add OpenMesh OM5P-AC support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 49146
8 years ago
Luka Perkov 35e7bfb906 uboot-envtools: add support for ap120c
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 49083
8 years ago
John Crispin 99414dbcf1 ramips: Add support for Xiaomi MiWiFi Nano
Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>

v3  includes changes suggested by L. D. Pinney & Karl Palsson-
Eliminate en25q64 (4MB) flash chip
Alphabetization
Remove hyphen in model
Rename profile from miwifinano.mk to xiaomi.mk
Add gpios that are attached to leds

SVN-Revision: 49024
8 years ago
Felix Fietkau fb1273dfdd ar71xx: PowerCloud CR5000 openwrt configuration
OpenWrt configuration part of support for the PowerCloud Systems
CR5000.  The CR5000 is a dual-band 802.11n wireless router with
8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and
five port gigabit ethernet switch.  The CR5000 was sold as
hardware for the Skydog cloud-managed router service.

    Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47946
9 years ago
Felix Fietkau 59fc337a9a ar71xx: PowerCloud CR3000 OpenWrt configuration
OpenWRt configuration part of support for the PowerCloud
Systems CR3000.  The CR3000 is a 802.11n 2.4 GHz wireless router with
8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast
ethernet wan port that was sold by PowerCloud Systems as
hardware for the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47945
9 years ago
Felix Fietkau abc1faad0b ar71xx: PowerCloud CAP324 OpenWrt configuration
Openwrt configuration part of support for PowerCloud CAP324
Cloud AP.  The CAP324 Cloud AP is a device sold by PowerCloud Systems
who's stock firmware (CloudCommand) provides 'cloud' based managment
of large numbers access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
or a wall wart.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47944
9 years ago
John Crispin 1f9cd871f7 uboot-envtools: add support for linkits7688d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47500
9 years ago
Luka Perkov 2f8ebe10b9 uboot-envtools: kirkwood: fix EA35/4500 board names
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47457
9 years ago
Luka Perkov 3ef14d0c3d kirkwood: rework Linksys EA[34]500 DTS
- Use board engineering names rather than marketing names

- Linksys uses a dual firmware layout, where the bootloader
  will switch to the other stored image when one fails to
  boot three consecutive times.

  In order to make this firmware compatible with the factory
  images and the stock bootloader we must match this layout.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47429
9 years ago
Felix Fietkau b8b4d36379 uboot-envtools: fix various compile breakage issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47383
9 years ago
Imre Kaloz 1345073268 uboot: create the uboot config file for the shelby as well
fixes #20827

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47365
9 years ago
Luka Perkov e920d31f4b uboot-envtools: update to 2015.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47328
9 years ago
John Crispin 51dd991d39 ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47203
9 years ago
Luka Perkov c2425ac649 uboot-envtools: Add Gateworks Ventana Support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47167
9 years ago
John Crispin b26840a9fc uboot_envtools: add P2812HNUF1
Add generation of /etc/fw_env.config for P2812HNUF1

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>

SVN-Revision: 47133
9 years ago
John Crispin e3f4a3d22a package/uboot-envtools: add OpenMesh MR1750 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46931
9 years ago
Felix Fietkau 102522e0cd uboot-envtools: disable AES support, reduces code size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45615
9 years ago
Imre Kaloz 2705cda813 mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45456
9 years ago
Imre Kaloz b0ad24f0d5 mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45400
9 years ago
Nicolas Thill fe46689f10 packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
9 years ago
Felix Fietkau 9314180c34 uboot-envtools: add ramips wsr-600/1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44897
9 years ago
John Crispin 37a4102423 package/uboot-envtools: add OpenMesh OM5P-AN support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44865
9 years ago
Luka Perkov 71f96048e6 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44308
9 years ago
Luka Perkov 64653e6373 uboot-envtools: fix Linksys EA3500 env size
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44037
10 years ago
Luka Perkov 180c1f3302 uboot-envtools: add more kirkwood boards
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 43747
10 years ago
John Crispin f8e83b1057 uboot-envtools: enable UBI support per default on oxnas
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43716
10 years ago
John Crispin 6ad5109211 uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43510
10 years ago
Luka Perkov c25e55d851 uboot-envtools: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43433
10 years ago
Luka Perkov 44d5800fe1 uboot-*: update license info in uboot packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43429
10 years ago
John Crispin de49133a8b uboot-envtools: add support for oxnas target
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43390
10 years ago
John Crispin d265ebd1dc uboot-envtools: add carambola2 support
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 43317
10 years ago
John Crispin 7dce745a99 package/uboot-envtools: add OpenMesh MR900v2 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 43269
10 years ago
John Crispin c126266f43 package/uboot-envtools: add OpenMesh MR900 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 43263
10 years ago
Luka Perkov 4f1a9470f0 kirkwood: add support for Linksys EA3500
http://wiki.openwrt.org/toh/linksys/ea3500

Signed-off-by: Dan Walters <dan@walters.io>

SVN-Revision: 43230
10 years ago
John Crispin 74a3a77bcd license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43167
10 years ago
John Crispin c10d97484a Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43155
10 years ago
John Crispin 24a0269b71 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42914
10 years ago
Luka Perkov 61d83b3a2f uboot-envtools: bump to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42078
10 years ago
John Crispin 596ff29ade package/uboot-envtools: add OpenMesh OM5P support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41774
10 years ago
Gabor Juhos f6a334c6c1 package/uboot-envtools: add support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41660
10 years ago
Gabor Juhos ddd5a9a8f2 package/uboot-envtools: add support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41651
10 years ago
John Crispin 1475263d5c lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards
Generate the configuration file for uboot-envtools
on BTHOMEHUBV2B. Adds the specific parameters for the
BTHOMEHUBV2B and also fixes an incorrect path which
would have affected other lantiq boards as well
(currently only the GIGASX76X).

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41597
10 years ago
Imre Kaloz a91b9e35a4 add mvebu support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41380
10 years ago
Luka Perkov e575c759ca uboot-envtools: use new scripts from /lib/ to match boards
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41340
10 years ago
John Crispin 8a82c2cd36 uboot-envtools: fix build if ubi volume support is disabled
Insert a missing #ifdef UBI around the use of libubi_close().
As the preceding if (libubi) will never be true on non-UBI builds,
compiling only failed when disabling optimization.

Also rebase patch to latest u-boot.git HEAD.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41313
10 years ago
John Crispin 1a6a14c757 package/uboot-envtools: add OpenMesh OM2P-HSv2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40965
10 years ago
John Crispin f777b06875 package/uboot-envtools: add OpenMesh OM2Pv2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40959
10 years ago
John Crispin dab35f044a uboot-envtools: add support for environment in ubi volume
On UBI enabled devices, U-Boot might store it's environment on
UBI volume(s). Support this in uboot-envtools, so fw_setenv and
fw_printenv can work on these platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40929
10 years ago
Luka Perkov 591b5285f5 uboot-envtools: add support for kirkwood ea4500
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40872
10 years ago
Luka Perkov 2381f4a7b0 uboot-envtools: add Pogoplug E02 support
The settings require that the OpenWrt provided u-boot is used as either
first or second stage bootloader as it modifies the partitioning scheme
to move the u-boot environment to a separate mtd partition.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 40829
10 years ago
Luka Perkov 740ed0ede4 uboot-envtools: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40778
10 years ago
Gabor Juhos daca4351b1 uboot-envtools: add support for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40501
10 years ago
Felix Fietkau fbda3388f9 uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39961
10 years ago
Nicolas Thill ece85d2d25 uboot-envtools: pass target cflags
SVN-Revision: 39629
10 years ago
Luka Perkov ad48ba11db uboot-envtools: add support for wndr3700
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39380
11 years ago
Zoltan Herpai dcd8a08be1 uboot-envtools: add support for mxs target
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 38776
11 years ago
Felix Fietkau e31ccd95c7 u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38559
11 years ago
Luka Perkov 494bc1d026 uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38444
11 years ago
Luka Perkov c15bec4a1b uboot-envtools: update kirkwood scripts
Also, scripts can be installed as data so let's change that here too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38403
11 years ago
Luka Perkov cdd6361649 uboot-envtools: update to v2013.07
SVN-Revision: 37857
11 years ago
Luka Perkov 32b80b8653 uboot-env: fix spurious esac within ramips uci-defaults
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37814
11 years ago
Luka Perkov e8d6de95b3 uboot-envtools: add support for hornet-ub-x2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37789
11 years ago
Luka Perkov af9d30f713 uboot-env: add config for the ALFA NETWORKS Hornet-UB (AP121U)
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 37382
11 years ago
Luka Perkov 2b6519b8c2 uboot-envtools: add support for imx6 target
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37136
11 years ago
Luka Perkov d352ff6cac uboot-envtools: upgrade to 2013.07-rc1
Support for writing on MMC devices has been added.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37135
11 years ago
Luka Perkov 3b1c133d1d uboot-envtools: upgrade to 2013.04
SVN-Revision: 36665
11 years ago
Luka Perkov b591e15f36 This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 36313
11 years ago
Luka Perkov fe24afe37f uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36033
11 years ago
Luka Perkov 6337803d65 uboot-env: wzr-600dhp uses wzr-hp-ag300h name
SVN-Revision: 35866
11 years ago
Luka Perkov 107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
11 years ago
Gabor Juhos b01e744632 uboot-envtools: add config for the Edimax BR-6425 board
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35464
11 years ago
Gabor Juhos a2a5f9b405 package/uboot-envtools: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35432
11 years ago
Gabor Juhos 21393323d0 package/uboot-envtools: add OpenMesh MR600 support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34236
12 years ago
Gabor Juhos 5a6a2e55b9 package/uboot-envtools: add CAP4200AG support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33959
12 years ago
Gabor Juhos 6e6e72470d uboot-envtools: OM2P-HS partition information
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33802
12 years ago
John Crispin e75106aa0d move boot related packages to their own folder
SVN-Revision: 33781
12 years ago