forked from linux-rockchip/rkflashtool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add following commands for mask rom mode "rkflashtool l" for uploading (encrypted) DDR init code. "rkflashtool L" for uploading (encrypted) loader. e.g. openssl rc4 -K 7c4e0304550509072d2c7b38170d1711 < 32_LPDDR2_300MHz_LPDDR3_300MHz_DDR3_300MHz_20140630.bin | rkflashtool l openssl rc4 -K 7c4e0304550509072d2c7b38170d1711 < u-boot.bin | rkflashtool L for now, I confirmed that rk30usbplug.bin (on RK3188), rk32xxusbplug.bin (on RK3288), and u-boot.bin for RK3288 can be run as loader. XXX: rc4 encryption should be done in rkflashtool
- Loading branch information
FUKAUMI Naoki
committed
Oct 7, 2014
1 parent
6b0d3fe
commit 6da95a8
Showing
4 changed files
with
93 additions
and
86 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
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
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
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,7 @@ | ||
#define PUT32LE(x, y) \ | ||
do { \ | ||
(x)[0] = ((y)>> 0) & 0xff; \ | ||
(x)[1] = ((y)>> 8) & 0xff; \ | ||
(x)[2] = ((y)>>16) & 0xff; \ | ||
(x)[3] = ((y)>>24) & 0xff; \ | ||
} while (0) |