Changes between Version 4 and Version 5 of newport

11/30/2017 06:49:58 PM (5 years ago)
Tim Harvey

added firmware details


  • newport

    v4 v5  
    5757== Software ==
     58 * [#firmware Firmware (up to and including the Bootloader)]
    5859 * [#bsp Newport Board Support Packages and Operating Systems]
    5960 * [#linux Linux kernel support]
    109110Additional references:
    110111 * ​[ OCTEON TX CN80XX-CN81XX Product Brief]
     115= Firmware (Up to and including the Bootloader) =
     116The 'firmware-image' for Newport is defined as the combination of the First level 'boot stub' and the additional firmware stages through the bootloader. This can be broken down into the following stages:
     117 * Boot ROM (internal on CN80XX/CN81XX SoC): fetch first level boot stub (192KB limit) from boot device (MMC or SPI FLASH)
     118 * SPL (Secondary Program Loader)
     119 * Bootloader (U-Boot)
     121For a Secondary Program Loader, or SPL, Gateworks currently uses the Cavium Board Development Kit (BDK) provided by their OCTEON-TX Software Development Kit (SDK). In this current implementation the Boot ROM loads and executes the BDK, the BDK loads and executes the ARM Trusted Firmware (ATF) and the ATF loads and executes the U-Boot bootloader in multiple stages as such:
     122 * First level: Bootstub (firmware/bdk)
     123 * Second level: ATF (firmware/atf)
     124 * Third level: U-Boot (bootloader/u-boot)
     126Gateworks provides a pre-built firmware-image ready to flash onto boot devices as well as source for building and/or modifying the firmware yourself.
     129== Boot ROM ==
     130The OCTEON-TX Boot ROM code loads an image from the primary boot device which can be either MMC or SPI FLASH. For a description of available boot devices see [#bootdevice below].
     134== Boot Device ==
     135Some boards have multiple boot device and may allow selection of which one is the 'primary boot device':
     136||= board =||= Primary Boot Device =||= Alternate Boot Device =||
     137|| GW630x || on board eMMC || microSD ||
     139To boot from the alternate boot device manually you can press-and-release the user pushbutton 5 times in a row and the board will power cycle primary power (the 3.3V LED will go off, then on again) and the board will boot from the alternate boot device.
     141Boards with an Alternate boot device also have a boot watchdog such that if the current boot device fails to boot within 30 seconds, the board will power cycle primary power and attempt boot from the other boot device.