mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-11-09 18:04:55 -06:00
Update the vendored FSBL from Sophgo sg200x-dev commit 426d1e7eccce84b34169e5f21de7d6e7da1804a1 to 5a80c127cf614dea7f534d5b5352886a1c720d37, incorporating 24 upstream commits. Keep the local plat/sg200x symlink to cv181x. Import the upstream DDR, clock, storage and boot-image changes together with their platform support, prebuilt firmware and licensing files. All 935 upstream files match the target revision. Validation on LicheeRV Nano (SG2002/C906, SD, DDR3-1866 x16): - Cross-build BL2 with the existing Xuantie GCC 10.2.0 toolchain. - Repack FIP while preserving the installed OpenSBI and U-Boot byte for byte; verify headers, payload checksums, entry addresses and LZMA. - Software reboot and power-cycle boot succeed; memtester 16M 1 passes all 18 checks. Validation covers the FSBL update with existing later boot stages. Full firmware builds, A53 and video/HID acceptance are not covered.
53 lines
1.3 KiB
ReStructuredText
53 lines
1.3 KiB
ReStructuredText
FSBL
|
|
====
|
|
|
|
FSBL is First Stage Boot Loader.
|
|
Act as ATF BL2.
|
|
|
|
License
|
|
=======
|
|
|
|
Project license: GPL-2.0-or-later (SPDX: GPL-2.0-or-later).
|
|
|
|
Unless stated otherwise at file level, original code authored by Sophgo
|
|
Technologies in this repository is licensed under GPL-2.0-or-later
|
|
(see LICENSE at repository root).
|
|
|
|
This project contains code derived from U-Boot (SPDX: GPL-2.0+) which is
|
|
compiled into the FSBL image. The project as a whole is therefore
|
|
distributed under the GPL; BSD licensing is not applicable.
|
|
|
|
Third-party components
|
|
----------------------
|
|
|
|
- ARM Trusted Firmware (TF-A) derived code
|
|
Copyright (c) 2013-2017, ARM Limited and Contributors
|
|
License: BSD-3-Clause (SPDX: BSD-3-Clause)
|
|
|
|
- U-Boot derived code: Designware DWC2 USB device controller
|
|
plat/cv180x/usb/dwc2_udc_otg*.c
|
|
plat/cv180x/include/usb/dwc2_udc*.h
|
|
Copyright (C) 2008 Samsung Electronics, ported to U-Boot by
|
|
Marek Szyprowski and Lukasz Majewski
|
|
License: GPL-2.0-or-later (SPDX: GPL-2.0+)
|
|
|
|
- lib/crc/crc16.c
|
|
License: eCos-2.0 (GPL-2.0 with linking exception)
|
|
|
|
- lib/libtommath/
|
|
License: Unlicense (public domain)
|
|
|
|
- lib/libtomcrypt/
|
|
License: public domain
|
|
|
|
- lib/BigDigits/
|
|
License: MPL-2.0 (see lib/BigDigits/LICENSE.txt)
|
|
|
|
- lib/lz4/
|
|
License: BSD-2-Clause
|
|
|
|
- lib/lzma/
|
|
License: public domain
|
|
|
|
File-level SPDX headers remain authoritative for each individual file.
|