Age | Commit message (Collapse) | Author | Files | Lines |
|
scripts/setlocalversion: add tag info
See merge request jh7100/u-boot!3
|
|
Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
|
|
resoved issue #636 sd compatibility
See merge request jh7100/u-boot!2
|
|
Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
|
|
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
daughter board
Modify the gpio node to keep i2s pins state.
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
Signed-off-by: 123curry <curry.zhang@starfivetech.com>
|
|
The issue:
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_STARFIVE_EEPROM_ATOM1_PSTR
CONFIG_STARFIVE_EEPROM_ATOM1_PSTR_SIZE
CONFIG_STARFIVE_EEPROM_ATOM1_SN_OFFSET
CONFIG_STARFIVE_EEPROM_ATOM1_VSTR
CONFIG_STARFIVE_EEPROM_ATOM1_VSTR_SIZE
CONFIG_STARFIVE_EEPROM_HATS_SIZE_MAX
CONFIG_STARFIVE_EEPROM_WP_OFFSET
Signed-off-by: Som.Qin <som.qin@starfivetech.com>
|
|
The VisionFive dts is base on Starlight dts, and the difference of
rst gpio, eeprom and gmac should be applied.
Signed-off-by: Som.Qin <som.qin@starfivetech.com>
|
|
This patch add ID_EEPROM (mac command) support for visionfive V1.
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
|
|
This patch should be removed, once we can do GPIO pin init
in secondboot or ddrinit
Include:
starfive: Add init GPIO for ALSA audio framework
starfive: remove useless gpio operation
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: michael.yan <michael.yan@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
|
|
This patch is using internal RAM to improve performance
(avoid flushing L2 cache): Modify designware driver by:
1, Modify gtxclk configuration by phydev->speed
2, Add Preseted mem support for mac descrtables and buffs
3, disable DMA memory range check when building for JH7100
|
|
This patch reverses some part of change in:
commit eac6e0b7979440b889703196f383191c335e7599
Author: Simon Glass <sjg@chromium.org>
Date: Fri Sep 24 18:30:17 2021 -0600
efi_loader: Drop code that doesn't work with driver model
...
Since JH7100 ETH driver haven't supported DM yet.
|
|
|
|
Signed-off-by: SW Multimedia <sw.multimedia@starfivetech.com>
|
|
|
|
Signed-off-by: SW Multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Signed-off-by: David Li <david.li@starfivetech.com>
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Jianlong.Huang <jianlong.huang@starfivetech.com>
|
|
1, ccache
2, mmc
This patch adds the necessary info for mmc driver:
bus-width = <4>;
max-frequency = <?0000000>;
3, uart0(console)
4, SPI Nor Flash
5, Switch dtb to linux dts
|
|
https://github.com/starfive-tech/linux
|
|
This patch adds StarFive JH7100 main support, including Starlight and EVB
support, ported from StarFive HiFive_U-Boot REPO.
The original authors are
Bo Li <bo.li@starfivetech.com>
JieQin Chen <Jessica.Chen@starfivetech.com>
Huan Feng <huan.feng@starfivetech.com>
Jack Zhu <jack.zhu@starfivetech.com>
Jianlong Huang <jianlong.huang@starfivetech.com>
Ke Zhu <ke.zhu@starfivetech.com>
Micheal Zhu <michael.zhu@starfivetech.com>
Samin Guo <samin.guo@starfivetech.com>
Yanhong Wang <yanhong.wang@starfivetech.com>
Yiming Li <yiming.li@starfivetech.com>
Note:
1, disable BTRFS(will trigger a link error with *some* RV64 GCC)
But RV64 GCC on Fedora works well with enabling BTRFS.
BTRFS will select ZSTD which will trigger a link error with
*some* RV64 GCC:
---
riscv64-unknown-linux-gnu-ld.bfd: /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clzsi2.o): can't link double-float modules with soft-float modules
riscv64-unknown-linux-gnu-ld.bfd: failed to merge target specific data of file /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clzsi2.o)
riscv64-unknown-linux-gnu-ld.bfd: /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clz.o): can't link double-float modules with soft-float modules
riscv64-unknown-linux-gnu-ld.bfd: failed to merge target specific data of file /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clz.o)
make: *** [Makefile:1787: u-boot] Error 1
---
2, enable OF_SEPARATE:
This is required so that openSBI can add itself to /reserved-memory, and
let EFI know about it.
By Andreas Schwab <schwab@suse.de>
3, Set default fdtfile name
By Andreas Schwab <schwab@suse.de>
|
|
This driver modified from snps_dw_mmc.c
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
This driver ported from NS16550 Serial Port driver, It is a simplified
version of drivers/serial/ns16550.c
We may can merge it to ns16550 later.
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
|
|
Signed-off-by:Wei Fu <wefu@redhat.com>
|
|
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
Signed-off-by: Wei Fu <wefu@redhat.com>
|
|
Signed-off-by: Wei Fu <wefu@redhat.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>
|
|
This pathch adds YuTai Corp Ethernet PHYs(YT8511/YT8521) support.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com>
|
|
Signed-off-by: Tom Rini <trini@konsulko.com>
|
|
- Fix for pstore already being in the DT, "setlocalversion" script
bugfix and pdu001 platform bugfix
|
|
The changes introduced with commit 6337d53fdf45 ("arm: dts: sync am33xx
with Linux 5.9-rc7") prevent the PDU001 from operating correctly.
This patch fixes the configuration of the pin multiplexer and uart3.
Signed-off-by: Felix Brack <fb@ltec.ch>
|
|
After replacing of include/config/auto.conf sourcing with
extraction of CONFIG_LOCALVERSION, resulting version string
contains quotes around localversion part which are always
present in auto.conf (even if localversion is empty).
This patch fixes this script to remove quotes.
Signed-off-by: Nikita Maslov <wkernelteam@gmail.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
The pstore command tries to create a reserved-memory node but fails if
it is already present with:
Add 'reserved-memory' node failed: FDT_ERR_EXISTS
This patch creates the node only if it does not exist and adapts the reg
values sizes depending on already present #address-cells and #size-cells
values.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
|
|
https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-04-rc2-4
Documentation:
* mkeficapsule man-page
UEFI changes:
* add support for signing images to mkeficapsule
* add support for user define capsule GUID
* adjust unit tests for capsules
* fix UEFI image signature validation in case of multiple signatures
|
|
The previous patch is changing U-Boot's behavior wrt certificate based
binary authentication. Specifically an image who's digest of a
certificate is found in dbx is now rejected. Fix the test accordingly
and add another one testing signatures in reverse order
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
|
The EFI spec allows for images to carry multiple signatures. Currently
we don't adhere to the verification process for such images.
The spec says:
"Multiple signatures are allowed to exist in the binary's certificate
table (as per PE/COFF Section "Attribute Certificate Table"). Only one
hash or signature is required to be present in db in order to pass
validation, so long as neither the SHA-256 hash of the binary nor any
present signature is reflected in dbx."
With our current implementation signing the image with two certificates
and inserting both of them in db and one of them dbx doesn't always reject
the image. The rejection depends on the order that the image was signed
and the order the certificates are read (and checked) in db.
While at it move the sha256 hash verification outside the signature
checking loop, since it only needs to run once per image and get simplify
the logic for authenticating an unsigned imahe using sha256 hashes.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
|
Before the capsule authentication is supported, this test script works
correctly, but with the feature enabled, most tests will fail due to
unsigned capsules.
So check the results depending on CAPSULE_AUTHENTICATE or not.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
This test scenario tests a new feature of mkeficapsule, "--guid" option,
which allows us to specify FMP driver's guid explicitly at the command
line.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
|
Since the syntax of mkeficapsule was changed in the previous commit,
we need to modify command line arguments in a pytest script.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
The existing options, "--fit" and "--raw," are only used to put a proper
GUID in a capsule header, where GUID identifies a particular FMP (Firmware
Management Protocol) driver which then would handle the firmware binary in
a capsule. In fact, mkeficapsule does the exact same job in creating
a capsule file whatever the firmware binary type is.
To prepare for the future extension, the command syntax will be a bit
modified to allow users to specify arbitrary GUID for their own FMP driver.
OLD:
[--fit <image> | --raw <image>] <capsule file>
NEW:
[--fit | --raw | --guid <guid-string>] <image> <capsule file>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
Add a couple of test cases against capsule image authentication
for capsule-on-disk, where only a signed capsule file with the verified
signature will be applied to the system.
Due to the difficulty of embedding a public key (esl file) in U-Boot
binary during pytest setup time, all the keys/certificates are pre-created.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|