commit | 30e7c00f249794e5b8a3beaa08a4dd4ded2be7be | [log] [tgz] |
---|---|---|
author | hostboot <hostboot@us.ibm.com> | Tue Aug 28 00:37:44 2018 -0500 |
committer | hostboot <hostboot@us.ibm.com> | Tue Aug 28 00:37:44 2018 -0500 |
tree | 38707518cc7aeb7c3ca437c4b96f4b80781c94b6 | |
parent | 0c5c3d7f429efd05194f6e4d24db74469d76a7e3 [diff] |
op-build update 8-28-2018 Changes Included for package hostboot-binaries, branch master: 7474223 - hostboot - 2018-08-27 - UPDATE executables for the NVIDIA gpu and/or ring files for hw082718b.930 068528e - hostboot - 2018-08-25 - UPDATE executables for the NVIDIA gpu and/or ring files for hw082518a.930 348e310 - hostboot - 2018-08-23 - UPDATE executables for the NVIDIA gpu and/or ring files for hw082318a.930 99c9465 - hostboot - 2018-08-22 - UPDATE executables for the NVIDIA gpu and/or ring files for hw082218a.930 9d56f84 - William Hoffa - 2018-08-15 - Merge pull request #74 from wilbryan/master 414ee38 - William Bryan - 2018-08-15 - Update GPE1 Binary 8/15 Changes Included for package hcode, branch master: 3909ea4 - hostboot - 2018-08-27 - Release tag information updated for hw082718b.930 22eddcf - hostboot - 2018-08-25 - Release tag information updated for hw082518a.930 5e5285b - Yue Du - 2018-08-25 - STOP: Fix Spwu Auto to Manual mode Signals Sync up. 054ef76 - hostboot - 2018-08-24 - Release tag information updated for hw082418a.930 ed9af7a - Douglas Gilbert - 2018-08-24 - HCODE Make divide using DERP/DORP atomic 6e6e58f - hostboot - 2018-08-23 - Release tag information updated for hw082318a.930 6786319 - hostboot - 2018-08-22 - Release tag information updated for hw082218b.930 68ddc7d - Claus Michael Olsen - 2018-08-22 - Infrastructure support for new MC OMI rings for Axone 9d9a20d - Anusha Reddy Rangareddygari - 2018-08-22 - Adding a fapi_assert to flag error if PPE is not halted. d117965 - Greg Still - 2018-08-22 - SMF: SBE updates for SMF (URMOR set and CPMMR[Runtime Wakeup Mode] clear) 64f1e84 - Prem Shanker Jha - 2018-08-22 - SCOM Restore: Updated EQ SCOM Restore logic. 058ab06 - Prem Shanker Jha - 2018-08-22 - SCOM Restore: Handle case of old HB and new STOP API case. 299a9ff - Rahul Batra - 2018-08-22 - PGPE: Don't set EE=1 in CME Err Handler 6fa2da0 - Yue Du - 2018-08-22 - STOP: Assert Auto Special Wakeup mode on cores with halted CME 299fb1c - Rahul Batra - 2018-08-22 - PGPE: ACK pending IPCs upon fault with Pstates Stopped 2c4a289 - Prem Shanker Jha - 2018-08-22 - SCOM Restore: Increased max eq scom restores entries supported to 255. 08985a7 - Jenny Huynh - 2018-08-22 - Secure memory allocation and setup ba27d42 - Yue Du - 2018-08-22 - STOP: Fix leftover wakeup aborting next entry 691d819 - Yue Du - 2018-08-22 - STOP: Fix incorrect solution in 61385 1e733df - Yue Du - 2018-08-22 - STOP: Assert Auto Special Wakeup mode on cores with halted CME 05ecc90 - Yue Du - 2018-08-22 - STOP: Fix PLS/Srr1 over reporting bug (impact stop2 only) 0b85915 - Yue Du - 2018-08-22 - STOP: Fix hole in 62403 97ebd3d - Yue Du - 2018-08-22 - STOP: Fix Stop1 Window conditions 4c395be - Yue Du - 2018-08-22 - STOP: Clean up stop state after aborted L3 purge during Stop 11 entry 22782e4 - Brian Vanderpool - 2018-08-22 - STOP: Clear CPPM_PECES on entry during power save cycle to prevent wakeup events 1dcc359 - Greg Still - 2018-08-22 - PM: clear Hcode error injection bits upon injection and malf alert 0b555c4 - Yue Du - 2018-08-22 - STOP: Fix leftover wakeup aborting next entry 16516a1 - Yue Du - 2018-08-22 - STOP: Fix Srr1 wrongly reported upon special wakeup a14e95a - Yue Du - 2018-08-22 - STOP: CME/SGPE Hcode size reduction via global use of literals d1716d0 - Yue Du - 2018-08-22 - STOP: Fix History Write Data Machine Check by PPM_WRITE_DISABLE 1dda312 - Rahul Batra - 2018-08-22 - CME: Process DB0 inside intercme_msg_handler 314a7a3 - Rahul Batra - 2018-08-22 - PM: Fixes for Livelock Scenarios d9226cd - Yue Du - 2018-08-22 - STOP: Fix SGPE Active Core Updates dc1e756 - Rahul Batra - 2018-08-22 - PGPE: Error Handling Support 1bd7fb1 - Yue Du - 2018-08-22 - STOP: Fix Infinite Stacking up Stop Processing led by Entry Abort 2daa7fd - Yue Du - 2018-08-22 - STOP: Fix Data Machine Check with PLS Fix b85b02d - Yue Du - 2018-08-22 - STOP: Support Suspend Entry/Exit and Fix Pig Collision 5048828 - Yue Du - 2018-08-22 - STOP: Abort Entry on Error 80df64d - Yue Du - 2018-08-22 - STOP: Fix Block Wakeup Mode with Catchup and Abort cases 6394ad5 - Yue Du - 2018-08-22 - STOP: Block Wakeup Mode Fixes for Phyp 23df9c7 - Yue Du - 2018-08-22 - STOP: Fix Phantom PCWU causing CME IOTA to halt 55f1962 - Yue Du - 2018-08-22 - STOP: Fix SGPE stop servicing wakeups d520bc7 - Michael Floyd - 2018-08-22 - CME Code Size Reduction ATTEMPT#3 69a928a - Yue Du - 2018-08-22 - STOP: Update STOP History with Stop8 for Srr1 state loss reporting 9b1b871 - Yue Du - 2018-08-22 - STOP: Fix PLS deepest when stop4+ due to self restore wakeup 7665bee - Yue Du - 2018-08-22 - STOP/PState: SGPE/PGPE Error Handling Support c9cb398 - Rahul Batra - 2018-08-22 - WOF: More Phase 2 Fixes 4f3d1f8 - Rahul Batra - 2018-08-22 - PGPE: STOP11+WOF+SafeMode Fixes f8af7be - Rahul Batra - 2018-08-22 - PM: PMSR Update Fixes c5e1d1e - Prem Shanker Jha - 2018-08-22 - Hcode Injection: Adds hcode error injection capability. 9453b8d - Yue Du - 2018-08-22 - STOP: EX deconfigure masking for EQ chiplet FIR b5a1923 - Yue Du - 2018-08-22 - STOP: Fix SGPE IPC acks causing UIH stack underflow 2f1b55d - Prem Shanker Jha - 2018-08-22 - EQ SCOM Restore: Introduced version control in SCOM restore entry. 3f61996 - Yue Du - 2018-08-22 - STOP: Fix SGPE UIH Messed up EIMR book keeping Error 84d1108 - Yue Du - 2018-08-22 - STOP: Fix Resonent Clock Support for STOP11 687e91a - Yue Du - 2018-08-22 - Revert PLL unlock commits of 45102 and 46563 0d6d5a4 - Yue Du - 2018-08-22 - STOP: Fix Dec Wakeup on NDD2.1 8de4444 - Yue Du - 2018-08-22 - STOP: Fix VDM being powered down through Stop2 42f7f07 - Yue Du - 2018-08-22 - STOP: Properly clear DPLL unlock indication in dpll_setup 2f9abf6 - Yue Du - 2018-08-22 - STOP: Core livelock buster 6bcca60 - Yue Du - 2018-08-22 - STOP: Reenable STOP8 (without L2 resonant clock support) 7e63598 - Yue Du - 2018-08-22 - STOP: Fix VDM 16c9047 - Yue Du - 2018-08-22 - STOP: Fix resonant clock supprot for STOP11 1ca5632 - Yue Du - 2018-08-22 - STOP: Add Core quiesce workaround to CME Fit Timer 3a0701e - Yue Du - 2018-08-22 - STOP/EPM: Fix EPM marker c4dd66c - Yue Du - 2018-08-22 - STOP: Fix PIG in L2 Resonant Clock support 473b1f4 - Jenny Huynh - 2018-08-22 - HW417560 NCU master tlbie settings tuning 1257a08 - Christopher M. Riedl - 2018-08-22 - IOTA 1d91a62 - Yue Du - 2018-08-22 - STOP: Fix NCU tlbie quiesce and purge for disable_stop8 28e6360 - Adam Hale - 2018-08-22 - Set GPMMR RESET_STATE_INDICATOR 585ebdd - Brian Vanderpool - 2018-08-22 - STOP: Fix DB2 message for DD1 92e7e51 - Yue Du - 2018-08-22 - STOP: Core Xstop Injection b87f07a - Rahul Batra - 2018-08-22 - PM: Inter-PPM controls enablement and VDMCFG 5663ad1 - Yue Du - 2018-08-22 - STOP: Init code before starting threads ef3b1c4 - Yue Du - 2018-08-22 - STOP: Attempt to Fix quad spwu caused incorrect flow 2815449 - Christopher M. Riedl - 2018-08-22 - PM: Implement L2 Resclk Function 70ea2a3 - Yue Du - 2018-08-22 - STOP/EPM: Fix Stop5 history and marker reporting 879e075 - Yue Du - 2018-08-22 - STOP: Fix DISABLE_STOP8 broken HB in NDD1 46e554d - Yue Du - 2018-08-22 - STOP: Fix Disable Stop8 on L3 Purge Abort case a785ba7 - Yue Du - 2018-08-22 - STOP: Stop5 Performance Boost and solve IPC issues 0999eb2 - Brian Vanderpool - 2018-08-22 - STOP: Give SGPE control over VDM, DPLL before turning off Jump protect and VDMs 165be79 - Yue Du - 2018-08-22 - STOP: Disable Stop8 dfe9fb6 - Yue Du - 2018-08-22 - STOP: Remove sdisn dd1 workaround from dd2, add sync 40edb9b - Rahul Batra - 2018-08-22 - PM: PGPE-SGPE Common Code Updates 212a686 - Christopher M. Riedl - 2018-08-22 - Pstate: VDM Enablement bb61e86 - Yue Du - 2018-08-22 - STOP: collection of small fixes 4f79fd1 - Yue Du - 2018-08-22 - STOP: Put PIG and Notify_select back to back 1bdd5be - Yue Du - 2018-08-22 - STOP: CME no state loss causes stop level map 853ebdb - Yue Du - 2018-08-22 - STOP: Fix EPM Compiler error 35e40d9 - Yue Du - 2018-08-22 - STOP: inline called-once functions 97d950e - Yue Du - 2018-08-22 - STOP: Suspend stop to cmes 0fea3b0 - Michael Floyd - 2018-08-22 - Fix DD LEVEL to support minor ECs 5ef29f4 - Yue Du - 2018-08-22 - STOP: block wakeup (+ block entry since patch 15) 3be7a02 - Yue Du - 2018-08-22 - STOP: Fix suspend_stop when threads are idle 9e5e698 - Yue Du - 2018-08-22 - STOP: Scrub _ANR and _OR opcode from regular cme getscom 8d6afc6 - Yue Du - 2018-08-22 - STOP: NDD2 daul cast workaround 6b56b14 - Rahul Batra - 2018-08-22 - PSTATE: CME refactoring and cleanup d5c4e6d - Yue Du - 2018-08-22 - STOP: move CME scominits from corequad_init to SGPE e1b9fa3 - Yue Du - 2018-08-22 - STOP: Move Stop 8 code from CME to SGPE for CME space savings a7817cd - Yue Du - 2018-08-22 - STOP: Fix hostboot stop level mapping 4404541 - Yue Du - 2018-08-22 - STOP: Fix STOP1 with Powermixer 927a4ff - Brian Vanderpool - 2018-08-22 - STOP: Move delay after LPID change to before asserting quiesce 8e8f54f - Yue Du - 2018-08-22 - STOP: Stop1 overall fix 69de20e - Brian Vanderpool - 2018-08-22 - This reverts the stop 1 commits 51a2d2a - Michael Floyd - 2018-08-22 - STOP: Fix STOP1 correctly for DD1 Workaround dbc5a4d - Yue Du - 2018-08-22 - STOP: Fix FABRIC_PUMP_MODE plumbing in stop images b46f051 - Michael Floyd - 2018-08-22 - STOP: Actually enable Manual Stop1 for Nimbus DD1 to fix the PSSCR PLS reporting 6b5e4bb - Christopher M. Riedl - 2018-08-22 - Pstate: Remove legacy VDM code 060a3ae - Michael Floyd - 2018-08-22 - STOP: Support to unfreeze IMA after self-restore 42ddb69 - Yue Du - 2018-08-22 - STOP: SGPE fixes for PGPE Interaction d1883eb - Christopher M. Riedl - 2018-08-22 - Pstate: Resonant Clocking Enablement - CME Hcode 127b1ec - Brian Vanderpool - 2018-08-22 - STOP: Release the PCB Atomic lock on aborted Stop 11 entry 387d0df - Brian Vanderpool - 2018-08-22 - STOP: Scom Restore version 2 da5fbae - Yue Du - 2018-08-22 - STOP: enable decrementor wakeup 4214195 - Yue Du - 2018-08-22 - STOP: Add global checkstop FIR check in CME/SGPE 25e3908 - Yue Du - 2018-08-22 - STOP: DD2 workaround toggling pm_exit and wakeup without lpid ram 3a274b8 - Yue Du - 2018-08-22 - STOP: Enable CHTM 595dfc6 - Yue Du - 2018-08-22 - STOP: Fix express processing commit 14430f5 - Yue Du - 2018-08-22 - STOP: clear PCBMUX disable from STOP Exit instead of SGPE INIT 53f1e74 - Yue Du - 2018-08-22 - STOP: UIH updates on trace and phantom interrupt handling c8a51c0 - Yue Du - 2018-08-22 - STOP: express processing targets of stop1/2 and stop5/8 exit 018efbd - Yue Du - 2018-08-22 - STOP: Recent Lab Fixes 4298335 - Yue Du - 2018-08-22 - STOP: IPC Fixes d306208 - Yue Du - 2018-08-22 - STOP: Using PANIC codes at every pk_halt 4e43fe9 - Yue Du - 2018-08-22 - STOP: DD2 set PPM_WRITE_DISABLE along with wakeup_notify_select 2f99335 - Yue Du - 2018-08-22 - STOP: writing all 1s to lpid of each thread regardless fuse or not 397e4a6 - Yue Du - 2018-08-22 - STOP: Conditional compile current error check to save cme size 0bd58a1 - Yue Du - 2018-08-22 - STOP: Acquire pcbmux after assert glsmux in cme exit c2290bc - Yue Du - 2018-08-22 - STOP: FIX phantom wakeup vs. wakeup_notify_select e3f788c - Yue Du - 2018-08-22 - STOP: Atomic lock of cache clock controller and PCB slave 2b66fcf - Yue Du - 2018-08-22 - STOP: Change ring_save structure to 0xfff3fc00 PDA location 2770649 - Brian Vanderpool - 2018-08-22 - STOP: PCBMux Savior version 2 + TLBIE workaround 0d33463 - Brian Vanderpool - 2018-08-22 - Enable CME IAR trace and remove stall events from trace 8f9b287 - Yue Du - 2018-08-22 - Hcode: Create centralized memory map headers ca38dee - Yue Du - 2018-08-22 - STOP: Fix optimize size and quad spwu issue of EIMR bookkeep b8fd2c7 - Yue Du - 2018-08-22 - IPL/Stop: Assert ABIST_SRAM_MODE_DC to support ABIST Recovery 23699f0 - Yue Du - 2018-08-22 - STOP: move drop few quiesces from l2/cache startclocks to scomcust 147aa0e - Yue Du - 2018-08-22 - STOP: Fix L2 purge abort by pc interrupt on core handoff to sgpe 9636f08 - Yue Du - 2018-08-22 - STOP: optimize size of stop images 8045ce1 - Yue Du - 2018-08-22 - HW398205: fix cme entry abort changed irq masking assumption 7a8ac99 - Yue Du - 2018-08-22 - STOP: Fix CME halt in sgpe entry to check partial good ex e5cbaf6 - Yue Du - 2018-08-22 - STOP: Clear up todo items in STOP and mark them with RTC 1cacd2e - Yue Du - 2018-08-22 - STOP: prevent ppe wait cycle being compiled out by compiler c47b005 - Yue Du - 2018-08-22 - STOP: Stop cme trace array and halt CME before stop cache clocks ee432a5 - Yue Du - 2018-08-22 - STOP: Enable DLS+ManualStop1 Fix for DD1 aee37bd - Yue Du - 2018-08-22 - STOP: SGPE IPC support for WOF add78b9 - Yue Du - 2018-08-22 - STOP: Set chiplet ids in sgpe and cme 5e3e7f7 - Yue Du - 2018-08-22 - STOP: scominit adding initfile calls 395eb7a - Yue Du - 2018-08-22 - STOP: DD2 - abort entry on attn/recov + skip power off on OOB bits 5e74284 - Yue Du - 2018-08-22 - STOP: Cache Scom Restore(without copy to Sram) 08e215c - Yue Du - 2018-08-22 - STOP: fix variable spin being defined under epm_tunning enabled 6237da0 - Yue Du - 2018-08-22 - STOP: logic hole in L2 purge abort causing core being 0 undetected db26cbf - Yue Du - 2018-08-22 - STOP: enable cme trace array before cme boot in SGPE bfc2e78 - Yue Du - 2018-08-22 - STOP: clear EISR pm_active in entry catchup case. 985248c - Rahul Batra - 2018-08-22 - OCC Flags/OCC Scratch Updates 4d137bc - Yue Du - 2018-08-22 - STOP Image updates 43ed89a - Yue Du - 2018-08-22 - HB: fix HB core boot resulting cme boot 03a1c32 - Yue Du - 2018-08-22 - STOP: Hcode SPWU replacing auto spwu 8128060 - Yue Du - 2018-08-22 - CME/SGPE: yet another updating commit for stop images 6a5a238 - Yue Du - 2018-08-22 - CME/SGPE: STOP image updates and fixes b342ec7 - Greg Still - 2018-08-22 - SGPE and CME scanning integration 08ca175 - Prasad Bg Ranganath - 2018-08-22 - Putring support for SGPE platform 79e84aa - Yue Du - 2018-08-22 - CME/SGPE: STOP Images functional bug fix collection bc9bb57 - Yue Du - 2018-08-22 - CME/SGPE: Optimus Prime approves these upgrade of STOP images 61af8a8 - Yue Du - 2018-08-22 - CME/SGPE: update stop cme/sgpe images bfede8e - Yue Du - 2018-08-22 - Combined Stop/PState Cme Image + unified interrupt handler 5f2e6f8 - Yue Du - 2018-08-22 - CME/SGPE: STOP11 CME/SGPE Images Snapshot 64616b7 - Yue Du - 2018-08-22 - CME/SGPE: Complete Working STOP8 CME/SGPE Images Snapshot 8ee920e - Yue Du - 2018-08-22 - first draft of ppe_closed/cme & sgpe, and common/pmlib/ f241353 - hostboot - 2018-08-22 - Remove files to restore git history 94491cf - hostboot - 2018-08-22 - Release tag information updated for hw082218a.930 d7ae5d1 - hostboot - 2018-08-09 - Release tag information updated for hw080918a.920 eda2a98 - hostboot - 2018-08-01 - Release tag information updated for hw080118a.920 c7456ae - hostboot - 2018-07-26 - Release tag information updated for hw072618a.920 1813390 - hostboot - 2018-07-25 - Release tag information updated for hw072518a.920 335521f - Yue Du - 2018-07-25 - STOP: Fix VDM Droop Event DB3 Window condition breaking STOP 777fb2e - Rahul Batra - 2018-07-25 - PGPE: Fixes and Cleanup for Mfg/Char team 369bb20 - Yue Du - 2018-07-25 - STOP: remove chiplet enable drop in core_poweron for multicast scom 6d438cd - Yue Du - 2018-07-25 - STOP: Fix hole in 62403 b46364f - Yue Du - 2018-07-25 - STOP: Fix Stop1 Window conditions 62d3364 - Richard J. Knight - 2018-07-25 - update gerrit hostname for server migration c55120a - hostboot - 2018-07-18 - Release tag information updated for hw071818a.920 31e3dd3 - hostboot - 2018-07-17 - Release tag information updated for hw071718a.920 2f06353 - Yue Du - 2018-07-17 - PM: PGPE hang fix during VDM droop workaround a07a0e5 - hostboot - 2018-07-15 - Release tag information updated for hw071518a.920 57bbd28 - Claus Michael Olsen - 2018-07-15 - Cleanup: Updated Mvpd access function and removal of unused rings f4500d1 - hostboot - 2018-07-14 - Release tag information updated for hw071418a.920 9585f97 - hostboot - 2018-07-12 - Release tag information updated for hw071118b.920 63cade3 - hostboot - 2018-07-11 - Release tag information updated for hw071118a.920 4fb5657 - hostboot - 2018-07-10 - Release tag information updated for hw071018a.920 43f4cab - hostboot - 2018-07-07 - Release tag information updated for hw070718b.920 50d85ba - Yue Du - 2018-07-07 - STOP: Fix Core Special Wakeup window condition 61331f0 - hostboot - 2018-07-06 - Release tag information updated for hw070618a.920 1ff4bfd - hostboot - 2018-07-04 - Release tag information updated for hw070318a.920 66176a7 - Prem Shanker Jha - 2018-07-04 - PM: Added support for enable disable of 24x7 IMA. b187d9d - Yue Du - 2018-07-04 - STOP: Clean up stop state after aborted L3 purge during Stop 11 entry 6d1fd2c - Chris Steffen - 2018-07-03 - Alink Hot Repair Fix 169b85d - hostboot - 2018-06-29 - Release tag information updated for hw062918a.920 e3d105d - Brian Vanderpool - 2018-06-29 - STOP: Clear CPPM_PECES on entry during power save cycle to prevent wakeup events 016a745 - hostboot - 2018-06-28 - Release tag information updated for hw062818a.920 b2db756 - hostboot - 2018-06-27 - Release tag information updated for hw062718a.920 9cf14ad - Yue Du - 2018-06-27 - STOP: Fix CME Special Attention handling 6c04729 - hostboot - 2018-06-26 - Release tag information updated for hw062618a.920 dc65a49 - Greg Still - 2018-06-26 - PM: clear Hcode error injection bits upon injection and malf alert e5489c3 - hostboot - 2018-06-25 - Release tag information updated for hw062518a.920 5aec165 - hostboot - 2018-06-23 - Release tag information updated for hw062318a.920 edbff43 - Prem Shanker Jha - 2018-06-23 - STOP API: API conditionally supports 255 SCOM restore entries for each quad. c8b9fe0 - hostboot - 2018-06-22 - Release tag information updated for hw062218a.920 fa642d7 - hostboot - 2018-06-21 - Release tag information updated for hw062118a.920 9fa0bca - Yue Du - 2018-06-21 - STOP: Fix Srr1 wrongly reported upon special wakeup ebe34c4 - hostboot - 2018-06-20 - Release tag information updated for hw062018a.920 8ebf9d2 - hostboot - 2018-06-19 - Release tag information updated for hw061918a.920 Signed-off-by: hostboot <hostboot@us.ibm.com>
The OpenPOWER firmware build process uses Buildroot to create a toolchain and build the various components of the PNOR firmware, including Hostboot, Skiboot, OCC, Petitboot etc.
https://open-power.github.io/op-build/
See the doc/ directory for documentation source. Contributions are VERY welcome!
Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build
See CONTRIBUTING.md for howto contribute code.
To build an image for a Palmetto system:
git clone --recursive git@github.com:open-power/op-build.git cd op-build . op-build-env op-build palmetto_defconfig && op-build
There are also default configurations for other platforms in openpower/configs/
. Current POWER8 platforms include Habanero, Firestone, and Garrison. Current POWER9 platforms include Witherspoon, Boston (p9dsu), Romulus, and Zaius.
Buildroot/op-build supports both native and cross-compilation - it will automatically download and build an appropriate toolchain as part of the build process, so you don't need to worry about setting up a cross-compiler. Cross-compiling from a x86-64 host is officially supported.
Install Ubuntu (>= 14.04) or Debian (>= 7.5) 64-bit.
Enable Universe (Ubuntu only):
sudo apt-get install software-properties-common sudo add-apt-repository universe
Install the packages necessary for the build:
sudo apt-get install cscope ctags libz-dev libexpat-dev \ python language-pack-en texinfo \ build-essential g++ git bison flex unzip \ libssl-dev libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc \ wget bc
Install Fedora 25 64-bit (older Fedora should also work).
Install the packages necessary for the build:
sudo dnf install gcc-c++ flex bison git ctags cscope expat-devel patch \ zlib-devel zlib-static texinfo perl-bignum "perl(XML::Simple)" \ "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" \ "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" libxml2-devel \ which wget unzip tar cpio python bzip2 bc findutils ncurses-devel