Age | Commit message (Collapse) | Author | Files | Lines |
|
Add a defconfig file for StarFive JH7110 Devkits board.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add device tree for StarFive JH7110 Devkits board.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
To be compatible with the Devkits board.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add board support for StarFive Devkits.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add board support for StarFive Devkits.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Make the code be compatible with the StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Make the code be compatible with the StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Make the code be compatible with the StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Make the code be compatible with the StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Rename CONFIG_SYS_DEF_EEPROM_ADDR to CONFIG_SYS_I2C_EEPROM_ADDR
based on current usage.
Convert CONFIG_SYS_I2C_EEPROM_BUS, CONFIG_SYS_I2C_EEPROM_ADDR_LEN,
CONFIG_SYS_EEPROM_SIZE, CONFIG_SYS_EEPROM_PAGE_WRITE_BITS and
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS to Kconfig.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
This patch fixs parse_numeric_param issue on some platfrom which has
different sizes of int and long, like riscv64.
On riscv64, int is 4 bytes, but long is 8 bytes.
on this situation:
ulong addr = parse_numeric_param(argv[index]);
if argv[index] is "0x80000000", this "ulong addr" will be
0xffffffff80000000.
Signed-off-by: Jianlong.Huang <jianlong.huang@starfivetech.com>
Co-developed-by: Wei Fu <wefu@redhat.com>
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
Add SYS_I2C_DW driver to support in SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.
The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
|
Add a defconfig file for StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add device tree for StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
To be compatible with the VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add board support for StarFive VisionFive 2.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add a header to easily use the EEPROM interface.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add board support for StarFive VisionFive 2.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
CR_7842 usb: fix TRB_TRANSFER return null pointer issue
See merge request sdk/u-boot!73
|
|
xhci_wait_for_event() wait TRB_TRANSFER may return null
pointer, shoud checkit avoid crash.
Read usb device info maybe failed, should check it and
do not register usb device. uboot should rescan usb
device and register.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
CR7345 usb: hub: Do NOT add device if portchanged over current bit is set
See merge request sdk/u-boot!72
|
|
USB hub should not add the usb devices if over current bit
is set in portchange. For later usb_scan_port will still return
with error and rescan and add device again.
it will generate dulplicated device and cause crash issue.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
CR 7124 PCIe dts & driver: Modified reset & link wait timing for better compatbility.
See merge request sdk/u-boot!71
|
|
CR_7420_vf2_fastboot_Xingyu.Wu
See merge request sdk/u-boot!70
|
|
CR 5472 vout: logo: emmc log show many times
See merge request sdk/u-boot!69
|
|
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>
|