kumba 15/01/18 07:44:14 Added: show_ip30_info-v3.eblit src_unpack-v4.eblit show_ip27_info-v2.eblit Removed: show_ip27_info-v1.eblit show_ip30_info-v1.eblit src_unpack-v2.eblit src_unpack-v3.eblit show_ip30_info-v2.eblit show_ip32_info-v1.eblit show_ip22_info-v1.eblit Log: Update to 3.18.3, and all older ebuilds and associated eblits removed. Octane (IP30) support returns in this release, with some caveats. Origin/Onyx2 (IP27) support has been fixed up, and other hardware is known to work, with the exception of IP22, IP28, and Cobalt, which have not been tested in some time. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D25D95E3)
Revision Changes Path 1.1 sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit?rev=1.1&content-type=text/plain Index: show_ip30_info-v3.eblit =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip30_info-v3.eblit,v 1.1 2015/01/18 07:44:14 kumba Exp $ # Eblit with information/warnings for IP30 (Octane) users. # # If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use # \040 for a space instead of the standard space. These functions will strip # redundant white space. show_ip30_info() { echo -e "" einfo "Octane boots again as-of 3.14! Celebrate!" echo -e "" eerror "Things that DON'T work:" eerror "\t- SMP SUPPORT IS CURRENTLY BROKEN! I require help in getting CPU1 to" eerror "\t\040\040'tick' properly, as it hangs up in the generic MIPS SMP code." eerror "\t- R14000 ONLY: Do NOT use CONFIG_TRANSPARENT_HUGEPAGE on an Octane with" eerror "\t\040\040an R14000 CPU, otherwise, when the machine starts to boot into" eerror "\t\040\040userland, it will trigger Instruction Bus Errors (IBEs), which" eerror "\t\040\040requires a complete powerdown of the machine for about 15 seconds" eerror "\t\040\040to clear." eerror "\t- Do not use CONFIG_SLUB, otherwise, you'll get errors when booting" eerror "\t\040\040regarding duplicate /sys/kernel/slab/* entries in" eerror "\t\040\040sysfs." eerror "\t- Do not use OHCI-based USB cards in Octane. They're broke on this machine." eerror "\t\040\040Patches are welcome to fix the issue." echo -e "" ewarn "Things that might work, but have problems, or are unknown:" ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives" ewarn "\t\040\040the 16550A chip on the IOC3 directly. It does not use interrupts," ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-" ewarn "\t\040\040intensive. The baud rate is limited to no more than 38.4kbps on" ewarn "\t\040\040this driver. Patches for getting the Altix IOC3 serial driver to" ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome." ewarn "\t- UHCI Cards are known to have issues, but should still have some functionality." ewarn "\t\040\040This issue primarily manifests itself when using pl2303 USB->Serial" ewarn "\t\040\040adapters." ewarn "\t- MENET boards appear to have the four ethernet ports detected, however" ewarn "\t\040\040the six serial ports didn't appear to get picked up by the IOC3" ewarn "\t\040\040UART driver. The NIC part number is also not read correctly" ewarn "\t\040\040from the four Number-In-a-Cans. Additional testing would be" ewarn "\t\040\040appreciated and patches welcome." ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested" ewarn "\t\040\040and are not guaranteed to work. This applies to various digital" ewarn "\t\040\040video conversion boards as well." echo -e "" einfo "Things that DO work:" einfo "\t- Impact (MGRAS) console and X driver, please report any bugs." einfo "\t- VPro (Odyssey) console, but no X driver exists yet." einfo "\t- PCI Card Cages should work for many devices, except certain types like" einfo "\t\040\040PCI-to-PCI bridges (USB hubs, USB flash card readers for example)." einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse. Please" einfo "\t\040\040 report any problems with these devices." echo -e "" } 1.1 sys-kernel/mips-sources/files/eblits/src_unpack-v4.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v4.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v4.eblit?rev=1.1&content-type=text/plain Index: src_unpack-v4.eblit =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v4.eblit,v 1.1 2015/01/18 07:44:14 kumba Exp $ # Eblit to handle src_unpack. eblit-mips-sources-src_unpack() { # Unpack the kernel sources, update to the latest rev (if needed), # and apply the latest patch from linux-mips git. kernel-2_src_unpack # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}. echo -e "" cd "${WORKDIR}" unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" # Create a new folder, patch-symlinks, and create symlinks to # mips-patches in there. If we want to exclude a patch, we'll # just delete the symlink instead of the actual patch. local psym="patch-symlinks" mkdir "${psym}" cd "${psym}" for x in ../mips-patches-${BASE_KV}/*.patch; do ln -s "${x}" "${x##../mips-patches-*/}" done # With symlinks created, setup the variables referencing external # machine patches and if a machine USE flag is enabled, then unset # its corresponding variable. # See 0000_README for the patch numbers and their meanings. local p_generic="501*" local p_ip27="502*" p_ip28="503*" p_ip30="504*" p_ip32r10k="6001*" use ip27 && unset p_generic p_ip27 use ip28 && unset p_ip28 use ip30 && unset p_generic p_ip30 use ip32r10k && unset p_ip32r10k # Remove symlinks for any patches that we don't want applied. We do # this by looping through all the above variables, and deleting # matching symlinks that point to the corresponding patches. # The remaining symlinks will be applied to the kernel source. local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_ip32r10k}" for x in $patchlist; do rm -f "./${x}"; done # Rename the source tree to match the linux-mips git checkout date and # machine type. local v="${F_KV}${EXTRAVERSION}-${GITDATE}" for x in {ip27,ip28,ip30,cobalt}; do use ${x} && v="${v}.${x}" && break; done mv "${WORKDIR}/linux-${F_KV}${EXTRAVERSION}" "${WORKDIR}/linux-${v}" || die S="${WORKDIR}/linux-${v}" # Now go into the kernel source and patch it. cd "${S}" epatch "${WORKDIR}/${psym}"/*.patch # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}" unpack_set_extraversion } 1.1 sys-kernel/mips-sources/files/eblits/show_ip27_info-v2.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v2.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v2.eblit?rev=1.1&content-type=text/plain Index: show_ip27_info-v2.eblit =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v2.eblit,v 1.1 2015/01/18 07:44:14 kumba Exp $ # Eblit with information/warnings for IP27 (Origin 200/2000/Onyx2) users. # # If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use # \040 for a space instead of the standard space. These functions will strip # redundant white space. show_ip27_info() { echo -e "" ewarn "IP27 support can be considered a game of Russian Roulette. It'll work" ewarn "great for some but not for others. We don't get a chance to test this" ewarn "machine very often with each new kernel, so your mileage may vary." echo -e "" }