Commit Graph

52 Commits

Author SHA1 Message Date
Florian Fainelli
4147bca9ac adm8668: revert changeset 34554
The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.

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

SVN-Revision: 42170
2014-08-16 18:09:31 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
Hauke Mehrtens
f5e5477c81 kernel: modify mtd related patches for 3.14
The change is the same as ("kernel/generic: modify mtd related
patches"). Since these files are under files directory, not a files
directory of specific kernel version, better to also change them. So
it will avoid adding files to future specific files directory
(e.g. files-3.14) for this mtd related change.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40732
2014-05-08 21:52:04 +00:00
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
2013-06-27 19:58:31 +00:00
John Crispin
831c7ea04f preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Florian Fainelli
deeeb5f671 create Linksys WRTU54G-TM profile
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34572
2012-12-07 18:02:31 +00:00
Florian Fainelli
8236584b13 rename interrupt number constants
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34566
2012-12-06 22:41:14 +00:00
Florian Fainelli
f1e4da0389 remove the now deprecated /proc/adm8668 interface
Proper gpiolib support is hooked instead.

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

SVN-Revision: 34565
2012-12-06 22:41:09 +00:00
Florian Fainelli
849662a8ec add a gpiolib driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34564
2012-12-06 22:41:04 +00:00
Florian Fainelli
78b235cfc3 do not reset WAN and LAN blocks
This is taken care of by the tulip driver accordingly.

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

SVN-Revision: 34563
2012-12-06 22:40:58 +00:00
Florian Fainelli
b3f36553cc enable and advertise USB support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34562
2012-12-06 22:40:54 +00:00
Florian Fainelli
a5aed4ec3a add support for on-board EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34561
2012-12-06 22:40:49 +00:00
Florian Fainelli
88f6bf64cf remove the "old" tulip forked driver
We can now use the mainline tulip driver.

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

SVN-Revision: 34559
2012-12-06 22:40:40 +00:00
Florian Fainelli
40ab1facd2 use the tulip platform driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34558
2012-12-06 22:40:36 +00:00
Florian Fainelli
445e77fdb5 patch the tulip driver to accept a platform variant
Isolate the PCI specific parts and group them under CONFIG_TULIP_PCI
CONFIG_TULIP_PLATFORM can be enabled for a platform style Tulip driver.

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

SVN-Revision: 34557
2012-12-06 22:40:31 +00:00
Florian Fainelli
b1f1381c27 move clock frequencies into clock driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34556
2012-12-06 22:40:26 +00:00
Florian Fainelli
1232f91efb replace the custom mtd driver with a partition parser
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34554
2012-12-06 22:40:17 +00:00
Florian Fainelli
b516c8d89d cleanup PCI controller code
At some point we should make the ADM5120 PCI controller driver a real
platform driver and share that one between the two targets.

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

SVN-Revision: 34553
2012-12-06 22:40:12 +00:00
Florian Fainelli
1ed763b888 cleanup and make interrupt code more robust
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34552
2012-12-06 22:40:02 +00:00
Florian Fainelli
47ccbaaa91 remove frequency from /proc/cpuinfo
This is not the place to expose it and duplicates code reading the
system frequency.

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

SVN-Revision: 34551
2012-12-06 22:39:57 +00:00
Florian Fainelli
e37f6fb458 provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34550
2012-12-06 22:39:52 +00:00
Florian Fainelli
79c2ce01b7 get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34549
2012-12-06 22:39:47 +00:00
Florian Fainelli
afc2b07be1 get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34548
2012-12-06 22:39:43 +00:00
Florian Fainelli
2dee2133c5 implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34547
2012-12-06 22:39:33 +00:00
Florian Fainelli
f85115efd8 simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34546
2012-12-06 22:39:27 +00:00
Florian Fainelli
50303d52e2 use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34545
2012-12-06 22:39:22 +00:00
Florian Fainelli
192c1e90bc move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34544
2012-12-06 22:39:18 +00:00
Florian Fainelli
1f939889ca move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34543
2012-12-06 22:39:08 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
1a0ef04231 adm8668: merge 3.3 fixes
SVN-Revision: 31497
2012-04-28 10:41:43 +00:00
Gabor Juhos
87ae19eaa3 adm8668: nuke 2.6.36 support
SVN-Revision: 31496
2012-04-28 10:39:47 +00:00
Gabor Juhos
9a7e9e76a3 adm8668: switch to 3.3
SVN-Revision: 31495
2012-04-28 10:38:53 +00:00
Gabor Juhos
d8c7ac8a8a adm8668: add support for 3.3
SVN-Revision: 31480
2012-04-25 18:53:49 +00:00
Gabor Juhos
7f09ba740a adm8668: build gzip compressed uImage for testing
SVN-Revision: 31479
2012-04-25 18:53:48 +00:00
Gabor Juhos
15d641eee1 adm8668: use a suffix for initramfs images
SVN-Revision: 31478
2012-04-25 18:53:46 +00:00
Florian Fainelli
dcbeaed9a0 mark variables as might be unused
SVN-Revision: 30787
2012-03-02 13:23:38 +00:00
Florian Fainelli
2dc1c8ac70 remove unused variables and defines
SVN-Revision: 30786
2012-03-02 13:23:35 +00:00
Florian Fainelli
de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Florian Fainelli
45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Florian Fainelli
cc8228dbc6 fix firstboot with new MTD map driver
my-mkimage previously did not include the fs_mark of deadc0de because
upon formatting of jffs2 partition, U-Boot's CRC validation would not
allow the image to boot. This new MTD map will shrink the
kernel+rootfs+fs_mark image and recalculate the CRC, so that only the
kernel is part of the image validation. This also improves boot time,
since less is copied from FLASH->RAM. This is mostly from brcm47xx,
just with u-boot image vs TRX partitions.

Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us>

SVN-Revision: 25176
2011-01-27 21:50:00 +00:00
Florian Fainelli
a5adea5c2a clean up mach-adm8668 includes
This patch cleans up the include directory, as they were from vendors
2.4 GPL source. Now only what's used is there.

Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us>

SVN-Revision: 25175
2011-01-27 21:49:56 +00:00
Hauke Mehrtens
b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00