blob: 2e7d064bb6af168e3fb57e93da247b3a7203999f (
plain)
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
|
DESCRIPTION = "Linux kernel 2.4.20-embedix for Sharp Zaurus SL-C1000 and SL-C3000 devices."
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602"
SECTION = "kernel"
PV = "2.4.20-rmk2-embedix"
LICENSE = "GPLv2"
KV = "2.4.20"
PR = "r18"
SRC_URI = "http://developer.ezaurus.com/sl_j/source/c3100/20050602/linux-c3100-20050602-rom1_01.tar.bz2;name=kernel \
file://P01-C3000-clockup_050221.patch;apply=yes;striplevel=2 \
file://P02-C3000-voltage_050221.patch;apply=yes;striplevel=2 \
file://P03-C3000-SIGSTOP_FIX_041207.patch;apply=yes;striplevel=2 \
file://P04-C3000-UNICON_041206.patch;apply=yes;striplevel=2 \
file://P05-C3000-TSPRESSURE_041207.patch;apply=yes;striplevel=2 \
file://P06-C3000-WRITETS_041206.patch;apply=yes;striplevel=2 \
file://P07-C3000-KBDDEV_041206.patch;apply=yes;striplevel=2 \
file://P08-rtc-mremap-mremap2nd-fix_041213.patch;apply=yes;striplevel=2 \
file://P09-ext3-isofs-fix_041216.patch;apply=yes;striplevel=2 \
file://P10-ntfs-fix_041216.patch;apply=yes;striplevel=2 \
file://P11-bluetooth-mh18_041216.patch;apply=yes;striplevel=2 \
file://P12-fbcon-fix_041219.patch;apply=yes;striplevel=2 \
file://P14-lowlatency_041221.patch;apply=yes;striplevel=2 \
file://P17-bvdd_050222.patch;apply=yes;striplevel=2 \
file://P18-detailed_battery_050309.patch;apply=yes;striplevel=2 \
file://P02++050226.patch;apply=yes \
\
file://swap-performance.patch;apply=yes \
file://iw240_we15-6.diff;apply=yes \
file://iw241_we16-6.diff;apply=yes \
file://iw249_we17-13.diff;apply=yes \
file://iw240_we18-5.diff;apply=yes \
file://bluecard_cs.patch;apply=yes \
file://compile.patch;apply=yes \
file://idecs.patch;apply=yes \
file://logo.patch;apply=yes \
file://initsh.patch;apply=yes \
file://disable-pcmcia-probe.patch;apply=yes \
file://deviceinfo.patch;apply=yes \
file://corgi-fbcon-logo.patch;apply=yes \
file://corgi-default-brightness.patch;apply=yes \
file://1764-1.patch;apply=yes \
file://armdeffix.patch;apply=yes \
file://add-oz-release-string.patch;apply=yes \
file://saner-spitz-keymap.patch;apply=yes \
file://defconfig-${MACHINE} "
# Breaks compilation for now, needs to be fixed
# SRC_URI += "file://CPAR050218.patch;apply=yes"
S = "${WORKDIR}/linux"
inherit kernel
#
# Create the kernel command line. CMDLINE_CONSOLE is set through kernel.oeclass.
#
CMDLINE_MTDPARTS_spitz = "mtdparts=sharpsl-nand:7168k@0k(smf),5120k@7168k(root),-(home) jffs2_orphaned_inodes=delete"
CMDLINE_MTDPARTS_akita = "mtdparts=sharpsl-nand:7168k@0k(smf),59392k@7168k(root),-(home) jffs2_orphaned_inodes=delete"
CMDLINE_MTDPARTS_borzoi = "mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) jffs2_orphaned_inodes=delete"
# CMDLINE_INIT = "init=bin/busybox ash"
CMDLINE_INIT = ""
CMDLINE_SHARP_spitz = "RTC_RESET=1 EQUIPMENT=4 LOGOLANG=1 DEFYEAR=2005 LOGO=1 LAUNCH=q"
CMDLINE_SHARP_akita = "EQUIPMENT=0 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q"
CMDLINE_SHARP_borzoi = "EQUIPMENT=4 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q"
CMDLINE_ROOT = "root=/dev/mtdblock2"
# Caution: ttyS0 doesn't seem to work for 2.4.20, so it's either NULL or tty1
CMDLINE_CONSOLE = "quiet tty1"
CMDLINE = "${CMDLINE_CONSOLE} ${CMDLINE_ROOT} ${CMDLINE_MTDPARTS} ${CMDLINE_SHARP} ${CMDLINE_INIT}"
#
# Compensate for sucky bootloader on all Sharp Zaurus models
#
ALLOW_EMPTY = "1"
FILES_kernel-image = ""
EXTRA_OEMAKE = "OPENZAURUS_RELEASE=-${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 = "(akita|spitz|borzoi)"
COMPATIBLE_MACHINE = "none"
PARALLEL_MAKE = ""
#
# autoload modules
#
module_conf_usbdmonitor = "alias usbd0 usbdmonitor"
module_conf_pxa27x_bi = "below pxa27x_bi net_fd usbdcore "
module_autoload_pxa27x_bi = "pxa27x_bi"
module_autoload_usb_ohci_pxa27x = "usb_ohci_pxa27x"
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
}
SRC_URI[kernel.md5sum] = "cdd92f6ecffc4ecce4ea6194b789716e"
SRC_URI[kernel.sha256sum] = "224a81da20b793c003f3d8e9abae7d4abc92320c956f0b5ed346430369772fed"
|