Prepare PBL for LS1012A custom board, rcw text source file

cancel
Showing results for 
Search instead for 
Did you mean: 

Prepare PBL for LS1012A custom board, rcw text source file

829 Views
janmodaal
Contributor II

Hello,
I have to boot a custom board with LS1012A. Pin muxing must be changed for GPIO + SPI.

I found file PBL_0x33_0x05_800_250_1000_default.bin; The same file is used in Yocto linux SDK.

Following QCVS_PBL_User_Guide.pdf, I've tried importing it into in QCVS. Failed.

$ xxd -g1 PBL_0x33_0x05_800_250_1000_default.bin
00000000: 00 01 ee 01 55 aa 55 aa 00 00 00 00 08 00 00 08
00000010: 00 00 00 00 00 00 00 00 0c 00 00 c0 00 00 05 33
00000020: 00 18 00 00 00 00 00 40 00 00 00 00 00 00 00 00
00000030: 71 45 0c 00 00 00 00 00 20 81 c2 00 00 00 00 00
00000040: 00 00 00 00 96 00 00 00 00 00 10 40 04 06 57 09
00000050: 00 00 10 50 5c 01 57 09 00 00 00 00 00 06 57 09
00000060: 9c 00 00 00 18 04 57 09 80 28 50 00 dc 08 ea 09
00000070: 00 00 01 00 00 1a ee 09 00 02 00 00 58 01 57 09
00000080: 01 00 00 00 14 00 4c 89 0c 40 0f 00 00 00 55 09
00000090: 08 61 00 40 e6 79 dc 1c

The same file was attached by Adrian Stoica here: https://community.nxp.com/thread/433372

And availabe here as bin only
https://github.com/qoriq-open-source/rcw/tree/integration/ls1012afrdm/N_SSNP_3305


Where can I find the plain text version of the generated .bin file, for
example for another processor is available
https://github.com/qoriq-open-source/rcw/blob/integration/b4860qds/N_PSSS_0x2A_0xB2/rcw_4sgmii_4pcie...

I want to import PCL commands in bytes 0x0050 ... 0x0097.

Thanks

Tags (1)
0 Kudos
1 Reply

446 Views
janmodaal
Contributor II

OK, I found how to disable the "Import error" in menu
"Ignore constraints and non-critical errors". After selecting it, it was possible to edit PBI Data/PBI Data Input, and to

see bytes interpreted


09570604 40100000
0957015c 50100000
09570600 00000000
09570418 0000009c
09ea08dc 00502880
09ee1a00 00010000
09570158 00000200
894c0014 00000001
09550000 000f400c

0 Kudos