background image

2.3 

Flash memory programming

This section describes flash memory programming.

 

Note

 

If you are using the recovery images or following the Linaro software release instructions, the firmware
or configuration files do not need to be changed.

For an image file to be programmed into the V2M-Juno motherboard flash memory, it must first be
placed onto the SD card filesystem. Each image must also have a corresponding entry in the 

SITE1/

HBI0262[B/C/D]/images.txt

 file. This file is used by the V2M-Juno motherboard firmware to

determine which images to program into flash memory at boot time.

 

Note

 

ARM recommends that all SoC software images to be loaded are placed in the 

SOFTWARE

 directory of the

SD card.

The following example illustrates the required format for the 

images.txt file

. The number of entries

is likely to differ on a newly received V2M-Juno motherboard.

Example 2-1  Images.txt file format

TITLE: Versatile Express Images Configuration File

[IMAGES]

TOTALIMAGES: 2                     ;Number of Images (Max: 32)

NOR0UPDATE: AUTO                   ;Image Update:NONE/AUTO/FORCE

NOR0ADDRESS: 0x00000000            ;Image Flash Address

NOR0FILE: \SOFTWARE\fip.bin        ;Image File Name

NOR0LOAD: 00000000                 ;Image Load Address

NOR0ENTRY: 00000000                ;Image Entry Point

NOR1UPDATE: AUTO                   ;Image Update:NONE/AUTO/FORCE

NOR1ADDRESS: 0x03EC0000            ;Image Flash Address

NOR1FILE: \SOFTWARE\bl1.bin        ;Image File Name

NOR1LOAD: 00000000                 ;Image Load Address

NOR1ENTRY: 00000000                ;Image Entry Point

The

 TOTALIMAGES

 value informs the V2M-Juno motherboard firmware of the number of images to be

programmed into the flash memory of the board. It must match the number of entries that follow it. If the
value is too low, that is, smaller than the number of images, some images are not programmed into the
flash memory. If it is too high, then the behavior of the V2M-Juno motherboard firmware is 

UNDEFINED

.

 

Note

 

The numbering for images begins at zero. For example, 

NOR0UPDATE

NOR1UPDATE

.

Each entry must have a consistent format that matches the examples that are given. The 

NOR[x]

 naming

prefix must increment with every new entry.

You can define a maximum of 32 entries, with 

NOR31

 being the highest possible prefix name. Above this

value, the behavior of the motherboard firmware is 

UNDEFINED

.

For each 

NOR[x]

 image, the following fields are required:

UPDATE

2 Configuration

2.3 Flash memory programming

ARM DEN0928F

Copyright © 2015 ARM. All rights reserved.

2-19

Non-Confidential

Summary of Contents for Juno ARM

Page 1: ...Juno ARM Development Platform Version 2 0 Getting Started Guide Copyright 2015 ARM All rights reserved ARM DEN0928F ...

Page 2: ...ical errors TO THE EXTENT NOT PROHIBITED BY LAW IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES INCLUDING WITHOUT LIMITATION ANY DIRECT INDIRECT SPECIAL INCIDENTAL PUNITIVE OR CONSEQUENTIAL DAMAGES HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY ARISING OUT OF ANY USE OF THIS DOCUMENT EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES This document consists solely of commercia...

Page 3: ...n when handling Versatile Express boards The motherboard generates uses and can radiate radio frequency energy and may cause harmful interference to radio communications There is no guarantee that interference will not occur in a particular installation If this equipment causes harmful interference to radio or television reception which can be determined by turning the equipment off or on you are ...

Page 4: ...ration 1 14 1 5 Monitor compatibility 1 15 Chapter 2 Configuration 2 1 Connecting to a host computer 2 17 2 2 SD card filesystem layout 2 18 2 3 Flash memory programming 2 19 2 4 Erasing the flash memory 2 21 2 5 Board recovery procedure 2 22 2 6 Juno SoC configuration 2 23 2 7 Linux filesystems 2 24 Chapter 3 Firmware 3 1 Firmware components 3 26 ARM DEN0928F Copyright 2015 ARM All rights reserve...

Page 5: ...2 System Control Processor SCP firmware 3 27 3 3 Application Processor AP firmware 3 28 Appendix A Revisions A 1 Revisions Appx A 30 ARM DEN0928F Copyright 2015 ARM All rights reserved 5 Non Confidential ...

Page 6: ...reface introduces the Juno ARM Development Platform Getting Started Guide It contains the following About this book on page 7 Feedback on page 9 ARM DEN0928F Copyright 2015 ARM All rights reserved 6 Non Confidential ...

Page 7: ...ecial terminology denotes cross references and citations bold Highlights interface elements such as menu names Denotes signal names Also used for terms in descriptive lists where appropriate monospace Denotes text that you can enter at the keyboard such as commands file and program names and source code monospace Denotes a permitted abbreviation for a command or option You can enter the underlined...

