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
23 lines
507 B
Makefile
23 lines
507 B
Makefile
#
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
BOARD:=malta
|
|
BOARDNAME:=MIPS Malta CoreLV board (qemu)
|
|
CPU_TYPE:=24kc
|
|
SUBTARGETS:=le be #le64 be64
|
|
INITRAMFS_EXTRA_FILES:=
|
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
|
|
|
KERNEL_PATCHVER:=4.4
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim kmod-pcnet32
|
|
|
|
$(eval $(call BuildTarget))
|