亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jnand.bak

?? QUALCOMM JNAND DRIVER
?? BAK
?? 第 1 頁 / 共 3 頁
字號:
      ENTRY &ELFname
    )
    
    ; If MenuMode is NOMENU, we need to precede build with "normal" path
    ; to the DMSS build directory if not already there.  This allows
    ; the user to sue "do jnload SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="NOMENU"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    ; If MenuMode is STD, we need to precede build with "normal" path
    ; to the DMSS build directory.  This allows the user to merely type
    ; "do jnand SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="STD"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    &ELFdir=OS.FILE.PATH(&ELFname)
    &ELFname=OS.FILE.NAME(&ELFname)
    
    IF STRING.SCAN("&ELFname",".cnt",0)==-1
    (
      &ELFname="&ELFname.cnt"
    )
    if "&DoDebug"=="yes"
    (
      print "Processed Rsrc2 name is &ELFname"
      print "Processed Rsrc2 dir is &ELFdir"
      print "Image to flash is &ELFdir\&ELFname"
    ) 
  )
  else
  (
    if "&DoDebug"=="yes"
    (
      print "NOT processing ELFname and ELFdir in FACTORY mode now"
    )
  )

return   ;AdjustRsrc2Name

AdjustFSName:

  if "&ProcessElfName"=="yes"
  (
    ; If we have no elf name, have user choose an elf file
    if "&ELFname"==""
    (
      print "Please select a Factory F/S to program"
      dialog.file ..\..\build\ms\*.bin
      ENTRY &ELFname
    )
    
    ; If MenuMode is NOMENU, we need to precede build with "normal" path
    ; to the DMSS build directory if not already there.  This allows
    ; the user to sue "do jnload SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="NOMENU"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    ; If MenuMode is STD, we need to precede build with "normal" path
    ; to the DMSS build directory.  This allows the user to merely type
    ; "do jnand SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="STD"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    &ELFdir=OS.FILE.PATH(&ELFname)
    &ELFname=OS.FILE.NAME(&ELFname)
    
    IF STRING.SCAN("&ELFname",".bin",0)==-1
    (
      &ELFname="&ELFname.bin"
    )
    if "&DoDebug"=="yes"
    (
      print "Processed Factory F/S name is &ELFname"
      print "Processed Factory F/S dir is &ELFdir"
      print "Image to flash is &ELFdir\&ELFname"
    ) 
  )
  else
  (
    if "&DoDebug"=="yes"
    (
      print "NOT processing ELFname and ELFdir in FACTORY mode now"
    )
  )

return   ;AdjustFSName

AdjustFontName:

  if "&ProcessElfName"=="yes"
  (
    ; If we have no elf name, have user choose an elf file
    if "&ELFname"==""
    (
      print "Please select a Font to program"
      dialog.file ..\..\build\ms\*.bin
      ENTRY &ELFname
    )
    
    ; If MenuMode is NOMENU, we need to precede build with "normal" path
    ; to the DMSS build directory if not already there.  This allows
    ; the user to sue "do jnload SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="NOMENU"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    ; If MenuMode is STD, we need to precede build with "normal" path
    ; to the DMSS build directory.  This allows the user to merely type
    ; "do jnand SNTA" and we will find it in ..\..\build\ms
    if "&MenuMode"=="STD"
    (
      &ELFdir=OS.FILE.PATH(&ELFname)
      &OSPwd=OS.PWD()
      if "&ELFdir"=="&OSPwd"
      (
        &ELFname="..\..\build\ms\&ELFname"
        if "&DoDebug"=="yes"
        (
          print "Directory adjusted ELFname is now &ELFname" 
        )
      )
    )
    
    &ELFdir=OS.FILE.PATH(&ELFname)
    &ELFname=OS.FILE.NAME(&ELFname)
    
    IF STRING.SCAN("&ELFname",".bin",0)==-1
    (
      &ELFname="&ELFname.bin"
    )
    if "&DoDebug"=="yes"
    (
      print "Processed Font name is &ELFname"
      print "Processed Font dir is &ELFdir"
      print "Image to flash is &ELFdir\&ELFname"
    ) 
  )
  else
  (
    if "&DoDebug"=="yes"
    (
      print "NOT processing ELFname and ELFdir in FACTORY mode now"
    )
  )

return   ;AdjustFontName

