Commit Graph

307 Commits (fd35c5b205e7583628472b607ee4eb41c6d1b6d5)

Author SHA1 Message Date
John Crispin 72803e0e27 Don't try to generate whr-g300n image if it's going to be more than 4M
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40489
10 years ago
John Crispin 96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
10 years ago
John Crispin b56bef28d7 ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39611
10 years ago
John Crispin f3a243c3dd ramips: Add profile for the Edimax BR-6475nD
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39299
10 years ago
John Crispin 9821ce8ed6 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39248
11 years ago
John Crispin 4282d796ea ralink: fix WHR-600D and WHR-300HP image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39241
11 years ago
John Crispin 3a64ddd0a1 ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04

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

SVN-Revision: 39237
11 years ago
John Crispin 9739a0b41b ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39163
11 years ago
John Crispin b4b0a55aab ralink: add mt7621 support
there are still various missing pieces for full support.

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

SVN-Revision: 39040
11 years ago
John Crispin 82e6242798 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38848
11 years ago
John Crispin dce9b292bf ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38823
11 years ago
Felix Fietkau 9aca892304 ramips: use dd bs=4096k instead of bs=4M to make it more portable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38806
11 years ago
Gabor Juhos 379b509362 ramips: enable building of TEW-692GR images
The TEW-692GR images are missing since r36169. Uncomment
the board specific macro in image/Makefile, in order to
generate those again.

Only build tested. No idea if the the image works or not,
I have bricked my TEW-692GR a few months ago.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38603
11 years ago
John Crispin 43de7c1cfa ralink: add support for 2 new mt7620 boards made by buffalo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38550
11 years ago
John Crispin e382d2c7e6 ralink: add support for the mt7530 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38345
11 years ago
John Crispin c903de043e ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38324
11 years ago
John Crispin c077698e38 ralink: build recovery images for dcs930 ip cam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38322
11 years ago
John Crispin 396cb4f405 ralink: Change size of image for DIR-320 B1 to 8MB
http://patchwork.openwrt.org/patch/4102/

Signed-off-by: Vladimir Stolyarov <xakep6666@yandex.ru>

SVN-Revision: 38263
11 years ago
John Crispin c0f6bf05f4 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38053
11 years ago
John Crispin 5722b32acf ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

SVN-Revision: 38040
11 years ago
Gabor Juhos 9330662208 ramips: use correct image size parameter for DIR-610 A1
Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37829
11 years ago
Gabor Juhos 0ebe286761 ramips: use correct parameters in the Seama template
Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37828
11 years ago
John Crispin dc7164d4ef ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37785
11 years ago
John Crispin 36e3424fa5 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37780
11 years ago
Gabor Juhos c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
11 years ago
John Crispin 169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
11 years ago
John Crispin ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
11 years ago
John Crispin 54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
11 years ago
John Crispin 0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
11 years ago
John Crispin 23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
11 years ago
John Crispin aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

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

SVN-Revision: 37635
11 years ago
John Crispin 046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
11 years ago
John Crispin 8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
11 years ago
John Crispin 04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
11 years ago
John Crispin 7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
11 years ago
John Crispin 9b2c7be0c4 ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!!

This patch shrink firmware part in mtd layout to exclude origin factory part, and  I will prepare another patch to fix the eeprom extract issue for box with origin u-boot.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37530
11 years ago
John Crispin 3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
11 years ago
John Crispin 0cc1e2acb4 ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them.

This patch is tested to work except trivial LED issues.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37505
11 years ago
John Crispin 6875316646 ramips: unbreak initramfs generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37080
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
11 years ago
John Crispin 55fb6f3a05 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37016
11 years ago
John Crispin fc9532aeaa ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

SVN-Revision: 36898
11 years ago
John Crispin 30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
11 years ago
John Crispin 65760ede8b ramips: unbreak rt2880 support
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36559
11 years ago
John Crispin cf3885eb0f ramips: introduce DTS for ALL5003
Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36435
11 years ago
John Crispin 7bfab6e308 ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.

There are two versions (Chile 8MB and Spain 16MB).

Wiki: http://wiki.openwrt.org/toh/alpha/asl26555

Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36433
11 years ago
John Crispin c7216d0cab ramips: Add support of D-link DIR-620D1
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36432
11 years ago
John Crispin e3003ea2a9 fix prepare_generic_squashfs
prepare_generic_squashfs was called twice on the generated images breaking mount_root

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

