Skip to content

Commit

Permalink
Idempotent patch commit sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
ggirou committed Jun 7, 2020
1 parent ac5e0fa commit 0d91e83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ First, keep current u-boot parameters:

> Keep the content of `printenv` [output](infos/printenv.txt). This will be a useful reference if you want to restore any u-boot parameters.
> Hint: press `ctrl + a` then type `:quit` to quit.
# Test new U-Boot with Serial port

> **NB:** Newer stock versions of u-boot cannot boot the original D-link kernels!
Expand All @@ -126,6 +128,8 @@ Try to boot with following commands :
> New default boot commands try to load `uEnv.txt` from USB FAT partition, just change `loadbootenv` to load from ext2.
> The `mtdparts` option had became `cmdlinepart.mtdparts` (in Debian-land, at least). [StackExchange](https://unix.stackexchange.com/q/554266)
> Hint: press `ctrl + \` then type `c` to quit.
## `uEnv.txt` configuration

`/uEnv.txt` file is already configured to load Flat Image Tree (FIT) uImage from UBIFS partition first, and fallback to USB on failing.
Expand Down
5 changes: 3 additions & 2 deletions scripts/build_uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ fi

git config user.email "john@doe.xyz"; git config user.name "John Doe"

# git checkout v2020.04; git merge --squash v2020.04-dns320; git format-patch HEAD~1
# Apply `EHCI timed out on TD` patch from https://forum.doozan.com/read.php\?3,35295
git am < /scripts/v2020.04-usbtimeoutfix.patch
git am --committer-date-is-author-date < /scripts/v2020.04-usbtimeoutfix.patch
# Apply DNS-320 support patch from https://github.com/avoidik/board_dns320
git am < /scripts/v2020.04-dns320.patch
git am --committer-date-is-author-date < /scripts/v2020.04-dns320.patch

export ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
make distclean
Expand Down

0 comments on commit 0d91e83

Please sign in to comment.