Rsrc1Image:

	 ; set up addresses used with FLASH.* commands
	 &RomBegin=&JnandRsrc1Begin
	 &RomEnd=&JnandRsrc1End
	 gosub CreateRom
	 
	 
	 ;--------------------------------------------------------
	 ; Initialize the JNAND program - must succeed
	 ;  will probe flash and set up first block for writing
	 ; We have to set this command up by hand as it is one
	 ;  that we added to the flash.* protocol and JTAG does
	 ;  not know about it.
	 ;--------------------------------------------------------
	 ;
   if "&Verbose"=="yes"
   (
	  print "Probing flash and validating boot info blocks"
	 )
	&Command="Flash Initialize for Rsrc1 Programming"
	 data.set &ParmCmd	%LONG &InitCmd
	 data.set &ParmAddr	%LONG &RomBegin
	 r.s pc &StartAddr
	 go
	 gosub check_status  ;; will not return if error
	&ElfImage="&ELFdir\&ELFname"
	 gosub DoProgrammingBin  
	
	
	 gosub CleanUp 
   if "&Verbose"=="yes"
   (
	   print "Flash is programmed and verified" 
   )
return


Rsrc2Image:

	 ; set up addresses used with FLASH.* commands
	 &RomBegin=&JnandRsrc2Begin
	 &RomEnd=&JnandRsrc2End
	 gosub CreateRom
	 
	 
	 ;--------------------------------------------------------
	 ; Initialize the JNAND program - must succeed
	 ;  will probe flash and set up first block for writing
	 ; We have to set this command up by hand as it is one
	 ;  that we added to the flash.* protocol and JTAG does
	 ;  not know about it.
	 ;--------------------------------------------------------
	 ;
   if "&Verbose"=="yes"
   (
	  print "Probing flash and validating boot info blocks"
	 )
   &Command="Flash Initialize for Rsrc2 Programming"
	 data.set &ParmCmd	%LONG &InitCmd
	 data.set &ParmAddr	%LONG &RomBegin
	 r.s pc &StartAddr
	 go
	 gosub check_status  ;; will not return if error
   &ElfImage="&ELFdir\&ELFname"
	 gosub DoProgrammingBin  
	
	gosub CleanUp 
   if "&Verbose"=="yes"
   (
	   print "Flash is programmed and verified" 
   )
return


FSImage:

	 ; set up addresses used with FLASH.* commands
	 &RomBegin=&JnandFSBegin
	 &RomEnd=&JnandFSEnd
	 gosub CreateRom
	 
	 
	 ;--------------------------------------------------------
	 ; Initialize the JNAND program - must succeed
	 ;  will probe flash and set up first block for writing
	 ; We have to set this command up by hand as it is one
	 ;  that we added to the flash.* protocol and JTAG does
	 ;  not know about it.
	 ;--------------------------------------------------------
	 ;
   if "&Verbose"=="yes"
   (
	  print "Probing flash and validating boot info blocks"
	 )
   &Command="Flash Initialize for Factory F/S Programming"
	 data.set &ParmCmd	%LONG &InitCmd
	 data.set &ParmAddr	%LONG &RomBegin
	 r.s pc &StartAddr
	 go
	 gosub check_status  ;; will not return if error
   &ElfImage="&ELFdir\&ELFname"
	 gosub DoProgrammingBin  
	
	 gosub CleanUp 
   if "&Verbose"=="yes"
   (
	   print "Flash is programmed and verified" 
   )
return

FontImage:

	 ; set up addresses used with FLASH.* commands
	 &RomBegin=&JnandFontBegin
	 &RomEnd=&JnandFontEnd
	 gosub CreateRom
	 
	 
	 ;--------------------------------------------------------
	 ; Initialize the JNAND program - must succeed
	 ;  will probe flash and set up first block for writing
	 ; We have to set this command up by hand as it is one
	 ;  that we added to the flash.* protocol and JTAG does
	 ;  not know about it.
	 ;--------------------------------------------------------
	 ;
   if "&Verbose"=="yes"
   (
	  print "Probing flash and validating boot info blocks"
	 )
   &Command="Flash Initialize for Font Programming"
	 data.set &ParmCmd	%LONG &InitCmd
	 data.set &ParmAddr	%LONG &RomBegin
	 r.s pc &StartAddr
	 go
	 gosub check_status  ;; will not return if error
   &ElfImage="&ELFdir\&ELFname"
	 gosub DoProgrammingBin  
	
	 gosub CleanUp 
   if "&Verbose"=="yes"
   (
	   print "Flash is programmed and verified" 
   )
return


