-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68ec6c3
commit a44ab47
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Dev Tools | ||
|
||
This directory contains some tools we use during development. They're not | ||
normally used with the loader generator in any way. They're messy, buggy, | ||
quick and dirty but often helpful ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
# Removed all existing images and builds all permutations of the ones we test. We usually use this tool just after | ||
# executing tools/make_all.sh from the LKM repo. The we usually do something akin to: | ||
# sftp dropbox@vm-003.local:/_images/rp-img/ <<< 'put images/*.gz' | ||
# When you are executing this script do it from the root of the repo dir like ./tools/rebuild_all.sh | ||
|
||
rm images/*.img images/*.gz | ||
|
||
set -euo pipefail | ||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '6.2.4-25556' "$PWD/images/rp-3615-v6.img" | ||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '7.0-41222' "$PWD/images/rp-3615-v7.img" | ||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '6.2.4-25556' "$PWD/images/rp-918-v6.img" | ||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '7.0-41890' "$PWD/images/rp-918-v7.img" | ||
gzip "$PWD/images/rp-3615-v6.img" | ||
gzip "$PWD/images/rp-3615-v7.img" | ||
gzip "$PWD/images/rp-918-v6.img" | ||
gzip "$PWD/images/rp-918-v7.img" |