Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
c1e7ae0a
Unverified
Commit
c1e7ae0a
authored
Dec 09, 2017
by
davidcunado-arm
Committed by
GitHub
Dec 09, 2017
Browse files
Merge pull request #1186 from antonio-nino-diaz-arm/an/poplar-doc
poplar: Fix format of documentation
parents
7ddc1326
ded88a00
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/plat/poplar.rst
View file @
c1e7ae0a
...
@@ -11,6 +11,8 @@ of running any commercial set-top solution based on Linux or Android.
...
@@ -11,6 +11,8 @@ of running any commercial set-top solution based on Linux or Android.
It supports a premium user experience with up to H.265 HEVC decoding of 4K
It supports a premium user experience with up to H.265 HEVC decoding of 4K
video at 60 frames per second.
video at 60 frames per second.
::
SOC Hisilicon Hi3798CV200
SOC Hisilicon Hi3798CV200
CPU Quad-core ARM Cortex-A53 64 bit
CPU Quad-core ARM Cortex-A53 64 bit
DRAM DDR3/3L/4 SDRAM interface, maximum 32-bit data width 2 GB
DRAM DDR3/3L/4 SDRAM interface, maximum 32-bit data width 2 GB
...
@@ -28,6 +30,8 @@ At the start of the boot sequence, the bootROM executes the so called l-loader
...
@@ -28,6 +30,8 @@ At the start of the boot sequence, the bootROM executes the so called l-loader
binary whose main role is to change the processor state to 64bit mode. This
binary whose main role is to change the processor state to 64bit mode. This
must happen prior invoking the arm trusted firmware:
must happen prior invoking the arm trusted firmware:
::
l-loader --> arm_trusted_firmware --> u-boot
l-loader --> arm_trusted_firmware --> u-boot
How to build
How to build
...
@@ -54,10 +58,16 @@ Build Procedure
...
@@ -54,10 +58,16 @@ Build Procedure
- Prepare the AARCH64 toolchain.
- Prepare the AARCH64 toolchain.
- Build u-boot using poplar_defconfig
- Build u-boot using poplar_defconfig
.. code:: bash
make CROSS_COMPILE=aarch64-linux-gnu- poplar_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- poplar_defconfig
make CROSS_COMPILE=aarch64-linux-gnu-
make CROSS_COMPILE=aarch64-linux-gnu-
- Build atf providing the previously generated u-boot.bin as the BL33 image
- Build atf providing the previously generated u-boot.bin as the BL33 image
.. code:: bash
make CROSS_COMPILE=aarch64-linux-gnu- all fip SPD=none PLAT=poplar
make CROSS_COMPILE=aarch64-linux-gnu- all fip SPD=none PLAT=poplar
BL33=u-boot.bin
BL33=u-boot.bin
...
@@ -81,85 +91,86 @@ working firmware to eMMC.
...
@@ -81,85 +91,86 @@ working firmware to eMMC.
Boot trace
Boot trace
==========
==========
Bootrom start
::
Boot Media: eMMC
Decrypt auxiliary code ...OK
Bootrom start
Boot Media: eMMC
lsadc voltage min: 000000FE, max: 000000FF, aver: 000000FE, index: 00000000
Decrypt auxiliary code ...OK
Entry boot auxiliary code
lsadc voltage min: 000000FE, max: 000000FF, aver: 000000FE, index: 00000000
Auxiliary code - v1.00
Entry boot auxiliary code
DDR code - V1.1.2 20160205
Build: Mar 24 2016 - 17:09:44
Auxiliary code - v1.00
Reg Version: v134
DDR code - V1.1.2 20160205
Reg Time: 2016/03/18 09:44:55
Build: Mar 24 2016 - 17:09:44
Reg Name: hi3798cv2dmb_hi3798cv200_ddr3_2gbyte_8bitx4_4layers.reg
Reg Version: v134
Reg Time: 2016/03/18 09:44:55
Boot auxiliary code success
Reg Name: hi3798cv2dmb_hi3798cv200_ddr3_2gbyte_8bitx4_4layers.reg
Bootrom success
Boot auxiliary code success
LOADER: Switched to aarch64 mode
Bootrom success
LOADER: Entering ARM TRUSTED FIRMWARE
LOADER: CPU0 executes at 0x000ce000
LOADER: Switched to aarch64 mode
LOADER: Entering ARM TRUSTED FIRMWARE
INFO: BL1: 0xe1000 - 0xe7000 [size = 24576]
LOADER: CPU0 executes at 0x000ce000
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v1.3(debug):v1.3-372-g1ba9c60
INFO: BL1: 0xe1000 - 0xe7000 [size = 24576]
NOTICE: BL1: Built : 17:51:33, Apr 30 2017
NOTICE: Booting Trusted Firmware
INFO: BL1: RAM 0xe1000 - 0xe7000
NOTICE: BL1: v1.3(debug):v1.3-372-g1ba9c60
INFO: BL1: Loading BL2
NOTICE: BL1: Built : 17:51:33, Apr 30 2017
INFO: Loading image id=1 at address 0xe9000
INFO: BL1: RAM 0xe1000 - 0xe7000
INFO: Image id=1 loaded at address 0xe9000, size = 0x5008
INFO: BL1: Loading BL2
NOTICE: BL1: Booting BL2
INFO: Loading image id=1 at address 0xe9000
INFO: Entry point address = 0xe9000
INFO: Image id=1 loaded at address 0xe9000, size = 0x5008
INFO: SPSR = 0x3c5
NOTICE: BL1: Booting BL2
NOTICE: BL2: v1.3(debug):v1.3-372-g1ba9c60
INFO: Entry point address = 0xe9000
NOTICE: BL2: Built : 17:51:33, Apr 30 2017
INFO: SPSR = 0x3c5
INFO: BL2: Loading BL31
NOTICE: BL2: v1.3(debug):v1.3-372-g1ba9c60
INFO: Loading image id=3 at address 0x129000
NOTICE: BL2: Built : 17:51:33, Apr 30 2017
INFO: Image id=3 loaded at address 0x129000, size = 0x8038
INFO: BL2: Loading BL31
INFO: BL2: Loading BL33
INFO: Loading image id=3 at address 0x129000
INFO: Loading image id=5 at address 0x37000000
INFO: Image id=3 loaded at address 0x129000, size = 0x8038
INFO: Image id=5 loaded at address 0x37000000, size = 0x58f17
INFO: BL2: Loading BL33
NOTICE: BL1: Booting BL31
INFO: Loading image id=5 at address 0x37000000
INFO: Entry point address = 0x129000
INFO: Image id=5 loaded at address 0x37000000, size = 0x58f17
INFO: SPSR = 0x3cd
NOTICE: BL1: Booting BL31
INFO: Boot bl33 from 0x37000000 for 364311 Bytes
INFO: Entry point address = 0x129000
NOTICE: BL31: v1.3(debug):v1.3-372-g1ba9c60
INFO: SPSR = 0x3cd
NOTICE: BL31: Built : 17:51:33, Apr 30 2017
INFO: Boot bl33 from 0x37000000 for 364311 Bytes
INFO: BL31: Initializing runtime services
NOTICE: BL31: v1.3(debug):v1.3-372-g1ba9c60
INFO: BL31: Preparing for EL3 exit to normal world
NOTICE: BL31: Built : 17:51:33, Apr 30 2017
INFO: Entry point address = 0x37000000
INFO: BL31: Initializing runtime services
INFO: SPSR = 0x3c9
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x37000000
INFO: SPSR = 0x3c9
U-Boot 2017.05-rc2-00130-gd2255b0 (Apr 30 2017 - 17:51:28 +0200)poplar
Model: HiSilicon Poplar Development Board
U-Boot 2017.05-rc2-00130-gd2255b0 (Apr 30 2017 - 17:51:28 +0200)poplar
BOARD: Hisilicon HI3798cv200 Poplar
DRAM: 1 GiB
Model: HiSilicon Poplar Development Board
MMC: Hisilicon DWMMC: 0
BOARD: Hisilicon HI3798cv200 Poplar
In: serial@f8b00000
DRAM: 1 GiB
Out: serial@f8b00000
MMC: Hisilicon DWMMC: 0
Err: serial@f8b00000
In: serial@f8b00000
Net: Net Initialization Skipped
Out: serial@f8b00000
No ethernet found.
Err: serial@f8b00000
Net: Net Initialization Skipped
Hit any key to stop autoboot: 0
No ethernet found.
starting USB...
USB0: USB EHCI 1.00
Hit any key to stop autoboot: 0
scanning bus 0 for devices... 1 USB Device(s) found
starting USB...
USB1: USB EHCI 1.00
USB0: USB EHCI 1.00
scanning bus 1 for devices... 4 USB Device(s) found
scanning bus 0 for devices... 1 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 4 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found
USB device 0:
USB device 0:
Device 0: Vendor: SanDisk Rev: 1.00 Prod: Cruzer Blade
Device 0: Vendor: SanDisk Rev: 1.00 Prod: Cruzer Blade
Type: Removable Hard Disk
Type: Removable Hard Disk
Capacity: 7632.0 MB = 7.4 GB (15630336 x 512)
Capacity: 7632.0 MB = 7.4 GB (15630336 x 512)
... is now current device
... is now current device
Scanning usb 0:1...
Scanning usb 0:1...
=>
=>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment