Overview LSI Axxia Systems use a 3 stage boot process to initialize the system and allow an operating system to be loaded. • The first stage is part of the asic and loads the 2nd stage into the asic’s local memory. If the secure boot feature is available, it will optionally verify and decrypt the 2nd stage before transferring control to it. As the first stage is not based on U-Boot, and cannnot be modified, it is not discussed here. • After control is transferred to the 2nd stage, system memory is initialized and the 3rd stage (also based on U-Boot) is loaded into it.

Building Get the Source Clone the LSI Axxia U-Boot repository as follows. $ git clone https://github.com/axxia/axxia_u-boot.git $ cd axxia_u-boot $ git checkout --track -b lsi-v2010.03 origin/lsi-v2010.03

Set Up the Environment Add the tool binary directory to PATH and set CROSS_COMPILE to the tool prefix. If using a tool chain that depends on libgcc.a, SYSROOT should be set so that ‘CROSS_COM P ILEgcc − −sysroot ={SYSROOT} -print-libgcc-filename’ returns the full path to libgcc.a. Set ARCH to either arm or powerpc. Set the BOARD_TYPE to one of the following. ACP344xV2_stage2 2nd stage for 344xV2 targets. ACP344xV2_stage3 3rd stage for 344xV2 targets.
ACP342xC_stage2
2nd stage for 342xC targets.
ACP342xC_stage3
1

3rd stage for 342xC targets.
ACP342xD_stage2
2nd stage for 342xD targets.
ACP342xD_stage3
3rd stage for 342xD targets.
AXM35xx_stage2
2nd stage for 35xx targets.
AXM35xx_stage3
3rd stage for 35xx targets.


Configure and Build With the environment set up as above, configure and build as follows. make distclean ${BOARD\_TYPE}\_config make

Create the Images The 2nd Stage This requires a parameter file, which is part of ther RTE. Once the RTE is available, the following will create a binary which includes the 2nd stage (created above) and the parameters. ncpBootMem -v 8 -a image -r prom <2nd stage binary> Write (created above) to offset 0 in serial flash. the 3rd stage After “make” (above) u-boot.img is the 3rd stage.

Update SPI Device 0 or 1 Put (from above) at offset 0 and u-boot.img (from above) at offset 0x200000 in SPI device 0. Note that on devices with serial eeprom instead of serial flash, the 3rd stage must be loaded from the network, nand, or some larger SPI device. 2

There are two SPI devices, 0 and 1. Device 0 will be used by the boot rom to load the 2nd stage. It is possible to switch the address of the devices as follows. Galveston SW1.11 [SPI/NAND FLASH boot selection] Down = Primary Up = Backup Mission Internal jumper (?). El Paso, Junction, or Progresso SW12 [?] Down = ? Up = ? Using the external or internal host, after loading the RTE, $ ncpBootMem -a write -r prom $ ncpBootMem -a write -r prom -o 0x200000 To write to the backup SPI device, add ‘-b’ to the ncpBootMem options. At the U-Boot Prompt Use tftp to get the 2nd stage image and binary parameters into memory. Once that has been done, update SPI device 0 using the ‘ssp’ command. ACP2=> ACP2=> ACP2=> ACP2=> ACP2=>

setenv autoload no ; dhcp tftp 4000000 tftp 4010000 ssp w 0 4010000 0 1fc00 ssp w 0 4000000 1fc00 400

Note that this can be done at the 3rd stage prompt as well. To write to the backup SPI devcie, change the device from 0 to 1, for example, “ssp w 0 . . . ” would become “ssp w 1 . . . ”. If the boot fails after updating the 2nd stage, switch to the backup SPI device.

3

Enable the Internal Cores and L2s $ ncpWrite 0x18d.0.0x28 0xab $ ncpWrite 0x18e.0.0x8 0 $ ncpWrite 0x18e.0.0x4 0

The U-Boot Environment Set up the U-Boot environment as follows. ‘printenv’ will display the current environment and ‘saveenv’ will save the environment after any changes. Replace with the MAC address of your board. ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2> ACP2>

