T2080RDB-PC Board Program Flash for the First Time without U-Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T2080RDB-PC Board Program Flash for the First Time without U-Boot

Jump to solution
662 Views
asnovice_ad
Contributor II

Hello, I am trying to load u-boot onto the T2080RDB board for the first time. From what I've understood, I downloaded the SDK files. From here, I got the pre-compiled uboot files.

On CodeWarriors, I have created a new project with SRAM settings. It uses the T2080RDB-PCle_init_sram.tcl as hte initialization target script.
 
I run the debug configuration over to attach to the board. Then I run the flash programmer in the preset SPI flash config and used u-boot-spi-2016.01+fslgit-r0.bin to download onto the board. I tried with offset of 0xFFF4000 but that always failed, it works if I don't specify an offset.
 
At this point I change the PC to 0xFFFFFFFC but there's nothing loaded there so nothing happens. I'm assuming I'm doing something terribly wrong here. Some guidance will be greatly appreciated.
 
Also, in the subsequent instructions on the quick start, I cannot find a file for t2080.rcw, can you point me to where I can get the right one? I just need a default to get something working. For the other files I've used the following:
 - u-boot-nor-2016.01+fslgit-r0.bin (for u-boot.bin)
 - cs4315-cs4340-PHY-ucode.txt (for cs4315-ucode.txt)
 - fsl_fman_ucode_t2080_r1.1_108_4_5.bin (for fman_ucode.bin)
0 Kudos
Reply
1 Solution
593 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

For a first-time load on the T2080RDB-PC, the common "terrible wrong" is usually the Reset Configuration Word (RCW). Without a valid RCW in flash, the processor doesn't know how to configure its clocks or where to find the bootloader, leading to the "nothing happens" state you're seeing.
The RCW isn't a single "one-size-fits-all" file; it depends on your boot source (SPI, NOR, SD).
  • In the SDK: Look in the Yocto build directory: tmp/deploy/images/t2080rdb-64b/.
  • In U-Boot Source: If you have the source, check board/freescale/t208xrdb/ for files like t2080_spi_rcw.cfg.
  • Standard RCW Override: If the board is "blank," you must use a JTAG RCW Override in CodeWarrior. This "tricks" the CPU into a working state so you can program the flash. Look for .cfg files in your CodeWarrior installation folder under:
    {CW_Install_Path}\PA\Config\jtag_chains\T2080RDB_RCW_override.cfg.
Instead of attaching and manually moving the PC, follow this standard "un-bricking" flow:
  1. Set DIP Switches: Configure for Hard-coded RCW or a known boot override (e.g., SW1: 0100 1110, SW2: 1011 1111, SW3: 1100 0001).
  2. Use Flash Programmer:
    • Load your u-boot-spi-*.bin at Offset 0.
    • Load your RCW binary at Offset 0 (the SPI image usually includes the RCW at the front)

Regards

View solution in original post

0 Kudos
Reply
2 Replies
594 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

For a first-time load on the T2080RDB-PC, the common "terrible wrong" is usually the Reset Configuration Word (RCW). Without a valid RCW in flash, the processor doesn't know how to configure its clocks or where to find the bootloader, leading to the "nothing happens" state you're seeing.
The RCW isn't a single "one-size-fits-all" file; it depends on your boot source (SPI, NOR, SD).
  • In the SDK: Look in the Yocto build directory: tmp/deploy/images/t2080rdb-64b/.
  • In U-Boot Source: If you have the source, check board/freescale/t208xrdb/ for files like t2080_spi_rcw.cfg.
  • Standard RCW Override: If the board is "blank," you must use a JTAG RCW Override in CodeWarrior. This "tricks" the CPU into a working state so you can program the flash. Look for .cfg files in your CodeWarrior installation folder under:
    {CW_Install_Path}\PA\Config\jtag_chains\T2080RDB_RCW_override.cfg.
