Commit Graph

93 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Mathias Kresin e0b9ec8e96 treewide: drop target board_name functions
They are not used any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
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
Mathias Kresin ac3e05c5d7 treewide: populate boardname and model earlier
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Michael Heimpold f788fd0fd3 mxs: drop 4.4 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years ago
Michael Heimpold 9eb68f020b mxs: add support for 4.9 and switch over
I did not port the regulator and power patches from Stefan Wahren
because I talked to him and he told me that work on this is currently
stalled. And since AFAIK nothing depends on these patches, leaving them
out seems reasonable.

I build minimum default configurations and run-tested them on both
I2SE Duckbill devices and Olimex Olinuxino Maxi boards successfully [1].

[1] Tested:
- debug uart is working
- boot without any obvious kernel problem
- network is coming up and data transfer is possible
- Olinuxino: USB detects a plugged-in pen drive

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
[refreshed config and patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Felix Fietkau e690280a16 mxs: enable nvmem support
fixes build error due to missing kernel config options

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Michael Heimpold 8af38c7001 mxs: remove stale references to obsolete kernel module packages
Commit 29443e2 (mxs: remove modules.mk, select drivers in the kernel config)
missed to remove these references, so cleanup it now.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years ago
Jo-Philipp Wich e0579aecf8 mxs: put u-boot images into image staging directory
Do not put the u-boot images into the kernel build directory as this directory
might get removed after kernel updates while the u-boot packages InstallDev
recipe is not getting re-executed because it is still considered current,
leading to image build failures later on due to missing images.

To ensure that built bootloader images persist over kernel version updates in
the buildroot, put them into the new STAGING_DIR_IMAGE directory.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years ago
Felix Fietkau 07c9bde0da mxs: fix image build issues
stage u-boot images in KERNEL_BUILD_DIR for building images
always select uboot-mxs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 8935689a8e mxs: gzip ext4 images
Significantly reduces disk usage

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 29443e2c94 mxs: remove modules.mk, select drivers in the kernel config
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 915d7db9bd mxs: remove obsolete kernel package depending on linux 3.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 64be6fe9ca mxs: enable the chipidea usb driver in the kernel config instead of packaging it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Álvaro Fernández Rojas 87b2b89959 tools: remove old mkdosfs symlink from dosfstools
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Felix Fietkau 2b4d21a3e6 mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau b9c6361d5f mxs: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin dc92917409 image / basefiles: make console password configurable
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Hauke Mehrtens e9d7ee4f41 kernel: update kernel 4.4 to version 4.4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48933
8 years ago
Hauke Mehrtens cb04b8d582 kernel: update kernel 4.4 to version 4.4.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48783
8 years ago
Zoltan Herpai 83b62a56db mxs: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48561
8 years ago
Zoltan Herpai e6b554bbb2 mxs: enable regulator in 4.4 config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48560
8 years ago
Zoltan Herpai 4668d7c572 mxs: forward-port regulator patches into 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48559
8 years ago
Zoltan Herpai 06bcc64f1f mxs: initial 4.4 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48377
8 years ago
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
9 years ago
Jo-Philipp Wich 08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
9 years ago
Jo-Philipp Wich dc4b0037ab mxs: convert from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
9 years ago
Jo-Philipp Wich 74f4f519e5 mxs: fixup permissions of image generation scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47029
9 years ago
Zoltan Herpai ce59fe6b3d mxs: re-work SD card image generation
- Duckbill uses a different partitioning approach than standard
  FSL and Olimex
- use new sdimage to integrate U-Boot into the SD card images

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

SVN-Revision: 47021
9 years ago
Zoltan Herpai e4eb8a4145 mxs: adopt SD card generation to fixed U-Boot path
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47019
9 years ago
Jonas Gorski caa73eb95c kernel: update 4.1 to 4.1.4
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[jogo: fix brcm2708 patches, refresh target patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46560
9 years ago
Zoltan Herpai 45dc304046 mxs: switch to 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46526
9 years ago
Zoltan Herpai 202e746726 mxs: add support for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46525
9 years ago
Zoltan Herpai 9520383587 mxs: build sound-soc-mxs only on 3.18 for now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46524
9 years ago
Jonas Gorski 9a59b350b7 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

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

SVN-Revision: 46011
9 years ago
Jo-Philipp Wich 82aa281d61 mxs: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45815
9 years ago
Jonas Gorski 76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

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

SVN-Revision: 45711
9 years ago
Zoltan Herpai 4fd21b203e mxs: reinstate rootfs image creation and dtb copy
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 45369
9 years ago
Zoltan Herpai db4ce3d16c mxs: Include the right kernel image in the rootfs
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 45368
9 years ago
Felix Fietkau 130acd0f4c mxs: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45088
9 years ago
Zoltan Herpai 19db04e699 mxs: update dtb path in image Makefile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45056
9 years ago
Zoltan Herpai a077e4af96 mxs: bump to 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45053
9 years ago
Zoltan Herpai 01748fbce2 mxs: add sdcard image builder
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45052
9 years ago
Zoltan Herpai 39370cbe25 mxs: enable uboot-mxs-duckbill build for duckbill profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45044
9 years ago
Zoltan Herpai 1f26498751 mxs: add 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45041
9 years ago
John Crispin f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
9 years ago
John Crispin 7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44611
9 years ago
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
10 years ago
John Crispin aa697f1313 mxs: indention and whitespace fixes
Align this file with the style of most other modules.mk.

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

SVN-Revision: 43680
10 years ago
Zoltan Herpai 92cf73cf11 mxs: allow bootloader to pass kernel cmdline
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43657
10 years ago
Zoltan Herpai a1467fb73b mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43656
10 years ago