DoProgrammingBin:

	 ;--------------------------------------------------------
	 ; Call erase function.  Will only erase blocks 1 and 2
	 ; where we will put the boot info block. If either of
	 ; these fail, then the flash is unusable and we bail out
	 ; The parameters passed are ignored but to satisfy the JTAG
	 ;  ICD, they must match the flash.create command above
	 ;--------------------------------------------------------
	 ;
   

   if "&Verbose"=="yes"
   (
	   print "Erasing Flash Boot Info Blocks"
	 )
   &Command="Flash Erase Boot Info Blocks"
   
	 flash.erase &RomBegin--&RomEnd
	 
	 gosub check_status  ;; will not return if error
	
	 ;--------------------------------------------------------
	 ; put into program mode 
	 ;--------------------------------------------------------
	 flash.program all
	 
	 ;--------------------------------------------------------
	 ; actual flash programming happens here
	 ;--------------------------------------------------------
	 &Command="Flash Program"
	 
	 ; print "Select file to program in browser: "
	 d.load.binary &ElfImage &RomBegin--&RomEnd
	 
	 gosub check_status  ;; will not return if error
	 
	 ;--------------------------------------------------------
	 ; OK we're finished, turn off programming mode.
   ; If we do not turn it off, any data writes within
   ; the address range of the defined ROM will be taken
   ; as flash programming commands and this will cause
   ; failures if the code size overlaps the parameter
   ; block address.
	 ;--------------------------------------------------------
	 flash.program off
	
	 ;--------------------------------------------------------
	 ; Report statistics gathered during flash programming
	 ;--------------------------------------------------------
	 ;
   if "&Verbose"=="yes"
   (
	   print "Reporting Statistics"
	 )
   &Command="Flash Report"
	 data.set &ParmCmd %LONG &ReportCmd
	 r.s pc &StartAddr
	 go
	 gosub check_status  ;; will not return if error
	 gosub report_stats
	

return

DumpFlash:
	d.load.elf "jnand.elf"
	 
	; need this breakpoint as per Lauterbach Spec so that we
	; can hand back control to the Debugger
	break.delete /ALL
	break.set swbp

	print " <<< Input NAND address to read >>>"
	print " ex) 0x2D00000"
	print "> "

	&t32_cmm_stopped=1
	enter &arg1
	&t32_cmm_stopped=0

	&arg2=0x100000
	print " <<< Input Destination SDRAM address (0x00000000 ~ 0x01FFFFFF) )>>>"
	print " ex) 0x100000"
	print "> "

	&t32_cmm_stopped=1
	enter &arg2
	&t32_cmm_stopped=0

	print " <<< Input size to read >>>"
	print " ex) 0x10000"
	print "> "

	&t32_cmm_stopped=1
	enter &arg3
	&t32_cmm_stopped=0

	&Command="Dump Flash"
	data.set &ParmCmd		%LONG &DumpCmd
	data.set &ParmFlashaddr	%LONG &arg1
	data.set &ParmAddr		%LONG &arg2
	data.set &ParmSize		%LONG &arg3
	r.s pc &StartAddr
	go
	gosub check_status  ;; will not return if error

	d.dump &arg2

return

END




