mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
TestMaker 整理
・yaml で UseFinalHeader を有効にする場合は TRUE を指定するよう変更 ・yaml で SysmenuDebug を有効にするとデバグ用の特殊な Makerom を利用するように変更(サイズ指定は未対応) ・0D0A ~ 0D4A で正式なヘッダを使うように変更 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2178 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
a6d4b595ec
commit
c52a738d0e
BIN
RomHeader/0D0A/libsyscall.a
Normal file
BIN
RomHeader/0D0A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0D0A/libsyscall_c.bin
Normal file
BIN
RomHeader/0D0A/libsyscall_c.bin
Normal file
Binary file not shown.
BIN
RomHeader/0D0A/rom_header_0d0a.template.sbin
Normal file
BIN
RomHeader/0D0A/rom_header_0d0a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0D1A/libsyscall.a
Normal file
BIN
RomHeader/0D1A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0D1A/libsyscall_c.bin
Normal file
BIN
RomHeader/0D1A/libsyscall_c.bin
Normal file
Binary file not shown.
BIN
RomHeader/0D1A/rom_header_0d1a.template.sbin
Normal file
BIN
RomHeader/0D1A/rom_header_0d1a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0D2A/libsyscall.a
Normal file
BIN
RomHeader/0D2A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0D2A/libsyscall_c.bin
Normal file
BIN
RomHeader/0D2A/libsyscall_c.bin
Normal file
Binary file not shown.
BIN
RomHeader/0D2A/rom_header_0d2a.template.sbin
Normal file
BIN
RomHeader/0D2A/rom_header_0d2a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0D3A/libsyscall.a
Normal file
BIN
RomHeader/0D3A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0D3A/libsyscall_c.bin
Normal file
BIN
RomHeader/0D3A/libsyscall_c.bin
Normal file
Binary file not shown.
BIN
RomHeader/0D3A/rom_header_0d3a.template.sbin
Normal file
BIN
RomHeader/0D3A/rom_header_0d3a.template.sbin
Normal file
Binary file not shown.
BIN
RomHeader/0D4A/libsyscall.a
Normal file
BIN
RomHeader/0D4A/libsyscall.a
Normal file
Binary file not shown.
BIN
RomHeader/0D4A/libsyscall_c.bin
Normal file
BIN
RomHeader/0D4A/libsyscall_c.bin
Normal file
Binary file not shown.
BIN
RomHeader/0D4A/rom_header_0d4a.template.sbin
Normal file
BIN
RomHeader/0D4A/rom_header_0d4a.template.sbin
Normal file
Binary file not shown.
@ -193,6 +193,11 @@ INSTALL_DIR = $(BASEDIR)/test_roms
|
||||
USE_IPL_RED_LIB = TRUE
|
||||
MAKEROM_ROMROOT = ../../../systemMenu_RED/
|
||||
MAKEROM_ROMFILES = ./data/NTR_IPL_font_m.NFTR
|
||||
# boottestの時だけARM7コンポーネントの指定
|
||||
# このあたりの指定が苦肉すぎるので妙案募集中
|
||||
override DEFAULT_COMP_ARM7 = racoon_hct
|
||||
override DEFAULT_MAKEROM_ARM7_BASE = $(BASEDIR)/ARM7/bin/$(TWL_BUILDTYPE_ARM7)/$(DEFAULT_COMP_ARM7)
|
||||
override DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
||||
endif
|
||||
|
||||
BANNER = ./banner.bnr
|
||||
@ -218,14 +223,6 @@ include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
|
||||
endif
|
||||
|
||||
# boottestの時だけARM7コンポーネントの指定
|
||||
# このあたりの指定が苦肉すぎるので妙案募集中
|
||||
ifeq ($(TEST_TYPE),BOOT)
|
||||
DEFAULT_COMP_ARM7 = racoon_hct
|
||||
DEFAULT_MAKEROM_ARM7_BASE = $(BASEDIR)/ARM7/bin/$(TWL_BUILDTYPE_ARM7)/$(DEFAULT_COMP_ARM7)
|
||||
DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
||||
endif
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
do-build: $(TARGETS)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -51,15 +51,20 @@ for num in romparam.keys():
|
||||
else:
|
||||
romspectemplate = ''
|
||||
#----- MAKETAD_OPTION, ROM_SPEC_TEMPLATE の指定
|
||||
debugmakerom = ''
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('SysmenuDebug') and romparam[num][optkey]['SysmenuDebug']:
|
||||
debugmakerom = '.DEBUG'
|
||||
if romparam[num][rsfkey].get('AppType') == 'SYSTEM':
|
||||
#----- MAKEROM の指定
|
||||
if romparam[num][rsfkey]['Secure']:
|
||||
codeparam.write('override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe\n')
|
||||
codeparam.write(''.join(['override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure', debugmakerom, '.exe\n']))
|
||||
else:
|
||||
codeparam.write('override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys.exe\n')
|
||||
codeparam.write(''.join(['override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.sys', debugmakerom, '.exe\n']))
|
||||
codeparam.write('MAKETAD_OPTION += -s\n')
|
||||
romspectemplate = '$(ROOT)/include/twl/specfiles/ROM-TS_sys.rsf'
|
||||
else:
|
||||
if debugmakerom == '.DEBUG':
|
||||
codeparam.write('override MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.DEBUG.exe\n')
|
||||
# 暫定対処 include/twl/specfiles 以下をきちんと使うように変更する必要がある
|
||||
if testtype == 'PARENTAL':
|
||||
romspectemplate = '../config/ROM-TS_nand_forPARENTAL.rsf'
|
||||
@ -70,10 +75,11 @@ for num in romparam.keys():
|
||||
codeparam.write(''.join(['ROM_SPEC_TEMPLATE = ',romspectemplate,'\n']))
|
||||
|
||||
#----- ROM_HEADER_TEMPLATEおよびLIBSYSCALLの指定
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader'):
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader') and romparam[num][optkey]['UseFinalHeader']:
|
||||
codeparam.write(''.join(['ROM_HEADER_TEMPLATE = $(SYSMENU_ROM_HEADER_DIR)/',gamecode,'/rom_header_$(call toLower,',gamecode,').template.sbin\n']))
|
||||
codeparam.write(''.join(['LIBSYSCALL = $(SYSMENU_ROM_HEADER_DIR)/',gamecode,'/libsyscall.a\n']))
|
||||
|
||||
if debugmakerom == '.DEBUG':
|
||||
codeparam.write('MAKEROM_FLAGS += -DSYSCALL_C=\'$(call empath,$(LIBSYSCALL:.a=_c.bin))\'\n')
|
||||
#----- ROM_SPEC_OPTIONS key の抽出
|
||||
if romparam[num][rsfkey].get('AppType') == 'SYSTEM':
|
||||
keys = [key for key in romparam[num][rsfkey].keys() if key != 'TitleType' and key != 'eTicket' ]
|
||||
@ -110,7 +116,7 @@ for num in romparam.keys():
|
||||
if romparam[num].has_key(ratingkey):
|
||||
rsf_opt.append('%s=%s '%(romparam[num][ratingkey]['Ogn'],str(romparam[num][ratingkey]['Age'])))
|
||||
#----- RomHeaderTemplateの指定
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader'):
|
||||
if romparam[num].has_key(optkey) and romparam[num][optkey].has_key('UseFinalHeader') and romparam[num][optkey]['UseFinalHeader']:
|
||||
rsf_opt.append('RomHeaderTemplate=$(call empath,$(ROM_HEADER_TEMPLATE)) ')
|
||||
#----- ROM_SPEC_OPTIONS の指定
|
||||
rsf_opt_str = ''.join(rsf_opt)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user