summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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-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
2023-02-28board: starfive: jh7110: Add cpu voltage set commandsMason Huo1-0/+26
Get the binning information from OTP, and set change the cpu max voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-02-28board: starfive: jh7110: Add cpu voltage set commandsmason.huo1-0/+26
Get the binning information from OTP, and set change the cpu max voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-02-24CR_3534: board:starfive:visionfive2: restructure load_distro_uenvJun Yuan Tan1-8/+3
Moving forward, partition 2 will not be used as boot partition for Debian image. Hence, remove the if else structure and only sets partition 3 as boot partition. Signed-off-by: Jun Yuan Tan <junyuan.tan@starfivetech.com>
2023-02-24Revert "Merge tag 'JH7110_515_SDK_v4.3.0' into vf2-devel"Andy Hu2-3/+0
This reverts commit 5d4dcdb90d7350760f065f7ea8d658080ad898a1, reversing changes made to da9a5b042e5c3bcfa3acd65d434338f5baae34f8.
2023-02-23CR_3534: board:starfive:visionfive2 change fatbootpart to default 1:3Clement1-9/+9
added backslash to prevent extra word to the parameter Signed-off-by: Clement <clement@starfivetech.com>
2023-02-22board:starfive:visionfive2: remove bootdir that cause extra /bootClement1-8/+8
Signed-off-by: Clement <clement@starfivetech.com>
2023-02-22pci: Add Starfive JH7110 pcie driverMason Huo1-0/+2
Port the JH7110 pcie host driver from linux kernel. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-02-21board:starfive:visionfive2: Configure sysboot to find rootfs partitionJun Yuan Tan1-1/+8
'load_distro_uenv' will now search for uEnv.txt in the boot partition to determine which rootfs partition to boot (either p3 or p4). Signed-off-by: Jun Yuan Tan <junyuan.tan@starfivetech.com>