1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
DESCRIPTION = "Linux kernel for OpenZaurus PXA processor based devices."
SECTION = "kernel"
LICENSE = "GPLv2"
PV = "2.4.18-rmk7-pxa3-embedix"
PR = "r46"
KV = "2.4.18"
RMKV = "7"
PXAV = "3"
SHARPV = "20031107"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/openzaurus-pxa-${KV}-rmk${RMKV}-pxa${PXAV}-embedix${SHARPV}"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2;name=kernel \
ftp://ftp.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-${KV}-rmk${RMKV}.gz;apply=yes;name=patch1 \
ftp://source.mvista.com/pub/xscale/pxa/diff-${KV}-rmk${RMKV}-pxa${PXAV}.gz;apply=yes;name=patch2 \
http://openzaurus.org/mirror/linux-${PV}-slc860-${SHARPV}-rom1_10.bz2;apply=yes;name=patch3 \
file://piro.patch \
file://swap-performance.patch \
file://bluetooth-2.4.18-mh15.patch \
file://iw_handlers.w13-5.diff \
file://iw_handlers.w14-5.diff \
file://iw240_we15-6.diff \
file://iw249_we16-6.diff \
file://iw249_we17-13.diff \
file://iw240_we18-5.diff \
file://bt950_cs.patch \
file://bluecard_cs.patch \
file://sharpsl_battery.patch \
file://buffered-fbmem.patch \
file://enable-sysrq.patch \
file://compile.patch \
file://idecs.patch \
file://logo.patch \
file://initsh.patch \
file://keyboard-ctrl+alt.patch \
file://keymap-more-sane.patch \
file://mkdep.patch \
file://disable-pcmcia-probe.patch \
file://deviceinfo.patch \
file://linux-2.4.18-list_move.patch \
file://tosa_map.patch \
file://tosa_ts.patch \
file://corgi-fbcon-logo.patch \
file://corgi-default-brightness.patch \
http://www.openswan.org/download/old/openswan-2.2.0-kernel-2.4-klips.patch.gz;name=patch4 \
file://1764-1.patch \
file://module_licence.patch \
file://ir240_sys_max_tx-2.diff \
file://ir241_qos_param-2.diff \
http://us1.samba.org/samba/ftp/cifs-cvs/cifs-1.20c-2.4.tar.gz;name=patch5 \
file://fix_tosa_apm.patch \
file://dumb-hack-for-wlan-ng.patch \
file://unb0rk-apm.patch \
file://apm_arrowkey.patch \
file://defconfig-${MACHINE} "
SRC_URI_append_poodle += " file://smallfonts.diff"
SRC_URI_append_poodle255 += " file://smallfonts.diff"
# apply this when we have a kernel that builds with gcc 3.x:
# SRC_URI_append = file://machtune-args.patch
SRC_URI_append_tosa = " file://tosa-power-key-off.patch"
S = "${WORKDIR}/linux"
inherit kernel
#
# Create the kernel command line. CMDLINE_CONSOLE is set through kernel.oeclass.
#
CMDLINE_MTDPARTS_poodle = "mtdparts=sharpsl-nand:7168k@0k(smf),22528k@7168k(root),-(home)"
CMDLINE_MTDPARTS_poodle255 = "mtdparts=sharpsl-nand:7168k@0k(smf),22528k@7168k(root),-(home)"
CMDLINE_MTDPARTS_corgi = "mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home)"
CMDLINE_MTDPARTS_shepherd = "mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home)"
CMDLINE_MTDPARTS_husky = "mtdparts=sharpsl-nand:7168k@0k(smf),54272k@7168k(root),-(home)"
CMDLINE_MTDPARTS_tosa = "mtdparts=sharpsl-nand:7168k@0k(smf),28672k@7168k(root),-(home) EQUIPMENT=2"
CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2 jffs2_orphaned_inodes=delete"
# CMDLINE_INIT = "init=/bin/busybox ash"
CMDLINE_INIT = " "
CMDLINE = "${CMDLINE_MTDPARTS} ${CMDLINE_ROOT} ${CMDLINE_CONSOLE} ${CMDLINE_INIT}"
#
# Compensate for sucky bootloader on all Sharp Zaurus models
#
ALLOW_EMPTY = "1"
FILES_kernel-image = ""
EXTRA_OEMAKE = " EMBEDIXRELEASE=-${DISTRO_VERSION}"
KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"
# For these old 2.4 kernels we override in sharprom-compatible.conf
#COMPATIBLE_MACHINE = "(poodle|corgi|shepherd|husky|poodle255|tosa)"
COMPATIBLE_MACHINE = "none"
PARALLEL_MAKE = ""
#
# autoload modules
#
module_conf_usbdmonitor = "alias usbd0 usbdmonitor"
module_conf_pxa_bi = "below pxa_bi net_fd usbdcore "
module_autoload_pxa_bi = "pxa_bi"
do_configure_prepend() {
patch -p1 < cifs_24.patch
install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
}
PACKAGE_ARCH_corgi = "c7x0"
PACKAGE_ARCH_shepherd = "c7x0"
PACKAGE_ARCH_husky = "c7x0"
SRC_URI[kernel.md5sum] = "ad92859baaa837847b34d842b9f39d38"
SRC_URI[kernel.sha256sum] = "90d9a45ba395f742050f791b6944f6263d0ab03c84aad8a32967ca866906490e"
SRC_URI[patch1.md5sum] = "90c1cfbc47c7069a14a5cb584a5ada9a"
SRC_URI[patch1.sha256sum] = "8cbde563f5b77a7cf5ab900e7e627c493c1e36948b2c021b4738de82ca686d00"
SRC_URI[patch2.md5sum] = "249c7a63a506d302c96be26517a70298"
SRC_URI[patch2.sha256sum] = "ca569dfa1e5cfd2f4134f3f61f667bcfab5e15c7d43c8a6e835d384ac5b31a07"
SRC_URI[patch3.md5sum] = "c90b4f5cabe9c0dfd3a25d9228c97b43"
SRC_URI[patch3.sha256sum] = "b0d64fb17e52fb0df38c7dcbe14e21e1f6601ba21f805e17dd6eea636d6fd28b"
SRC_URI[patch4.md5sum] = "5c54040bba6fea2bfb47df01056e953f"
SRC_URI[patch4.sha256sum] = "d35213dc854f1e1a08512154c7a92fb94d9f0506cc5107f8b2f248412679fb53"
SRC_URI[patch5.md5sum] = "f3b96692f679239488de30f2bd896825"
SRC_URI[patch5.sha256sum] = "885eda0bbe68018b5770437e542473508f88205bb09cbfde7fc6e0c31f5a6f83"
|