Diff mips-sources-4.19.275 with a mips-sources-5.4.234

/usr/portage/sys-kernel/mips-sources/mips-sources-5.4.234.ebuild 2023-10-09 14:52:35.532368502 +0300
7 7
#//------------------------------------------------------------------------------
8 8

  
9 9
# Version Data
10
GENPATCHREV="4"				# Tarball revision for patches
10
GENPATCHREV="8"				# Tarball revision for patches
11 11

  
12 12
# Directories
13 13
S="${WORKDIR}/linux-${OKV}"
......
18 18
K_NOUSENAME="yes"
19 19
K_NOSETEXTRAVERSION="yes"
20 20
K_NOUSEPR="yes"
21
K_BASE_VER="4.18"
21
K_BASE_VER="5.3"
22 22
K_FROM_GIT="yes"
23 23
ETYPE="sources"
24 24

  
......
28 28

  
29 29
# Version Data
30 30
F_KV="${PVR}"
31
BASE_KV="$(ver_cut 1-2).0"
31
BASE_KV="$(ver_cut 1-2)"
32 32
[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
33 33

  
34 34
# Portage Vars
......
43 43
# Machine Support Control Variables
44 44
DO_IP22="test"				# If "yes", enable IP22 support		(SGI Indy, Indigo2 R4x00)
45 45
DO_IP27="yes"				# 		   IP27 support		(SGI Origin)
46
DO_IP28="test"				# 		   IP28 support		(SGI Indigo2 Impact R10000)
46
DO_IP28="no"				# 		   IP28 support		(SGI Indigo2 Impact R10000)
47 47
DO_IP30="yes"				# 		   IP30 support		(SGI Octane)
48 48
DO_IP32="yes"				# 		   IP32 support		(SGI O2, R5000/RM5200 Only)
49 49

  
50 50
# Machine Stable Version Variables
51 51
SV_IP22=""				# If set && DO_IP22 == "no", indicates last "good" IP22 version
52 52
SV_IP27=""				# 	    DO_IP27 == "no", 			   IP27
53
SV_IP28=""				# 	    DO_IP28 == "no", 			   IP28
53
SV_IP28="4.19.x"			# 	    DO_IP28 == "no", 			   IP28
54 54
SV_IP30=""				# 	    DO_IP30 == "no", 			   IP30
55 55
SV_IP32=""				# 	    DO_IP32 == "no", 			   IP32
56 56

  
......
197 197
	einfo "R4600.  If you have to run an R4x00 processor, then try to use an R4400."
198 198
	einfo ""
199 199
	einfo "Some Notes:"
200
	einfo "\t- Supported graphics card right now is Newport (XL)."
201
	einfo "\t- A driver for Extreme (XZ) does not exist at present."
200
	einfo "\t- The only supported graphics card right is Newport (XL)."
201
	einfo "\t- There is no driver for Extreme (XZ)."
202 202
	echo -e ""
203 203
}
204 204

  
......
228 228
	eerror "\t- Octane is limited to a maximum of 2GB of memory right now due to a"
229 229
	eerror "\t\040\040hardware quirk in the BRIDGE PCI chip that limits BRIDGE DMA"
230 230
	eerror "\t\040\040addresses to 31-bits when converted into physical addresses."
231
	eerror "\t\040\040Patches that attempt to fix the issue are highly welcome."
232 231
	echo -e ""
233 232
	ewarn "Things that might work, but have problems, or are unknown:"
234
	ewarn "\t- CONFIG_TRANSPARENT_HUGEPAGE should work now, but there may still be"
235
	ewarn "\t\040\040intermittent issues.  Additionally, CONFIG_HUGETLBFS must also be"
236
	ewarn "\t\040\040selected for hugepages to work.  If use of this feature continues"
237
	ewarn "\t\040\040to trigger random Instruction Bus Errors (IBEs), then it is best to"
238
	ewarn "\t\040\040disable the functionality and perform a cold reset of the machine"
239
	ewarn "\t\040\040after powering it down for at least 30 seconds."
240 233
	ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives"
241 234
	ewarn "\t\040\040the 16550A chip on the IOC3 directly.  It does not use interrupts,"
