From 4f9a1657573f0a1ce24e63ad618ab60d238287b2 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sat, 22 Aug 2020 00:53:06 +0800 Subject: [PATCH] update u-boot patch --- linux-bsp/patches/u-boot-2010.09-fl2440.patch | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-bsp/patches/u-boot-2010.09-fl2440.patch b/linux-bsp/patches/u-boot-2010.09-fl2440.patch index 604e744..ab8a6c5 100644 --- a/linux-bsp/patches/u-boot-2010.09-fl2440.patch +++ b/linux-bsp/patches/u-boot-2010.09-fl2440.patch @@ -1919,8 +1919,8 @@ + + +#define CONFIG_DEVNAME "fl2440" -+#define CONFIG_BBL_COMMAND "tftp 30008000 u-boot-${devname}.bin;nand erase 0 100000;nand write 30008000 0 60000" -+#define CONFIG_BKR_COMMAND "tftp 30008000 linuxrom-fl2440.bin;nand erase 100000 F00000;nand write 30008000 100000 $filesize" ++#define CONFIG_BBL_COMMAND "tftp 30008000 u-boot-${devname}.bin && nand erase 0 100000 && nand write 30008000 0 60000" ++#define CONFIG_BKR_COMMAND "tftp 30008000 linuxrom-${devname}.bin && nand erase 100000 F00000;nand write 30008000 100000 $filesize" +#define CONFIG_BSYS_COMMAND "run bkr;run bfs" +#define CONFIG_TFTPBOOT_COMMAND "tftp 30008000 linuxrom-${devname}.bin; bootm 30008000" +#define CONFIG_BURN_UBIFS "tftp 30008000 rootfs-${devname}.ubi;nand erase 1000000 5000000;nand write 30008000 1000000 $filesize" -- Gitblit v1.9.1