?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
大美女一区二区三区| 欧美一区二区三区啪啪| 在线不卡一区二区| 日韩一区在线播放| 久久91精品国产91久久小草| 在线免费av一区| 欧美韩日一区二区三区| 首页国产欧美久久| 91免费观看国产| 欧美国产日韩在线观看| 精品一区二区成人精品| 欧美日本免费一区二区三区| 成人免费小视频| 成人h动漫精品| 亚洲国产精品av| 国产精品 欧美精品| 精品久久国产老人久久综合| 日韩制服丝袜av| 欧美日韩一级黄| 亚洲一区二区三区在线| 91麻豆免费视频| 综合电影一区二区三区| 成人avav在线| 亚洲欧洲无码一区二区三区| 国产a区久久久| 国产日韩欧美在线一区| 国产一区二区在线观看免费| 日韩一区二区在线观看| 免费欧美高清视频| 日韩午夜在线观看视频| 日本女优在线视频一区二区 | 91精品国产91热久久久做人人 | 91女人视频在线观看| 亚洲亚洲人成综合网络| 97国产精品videossex| 亚洲国产电影在线观看| 国产a精品视频| 日韩伦理电影网| 欧美亚一区二区| 日韩高清欧美激情| 欧美电视剧在线看免费| 国内久久精品视频| 国产精品高潮久久久久无| www.色综合.com| 一区二区三区波多野结衣在线观看| 色综合久久中文综合久久97| 亚洲精品ww久久久久久p站| 在线免费观看成人短视频| 亚洲超碰精品一区二区| 欧美大片在线观看一区| 成人永久免费视频| 亚洲在线一区二区三区| 日韩情涩欧美日韩视频| 国产一区二区三区在线看麻豆| 亚洲国产精品激情在线观看| 91蝌蚪porny| 秋霞国产午夜精品免费视频 | 欧美精品一二三区| 国产一区中文字幕| 亚洲精品免费在线播放| 欧美久久一二三四区| 国产精品2024| 午夜精品影院在线观看| 久久蜜臀精品av| 欧美无砖砖区免费| 国产成人夜色高潮福利影视| 一区二区视频在线| 久久久精品影视| 欧美吻胸吃奶大尺度电影| 狠狠色丁香婷婷综合久久片| 亚洲视频免费看| 精品国产伦理网| 欧美体内she精高潮| 国产经典欧美精品| 亚洲一区av在线| 欧美激情在线一区二区三区| 欧美日本一区二区三区| 波多野结衣一区二区三区| 青娱乐精品视频| 亚洲乱码国产乱码精品精的特点| 精品日产卡一卡二卡麻豆| 在线观看免费一区| 国产成人av电影免费在线观看| 午夜精品久久久久影视| 国产精品国产三级国产aⅴ原创| 日韩精品最新网址| 欧美视频一区二区三区| www.日韩精品| 成人综合激情网| 国产一区二区电影| 美洲天堂一区二卡三卡四卡视频| 亚洲精品高清视频在线观看| 中文字幕高清不卡| 久久久天堂av| 亚洲精品一区二区三区香蕉| 欧美色区777第一页| 在线亚洲高清视频| av亚洲产国偷v产偷v自拍| 国产一区二区三区不卡在线观看| 亚洲r级在线视频| 亚洲一区二区四区蜜桃| 亚洲精品国产无天堂网2021| 中文字幕一区二区三区四区不卡 | 岛国一区二区在线观看| 国产呦萝稀缺另类资源| 精品在线免费视频| 久久精品国产99久久6| 老色鬼精品视频在线观看播放| 日韩中文字幕一区二区三区| 亚洲va欧美va人人爽| 亚洲成人动漫精品| 婷婷综合久久一区二区三区| 五月天久久比比资源色| 午夜精品在线看| 肉肉av福利一精品导航| 日欧美一区二区| 久久国产成人午夜av影院| 老司机一区二区| 国产精品456露脸| av不卡免费电影| 国产日产亚洲精品系列| 国产亚洲欧美色| 久久综合色综合88| 日韩一区和二区| 2021久久国产精品不只是精品| 精品乱码亚洲一区二区不卡| 久久午夜老司机| 亚洲欧美中日韩| 亚洲高清免费一级二级三级| 男人的天堂亚洲一区| 国产酒店精品激情| 91丝袜国产在线播放| 欧美中文一区二区三区| 日韩一级免费观看| 久久精品一区二区三区不卡 | www..com久久爱| 91成人看片片| 日韩视频一区二区在线观看| 国产视频一区二区在线观看| 综合久久久久综合| 日本欧美在线观看| 成人午夜精品一区二区三区| 在线影院国内精品| 日韩欧美资源站| 亚洲色图一区二区三区| 日本aⅴ免费视频一区二区三区| 国产成人在线电影| 欧美在线影院一区二区| 精品日韩一区二区三区免费视频| 中文一区一区三区高中清不卡| 亚洲国产成人av好男人在线观看| 久88久久88久久久| 欧美专区在线观看一区| 精品对白一区国产伦| 尤物av一区二区| 国内精品自线一区二区三区视频| 91碰在线视频| 久久精品视频一区二区| 午夜视频在线观看一区| 成人一区二区三区| 欧美一区欧美二区| 亚洲欧美偷拍卡通变态| 久久av资源站| 在线播放一区二区三区| 亚洲欧洲日本在线| 国产综合色产在线精品| 欧美日韩国产一二三| 中文字幕一区二区三区乱码在线| 麻豆国产精品777777在线| 色婷婷久久久久swag精品| 国产日韩影视精品| 美国毛片一区二区三区| 欧美日韩三级视频| 中文字幕一区二区三区不卡 | 欧美日韩国产大片| 亚洲欧美日韩国产综合在线| 国模大尺度一区二区三区| 欧美另类videos死尸| 一区二区三区色| 91亚洲国产成人精品一区二三| 国产偷v国产偷v亚洲高清| 日韩电影在线一区| 欧美日本乱大交xxxxx| 亚洲精品成a人| 91美女福利视频| 中文一区二区完整视频在线观看| 韩国精品免费视频| 欧美白人最猛性xxxxx69交| 日韩国产在线观看| 精品视频全国免费看| 一区二区激情视频| 色爱区综合激月婷婷| 亚洲四区在线观看| av综合在线播放| 亚洲日本在线观看| 91片黄在线观看| 一区二区高清视频在线观看| 色综合天天狠狠| 亚洲一卡二卡三卡四卡| 91成人在线免费观看|