Instead of attaching and manually moving the PC, follow this standard "un-bricking" flow:
  1. Set DIP Switches: Configure for Hard-coded RCW or a known boot override (e.g., SW1: 0100 1110, SW2: 1011 1111, SW3: 1100 0001).
  2. Use Flash Programmer:
    • Load your u-boot-spi-*.bin at Offset 0.
    • Load your RCW binary at Offset 0 (the SPI image usually includes the RCW at the front)

Regards

0 Kudos
Reply
559 Views
asnovice_ad
Contributor II
Appreciate it! I had the RCW loaded at the wrong address, u-boot worked after fixing it
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2336732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ET2080RDB-PC%20Board%20Program%20Flash%20for%20the%20First%20Time%20without%20U-Boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2336732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20I%20am%20trying%20to%20load%20u-boot%20onto%20the%20T2080RDB%20board%20for%20the%20first%20time.%20From%20what%20I've%20understood%2C%20I%20downloaded%20the%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Flinux-software-and-development-tools%2Flinux-sdk-for-qoriq-processors%3ASDKLINUX%3Ffsrch%3D1%26amp%3Bsr%3D1%26amp%3BpageNum%3D1%26amp%3B_gl%3D1*d6xo81*_ga*MTc5NzkyMDk0Ny4xNzczOTI5MDk0*_ga_WM5LE0KMSH*czE3NzM5MjkwOTMkbzEkZzAkdDE3NzM5MjkwOTMkajYwJGwwJGg5MDUzODk4Mjk.%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3ESDK%20files%3C%2FA%3E%3C%2FSPAN%3E.%20From%20here%2C%20I%20got%20the%20pre-compiled%20uboot%20files.%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3EOn%20CodeWarriors%2C%20I%20have%20created%20a%20new%20project%20with%20SRAM%20settings.%20It%20uses%20the%20T2080RDB-PCle_init_sram.tcl%20as%20hte%20initialization%20target%20script.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EI%20run%20the%20debug%20configuration%20over%20to%20attach%20to%20the%20board.%20Then%20I%20run%20the%20flash%20programmer%20in%20the%20preset%20SPI%20flash%20config%20and%20used%20u-boot-spi-2016.01%2Bfslgit-r0.bin%20to%20download%20onto%20the%20board.%20I%20tried%20with%20offset%20of%200xFFF4000%20but%20that%20always%20failed%2C%20it%20works%20if%20I%20don't%20specify%20an%20offset.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAt%20this%20point%20I%20change%20the%20PC%20to%200xFFFFFFFC%20but%20there's%20nothing%20loaded%20there%20so%20nothing%20happens.%20I'm%20assuming%20I'm%20doing%20something%20terribly%20wrong%20here.%20Some%20guidance%20will%20be%20greatly%20appreciated.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAlso%2C%20in%20the%20subsequent%20instructions%20on%20the%20quick%20start%2C%20I%20cannot%20find%20a%20file%20for%20t2080.rcw%2C%20can%20you%20point%20me%20to%20where%20I%20can%20get%20the%20right%20one%3F%20I%20just%20need%20a%20default%20to%20get%20something%20working.%20For%20the%20other%20files%20I've%20used%20the%20following%3A%3CBR%20%2F%3E%26nbsp%3B-%20u-boot-nor-2016.01%2Bfslgit-r0.bin%20(for%20u-boot.bin)%3CBR%20%2F%3E%26nbsp%3B-%20cs4315-cs4340-PHY-ucode.txt%20(for%20cs4315-ucode.txt)%3CBR%20%2F%3E%26nbsp%3B-%20fsl_fman_ucode_t2080_r1.1_108_4_5.bin%20(for%20fman_ucode.bin)%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2337688%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20T2080RDB-PC%20Board%20Program%20Flash%20for%20the%20First%20Time%20without%20U-Boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2337688%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3EFor%20a%20first-time%20load%20on%20the%20T2080RDB-PC%2C%20the%20common%20%22terrible%20wrong%22%20is%20usually%20the%20Reset%20Configuration%20Word%20(RCW).%20Without%20a%20valid%20RCW%20in%20flash%2C%20the%20processor%20doesn't%20know%20how%20to%20configure%20its%20clocks%20or%20where%20to%20find%20the%20bootloader%2C%20leading%20to%20the%20%22nothing%20happens%22%20state%20you're%20seeing.%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EThe%20RCW%20isn't%20a%20single%20%22one-size-fits-all%22%20file%3B%20it%20depends%20on%20your%20boot%20source%20(SPI%2C%20NOR%2C%20SD).%3C%2FDIV%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICRAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EIn%20the%20SDK%3A%20Look%20in%20the%20Yocto%20build%20directory%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Etmp%2Fdeploy%2Fimages%2Ft2080rdb-64b%2F%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICRAB%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EIn%20U-Boot%20Source%3A%20If%20you%20have%20the%20source%2C%20check%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Eboard%2Ffreescale%2Ft208xrdb%2F%3C%2FCODE%3E%20for%20files%20like%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Et2080_spi_rcw.cfg%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICRAC%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20aria-owns%3D%22action-menu-parent-container%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EStandard%20RCW%20Override%3A%20If%20the%20board%20is%20%22blank%2C%22%20you%20must%20use%20a%20JTAG%20RCW%20Override%20in%20CodeWarrior.%20This%20%22tricks%22%20the%20CPU%20into%20a%20working%20state%20so%20you%20can%20program%20the%20flash.%20Look%20for%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E.cfg%3C%2FCODE%3E%20files%20in%20your%20CodeWarrior%20installation%20folder%20under%3A%3CBR%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-pl%3D%22%7C%5B%5D%22%20data-sfc-root%3D%22c%22%20%2F%3E%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%7BCW_Install_Path%7D%5CPA%5CConfig%5Cjtag_chains%5CT2080RDB_RCW_override.cfg%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICxAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EInstead%20of%20attaching%20and%20manually%20moving%20the%20PC%2C%20follow%20this%20standard%20%22un-bricking%22%20flow%3A%3C%2FDIV%3E%0A%3COL%20class%3D%22IaGLZe%20VimKh%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ESet%20DIP%20Switches%3A%20Configure%20for%20Hard-coded%20RCW%20or%20a%20known%20boot%20override%20(e.g.%2C%20SW1%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E0100%201110%3C%2FCODE%3E%2C%20SW2%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E1011%201111%3C%2FCODE%3E%2C%20SW3%3A%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E1100%200001%3C%2FCODE%3E).%3C%2FSPAN%3E%3CSPAN%20class%3D%22uJ19be%20notranslate%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22IvUHyb_3a%2CIvUHyb_3b%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22vKEkVd%22%20data-sae%3D%22%22%20data-wiz-attrbind%3D%22class%3DIvUHyb_39%2FTKHnVd%22%20data-animation-atomic%3D%22%22%3E%3CSPAN%20aria-hidden%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDBAD%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3EUse%20Flash%20Programmer%3A%3CSPAN%20class%3D%22uJ19be%20notranslate%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22IvUHyb_3h%2CIvUHyb_3i%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22vKEkVd%22%20data-sae%3D%22%22%20data-wiz-attrbind%3D%22class%3DIvUHyb_3g%2FTKHnVd%22%20data-animation-atomic%3D%22%22%3E%3CSPAN%20aria-hidden%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDBAG%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ELoad%20your%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3Eu-boot-spi-*.bin%3C%2FCODE%3E%20at%20Offset%200.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDBAH%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%3E%3CSPAN%20class%3D%22T286Pc%22%20aria-owns%3D%22action-menu-parent-container%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ELoad%20your%20RCW%20binary%20at%20Offset%200%20(the%20SPI%20image%20usually%20includes%20the%20RCW%20at%20the%20front)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%20class%3D%22T286Pc%22%20aria-owns%3D%22action-menu-parent-container%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-root%3D%22c%22%20data-sfc-cp%3D%22%22%3ERegards%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2338728%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20T2080RDB-PC%20Board%20Program%20Flash%20for%20the%20First%20Time%20without%20U-Boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338728%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAppreciate%20it!%20I%20had%20the%20RCW%20loaded%20at%20the%20wrong%20address%2C%20u-boot%20worked%20after%20fixing%20it%3C%2FLINGO-BODY%3E