summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2023-09-07Merge tag 'JH7110_515_SDK_v5.7.2' into vf2-develAndy Hu2-0/+2
2023-09-07common: autoboot: Add auto-fastboot on StarFive SoCXingyu Wu1-0/+1
Add auto-fastboot function before autoboot on StarFive SoC and add a config to enable or disable this. In the auto-fastboot, it check a environment flag of 'fb_sf_completed' first. The flag is NULL and then the fastboot will work. The flag will be set from USB tool to indicate done after flashing the image. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-09-07drivers: fastboot: Add logical-block-size in getvar commandXingyu Wu1-0/+1
Add a new parameter to get "logical-block-size" in getvar command. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-08-17Merge branch 'CR_6370_nvme_sd_boot_samin.guo' into 'vf2-devel'VF2_v3.6.1andy.hu1-106/+116
CR6370: riscv: starfive: vf2: Optimize boot logic(sd/nvme) See merge request sbc/u-boot!61
2023-08-17Merge tag 'JH7110_515_SDK_v5.6.0' into vf2-develAndy Hu1-17/+121
2023-08-16riscv: starfive: evb: Add EVB_SDK_BOOTENVSamin Guo1-0/+10
Add BOOTENV for jh7110 evb Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: jh7110: Add JH7110_XX_BOOTENSamin Guo1-0/+111
Add JH7110_DISTRO_BOOTEN/JH7110_SDK_BOOTEN for debian/sdk boot on JH7110 SOC. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: evb: remove unused bootenvSamin Guo1-17/+0
will be replaced by the new bootenv Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: vf2: Add VF2_SDK_BOOTENVSamin Guo1-0/+10
Add BOOTENV for visionfive 2 Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: jh7110: Add JH7110_XX_BOOTENSamin Guo1-0/+111
Add JH7110_DISTRO_BOOTEN/JH7110_SDK_BOOTEN for debian/sdk boot on JH7110 SOC. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: vf2: remove unused BOOTENVSamin Guo1-101/+0
These bootenvs do not apply with multiple boots Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-08-16riscv: starfive: vf2: remove CHIPA_SET_FORCESamin Guo1-10/+0
CHIPA_SET_FORCE is for debug and no need any more. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-27Merge tag 'JH7110_515_SDK_v5.4.2' into vf2-develAndy Hu1-0/+10
2023-07-26mmc: starfive: fix mmc device power-up sequenceWilliam Qiu1-0/+9
fix mmc device power-up sequence. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-26mmc: starfive: add HS200 supportWilliam Qiu1-0/+1
Add tuning and other related code to the driver to support HS200 mode. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-20Merge tag 'JH7110_515_SDK_v5.4.1' into vf2-develAndy Hu1-0/+38
2023-07-19board: starfive: evb: Add dynamic CMA adjustment schemeSamin Guo1-0/+38
Synchronize from vf2 to the dynamic CMA scheme Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-13Merge tag 'JH7110_515_SDK_v5.4.0' into vf2-develAndy Hu1-20/+12
2023-07-10board: starfive: vf2: Adjust the CMA size adaptivelySamin Guo1-1/+34
Adaptively adjust the CMA size according to the DDR size Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-10board: starfive: vf2: Optimize environment variablesSamin Guo1-5/+4
Optimized environment variables for debian boot Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-10borad: starfive: vf2: Resize the address spaceSamin Guo1-22/+11
Readjust the address space for 1G DDR Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-10borad: starfive: evb: Synchronize environment variables from vf2Samin Guo1-0/+4
loadaddr fdtoverlay_addr_r kernel_comp_addr_r/kernel_comp_size Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-10borad: starfive: evb: Resize the address spaceSamin Guo1-20/+8
Readjust the address space for 1G DDR Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-07borad: starfive: vf2: Optimized kernel_comp_addr_r and kernel_comp_sizeSamin Guo1-2/+2
Usually, kernel_comp_size only need 0x4000000. Optimize kernel_comp_addr_r for better compatibility with 1G DDR situations. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-05board: starfive: jh7110: Add support for 1.25GHz chipsMason Huo1-30/+30
Remove max cpu voltages: 1.12v, 1.10v, 1.08v. Set the cpu max frequency to 1.25G per OTP value. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-06-02board: starfive: jh7110: Add support for 1.25GHz chipsMason Huo2-60/+60
Remove max cpu voltages: 1.12v, 1.10v, 1.08v. Set the cpu max frequency to 1.25G per OTP value. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-05-31VisionFive 2: Add default device tree overlay addressVF2_v3.0.4MichaIng1-0/+1
This is needed for device tree overlays to work when adding them via "fdtoverlays /path/to/overlay.dtbo" to extlinux.conf. Of course this can be also set in uEnv.txt, but this U-Boot build reads that environment file from partition 3 with FAT filesystem only, which makes this an unnecessary limitation. Also, this variable is listed as mandatory in upstream U-Boot docs: https://github.com/u-boot/u-boot/blob/master/doc/develop/distro.rst#required-environment-variables To allow using device tree overlays on the VisionFive 2, including the one shipped with StarFive's own kernel build, via extlinux in a generic and upstream-compatible way, this variable is hereby added. The used address is sufficiently distant from the initramfs address, also in case 0x48100000 is used (override via uEnv.txt in StarFive's Debian image). Signed-off-by: MichaIng <micha@dietpi.com>
2023-05-31VisionFive 2: Add default compressed kernel addressMichaIng1-0/+2
The default U-Boot environment does not provide kernel_comp_addr_r and kernel_comp_size, needed when using a compressed kernel image. These variables are listed as mandatory in upstream U-Boot to allow this feature without needed user configuration: https://github.com/u-boot/u-boot/blob/master/doc/develop/distro.rst#required-environment-variables The values are taken from the uEnv.txt shipped by StarFive's own Debian images, which does use a gzip-compressed kernel image hence proven to be valid. Adding those values to the U-Boot default environment allows them to be removed from the dedicated uEnv.txt and enables support for compressed kernel images independent of the used uEnv.txt or whether one is used at all. Signed-off-by: MichaIng <micha@dietpi.com>
2023-05-12Merge branch 'CR_5228_debian_nvme_boot' into 'vf2-devel'andy.hu1-8/+28
CR_5228: Added booting from nvme support for debian See merge request sbc/u-boot!50
2023-05-12Merge tag 'JH7110_515_SDK_v4.9.0' into vf2-develAndy Hu1-0/+16
1. u-boot: Merge branch 'CR_5042_gmac_phy_delay_ds_samin.guo' into 'jh7110-master' Merge branch 'CR_4854_nvboot_shanlong.li' into 'jh7110-master'
2023-05-05uboot: evb support boot from nvme ssdshanlong.li1-0/+16
support boot from nvme ssd Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-05-02Added booting from nvme support for debianClement1-8/+28
Signed-off-by: Clement <clement@starfivetech.com>
2023-04-28Merge tag 'JH7110_515_SDK_v4.8.2' into vf2-develAndy Hu3-3/+5
2023-04-23board: starfive: copyright: Standardize the copyright formatYanhong Wang4-4/+6
Unify the content format of the copyright section Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-04-07board: starfive: jh7110: Modify cpu voltage set commandsMason Huo1-11/+19
Update the cpu voltage set commands per binning information from OTP. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-07board: starfive: jh7110: Modify cpu voltage set commandsMason Huo2-13/+28
Update the cpu voltage set commands per binning information from OTP. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-03-30configs: starfive: add nvme boot commandshanlong.li1-17/+32
add nvme boot command Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-03-19Merge branch 'CR_4117_vf2_sysboot_add_cpuvolset' into 'vf2-devel'andy.hu1-0/+1
CR_4117: Added cpu_vol_set to distro sysboot flow See merge request sbc/u-boot!42
2023-03-19Merge branch 'CR_3910_Add_cpu_vol_mason.huo' into 'vf2-devel'andy.hu1-1/+15
CR_3910 board: starfive: jh7110: Add 1.1 & 1.02v max cpu voltage See merge request sbc/u-boot!39
2023-03-19Merge tag 'JH7110_515_SDK_v4.5.1' into vf2-develAndy Hu1-1/+15
version JH7110_515_SDK_v4.5.1 for JH7110 EVB board 1. #4094: u-boot: update uboot logo display function 2. #3910: u-boot: add 1.1 & 1.02v max cpu voltage to enhance cpu binning voltage type
2023-03-17Merge branch 'CR_4094_evb_515_uboot_logo_keith.zhao' into 'jh7110-master'andy.hu2-1/+11
CR_4094 display: update uboot logo display function: See merge request sdk/u-boot!42
2023-03-17CR_4094 display: update uboot logo display function:keith.zhao2-1/+11
2023-03-17Added cpu_vol_set to distro sysboot flowClement1-0/+1
Signed-off-by: Clement <clement@starfivetech.com>
2023-03-17display: update uboot logo display function:keith.zhao2-0/+8
1. the current default support 8bpp bitmap expansion to 8, 16, 24, 32bpp bitmap 2. Set the logo display position to center from the upper left corner by default 3. Optimize the logo replacement process Signed-off-by: keith <keith.zhao@starfivetech.com>
2023-03-15board:riscv:jh7110: modify config for starfive JH7110 boardkeith.zhao2-1/+5
add board_late_init to init display memory config the bitmap picture Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
2023-03-15vout:dc8200: add vout mipi hdmi driverkeith.zhao1-0/+1
add vout mipi and hdmi pipeline driver in uboot Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
2023-03-09board: starfive: jh7110: Add 1.1 & 1.02v max cpu voltageMason Huo1-1/+15
Add two more binning IC types, and set add their max cpu voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-03-09board: starfive: jh7110: Add 1.1 & 1.02v max cpu voltageMason Huo1-1/+15
Add two more binning IC types, and set add their max cpu voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-03-03pci: Remove power pin per VF2 HW designMason Huo1-0/+2
Remove the power pin for VF2, the PCIe power pin is hard wired to high. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-03-03Merge tag 'JH7110_515_SDK_v4.4.0' into vf2-develAndy Hu1-0/+28
version JH7110_515_SDK_v4.4.0 for JH7110 EVB board 1. #3696: uboot: adjust cpu vol through reading cpu information from otp