SVN-Revision: 36349
11 years ago
John Crispin a6424245e6 fix RT-N15 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36325
11 years ago
John Crispin 48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36289
11 years ago
John Crispin 93899a1329 add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/

Signed-off-by: Chi Zhang <zhangchi866@gmail.com>

SVN-Revision: 36176
11 years ago
John Crispin 37401dca92 Build WW factory image for DAP-1350
http://patchwork.openwrt.org/patch/3466/

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

SVN-Revision: 36174
11 years ago
John Crispin 910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 36173
11 years ago
John Crispin c1710901c5 add profile for the Edimax 3g-6200NL board
http://patchwork.openwrt.org/patch/3214/

Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net>

SVN-Revision: 36172
11 years ago
John Crispin c8d5f5e0ef add new image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36169
11 years ago
Gabor Juhos fe3df4b593 ramips: add profile and build image for the Upvel UR-326N4G board
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35972
11 years ago
Gabor Juhos a08646642e ramips: image: don't break make process if mkimage command fails
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35800
11 years ago
Jonas Gorski 1cd62d06ca ramips: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35721
11 years ago
Gabor Juhos 9ed81a91f3 ramips: build image for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35468
11 years ago
Gabor Juhos ed6d399f8d ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35246
11 years ago
Gabor Juhos f7a943694f ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35243
11 years ago
Gabor Juhos 6aebe6a65d ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35242
11 years ago
Gabor Juhos 60dde219d4 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35238
11 years ago
John Crispin f2f9332350 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35020
12 years ago
Gabor Juhos 6708d68c24 ramips: build firmware image for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34927
12 years ago
Gabor Juhos 76537041eb ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34924
12 years ago
John Crispin c2ae0ec02a add support for Hauppauge Broadway
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway
platform.  It doesn't deal with the TV tuner or transcoder at this point,
but the core functionality is working (Ethernet, wireless, USB, buttons,
LEDs, etc).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>

SVN-Revision: 34595
12 years ago
Gabor Juhos e0e43655ce ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34445
12 years ago
Gabor Juhos 44131bd785 ramips: rt305x: add profile and build image for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34407
12 years ago
John Crispin dd8c625424 previous commit pushed 1 file too many ;)
SVN-Revision: 34179
12 years ago
John Crispin ced0cf3a94 move ethernet hw init to init/uninit functions
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.

SVN-Revision: 34177
12 years ago
Gabor Juhos 6ca2970e4b ramips: add profile and build image for the TEW-691GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33852
12 years ago
Gabor Juhos 462a53c367 ramips: add profile and build image for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33849
12 years ago
Gabor Juhos bf9ae9432b ramips: add profile and build image for the DIR-645 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33845
12 years ago
Gabor Juhos d832cd11f8 ramips: add image for ALL0256N-8M
The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.

[juhosg: change suffix from '8m' to '8M']

Patch by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33614
12 years ago
Gabor Juhos 1617f226a9 ramips: Add support for 8devices Carambola dev board.
Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33303
12 years ago
Gabor Juhos cebaa557be ramips: fix board parameter for the NBG-419N (#12061)
SVN-Revision: 33229
12 years ago
Gabor Juhos 67e6461ad7 ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33206
12 years ago
Gabor Juhos 89606b61b1 ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33205
12 years ago
Gabor Juhos 615a619bc7 ramips: provide means to specify custom "image name" for uImages, use for DIR-620
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33143
12 years ago
Gabor Juhos 9365113040 ramips: add D-Link DIR-620 A1 support
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.

Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33142
12 years ago
John Crispin 799d6deab0 D-Link DAP-1350 initial support
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32821
12 years ago
John Crispin a65eee9ac3 add image build for ALL5002
add image build for ALL5002

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32814
12 years ago
Gabor Juhos 372945185d ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>

SVN-Revision: 32682
12 years ago
Gabor Juhos 833b4af816 ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w

Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>

SVN-Revision: 32450
12 years ago
Gabor Juhos b0449ccf04 ramips: W306R V2.0 - GPIO and Network fixes
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>

SVN-Revision: 31557
12 years ago
Gabor Juhos 90e99b9fe8 ramips: Make serial console for DIR-300-B1 work again
Make serial console for DIR-300-B1 work again.

With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.

Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 31556
12 years ago
Gabor Juhos 8e06682fb7 ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31507
12 years ago
Gabor Juhos 1ab80c7817 ramips: rt305x: add support for the UR-336UN board
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31451
12 years ago
Gabor Juhos 3626444c6d ramips: rt305x: add support for the Asus WL-330N3G board
This patch adds support for the ASUS WL-330N3G

Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.

The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.

r = led is red
b = led is blue
0 = led is off

xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness

initial state	action	 led	gpio state

r0	b0	r0->r1	 r  	r0	b0
r0	b0	b0->b1   b	r0	b1

r1	b0	r1->r0	 0	r0	b0
r1	b0	b0->b1	 r	r1	*b1*

r1	b1	r1->r0   b	r0	b1
r1	b1	b1->b0   r	r1	b0

r0	b1	r0->r1   r	r1	*b1*
r0	b1	b1->b0   0	r0	r0

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31450
12 years ago
Gabor Juhos 818aeba960 ramips: rt3883: add profile and build sysupgrade image for the RT-N56U
SVN-Revision: 31399
12 years ago
Gabor Juhos ced031a0b2 ramips: build initramfs image for the Fonera 2.0N
SVN-Revision: 31397
12 years ago
Gabor Juhos fc88a363c0 ramips: rt305x: add initial support for Tenda W306R V2.0
More device info at: http://wiki.openwrt.org/toh/tenda/w306r

Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]

