P1020RDB boot from nor flash

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

P1020RDB boot from nor flash

Jump to solution
1,391 Views
embedit
Contributor I

I have a P1020RDB board and I want to load it a vxWorks bootable image.

Nor Flash's pysical adress seems 0xFFF0_0000 according to BSP's reference document but when it shows how to write to flash it uses a different adress like EF70_0000.

tftp 100000 bootrom_uncmp.bin

erase ef700000 +100000

cp.b 100000 ef700000 $filesize

I didn't understand why theese two adresses are different.

I want to boot it from TrueFFS flash file system. TrueFFS's adress is 0xFF80_0000. When I try to erase and write this adress

     erase FF800000 +100000

I got an error that says this adress is not belong to flash. What is wrong here?

Help please?

Labels (2)
Tags (3)
0 Kudos
Reply
1 Solution
923 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

You can map any peripheral (DDR, NOR, NAND, PCI and so on) to any addresses using a different memory range in TLB, LAW and CS (chip select).  According with this link [1] the u-boot/flash is memory mapped from 0xExxx_xxxx address.

Regards,

Marius

[1] P1020/P1021/P2020RDB

View solution in original post

0 Kudos
Reply
3 Replies
923 Views
embedit
Contributor I

Thank you very much Marius.

0 Kudos
Reply
924 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

You can map any peripheral (DDR, NOR, NAND, PCI and so on) to any addresses using a different memory range in TLB, LAW and CS (chip select).  According with this link [1] the u-boot/flash is memory mapped from 0xExxx_xxxx address.

Regards,

Marius

[1] P1020/P1021/P2020RDB

0 Kudos
Reply
923 Views
ali_sarlak
Contributor III

Dear I didn't understand your explanation (it is confusing) could you please explain more!

Based on my individual experience I found that P1022_DS CPU runs boot loader from two different of nor flash addresses and it's confusing to me, because I knew CPU only runs the boot loader only from one unique address.

I need more explanation please.

Regards,

Ali

0 Kudos
Reply