Age | Commit message (Collapse) | Author | Files | Lines |
|
Add BOOTENV for visionfive 2
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add JH7110_DISTRO_BOOTEN/JH7110_SDK_BOOTEN for debian/sdk boot on JH7110
SOC.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
These bootenvs do not apply with multiple boots
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CHIPA_SET_FORCE is for debug and no need any more.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Adaptively adjust the CMA size according to the DDR size
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Optimized environment variables for debian boot
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Readjust the address space for 1G DDR
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Clement <clement@starfivetech.com>
|
|
Update the cpu voltage set commands per
binning information from OTP.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
|
|
add nvme boot command
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
CR_4117: Added cpu_vol_set to distro sysboot flow
See merge request sbc/u-boot!42
|
|
CR_3910 board: starfive: jh7110: Add 1.1 & 1.02v max cpu voltage
See merge request sbc/u-boot!39
|
|
Signed-off-by: Clement <clement@starfivetech.com>
|
|
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>
|
|
add board_late_init to init display memory
config the bitmap picture
Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
|
|
Add two more binning IC types, and set add their
max cpu voltage accordingly.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
|
|
Remove the power pin for VF2, the PCIe
power pin is hard wired to high.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
|
|
Get the binning information from OTP,
and set change the cpu max voltage accordingly.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
|
|
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>
|
|
added backslash to prevent extra word to the parameter
Signed-off-by: Clement <clement@starfivetech.com>
|
|
Signed-off-by: Clement <clement@starfivetech.com>
|
|
'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>
|
|
set memory for both 8G and 4G depending on board information
Signed-off-by: Clement <clement@starfivetech.com>
|
|
Dynamically edit dtb to load correct hardware information and uses sysboot method to boot to distro
Signed-off-by: Clement <clement@starfivetech.com>
|
|
The jh7110 ddr starts from 0x40000000. Using 0x80000000 may cause the
CMA space to fail
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
0x9 will better match 1.2A gmac0 tx in 1000M
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Visionfive2 has a 2/4/8G version. You need to read eeprom information in
uboot to obtain the size of mem, and modify the size of mem in linux
dts.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
JH7110A do not need tx_inverted by YT8531 phy, you need to read the chip
version to determine whether to use it.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
Move eeprom macro definition form h file to c.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Get bootmode, if bootmode is flash, then default boot from sd card.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add saveenv config to Support saveenv
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|