SVN-Revision: 31396
12 years ago
Jo-Philipp Wich e9c4d3d1f2 ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
SVN-Revision: 31144
12 years ago
Gabor Juhos d495277d9f ramips: rt305x: build image for the DIR-615 rev D boards
Patch from #10105.

SVN-Revision: 31101
12 years ago
Gabor Juhos e4e24c5512 ramips: rt305x: add add support for the Asus WL-330N board
[juhosg: reorder several lines in order to keep things sorted
alphabetically]

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31100
12 years ago
Gabor Juhos 6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
12 years ago
Gabor Juhos 0e486d2fd2 ramips: add support for unbranded XDX-RN502J board
This patch adds support for routers using a PCB marked XDX-RN502J
V2.0, such as some unbranded routers like this:

http://www.mediafire.com/?8acv87h6snn9fj6
http://www.mediafire.com/?do7xonw7scor4kn
http://www.mediafire.com/?1ad49zvx3e7jyix
http://www.mediafire.com/?i46cqiq66maa197

http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html

some reports also state the Aceex 22Y uses the same board.

more information can be found in the following openwrt forum post
https://forum.openwrt.org/viewtopic.php?id=34878

[juhosg: fix checkpatch warnings, use the GENERIC_4M template]

Signed-off-by: bruno schwander <bruno@tinkerbox.org>

SVN-Revision: 30809
12 years ago
Gabor Juhos 44c8b396f9 ramips: board support for Asus RT-N10+
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]

Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>

SVN-Revision: 30808
12 years ago
Gabor Juhos 6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
12 years ago
Gabor Juhos 9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
12 years ago
Gabor Juhos 7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
12 years ago
Gabor Juhos c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
12 years ago
Gabor Juhos 507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
12 years ago
Gabor Juhos 5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
12 years ago
Gabor Juhos 49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
12 years ago
Gabor Juhos 00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
12 years ago
Gabor Juhos 554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
12 years ago
Gabor Juhos 32c6d63acf ramips: image: use the GENERIC_4M template for the V11ST-FE board
SVN-Revision: 30698
12 years ago
Gabor Juhos ab65053cf0 ramips: image: simplify Makefile a bit
SVN-Revision: 30697
12 years ago
Gabor Juhos 9017fce3a2 ramips: image: add MkImageLzma wrapper
SVN-Revision: 30696
12 years ago
Gabor Juhos c9d8f471fc ramips: image: allow to build board specific initramfs images
SVN-Revision: 30695
12 years ago
Gabor Juhos de6405c898 ramips: rt288x: nuke built-in MTD partition maps
SVN-Revision: 30649
12 years ago
Gabor Juhos e7f59b9326 ramips: build sysupgrade image for the V11ST-FE board
SVN-Revision: 30648
12 years ago
Gabor Juhos 3489515a7e ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]

Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>

SVN-Revision: 30645
12 years ago
Gabor Juhos 22ec8b4839 ramips: use GENERIC_{4,8}M image template for WR5123GN
SVN-Revision: 30483
12 years ago
Gabor Juhos b7f129e19b ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
12 years ago
Gabor Juhos 9cde29f1a7 ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19.

This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210

It's also worth noting that this board has a GPIO line to control the
power to the USB port.

[juhosg:
 - fix checkpatch warnings,
 - reorder Kconfig entry,
 - merge the sysupgrade patch,
 - add GPL header]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 30434
12 years ago
Gabor Juhos b3fdd931d1 ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.

