172b47f620
Update u-boot to 3.0.4 release
2023-06-06 00:23:55 +08:00
ce3fd04a79
Merge branch 'starfive-tech:JH7110_VisionFive2_devel' into Star64
2023-06-05 22:33:48 +08:00
MichaIng
b6e2b0e85c
VisionFive 2: Add default device tree overlay address
...
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-31 13:49:03 +08:00
MichaIng
ec4da28612
VisionFive 2: Add default compressed kernel address
...
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-31 13:49:03 +08:00
Andy Hu
d4aa8df73d
Merge tag 'JH7110_515_SDK_v5.0.0' into vf2-devel
...
update toolchain to gcc 12.2.0
2023-05-19 16:14:49 +08:00
andy.hu
d64059f32b
Merge branch 'CR_3508_update_toolchain' into 'jh7110-master'
...
CR_3508: riscv: dts: starfive: add zicsr_zifencei to riscv,isa string
See merge request sdk/u-boot!54
2023-05-19 03:34:49 +00:00
Andy Hu
fffd811e3d
riscv: dts: starfive: add zicsr_zifencei to riscv,isa string
...
Starting from gcc 12.x, csr and fence instructions have been
separated from the base I instruction set. special the
zicsr_zifencei string to DT riscv,isa string
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-05-18 21:08:24 +08:00
andy.hu
2139bf20ea
Merge branch 'CR_5228_debian_nvme_boot' into 'vf2-devel'
...
CR_5228: Added booting from nvme support for debian
See merge request sbc/u-boot!50
2023-05-12 09:15:05 +00:00
andy.hu
948acb2983
Merge branch 'CR_5042_gmac_phy_delay_ds_samin.guo' into 'vf2-devel'
...
CR5042: riscv: dts: starfive: vf2: add Pad Drive Strength Cfg
See merge request sbc/u-boot!49
2023-05-12 08:43:02 +00:00
Andy Hu
09fd32c20b
Merge tag 'JH7110_515_SDK_v4.9.0' into vf2-devel
...
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-12 16:19:43 +08:00
andy.hu
040cfd685c
Merge branch 'CR_5042_gmac_phy_delay_ds_samin.guo' into 'jh7110-master'
...
CR5042: net: phy: motorcomm: add Pad Drive Strength Cfg
See merge request sdk/u-boot!52
2023-05-10 11:55:20 +00:00
andy.hu
1d7c5cefcf
Merge branch 'CR_4854_nvboot_shanlong.li' into 'jh7110-master'
...
CR_4854: uboot: evb support boot from nvme ssd
See merge request sdk/u-boot!53
2023-05-10 11:45:10 +00:00
shanlong.li
c82a615162
uboot: evb support boot from nvme ssd
...
support boot from nvme ssd
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-05-04 23:19:00 -07:00
Clement
2a040b7720
Added booting from nvme support for debian
...
Signed-off-by: Clement <clement@starfivetech.com>
2023-05-02 05:14:48 -04:00
Andy Hu
7778152612
Merge tag 'JH7110_515_SDK_v4.8.2' into vf2-devel
2023-04-28 11:22:44 +08:00
andy.hu
ac424aa034
Merge branch 'CR_5041_Copyright_yanhong.wang' into 'jh7110-master'
...
CR 5041 board: starfive: copyright: Standardize the copyright format
See merge request sdk/u-boot!51
2023-04-26 10:49:20 +00:00
Samin Guo
c3df27a0d1
riscv: dts: starfive: vf2: set gmac1 rx delay to 300ps
...
set gmac1 rx delay to 300ps to to match better delays.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-24 17:26:24 +08:00
Samin Guo
63cac2a17f
riscv: dts: starfive: vf2: set gmac0 rx delay to 1500ps
...
set gmac0 rx delay to 1500ps to to match better delays.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-24 17:26:24 +08:00
Samin Guo
798fa99abc
riscv: dts: starfive: vf2: add Pad Drive Strength Cfg
...
Increase the drive strength of rx_clk to increase the delay
available window.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-24 17:26:24 +08:00
Yanhong Wang
fe8426ebb0
board: starfive: copyright: Standardize the copyright format
...
Unify the content format of the copyright section
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-04-23 11:19:47 +08:00
Andy Hu
f25e05654f
Merge tag 'JH7110_515_SDK_v4.8.1' into vf2-devel
...
version JH7110_515_SDK_v4.8.1 for JH7110 EVB board
1. u-boot:
Merge branch 'CR_4747_remove_cycles_pmu_dts_minda' into 'jh7110-master'
2023-04-20 10:01:34 +08:00
Samin Guo
b6aaea9aad
net: phy: motorcomm: add Pad Drive Strength Cfg
...
YT8531 supports Pad Drive Strength configuration.
Including rx_data/rx_clk, etc.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-20 09:23:25 +08:00
andy.hu
09e0370260
Merge branch 'CR_4747_remove_cycles_pmu_dts_minda' into 'jh7110-master'
...
CR_4747 dts: pmu: remove pmu dts stall cycles config.
See merge request sdk/u-boot!50
2023-04-19 11:42:41 +00:00
c71fa7376f
Add Star64 Board Support (Copied from VF2)
2023-04-16 07:17:57 +08:00
Andy Hu
819d56e336
Merge tag 'JH7110_515_SDK_v4.8.0' into vf2-devel
...
version JH7110_515_SDK_v4.8.0 for JH7110 EVB board
1. u-boot: Merge branch 'CR_4427_DEFCONFIG_yanhong.wang' into 'jh7110-master'
2023-04-14 14:13:26 +08:00
andy.hu
2e38f7b399
Merge branch 'CR_4427_DEFCONFIG_yanhong.wang' into 'jh7110-master'
...
CR 4427 configs: starfive: Enable CONFIG_OF_SEPARATE configuration
See merge request sdk/u-boot!47
2023-04-12 09:48:18 +00:00
Minda Chen
5fa2c5f3d6
dts: pmu: remove pmu dts stall cycles config.
...
class 8 and class9 cpu stall cycles hwcounter is
not supported in U74. delete the configuration.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2023-04-10 16:20:37 +08:00
andy.hu
66e4af9302
Merge branch 'CR_4563_memcpy_samin.guo' into 'vf2-devel'
...
CR4563: Configure the l2 prefetcher parameter
See merge request sbc/u-boot!47
2023-04-07 15:21:02 +00:00
andy.hu
e4e25e8532
Merge branch 'CR_3910_Modify_cpu_vol_mason.huo' into 'vf2-devel'
...
CR_3910 Modify cpu voltage set commands
See merge request sbc/u-boot!48
2023-04-07 15:20:08 +00:00
ah
656e49f3f7
Merge tag 'JH7110_515_SDK_v4.7.0' into vf2-devel
...
version JH7110_515_SDK_v4.7.0 for JH7110 EVB board
1. #3910 : u-boot: update cpu voltage set commands per binning information from OTP
2. #4563 : u-boot: configure the l2 prefetcher
2023-04-07 23:06:17 +08:00
andy.hu
6f85c682b9
Merge branch 'CR_4563_memcpy_samin.guo' into 'jh7110-master'
...
CR4563:Configure the l2 prefetcher parameter
See merge request sdk/u-boot!48
2023-04-07 11:30:48 +00:00
andy.hu
14d90726c4
Merge branch 'CR_3910_Modify_cpu_vol_mason.huo' into 'jh7110-master'
...
CR_3910 Modify cpu voltage set commands
See merge request sdk/u-boot!49
2023-04-07 11:30:16 +00:00
Mason Huo
fcbb415e06
board: starfive: jh7110: Modify cpu voltage set commands
...
Update the cpu voltage set commands per
binning information from OTP.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-07 10:30:39 +08:00
Mason Huo
c8f3d1842a
board: starfive: jh7110: Modify cpu voltage set commands
...
Update the cpu voltage set commands per
binning information from OTP.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-07 09:57:01 +08:00
Samin Guo
41cad11dbf
riscv: dts: jh7110: Add L2 pretcher configuration
...
Add L2 pretcher configuration for starfive jh7110 SoC.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-04 09:33:30 +08:00
Samin Guo
5755db49a8
cache: sifive: Configure the l2 prefetcher parameter
...
The default configuration of the SIFIVE L2 Prefetcher may not be the
best combination on the JH7110, and some parameters need to be modified
to achieve the best performance.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-04 09:33:28 +08:00
Samin Guo
d72ca8695b
board: starfive: jh7110-vf2: remove l2 pretcher in borad cfg
...
It should be configured in L2.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-03 11:44:56 +08:00
Samin Guo
479dc3cb7e
riscv: starfive: jh7110: add check_eeprom_dram_info
...
Make sure that the read DDR information is a valid value
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-03 11:44:56 +08:00
Samin Guo
97f3b2aaee
riscv: jh7110: dram: only read a byte data from eeprom.
...
only read a byte data from eeprom.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-03 11:44:56 +08:00
Samin Guo
0c7da4bebe
board: starfive: jh7110-evb: remove l2 pretcher in borad cfg
...
It should be configured in L2.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-04-03 11:26:35 +08:00
Andy Hu
231dd9d11b
Merge tag 'JH7110_515_SDK_v4.6.0' into vf2-devel
...
1. #4446 : u-boot: fix the crash problem when using gpio cmd for pinctrl
2023-03-30 21:38:18 +08:00
andy.hu
dc77fba0b6
Merge branch 'CR_2913_boot_shanlong.li' into 'vf2-devel'
...
CR_2913: configs: starfive: add nvme boot command
See merge request sbc/u-boot!43
2023-03-30 11:26:57 +00:00
andy.hu
bd7c43e2d4
Merge branch 'CR_4446_pinctrl_hal.feng' into 'jh7110-master'
...
CR 4446 pinctrl hal.feng
See merge request sdk/u-boot!46
2023-03-30 11:16:48 +00:00
shanlong.li
7f2dda162c
configs: starfive: add nvme boot command
...
add nvme boot command
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-03-30 01:46:25 -07:00
Yanhong Wang
cb451c3932
configs: starfive: Enable CONFIG_OF_SEPARATE configuration
...
Modify the mode of the DTB for DT Control from Embedded to separated.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-03-30 10:19:37 +08:00
Hal Feng
dc7742fa96
riscv: dts: starfive: Add gpio-controller for the gpio node
...
Add gpio-controller for node gpio and gpioa.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-03-28 17:45:15 +08:00
Hal Feng
e403bfb4a2
pinctrl: starfive: Add .get_function ops for the gpio driver
...
Support getting direction of gpio.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-03-28 17:44:50 +08:00
Hal Feng
bf37dcc538
pinctrl: starfive: Fix the crash problem when using gpio cmd
...
starfive_pinctrl_priv struct is a priv of the parent
device (pinctrl device), not the gpio device.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-03-28 17:44:17 +08:00
andy.hu
688befadf1
Merge branch 'CR_4253_vf2_515_hdmi_pin_keith.zhao' into 'vf2-devel'
...
display: update hdmi pin config
See merge request sbc/u-boot!46
2023-03-21 14:59:21 +00:00
keith.zhao
b38d34fde0
display: update hdmi pin config
...
delete the hdmi i2c pin which is unused
Signed-off-by: keith <keith.zhao@starfivetech.com>
2023-03-21 22:52:02 +08:00