flexbuild_lsdk1712

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

flexbuild_lsdk1712

Jump to solution
1,174 Views
notshure
Contributor IV

Hello everyone.

Target:

I am working with the LS1043a board. I want to generate a Boot from SD for my platform. I would also like to insert a PBI command in the Boot (command to disable cores). To generate the boot I am using flex-builder, in particular flexbuild_lsdk1712. I saw from the documentation Layerscape Software Development Kit 17.12 Documentation, Rev. 0, 02/201 that it is possible to make the file firmware_ls1043ardb_uboot_sdboot.img with the following command: flex-builder -i mkfw -m ls1043ardb -b sd -B uboot.

I have already done such a thing using the latest version of flex-builder: flexbuild_lsdk2108

In fact, this link describes in detail all the steps necessary to obtain this result.

I want to do what I did with flexbuild_lsdk2108 with flexbuild_lsdk1712 as well.

I do this because I need to generate the boot from SD with U-Boot 2017 on it

I found that you need to edit the ls1043ardb_pbi.cfg file located in the following folder y  packages/firmware/u-boot/board/freescale/ls1043ardb.

Question:

The file ls1043ardb_pbi.cfg does it need to be changed in the following way?

#Configure Scratch register
09570600 00000000
09570604 10000000
#Alt base register
09570158 00001000
#Disable CCI barrier tranaction
09570178 0000e010
09180000 00000008
#USB PHY frequency sel
09570418 0000009e
0957041c 0000009e
09570420 0000009e
#Core DIS
09ee0094 0000000e
#flush PBI data
096100c0 000fffff

write

#Core DIS
09ee0094 0000000e

equivalent to writing to the command

.pbi
write 0xee0094, 0x0000000e
.end

? as is done in the new version of flex-builder.

 

0 Kudos
1 Solution
1,147 Views
notshure
Contributor IV

Thanks for your reply. I have found the solution.

View solution in original post

0 Kudos
2 Replies
1,152 Views
yipingwang
NXP TechSupport
NXP TechSupport

Yes, that's correct.

Adding the following line in ls1043ardb_pbi.cfg

09ee0094 0000000e

0 Kudos
1,148 Views
notshure
Contributor IV

Thanks for your reply. I have found the solution.

0 Kudos