diff options
author | Jianlong Huang <jianlong.huang@starfivetech.com> | 2021-11-23 20:03:31 +0300 |
---|---|---|
committer | Tekkaman Ninja <tekkamanninja@163.com> | 2022-02-15 12:48:25 +0300 |
commit | 8bd2d61d931d33cf0095420ed7ca7f02ea74a58e (patch) | |
tree | f2ff6b244ce1662e3d0c0c5d23e86bbe723216c7 | |
parent | 2a7a9c34bd98882c6c8c9e7ff1076a535807171a (diff) | |
download | u-boot-8bd2d61d931d33cf0095420ed7ca7f02ea74a58e.tar.xz |
configs: starfive: update jh7100.h for importing u74_uEnv.txt for testing
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
-rw-r--r-- | include/configs/starfive-jh7100.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/starfive-jh7100.h b/include/configs/starfive-jh7100.h index 3f8391d9ad..747239cbec 100644 --- a/include/configs/starfive-jh7100.h +++ b/include/configs/starfive-jh7100.h @@ -61,9 +61,18 @@ "mmcdev=0\0" \ "mmcpart=3\0" +#define STARLIGHT_TEST_BOOTENV \ + "testpart=0:1\0" \ + "testenv=u74_uEnv.txt\0" \ + "mmcsetup=mmc part\0" \ + "fdtsetup=fdt addr ${fdtcontroladdr}\0" \ + "fatenv=fatload mmc ${testpart} ${loadaddr} ${testenv};" \ + "env import -t ${loadaddr} ${filesize}\0" + #define CONFIG_EXTRA_ENV_SETTINGS \ STARLIGHT_FEDORA_BOOTENV \ "loadaddr=0xa0000000\0" \ + STARLIGHT_TEST_BOOTENV \ "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \ "ext4bootenv=ext4load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootenv}\0" \ "importbootenv=echo Importing environment from mmc${mmcdev} ...; " \ |