242 235
	ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-"
243 236
	ewarn "\t\040\040intensive.  The baud rate is limited to no more than 38.4kbps on"
244 237
	ewarn "\t\040\040this driver.  Patches for getting the Altix IOC3 serial driver to"
245 238
	ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome."
246
	ewarn "\t- UHCI Cards are known to have issues, but should still function."
247
	ewarn "\t\040\040This issue primarily manifests itself when using pl2303 USB->Serial"
248
	ewarn "\t\040\040adapters."
249 239
	ewarn "\t- MENET boards appear to have the four ethernet ports detected, however"
250 240
	ewarn "\t\040\040the six serial ports don't appear to get picked up by the IOC3"
251 241
	ewarn "\t\040\040UART driver.  The NIC part number is also not read correctly"
252
	ewarn "\t\040\040from the four Number-In-a-Cans.  Additional testing would be"
253
	ewarn "\t\040\040appreciated and patches welcome."
242
	ewarn "\t\040\040from the four Number-In-a-Cans."
254 243
	ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested"
255
	ewarn "\t\040\040and are not guaranteed to work.  This applies to various digital"
256
	ewarn "\t\040\040video conversion boards as well."
244
	ewarn "\t\040\040and are not guaranteed to work."
245
	ewarn "\t- Upon rebooting, Octane may not return to the PROM.  Holding down the"
246
	ewarn "\t\040\040reset button for up to ten seconds, releasing, then pressing it"
247
	ewarn "\t\040\040again for one or two seconds may trigger the system to return"
248
	ewarn "\t\040\040to the PROM.  Please wait at least five seconds after each attempt"
249
	ewarn "\t\040\040to see if the machine responds.  As a last resort, unplugging the"
250
	ewarn "\t\040\040power cord for 30 seconds will also work, but be aware the power"
251
	ewarn "\t\040\040supplies on these systems will not appreciate this due to their"
252
	ewarn "\t\040\040relative old age."
257 253
	echo -e ""
258 254
	einfo "Things that DO work:"
259
	einfo "\t- SMP works again, celebrate!"
260
	einfo "\t- Impact (MGRAS) console only."
261
	einfo "\t- VPro (Odyssey) console only (no X driver exists yet)."
262
	einfo "\t- PCI Card Cages should work for many devices, except certain types like"
263
	einfo "\t\040\040PCI-to-PCI bridges (USB hubs, USB flash card readers for example)."
255
	einfo "\t- SMP support."
256
	einfo "\t- Impact (MGRAS), console only."
257
	einfo "\t- VPro (Odyssey), console only."
258
	einfo "\t- PCI card cages (showbox) should work for many devices, except certain"
259
	einfo "\t\040\040types such as PCI-to-PCI bridges (USB hubs, USB flash card readers)."
264 260
	einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse.  Please"
265 261
	einfo "\t\040\040report any problems with these devices."
262
	einfo "\t- SGI AceNIC/Tigon II gigabit cards will work in the PCI card cage/shoebox."
266 263
	echo -e ""
267 264
}
268 265

  
269 266
show_ip32_info() {
270 267
	echo -e ""
271 268
	einfo "IP32 systems function well, however there are some notes:"
272
	einfo "\t- A sound driver now exists for IP32.  Celebrate!"
269
	einfo "\t- A sound driver now exists for IP32."
273 270
	einfo "\t- Framebuffer console is limited to 4MB.  Anything greater"
274
	einfo "\t\040\040specified when building the kernel will likely oops"
275
	einfo "\t\040\040or panic the kernel."
276
	einfo "\t- X support is limited to the generic fbdev driver.  No X"
277
	einfo "\t\040\040gbefb driver exists for O2 yet.  Feel free to submit"
278
	einfo "\t\040\040patches!"
271
	einfo "\t\040\040specified when building the kernel will oops or"
272
	einfo "\t\040\040panic the kernel."
273
	echo -e ""
274
	eerror "IP32 Systems may be unstable and prone to lockups under a 5.4.x LTS kernel."
275
	eerror "The cause is unknown at this time."
279 276
	echo -e ""
280 277

  
281 278
	einfo "To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)"
Thank you!