Skip to content

Commit 329a3af

Browse files
committed
Small fixes
1 parent 4ff39a7 commit 329a3af

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ following commands.
120120
> mtd erase rootfs
121121
> mtd write rootfs ${loadaddr}
122122
> fatload mmc 0:1 ${loadaddr} stm32f446-stlinux.dtb
123-
> mtd erase rootfs
124-
> mtd write rootfs ${loadaddr}
123+
> mtd erase dtb
124+
> mtd write dtb ${loadaddr}
125125
```
126126

127127
After reset, your board will boot from QSPI Flash or you can simply type

clfs.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ usage () {
114114
}
115115

116116
parse_args () {
117-
VALID_ARGS=$(getopt -o "j:hv" -l help,build:,config:,clean: -- "$@")
117+
VALID_ARGS=$(getopt -o "j:hv" -l help,build:,config:,clean:,use-u-boot:,use-linux: -- "$@")
118118
if [[ $? -ne 0 ]]; then
119119
exit 1;
120120
fi
@@ -1282,11 +1282,11 @@ main () {
12821282
;;
12831283

12841284
u-boot)
1285-
do_uboot ${config}
1285+
do_uboot ${action}
12861286
;;
12871287

12881288
linux)
1289-
do_linux ${config}
1289+
do_linux ${action}
12901290
;;
12911291

12921292
busybox)
@@ -1358,12 +1358,7 @@ main () {
13581358
;;
13591359

13601360
all)
1361-
rm -rf ${build_dir}
1362-
if [ -d $(do_busybox_get_path source) ]; then
1363-
pushd $(do_busybox_get_path source) >> /dev/null
1364-
make mrproper
1365-
popd >> /dev/null
1366-
fi
1361+
rm -rf ${tmp_dir}
13671362
;;
13681363

13691364
*)

0 commit comments

Comments
 (0)