Commit Graph

19 Commits (5a8e9846af689be7bc3b1fb4a356c3e3c711b94a)

Author SHA1 Message Date
Mathias Kresin e4e984f2a0 treewide: use only board_name function to get name
Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree
compatible string directly. Always use the board_name function to get
the board name.

The admswconfig package still reads /proc/cpuinfo directly. The code
looks somehow broken and the whole adm5120 which uses this package
looks unmaintained. Leave it as it is for now.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Stijn Tintel 880f73c327 kernel: cleanup CONFIG_SCHED_HRTICK
Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the
generic config in b47fd76563.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Felix Fietkau 0b7ed65cec kernel: remove out of tree direct-io disable hack
Direct-IO support has to be enabled for the release build anyway, so
this hack is not worth keeping

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 9467ce42da build: get rid of host.mk
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 01d9527357 kernel: remove DEVTMPFS platform overrides
Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau c2fc52ae22 kernel: remove DEVMEM/DEVKMEM platform overrides
Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Jo-Philipp Wich 27dc933827 zynq: fix maintainer email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich a1248daddf zynq: convert to new image build code
Convert the Zynq target to use the new image build code in order to fix
broken image generation after 9945a1dca5
changed the handling of CPIO images.

Also remove the misapplied ubifs feature flag since the image generation is
not using UBIFS for building FIT images.

As part of the conversion, move the DTB building and the uImage ramdisk
generation into separate build steps which can be generalized and shared
with other targets, like APM821xx, in the long run.

Also remove the legacy profile declarations and use new-style per-device
profiles which will allow different package sets per image in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 9945a1dca5 build: remove cpio.gz and tar.gz from regular filesystem types
They are not used to produce regular firmware images anyway. Instead,
call their build templates directly if enabled in the config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 8e2764ce9b image.mk: clean up redundant code related to DEVICE_DTS
It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Dirk Neukirchen ac765cfdc8 zynq: remove unneeded _DIAG and _XFRM symbols
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Felix Fietkau 638a5682e1 kernel: remove bogus CONFIG_LOG_BUF_SHIFT overrides
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
John Crispin be1985471e zynq: Add Zybo device support
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

SVN-Revision: 49257
8 years ago
John Crispin 869d3adc37 Zynq: Add Zedboard device support
Tested-by: Joe Zhang <jz21082@gmail.com>
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

SVN-Revision: 49256
8 years ago
John Crispin b37ea8c776 zynq: Remove rdinit patch
This is not required as long as CONFIG_TARGET_INIT_CMD is correctly
configured.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

SVN-Revision: 49255
8 years ago
John Crispin 7f64d9a0cb zynq: Simplify boot-img build
by adding Device/DefaultConfig macro to define the dts and device in
lower case.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

SVN-Revision: 49077
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
John Crispin 2d45ad07fc zynq: add new target
Add support for Xilinx ZC702 Dev board

Zynq target is using 4.4 kernel and mainline 2016.1 u-boot.

Patch is tested with Xilinx ZC702 Dev board with SD boot mode.

known issues:
 - no QSPI driver in 4.4 kernel: no QSPI flash support
 - USB is not working in 4.4 kernel

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

 create mode 100644 package/boot/uboot-zynq/Makefile
 create mode 100644 target/linux/zynq/Makefile
 create mode 100644 target/linux/zynq/base-files.mk
 create mode 100755 target/linux/zynq/base-files/etc/board.d/02_network
 create mode 100644 target/linux/zynq/base-files/etc/config/network
 create mode 100644 target/linux/zynq/base-files/etc/inittab
 create mode 100644 target/linux/zynq/config-4.4
 create mode 100644 target/linux/zynq/image/Makefile
 create mode 100755 target/linux/zynq/image/mkits.sh
 create mode 100644 target/linux/zynq/patches-4.4/0001-arm-dts-zynq-zc702.dts-Set-default-rdinit-to-sbin-in.patch
 create mode 100644 target/linux/zynq/profiles/zc702.mk

SVN-Revision: 48697
8 years ago