Commit Graph

196 Commits (5a8e9846af689be7bc3b1fb4a356c3e3c711b94a)

Author SHA1 Message Date
Jonas Gorski 6f528dfbd9 treewide: do not use IMG_PREFIX in Image/Prepare
IMG_PREFIX can be modified in ImageBuilder by passing EXTRA_IMAGE_NAME
on command line, but Image/Prepare is not run in ImageBuilder. This
causes missing files when IMG_PREFIX is used for target file names in
Image/Prepare, then as source file names in Image/BuildKernel or
Image/Build.

Fix this by using a fixed output file name in Image/Prepare, and copy to
the expected file name in Image/BuildKernel instead, which is run by
ImageBuilder.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 years ago
Hauke Mehrtens 0d5c1d7f23 malta: activate some more standard kernel features
These options where deactivated in the malta kernel, take the default
options form the generic kernel configuration now to better match the
other targets.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 19f0c7d11c malta: upgrade to kernel 4.9
This brings the MIPS malta target to kernel 4.9.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 8fa9b2ce89 malta: add 64 bit qemu commands to README
This shows how to boot up the 64 bit images.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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
Yousong Zhou 6c9345bd8c malta: restore "be" subtarget from being source-only
The malta "be" and "le" subtargets share the arch with many devices of
ar71xx and ramips.  They can be handy for testing, debugging, trying
both snapshot and release builds.

This commit makes the "be" subtarget part of the ci and release builds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years ago
Felix Fietkau f781c8e11e malta: mark as source-only to avoid wasting build resources
The le64 and be64 subtargets do not share a package architecture with
any other targets, so they are pretty wasteful for a development-only
target.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 59a3108188 malta: move FEATURES to the target makefile
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau bfdc56d3a2 build: remove mips16 feature flag from target makefiles
It can be implicitly derived from the MIPS32 revision support in the
kernel configuration

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau d2424d4b21 malta: remove hack to determine entry point
Malta has CONFIG_BOOT_RAW set, so jumping to the load address is valid

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
Florian Fainelli e3358b2cc1 malta: Fix README file examples
The example command-lines used references and paths from an older directory
structure.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years ago
Yousong Zhou 12cdf2bfc2 malta: enable be64 and le64 subtargets
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Dirk Neukirchen c25541c024 malta: remove NAMESPACES config symbols
they are available in config/Config-kernel.in

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Dirk Neukirchen 3ef433c2c0 malta: remove unneeded 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
Jo-Philipp Wich e885286834 target: globally remove ARCH_PACKAGES overrides
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Hauke Mehrtens 683c046673 kernel: add missing config options
The buildbots complained about these config options being missing for arm64:
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48929
8 years ago
Felix Fietkau 1923d63318 malta: move to 4.4 kernel
Linux now has device tree support for malta.  The patch for correcting
/proc/iomem content is not needed now.  Previously it was

    root@(none):/# cat /proc/iomem
    00000000-00000fff : reserved
    00001000-000effff : System RAM
    000f0000-000fffff : reserved
    00100000-0fffefff : System RAM
      00100000-003f2b6b : Kernel code
      003f2b6c-00485937 : Kernel data
    ...

Now it's

    root@OpenWrt:/# cat /proc/iomem
    00000000-0fffefff : System RAM
      00100000-004a3297 : Kernel code
      004a3298-0057cfff : Kernel data
    ...

The kernel config was prepared as follows

 1. cp target/linux/malta/config-{3.18,4.4}
 2. make kernel_menuconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 48543
8 years ago
Felix Fietkau 57776e68ce base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48493
8 years ago
Felix Fietkau 67877462a2 malta: fix generating network configuration
With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 48076
9 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 03292739e0 malta: board.d: fix typo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47746
9 years ago
Jo-Philipp Wich 60dbff6a5f malta: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47741
9 years ago
Felix Fietkau faabe8e8e6 malta: make eth0 the wan interface by default
Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47326
9 years ago
Felix Fietkau 8ddca59465 malta: use as a default type device
There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47325
9 years ago
Felix Fietkau c5c2eb5fd6 malta: set CPU_TYPE:=24kc.
There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47324
9 years ago
Jonas Gorski 6920a664e8 malta: disable the openwrt commandline hack
We don't make use of it, so no need to have it enabled.

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

SVN-Revision: 46758
9 years ago
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
John Crispin 9c4cdf76c6 malta: add harddisk support
works with:
qemu-system-mipsel -M malta \
-hda openwrt-malta-le-root.ext4 \
-kernel openwrt-malta-le-vmlinux.elf \
-nographic -append "root=/dev/sda console=ttyS0"

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46269
9 years ago
John Crispin 6938dac23b malta: add default network configuration
I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 45857
9 years ago
Jo-Philipp Wich 282894a407 malta: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45804
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
Imre Kaloz af69bf56b6 drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45002
9 years ago
John Crispin 54f1c710db malta: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44813
9 years ago
John Crispin fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

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

SVN-Revision: 44613
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
Jonas Gorski 3139140339 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs
Most MIPS targets have it disabled, so move the symbol to the generic
configs to keep target configs small.

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

SVN-Revision: 44583
9 years ago
John Crispin 91c07334d8 generic: improve kexec support of MIPS.
- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44429
9 years ago
John Crispin 96ab322414 malta: add config file for kernel 3.19.
This is based on config-3.18 with the following changes.

 - CONFIG_GENERIC_NET_UTILS is removed as it is already set in generic
   kernel config.
 - CONFIG_CPU_MICROMIPS is explicitly unset as required in kernel 3.19.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44388
9 years ago
John Crispin 6fd1e60748 malta: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44342
9 years ago
John Crispin 7af8f152dd malta: disable 64 builds as the userland has been broken for ages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44341
9 years ago
John Crispin 650a71bcf8 malta: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44340
9 years ago
Imre Kaloz 4f06ba0727 malta: copy initramfs images
Malta ramdisk images are no longer copied to output due to a recent change.
This change reimplements copying of ramdisk images for Malta builds.

Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>

SVN-Revision: 43970
9 years ago
Felix Fietkau 7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43842
10 years ago
John Crispin 374f8a04e1 malta: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43481
10 years ago
Luka Perkov 201af1b219 malta: add more 3.14 kernel symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43435
10 years ago
Luka Perkov d11aefc8eb malta: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43426
10 years ago
Luka Perkov eef7c35952 malta: drop 3.12 config file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43425
10 years ago