setenv setenv setenv setenv setenv setenv setenv setenv setenv setenv setenv setenv setenv setenv

loads\_echo bootdelay 5 baudrate 9600 loadaddr 4000000 initrd\_high 8000000 osmemory 0x100 osgroup0\_bootargs console=ttyS0 ip=dhcp root=/dev/nfs rw mtdparts mtdparts=acp-nand:512K(2ndStage),512K(env-0),512K(env-1),2M(3rdStage), fdt\_high 0xffffffff ethaddr plb6\_hpc 0x1000 plb6\_paam 1 ad\_value 0x61 osgroup0 0x30000df1:0:0x100

Boot Sequence Cold Start After turning on the power, or a system/chip reset, this is what happens. Note that this assumes the target is in internal boot mode and the boot target is ROM. • All cores are enabled and start execution at 0xfffffffe, which is the last word in ROM. Core 0 continues executing ROM code, all other cores are set to jump to offset 0 in system memory when an interrupt is received, and then put in the WFI state. • Core 0 sets up the system enough to read SPI device 0 and access LCM, then reads 128K from offset 0 in SPI device 0 to offset 0 in LCM. It then jumps to offset 0 in LCM. 4

• U-Boot (2nd stage) is executed by core 0 in LCM. System memory is initialized and U-Boot (the 3rd stage) gets put in system memory at offset 0. Core 0 jumps to offset 0 in system memory. • U-Boot (3rd stage) is executed by core 0 in system memory. After setting up spin tables, core 0 sends an IPI to all other cores that will be used by the system. The other cores jump to offset 0 in system memory and are placed in a loop waiting for the OS to set the entry address in the spin table. Core 0 loads the OS into system memory and jumps to the OS. • The OS writes an address to the spin tables of the secondary cores. Once the secondary cores see the address change, they jump to it and enter the control of the OS.

5

Overview Building - GitHub

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

147KB Sizes 7 Downloads 340 Views

Recommend Documents

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 ...

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- ...

Intel® Software Template Overview - GitHub
“Table 13 shows that the DS2 system outperforms humans in 3 out of the 4 test sets and is competitive on the fourth. Given this result, we suspect that there is little room for a generic speech system to further improve on clean read speech without

Intel® Software Template Overview - GitHub
Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm. Intel, Quark, VTune, Xeon, Cilk, Atom, Loo

Building Blocks Design - GitHub
daily-ipad-app-blocksworld-hd-lets-you-build-and-play-with-3d-b/. [4] Maister ... zombies-run-naomi-alderman-app. [6] Ohan ... columbia.edu/~ohan/oda08.pdf.

Chatter REST API Developer Overview - GitHub
Building an application outside the Salesforce platform. • Pull feed and social graph out into another application. • Push notifications and activity into the feed.

Makerspace RFID Lock Management Overview - GitHub
python manage.py loaddata rfid_lock_management/fixtures/initial.json. Run the Django development server. $ python manage.py runserver ... microcontroller (Arduino) that connects to the RFID scanner and operates the locking mechanism. Simulating authe

MeqTree Kernel Design Overview (PSS4) - GitHub
Nodes are implemented as C++ objects, subclassed from the abstract Meq::Node class2. ..... Glish array indices are 1-based, while C++ indices are 0-based. This ...... This notation conveniently hides a lot of messy processing: real Vells are ...

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.

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 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 ...

Building an Impenetrable ZooKeeper - GitHub
Sep 24, 2012 - One consistent framework to rule coordinawon across all systems. – Observe every operawon ... HBase. App. MR. Disk/Network ... without any service running on port 2181 so the client can fail over to the next ZK server from ...

5 Meeting Overview - Consensus Building Institute
many different efforts could connect to and build on. ... Update its website to highlight sustainability initiatives and services and best practices for residents and ...

5 Meeting Overview - Consensus Building Institute
many different efforts could connect to and build on. ... Update its website to highlight sustainability initiatives and services and best practices for residents and ...