mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
無線ファームの署名チェックを無視するビルドスイッチIGNORE_WLFIRM_SIGN_CHECKを追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1231 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
0885dca9db
commit
812e34898b
@ -32,10 +32,11 @@ SUBDIRS = \
|
|||||||
ifneq ($(UPDATER_RELEASE),TRUE)
|
ifneq ($(UPDATER_RELEASE),TRUE)
|
||||||
|
|
||||||
# COMPILE SWITCH ※最終ROM作成時は、全てFALSEにセットする。SUBDIRのビルド時にも影響するようexportで環境変数設定する。
|
# COMPILE SWITCH ※最終ROM作成時は、全てFALSEにセットする。SUBDIRのビルド時にも影響するようexportで環境変数設定する。
|
||||||
export DO_NOT_SHOW_LAUNCHER = FALSE
|
export DO_NOT_SHOW_LAUNCHER = FALSE
|
||||||
export DISABLE_WDS_SCAN = TRUE
|
export DISABLE_WDS_SCAN = TRUE
|
||||||
export DISABLE_WLFIRM_LOAD = TRUE
|
export DISABLE_WLFIRM_LOAD = TRUE
|
||||||
export DISABLE_SLEEP = TRUE
|
export IGNORE_WLFIRM_SIGNCHECK = FALSE
|
||||||
|
export DISABLE_SLEEP = TRUE
|
||||||
|
|
||||||
# COMPILE SWITCH ※最終ROM作成時は、全てTRUEにセットする
|
# COMPILE SWITCH ※最終ROM作成時は、全てTRUEにセットする
|
||||||
export LOAD_APP_VIA_WRAM = FALSE
|
export LOAD_APP_VIA_WRAM = FALSE
|
||||||
@ -115,6 +116,10 @@ ifeq ($(DISABLE_WLFIRM_LOAD),TRUE)
|
|||||||
MACRO_FLAGS += -DDISABLE_WLFIRM_LOAD
|
MACRO_FLAGS += -DDISABLE_WLFIRM_LOAD
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(IGNORE_WLFIRM_SIGNCHECK),TRUE)
|
||||||
|
MACRO_FLAGS += -DIGNORE_WLFIRM_SIGNCHECK
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(DISABLE_SLEEP),TRUE)
|
ifeq ($(DISABLE_SLEEP),TRUE)
|
||||||
MACRO_FLAGS += -DDISABLE_SLEEP
|
MACRO_FLAGS += -DDISABLE_SLEEP
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -33,8 +33,6 @@
|
|||||||
definitions
|
definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define IGNORE_SIGN_ERROR 0
|
|
||||||
|
|
||||||
/* LCFGの無線ファームバージョンをタイトルIDとしてそのまま使う場合 */
|
/* LCFGの無線ファームバージョンをタイトルIDとしてそのまま使う場合 */
|
||||||
#define USE_LCFG_STRING 0
|
#define USE_LCFG_STRING 0
|
||||||
|
|
||||||
@ -285,20 +283,14 @@ BOOL VerifyWlanfirmSignature(u8* buffer, u32 length)
|
|||||||
{
|
{
|
||||||
OS_TPrintf("[Wlan Firm] Wlan Firmware authentication has failed.\n");
|
OS_TPrintf("[Wlan Firm] Wlan Firmware authentication has failed.\n");
|
||||||
|
|
||||||
#if (IGNORE_SIGN_ERROR == 1)
|
#ifdef IGNORE_WLFIRM_SIGNCHECK
|
||||||
|
OS_TPrintf("[Wlan Firm] But installation continues.\n");
|
||||||
/* continue verifying process even though decryption fails
|
if ( 0 )
|
||||||
in the case of bonding option = 0x01 (support ARM9/ARM7) */
|
|
||||||
if (!( HWi_WSYS08_OP_OP0_MASK == SCFG_ReadBondingOption() ))
|
|
||||||
{
|
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
SYSM_Free(signHeap);
|
SYSM_Free(signHeap);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
#if (IGNORE_SIGN_ERROR == 1)
|
|
||||||
}
|
}
|
||||||
OS_TPrintf("[Wlan Firm] But installation continues.\n");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSM_Free(signHeap);
|
SYSM_Free(signHeap);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user