Overview for Axxia 5600 and Axxia 6700 Axxia Systems use a 3 stage boot process to initialize the system and allow an operating system to be loaded. 1. The first stage is part of the asic and loads the Secondary Program Loader (SPL) into the asic’s local memory. If the secure boot feature is enabled, it will verify and optionally decrypt the SPL before transferring control to it. If the redundant boot feature is enabled, the SPL image to load will be selected based on the sequence number of the available images and the cause of the last reset. As the first stage is not based on U-Boot, and cannnot be modified, it is not discussed here. In the 5600 or 6700 simulation environment, a binary of the bootrom will be provided. 2. After control is transferred to the SPL, system memory is initialized and U-Boot is loaded into system memory. 3. Once control is transferred to U-Boot, a prompt is available on uart0.

Local Builds and Modifications Build Environment It is assumed that a Linux host is used to build and that tools are avilable to target aarch64. The cross compilation tools, mentioned above, should be in the PATH and CROSS_COMPILE should contain the proper prefix. SYSROOT should point to the tools sysroot for arm if required by the tools. ARCH should be set to arm64. The secure moniotor from the Axxia ARM trusted firmware repository (https://github.com/axxia/axxia_atf_private.git) is required. To build it, see the wiki for that repository.

A Clone of the Axxia U-Boot Repository To get a local copy of the Axxia U-Boot source tree, do the following. Use the axxia-dev branch. $ git clone https://github.com/axxia/axxia_u-boot.git $ cd axxia_u-boot $ git checkout --track -b axxia-dev origin/axxia-dev When updates or available,

1

$ git checkout axxia-dev $ git pull Specific Releases [Optional] If you want a previously released version of Axxia U-Boot, based on a commit or a tag, do the following. Determine the Tag Name or Commit Number To list the available tags, $ git tag | egrep 'axxia' To list commits. $ git log Create the Branch To create a branch based on a tag or commit, do the following. $ git checkout axxia-dev Then, $ git checkout -b

Build $ make _defconfig Where is one of the following. * * * * * *

axm5600_sim axm5600_emu axm5600 axc6700_sim axc6700_emu axc6700

Copy bl31.o (as described above, see the Readme section of the Axxia ATF wiki at https://github.com/axxia/axxia_atf/wiki) to the spl directory. Note that you may have to create the spl directory. $ make $ ./tools/mkimage -A arm64 -T firmware -C none -a 0 -e 0 -n XLOADER \ -d spl/u-boot-spl.bin spl/u-boot-spl.img $ ./tools/mkimage -A arm64 -T firmware -C none -a 0 -e 0 -n XLOADER \ 2

-d u-boot.bin u-boot.img To use the SSP DMA feature in the boot rom, change the -e 0 option above when creating u-boot-spl.img as follows. Do not change any options when creating u-boot.img. • For emulation, -e 0x00027001. • For simulation or the hardware, -e 0x00197001. u-boot.img is U-Boot. spl/u-boot-spl.img is the SPL.

Updating the SPL and U-Boot Simulation Copy u-boot-spl.img and u-boot.img to the simulation directory.

Emulation or Hardware Using the External Host to Update Serial Flash The SPL and U-Boot can be written to serial flash from the external host. First load the RTE on the external host, then do the following. $ ncpBootMem -a write -r prom -o 0 $ ncpBootMem -a write -r prom -o 0x80000 $ ncpBootMem -a write -r prom -o 0x100000 Using U-Boot If you can get to the U-Boot prompt, update the SPL, parameters, and U-Boot as follows. Note that getting images into memory could be accomplished using the network interface (dhcp, tftp), an external host, or a JTAG debugger. => sf => sf sf => sf sf => sf sf

probe 0 erase 0 40000 the SPL image into memory at $(loadaddr)> write $(loadaddr) 0 40000 erase 80000 10000 the binary parameter file into memory at $(loadaddr)> write $(loadaddr) 80000 10000 erase 100000 200000 the U-Boot image into memory at $(loadaddr)> write $(loadaddr) 100000 200000

3

Using a Debugger A script for DS-5 is avaialable to boot a system with no external host and nothing written to flash. To use it, clone the Axxia errata repository at https://github.com/axxia/axxia_errata.git and use the associated wiki, to do the following. • • • •

Add configuration databases to DS-5 for 5600. Import the script at /ds5/scripts/axm56xx_bringup.ds. Follow the comments in the script to boot U-Boot on the target. Use U-Boot, as described above and in the script comments, to write the SPL, parameters, and U-Boot to serial flash.

Booting a Linux Image Use the build instructions at [https://github.com/axxia/axxia_yocto_linux_4.1/wiki]. Put linux.fit, from the above, in memory at the load address. In simulation, linux.fit should only contain the Linux kernel. For emulation or hardware, linux.fit should contain the Linux kernel and the device tree. In simulation, copy the device tree binary to the simulation directory. In emulation or hardware, this can be accomplished using the network, a copy from serial flash, usb, etc. Once linux.fit is in memory, “bootm $(loadaddr)” will start Linux.

Appendices Parameters and the U-Boot Environment Unless mentioned here, there are no changes to the meaning of U-Boot environment variables. U-Boot documentation is avaible at http://www.denx.de/wiki/UBoot/Documentation. Not all compile time options are enabled, and the list of enabled options varies by target, board, and instance. Some input is required by the SPL to, for example, set the voltage, clocks, initialize system memory, etc. All such input is stored in a parameter file. The parameter file is generated by the ASE. It is stored in serial flash. In some cases, baud rate for example, there are compile time settings, a parameter, and an environment setting. When that is the case, the following sequence and precedence holds. Until the parameter file is available, the compile time setting is used. Once the parameter file is available, the value in it us used. Finally, if the environment contains a setting, that is used. 4

Baud Rate In the header file for each target, CONFIG_BAUDRATE sets the initial baud rate used by the SPL. If there are errors reading the parameter file, they will be sent to the console at this speed. If the baud rate parameter value is 0x80000000, indicating that there should be no change, nothing will change, otherwise, the baud rate will be changed to the value indicated. Since it is possible to start the boot process with U-Boot, skipping the SPL, U-Boot will follow the same sequence. It will begin with CONFIG_BAUDRATE, read the parameter file and switch to it. Finally, there is the U-Boot environment. Note that once “baudrate” is set, it cannot be deleted. If “baudrate” is set, U-Boot will use that value once the environment is available. QoS Control Settings (6700 Only) On 6700, the QoS control registers for the A53 clusters can be controlled by setting the following environment variables. ‘cluster_0_qos’, ‘cluster_1_qos’, etc. The valid bits are 0xf007f, as described in the register documentation. A Sample U-Boot Environment Following is an example U-Boot environment that is used by LSI to verify U-Boot releases. setenv baudrate 9600 setenv bootargs root=/dev/nfs rw mem=2G console=ttyAMA0 ip=dhcp setenv bootcmd setenv autoload ; dhcp ; bootm setenv bootdelay 5 setenv ethact NEMAC setenv ethaddr fdt_high=0x20000000 initrd_high=0x20000000 setenv loadaddr 4000000 stderr=serial stdin=serial stdout=serial

5

Using EIOA as a Network Interface U-Boot can use Ethernet ports in EIOA for network connectivity. GMAC 0-4 and 16-18 can be used as follows. U-boot Environment U-boot environment to setup gmac18 to 1G. setenv setenv setenv setenv

ethact LSI_EIOA eioaport gmac4 macspeed 1G phymedia copper

Possible Values eioaport gmac[0-4,16-18]. macspeed 1G. phymedia copper phy_address Value of phy address when phymedia is copper.

6

Overview for Axxia 5600 and Axxia 6700 Local Builds and ... - GitHub

cd axxia_u-boot. $ git checkout --track -b axxia-dev ... tools/mkimage -A arm64 -T firmware -C none -a 0 -e 0 -n XLOADER \. -d spl/u-boot-spl.bin spl/u-boot-spl.

131KB Sizes 20 Downloads 386 Views

Recommend Documents

Overview Local Builds and Modifications - GitHub
The first stage is part of the asic and loads the Secondary Program Loader. (SPL) into the asic's ... git checkout --track -b lsi-v2013.01.01 origin/lsi-v2013.01.01. 1 ...

Overview Local Builds and Modifications - GitHub
restore "u-boot-spl.bin" binary S:0x20000000 set var $pc ... restore "parameters" binary S:0x2003f000 ... It is possible to use the data path instead of the FEMAC.

LSI Axxia Linux Changes - GitHub
PCIe inbound mapping support on 3500. 1 ... Added support for DEVTMPFS to the default configurations. • Removed power of 2 ..... Define AMARILLO_WA in.

Building ARM Trusted Firmware for Axxia - GitHub
For example, after installing the Yocto tools, set up the environment as follows. ... make PLAT=axxia USE_COHERENT_MEM=0 CRASH_REPORTING=1 bl31 or.

ARM Trusted Firmware: Changes for Axxia - GitHub
atf_84091c4_axxia_1.28. • Update the commit log – no code changes. atf_84091c4_axxia_1.27. • If the last DDR retention reset was caused by timer 7, set bit 1 ...

Changes in the axxia-dev Branch - GitHub
Support setting QoS values for the A53 clusters (6700) with U-Boot environments. ... band boot” or “eioa boot”. An overview is available in Readme.md/Readme.pdf. 2 .... in GPDMA driver. • Define SYSCACHE_ONLY_MODE in config files. 5 ...

Changes in the axxia-dev Branch - GitHub
PCIe designware driver support for simulation. • Fix variable sizes in the environment structure. Note that the environment will have to be restored after loading ...

Changes in the standard/axxia-dev/base Branch - GitHub
standard/axxia-dev/base-10.8.2.x branch is axxia_linux_10.8.2.7. • Configuration and device tree cleanup. 10.8.1.6 Changes. • Add support for X9 PCIe DW MSI.

Axxia Linux Changes Linux 1.59 Changes Linux 1.58 ... - GitHub
Add a driver to 5600 and 6700 for OEM function calls to the secure monitor. This driver ... Remove the unused Ethernet interface in 5600 simulation device trees.

Axxia Linux 3.10 Changes Linux 8.8.1.65 Changes Linux 8.8 ... - GitHub
Support for big endian on ARM (5500). • MSI support on both PCIe ... when writing to it. • GPIO Changes. – Remove GPIO platform data, use the device tree. 5 ...

Overview of Machine Learning and H2O.ai - GitHub
Gradient Boosting Machine: Highly tunable tree-boosting ensembles. •. Deep neural networks: Multi-layer feed-forward neural networks for standard data mining tasks. •. Convolutional neural networks: Sophisticated architectures for pattern recogni

Overview - GitHub
This makes it impossible to update clones. When this happens, ... versions of the Yocto kernel (from the Yocto repository, or the Intel Github repositories on ...

Overview - GitHub
Switch system is mobile Cashier backend sale system for merchants, which provides the following base features: Management of Partners, Merchants, Users, Cashiers, Cash registers, mPOS Terminals and Merchant's Product catalogues. Processing Sales with

Iraq Country Overview - GitHub
is widespread contamination through sophisticated explosive devices, pockets of volatility and reports of violence countrywide. (UN OCHA July. Humanitarian Bulletin). • Internal displacement continues in low numbers throughout Ninewa. Families arri

Overview Instructions - GitHub
The build produces a kernel image, a root file system, and kernel header ... git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build.

MeerKAT Overview - GitHub
Youth Into Science – skills development and training programme. ○. African VLBI Network. MeerKAT focus today… SKA SKA Project .... KAT-7 Software ...

IARPA Overview - GitHub
May 11, 2017 - 1. Coast Guard. Central Intelligence Agency. Army. Navy. Air Force. National ... We emphasize technical excellence & technical truth ...

Overview Instruction - GitHub
IMAGE_FSTYPES += "ext2". PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-custom". Other optional settings for saving disk space and build time:.

Overview Instructions - GitHub
With U-Boot as the boot loader, the above need to be put into a format that U-Boot understands. The following describes using the FIT format (see doc/uImage.

BreedR Overview - GitHub
6 0 56. 72. 0. 55 1. 14 13. 4.775. 9 0 55. 73. 0. 22 1. 8. 13. 19.099 12 0 22. 74. 0 .... Predicted genetic values vs. ...... Plus some more specific metagene functions:.

Overview Instructions - GitHub
Just the Linux kernel. • Linux and the device tree. • Linux, the device tree, and a root file system. The simulator only supports using separate images for Linux ...

Overview Branches - GitHub
convention for a custom branch is custom-[organization domain]. For example custom- ccvonline. It is up to each of those organizations to determine how their ...

Overview Building - GitHub
Using the external or internal host, after loading the RTE,. $ ncpBootMem -a ... ACP2=> tftp 4010000 . ACP2=> ssp w 0 ...

Red Leaves implant - overview - GitHub
Mar 9, 2017 - 0x24. Enumerate users (including RDP / terminal services). 0x28 ..... 6https://www.cylance.com/en_us/blog/the-deception-project-a-new- ...