There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.

Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt

[juhosg: reordered some parts in order to keep things sorted
alphabetically]

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 29910
12 years ago
Gabor Juhos 02e77c6ae1 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29884
12 years ago
Gabor Juhos 244c322d25 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29617
13 years ago
Gabor Juhos 98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
13 years ago
Gabor Juhos 723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
13 years ago
Gabor Juhos 7b1e525b56 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 29604
13 years ago
Gabor Juhos 2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
13 years ago
Gabor Juhos 0c38d36488 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

SVN-Revision: 29533
13 years ago
Gabor Juhos 62d18e9f9a ramips: fix Asus RT-N15 board support
Fix Asus RT-N15 flash partitions and make an image.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29381
13 years ago
Gabor Juhos 2dd79d55c7 ramips: Sparklan wcr-150gn board fixes
* Fix partition sizes.
 * Add buttons and leds.
 * Register usb.
 * Remove unnecessary stuff from image Makefile
 * Fix rt2x00 eeprom extract.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29380
13 years ago
Vasilis Tsiligiannis 17ccd4aec4 rt305x: Create factory image for Fonera 2.0n
SVN-Revision: 28689
13 years ago
Gabor Juhos ee8077f0fe ramips: Support for NexAira BC2
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]

Signed-off-by: Adam Porter <porter.adam at gmail.com>

SVN-Revision: 28571
13 years ago
Gabor Juhos 72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
13 years ago
Gabor Juhos 6720025497 ramips: rt305x: fix wr512n image generation
SVN-Revision: 28053
13 years ago
Gabor Juhos 9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
13 years ago
Gabor Juhos a3c7e71ae1 ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27991
13 years ago
Gabor Juhos ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
13 years ago
Gabor Juhos 437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
13 years ago
Gabor Juhos 3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
13 years ago
Gabor Juhos 857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
13 years ago
Gabor Juhos 57663ce25b ramips: fix PWH2004 image generation
SVN-Revision: 27803
13 years ago
Gabor Juhos abb1ca01a7 ramips: fix buffalo image generation
SVN-Revision: 27495
13 years ago
Gabor Juhos 2cc346b8e0 ramips: create tftp image for the WHR-G300N board
SVN-Revision: 27476
13 years ago
Gabor Juhos 0dc18d8586 ramips: create factory image for the WHR-G300N board
SVN-Revision: 27474
13 years ago
Gabor Juhos e9c8218375 ramips: create factory image for DIR-300-B1
SVN-Revision: 27439
13 years ago
Gabor Juhos 6f54df889a ramips: check the size of the uImage in image generation
SVN-Revision: 27388
13 years ago
Gabor Juhos 575a5286c8 ramips: use lowercase partiion names on the WCR150GN board
SVN-Revision: 27387
13 years ago
Gabor Juhos 31facf0b75 ramips: use different partition names in the DIR-300-B1 image
SVN-Revision: 27386
13 years ago
Gabor Juhos e70e6f6848 ramips: swap target check in image generation
SVN-Revision: 27379
13 years ago
Gabor Juhos d5a7e2f5c1 ramips: initial board support for MOFI3500-3GN
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG).  This
router is basically the NA version of the HW550-3G.

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26466
13 years ago
Gabor Juhos 23518bb2e4 ramips: initial board support for Aztech HW550-3G
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram).  Ethernet is not working yet.
Wireless appears to work fine.  USB does not work yet (as with other
Ralink boards).

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26123
13 years ago
Gabor Juhos 21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24126
14 years ago
Gabor Juhos e5b081335e ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)
The attached patch adds a preliminary support for Prolink PWH2004 board
(Ralink RT305x based). LAN and flash appear to work. However, the USB
port and WLAN I have not managed to activate properly yet, but that
problem appears to be present with other rt305x targets as well(?).

Signed-off-by: Esa Hyytia <esa at netlab.tkk.fi>

SVN-Revision: 23129
14 years ago
Gabor Juhos 462dabc7f5 ramips: add support for Sparklan WCR-150GN board
This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22658
14 years ago
Florian Fainelli 781c091ea5 fix jffs2 64k and 128k images overwrite each other
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22435
14 years ago
Nicolas Thill 3162bc1ecf target/ramips: fix another typo from [20834] (closes: #7182)
SVN-Revision: 21012
14 years ago
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
14 years ago
Gabor Juhos b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
14 years ago
Gabor Juhos 051c44e0c5 initial support for RT288x/RT305x
SVN-Revision: 17439
15 years ago