Age | Commit message (Collapse) | Author | Files | Lines |
|
1. Modified reset assert duration to 100ms.
2. Wait 10-100 ms for link training.
3. If link is up, delay 100ms before doing any configuration space access.
Reference spec: PCIe Base Spec r6.0 & CEM 2.0.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Only USB host and device are same IP and should be changed mode with initialization
before fastboot in Devkits. Add the target of Devkits to math the board.
Fixes: 67df54127e38 ("cmd: fastboot: Add presetting on StarFive SoC before fastboot")
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
the vout clocks on enable status, when no connecters (hdmi or mipi)
this will cause emmc init many times
need to closed the vout clocks
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
|
|
CR_4615_add_fastboot_Xingyu.Wu
See merge request sdk/u-boot!68
|
|
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>
|
|
Add the presetting about usb as device in fastboot function.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add config for max block size to write in MMC with sparse file.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add a new parameter to get "logical-block-size" in getvar command.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add new flag to load image file to preset address without partition.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
CR_7250 usb: cdns: Add USB device support
See merge request sdk/u-boot!67
|
|
Add starfive,usb2-only to zero in evb board.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Add USB device support. Add dr_num_mode for
changing the dr mode number, For changing the strings cause issues.
For devkits, If using device,
need to changed starfive,usb2-only to 1 and dr_num_mode
to 2.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
CR_7199 usb: cdns3: starfive: Add usb driver to support for JH7110
See merge request sdk/u-boot!66
|
|
CR_7136 usb: cdns3: Set the SS EP config bit by usb SS speed
See merge request sdk/u-boot!65
|
|
Add evb USB 3.0 clock dts.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Updated USB Device Tree Node to support USB Device functionality and is
consistent with Kernel.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Add usb driver to support for jh7110.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Set SS EP config bit by USB SS speed. Avoid transfer
timeout.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
CR6370: riscv: starfive: evb: Optimize boot logic(sd/nvme)
See merge request sdk/u-boot!64
|
|
- Optimize boot commands for jh7110-evb
- Add CONFIG_DEFAULT_FDT_FILE for debian boot
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
add get_boot_mode function to support Multi-device boot
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add BOOTENV for jh7110 evb
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>
|
|
will be replaced by the new bootenv
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR_6806: spl: starfive: modify driver strength and slew rate
See merge request sdk/u-boot!63
|
|
The frequency of cclk_in is limited to 50M, so that it does not do internal
part frequency and goes by-pass mode. And delete syscon node.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
Set eMMC/sd clk's DR to 2 and set its SR to 1.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
CR_6570: mmc: starfive: add HS200 support
See merge request sdk/u-boot!62
|
|
enable HS200 support.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
SET_DS/SET_PULL/SET_SLEW can configure the properties of the GPIO
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR_6728 pci: Get te correct config addr to support multi PCI
See merge request sdk/u-boot!61
|
|
fix mmc device power-up sequence.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
Add tuning and other related code to the driver to support HS200 mode.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
subtract the root bus number to get the correct
config addr.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
CR_6648: board: starfive: evb: use dram_init in spl
See merge request sdk/u-boot!60
|
|
dram_init call fdtdec_setup_mem_size_base, so starfive_ddr.c do not
need it.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR6604:dram: jh7110: sync from devkits/vf2
See merge request sdk/u-boot!59
|
|
'jh7110-master'
CR 6572 uboot: hdmi logo causes kernel hdmi unstable
See merge request sdk/u-boot!58
|
|
Synchronize from vf2 to the dynamic CMA scheme
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add ddr4 tuning support (sync from devkits)
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add board-level resize-DDR function for evb
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
replace mipi&hdmi node , hdmi logo will start begin mipi
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
|
|
The hdmi display is unstable after repeated reset
blank panel or write panel
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
|
|
The resize-ddr should be board-level code
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR5623: Add 1G DDR support && Simplify the command of uboot to load Linux
See merge request sdk/u-boot!57
|
|
loadaddr
fdtoverlay_addr_r
kernel_comp_addr_r/kernel_comp_size
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>
|
|
Radxa uses macronix spi flash, so enable it.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
set SPL_OPENSBI_LOAD_ADDR to 0x40000000
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|