Commit graph

93 commits

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>
2017-07-15 23:13:34 +02:00
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>
2017-07-15 23:13:34 +02:00
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>
2017-07-15 23:13:34 +02:00
Michael Heimpold
f788fd0fd3 mxs: drop 4.4 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-06-27 23:22:25 +02:00
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>
2017-06-27 23:22:25 +02:00
Felix Fietkau
e690280a16 mxs: enable nvmem support
fixes build error due to missing kernel config options

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-02-10 11:05:57 +01:00
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>
2017-01-28 20:29:00 +01:00
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>
2017-01-27 16:53:31 +01:00
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>
2017-01-25 07:48:43 +01:00
Felix Fietkau
8935689a8e mxs: gzip ext4 images
Significantly reduces disk usage

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-13 16:59:28 +01:00
Felix Fietkau
29443e2c94 mxs: remove modules.mk, select drivers in the kernel config
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-10 12:10:20 +01:00
Felix Fietkau
915d7db9bd mxs: remove obsolete kernel package depending on linux 3.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-10 12:10:20 +01:00
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>
2017-01-10 12:10:20 +01:00
Álvaro Fernández Rojas
87b2b89959 tools: remove old mkdosfs symlink from dosfstools
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-10-12 11:59:09 +02:00
Felix Fietkau
2b4d21a3e6 mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +02:00
Felix Fietkau
b9c6361d5f mxs: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 17:52:55 +02:00
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>
2016-04-18 21:53:07 +02:00
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
2016-03-05 17:51:37 +00:00
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
2016-02-25 21:54:39 +00:00
Zoltan Herpai
83b62a56db mxs: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48561
2016-01-30 12:13:21 +00:00
Zoltan Herpai
e6b554bbb2 mxs: enable regulator in 4.4 config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48560
2016-01-30 12:12:57 +00:00
Zoltan Herpai
4668d7c572 mxs: forward-port regulator patches into 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48559
2016-01-30 12:05:49 +00:00
Zoltan Herpai
06bcc64f1f mxs: initial 4.4 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48377
2016-01-19 22:05:05 +00:00
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
2015-12-11 15:26:06 +00:00
Jo-Philipp Wich
08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
2015-12-04 11:07:06 +00:00
Jo-Philipp Wich
dc4b0037ab mxs: convert from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
2015-12-03 23:07:53 +00:00
Jo-Philipp Wich
74f4f519e5 mxs: fixup permissions of image generation scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47029
2015-09-23 18:40:42 +00:00
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
2015-09-21 21:10:43 +00:00
Zoltan Herpai
e4eb8a4145 mxs: adopt SD card generation to fixed U-Boot path
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47019
2015-09-21 21:05:16 +00:00
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
2015-08-05 13:55:14 +00:00
Zoltan Herpai
45dc304046 mxs: switch to 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46526
2015-07-31 12:25:35 +00:00
Zoltan Herpai
202e746726 mxs: add support for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46525
2015-07-31 12:22:12 +00:00
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
2015-07-31 11:58:24 +00:00
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
2015-06-17 09:54:55 +00:00
Jo-Philipp Wich
82aa281d61 mxs: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45815
2015-05-29 08:42:50 +00:00
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
2015-05-21 19:32:46 +00:00
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
2015-04-10 21:36:33 +00:00
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
2015-04-10 21:34:21 +00:00
Felix Fietkau
130acd0f4c mxs: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45088
2015-03-28 13:21:04 +00:00
Zoltan Herpai
19db04e699 mxs: update dtb path in image Makefile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45056
2015-03-27 02:35:11 +00:00
Zoltan Herpai
a077e4af96 mxs: bump to 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45053
2015-03-26 23:35:50 +00:00
Zoltan Herpai
01748fbce2 mxs: add sdcard image builder
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45052
2015-03-26 23:34:43 +00:00
Zoltan Herpai
39370cbe25 mxs: enable uboot-mxs-duckbill build for duckbill profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45044
2015-03-26 23:04:27 +00:00
Zoltan Herpai
1f26498751 mxs: add 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45041
2015-03-26 22:18:47 +00:00
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
2015-03-06 07:56:34 +00:00
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
2015-03-06 07:55:57 +00:00
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
2014-12-15 10:37:00 +00:00
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
2014-12-13 08:06:22 +00:00
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
2014-12-12 13:37:21 +00:00
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
2014-12-12 13:18:29 +00:00