U-Boot (Universal Boot-loader), developed by Denx Software Engineering, serves as the second-stage boot-loader in this system. U-Boot is widely used in embedded systems, supporting various computer architectures. It is free software under the GNU General Public License. As it runs in DRAM, its size is no longer limited by SRAM (only limited by the system's DRAM size), ranging from hundreds of kilobytes to several megabytes. Apart from being a bootloader for the Linux kernel, U-Boot supports access to storage devices like USB flash drives, SD cards, hard disks, reads and burns NOR flash, NAND flash, and eMMC, and supports file systems such as FAT, ext2, ext3, ext4, nfs, ubifs. It also supports network protocols and functions like Ethernet, DHCP, BOOTP, TFTP, NFS, among many others. After initializing itself and external devices, U-Boot then loads Linux from external storage into DRAM and executes it.
General features
Support console at UART0 (@ 115,200 bps).
Support booting Linux from SPI-NOR flash.
Support booting Linux from SPI-NAND and 8-bit NAND flashes.
Support booting Linux from eMMC device.
Support secure-boot (check hash value of Linux image).
Support in-system program SPI-NOR flash.
Support in-system program SPI-NAND and 8-bit NAND flashes.
Support in-system program eMMC device.
Support read ISP images (stored in ISPBOOOT.BIN) from USB flash drives or SD cards.
Support fastboot for eMMC device.
Support fastboot for SPI-NAND and 8-bit NAND flashes.
Drivers locations and features
Drivers | Folders or files | Features |
8-bit NAND | drivers/mtd/nand/raw/sp_paranand/ |
|
Clock | drivers/clk/sunplus/ |
|
eMMC | drivers/mmc/sp_mmc*.* |
|
Giga Ethernet | drivers/net/designware.c |
|
I2C | drivers/i2c/sp_i2c_mas.c |
|
NVNEM (OTP) | drivers/soc/sunplus/ |
|
Reset | drivers/reset/reset-sunplus.c |
|
Pinctrl | drivers/pinctrl/sunplus/ |
|
SD card | drivers/mmc/sp_sd*.* |
|
SPI | drivers/spi/designware_spi.c |
|
SPI-NAND | drivers/mtd/nand/raw/sp_*_q645.* |
|
SPI-NOR | drivers/spi/sp_spi_nor.c |
|
UART | drivers/serial/serial_sunplus.c |
|
USB2.0 EHCI | drivers/usb/host/ehci-sunplus.c |
|
USB2.0 OHCI |
|
|
USB3.0 DRD driver | drivers/usb/host/xhci-spdwc3.c |
|
Video (MIPI/DSI-TX) | drivers/video/sunplus/sp7350/disp/ |
|
Other files
Type | Folders | Files |
|
board | board/sunplus/sp7350/ |
| |
machine | arch/arm/mach-pentagram/ | ||
scripts | include/configs/ | pentagram_common_sp7350_c.h | |
defconfig files | configs/ | sp7350_*_defconfig |