You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Under construction…
X-Boot is the first-stage boot loader. It is loaded into internal SRAM and run by internal ROM code of SP7350. Note that before X-Boot initializes and trains DRAM controller, DRAM is not available.
x-boot is loaded and run at SRAM before DRAM is available.
x-boot is responsible for doing DDR SDRAM training.
x-boot is responsible for loading U-Boot image.
x-boot is responsible for loading and running TF-A and OP-TEE OS.
General features
Output log at UART0 (at 115,200 bps).
Support accessing OTP using Sunplus OTPTool via UART0.
Support loading firmware of LPDDR4/DDR4/DDR3 from boot devices.
Support 1D and 2D training of LPDDR4, DDR4 and DDR3 SDRAM.
Support loading image of TF-A (BL31), OP-TEE (BL32) and U-Boot (BL33) from boot devices.
Support secure-boot:
Verify digital signature of fip (TF-A and OP-TEE) and U-Boot images.
Decrypt fip image.
Support warm-boot.
Switch CA55 to 64-bit mode and jump to run TF-A.
Drivers locations and features
Drivers | Folders | |
8-bit NAND | nand/ | Support loading U-Boot image from 8-bit NAND flash. First block of 8-bit NAND flash should contain Sunplus Boot Profile Header. Support reading 1K60 ECC sectors. U-Boot image should be stored in 1K60 sectors.
|
ADC | adc/ | |
eMMC | sdmmc/ | Support loading U-Boot image from eMMC device. U-Boot image should be stored at User Data Area. eMMC should contain GUID Partition Table (GPT).
|
I2C driver | i2c/ | Support I2C master mode. Support 100kHz and 400kHz speeds.
|
NVMEN (OTP) | otp/ | Support read and write OTP.
|
SD card | sdmmc/ | Support loading U-Boot image from an SD card. U-Boot image should be stored at root directory of first partition of the SD card. File-name of the U-Boot image should be u-boot.img. First partition of the SD card should be FAT32 or FAT16 format.
|
SPI-NAND | nand/ | Support loading U-Boot image from SPI-NAND flash. First block of SPI-NAND flash should contain Sunplus Boot Profile Header. Support reading 1K60 ECC sectors. U-Boot image should be stored in 1K60 ECC sectors. Support SPI-NAND flash mounted in X1 or X2 position.
|
USB2.0 Host | usb/ | Support loading U-Boot image from an USB flash drive in USB2.0 port. U-Boot image should be stored at root directory of first partition of the USB flash drive. File-name of the U-Boot image should be u-boot.img. First partition of the USB flash drive should be FAT32 or FAT16 format. Support high-speed read operation only
|
USB3.0 Host | usb/ | Support loading U-Boot image from an USB flash drive in USB3.0 port. U-Boot image should be stored at root directory of first partition of the USB flash drive. File-name of the U-Boot image should be u-boot.img. First partition of the USB flash drive should be FAT32 or FAT16 format. Support high-speed read operation only
|
Other files
Type | Folders | Files | |
machine | arch/arm/sp7350/ | a64up/ | |
aboot.S | |
boot.ld | |
cache.c | |
cpu/ | |
include/ | |
page_table/ | |
start.S | |
default config files | configs/ | sp7350_emmc_ev_defconfig | |
sp7350_sdcard_ev_defconfig | |
All defconfig files are placed at configs/. Normally, the file name proceed with sp7350- and followed by defconfig, like sp7350_emmc_ev_defconfig, sp7350_sdcard_ev_defconfig, and etc.