Page 8: ...ems ARM DEN 0022 Trusted Board Boot Requirements CLIENT TTBR CLIENT System Software on ARM ARM DEN 0006C 1 ARM Compute Subsystem SCP Message Interface Protocols ARM DUI 0922 ARM Versatile Express Juno r2 Development Platform V2M Juno r2 Technical Reference Manual 100114 ARM Versatile Express Juno r1 Development Platform V2M Juno r1 Technical Reference Manual 100122 ARM Versatile Express Juno Devel...

Page 9: ...hen send an e mail to errata arm com Give The title Juno ARM Development Platform Getting Started Guide The number ARM DEN0928F If applicable the page number s to which your comments refer A concise explanation of your comments ARM also welcomes general suggestions for additions and improvements Note ARM tests the PDF only in Adobe Acrobat and Acrobat Reader and cannot guarantee the quality of the...

Page 10: ...t contains the following sections 1 1 About the Juno ADP on page 1 11 1 2 Ports and I O on page 1 12 1 3 Use of Ethernet ports on page 1 13 1 4 UART configuration on page 1 14 1 5 Monitor compatibility on page 1 15 ARM DEN0928F Copyright 2015 ARM All rights reserved 1 10 Non Confidential ...

Page 11: ...e to hardware limitations Note The big LITTLE MP scheduler is not optimized The following hardware features are available only on Juno r1 and later Peripheral Component Interconnect Express PCIe Gen 2 0 support Reference firmware and other software images are available for the Juno ADP from Linaro Note The use of Juno software is subject to the terms of the Juno End User License Agreement External...

Page 12: ...internally over a Static Memory Bus SMB The USB ports exist only on Juno r0 The following figure shows the rear panel of the V2M Juno motherboard Figure 1 2 V2M Juno motherboard rear panel The rear Ethernet port is not enabled in hardware on Juno r0 On Juno r1 and later it is enabled and connected over the PCI Express bus 1 Introduction 1 2 Ports and I O ARM DEN0928F Copyright 2015 ARM All rights ...

Page 13: ...front Ethernet port is numbered eth0 The rear port is not enabled in hardware and therefore the kernel does not allocate a number Juno r1 and later Using the Linaro tracking kernel with the OpenEmbedded filesystem results in the rear Ethernet port being numbered eth0 This kernel and filesystem combination does not support the front Ethernet port without extra configuration The Linaro Stable Kernel...

Page 14: ...irmware or UEFI FGPA UART0 Corresponds to the J55 header on the V2M Juno motherboard Contact ARM for further information about this type of header Used by the ARM Trusted Firmware FGPA UART1 Corresponds to the J56 header on the V2M Juno motherboard Contact ARM for further information about this type of header Used by the SCP Firmware if it is built in debug mode 1 4 1 Settings For all UARTs the se...

Page 15: ...0 1080 60Hz 91 Yesa 0 n a 9 BenQ GL2450 1920 1080 60Hz 100 Yesa n a n a n a BenQ G2200WT 1680 1050 60Hz 100 No n a n a n a BenQ BL2201 1680 1050 60Hz 100 No n a n a n a Dell P1911 1440 900 60Hz 100 No n a n a n a HP L1940T 1280 1024 60Hz 100 No n a n a n a Iiyama ProLite E511S 1600 1200 60Hz 100 No n a n a n a LG LED 22M35 1920 1080 60Hz 100 Yesa n a n a n a NEC EA274WMi 2560 1440 52 1Hz 100 Yesa ...

Page 16: ... a host computer on page 2 17 2 2 SD card filesystem layout on page 2 18 2 3 Flash memory programming on page 2 19 2 4 Erasing the flash memory on page 2 21 2 5 Board recovery procedure on page 2 22 2 6 Juno SoC configuration on page 2 23 2 7 Linux filesystems on page 2 24 ARM DEN0928F Copyright 2015 ARM All rights reserved 2 16 Non Confidential ...

Page 17: ...el 2 Connect a USB cable between the USB B connector on the rear panel and a USB port of your host computer 3 Connect the 12 volt power supply to the V2M Juno motherboard The serial terminal shows the command prompt Cmd Note If the command prompt is not shown ensure that both configuration switches are in the top position Also reset the V2M Juno motherboard using the hardware reset button The hard...

Page 18: ...ss storage device with a FAT16 filesystem A brief description of the filesystem layout follows SITE1 Motherboard firmware BIOS IOFPGA image PMIC configuration SITE2 Supporting files for LogicTile daughterboards HBI0262B Configuration files for Juno r0 only HBI0262C Configuration files for Juno r1 only SOFTWARE SoC software images SCP Firmware ARM Trusted Firmware UEFI Linux etc config txt Configur...

Page 19: ...R0FILE SOFTWARE fip bin Image File Name NOR0LOAD 00000000 Image Load Address NOR0ENTRY 00000000 Image Entry Point NOR1UPDATE AUTO Image Update NONE AUTO FORCE NOR1ADDRESS 0x03EC0000 Image Flash Address NOR1FILE SOFTWARE bl1 bin Image File Name NOR1LOAD 00000000 Image Load Address NOR1ENTRY 00000000 Image Entry Point The TOTALIMAGES value informs the V2M Juno motherboard firmware of the number of i...

Page 20: ...ograms the flash memory with the contents of the file on the SD card at every boot regardless of whether it has changed or not ADDRESS The base address within the flash memory that the image is programmed to The address must always be prefixed with 0x NAME The path to and name of the file that is programmed All paths must be specified from the root of the SD card filesystem LOAD Leave as zero unle...

Page 21: ...nitializes 3 At the Flash prompt enter eraseall 4 Once the V2M Juno motherboard firmware has finished erasing the flash memory at the Flash prompt enter exit 5 The V2M Juno motherboard powers down and returns to the Cmd prompt On the subsequent boot the V2M Juno motherboard firmware copies images from the SD card into the flash memory following the definitions in the images txt file You should see...

Page 22: ...tforms There are multiple firmware bundles available each of which provides a different software environment for example Android OpenEmbedded or Busybox Extract the required bundle directly onto the SD card ensuring that the directory structure of its archive is preserved 6 If the host computer operating system is Linux ARM recommends that you use the sync command to ensure that any pending write ...

Page 23: ...lity to boot the SCP Firmware and ARM Trusted Firmware successfully Example 2 2 board txt file BOARD HBI0262 TITLE V2M Juno DevChip Configuration File SCC REGISTERS TOTALSCCS 9 SCC 0x10C 0x00019300 A53 PLL Register 1 SCC 0x0F8 0x0BEC0000 BL1 entry point SCC 0xA14 0x00000000 PCLKDBG_CONTROL DIV 1 SCC 0x118 0x003F1000 SYS PLL Register 0 1600MHz SCC 0x11C 0x0001F100 SYS PLL Register 1 SCC 0x100 0x003...

Page 24: ... a filesystem to be attached Note If you are using a pre built Busybox image the system will boot Linux fully without the need for an external USB storage device containing a filesystem ARM recommends that a USB disk is connected using one of the four USB 2 0 ports on the rear panel The type of USB disk can be a flash drive or a hard drive as both are compatible See http community arm com groups a...

Page 25: ...no ADP supports It contains the following sections 3 1 Firmware components on page 3 26 3 2 System Control Processor SCP firmware on page 3 27 3 3 Application Processor AP firmware on page 3 28 ARM DEN0928F Copyright 2015 ARM All rights reserved 3 25 Non Confidential ...

Page 26: ...ystem SCP Message Interface Protocols document available at http infocenter arm com help topic com arm doc dui0922 index html ARM Trusted Firmware ARM Trusted Firmware provides a reference implementation of Secure world software for ARMv8 A including Exception level 3 EL3 software Unified Extensible Firmware Interface UEFI The Juno ADP implementation of UEFI provides operating system loader suppor...

Page 27: ... to the SCP RAM firmware and the boot process continues More information about the Boot Over MHU BOM protocol used for this process is available as part of the ARM Compute Subsystems SCP Message Interface Protocols document available from http infocenter arm com help topic com arm doc dui0922 index html 3 2 2 SCP RAM firmware The SCP RAM firmware is a second firmware image for the SCP which provid...

Page 28: ...ase code syncing instructions at http community arm com groups arm development platforms The ARM Trusted Firmware code is designed for reuse or porting to other ARMv8 A model and hardware platforms 3 3 2 Unified extensible Interface Firmware UEFI The Unified Extensible Firmware Interface UEFI is a boot firmware specification that the UEFI forum maintains and develops ARM is a member of the UEFI fo...

Page 29: ...s appendix describes the technical changes between released issues of this book It contains the following sections A 1 Revisions on page Appx A 30 ARM DEN0928F Copyright 2015 ARM All rights reserved Appx A 29 Non Confidential ...

Page 30: ... the original footnote a 1 5 Monitor compatibility on page 1 15 Issue D Updated 3 18 kernel command line argument replacing DVI D with HDMI A 1 5 Monitor compatibility on page 1 15 Issue D Deleted footnote reference for BenQ GL2450 in the Success rate column 1 5 Monitor compatibility on page 1 15 Issue D Table A 5 Table A 5 Differences between Issue D and Issue E Change Location Affects No changes...

Reviews: