Configure the Linux Address for T4240RDB-64B

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

Configure the Linux Address for T4240RDB-64B

1,853 Views
vinothkumars
Senior Contributor IV

Hi All,

 

I am working on T4240RDB. As per document (QORIQ-SDK-2.0-IC-REV0.pdf) I flash the Linux image 0xE8020000. I needs to flash the Linux image to 0XE8000000.

I needs to configure the Linux address, Will you please tell me the which files to configure the Linux Address  ?

 

Regards,

VinothS

Regards,
Vinothkumar Sekar
Labels (1)
16 Replies

1,517 Views
ufedor
NXP Employee
NXP Employee

I needs to flash the Linux image to 0XE8000000.

This is not possible because RCW must reside at this address - refer to the Linux SDK Documentation:

Submit Form 

Table 1. NOR Flash Memory Map

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

Thank you Ufedor,

We have two NOR Flash chip So, Address start from 0XE0000000 and RCW hard-coded in this address as per my customer.

I want to know the files to configure the Linux address. I will check and conform from my side. 

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

You wrote:

We have two NOR Flash chip

What is the projected NOR Flash subsystem memory map?

Are chip-selects connected to the Flash devices fixed or they can be swapped?

I want to know the files to configure the Linux address.

The Linux uImage address is not configured in files.

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

Ufedor,

Chip Select 0 (CS 0) connected with NOR flash controller.

Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

Chip Select 0 (CS 0) connected with NOR flash controller.

I see.

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

RCW hardcoded into the 0xE0000000 location. Will you please provide some ideas to configure Linux address.

Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

What is "Linux address"?

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

Currently Linux Address is, 0xE8020000 which is Linux image flashed. Needs to configure Linux address to 0xE8000000.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

This is just Linux.uImage address. It is not configured. It is used in the bootcmd only.

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

Yes, We configured uImage address in u-boot env bootcmd to boot. But, Linux have base address or starting address right .

Thanks & Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

But, Linux have base address or starting address right

What does it mean?

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

I mentioned the Load Address of uImage.

Regards,

VinothS, 

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

How your previous message has to be understood:

Currently Linux Address is, 0xE8020000 which is Linux image flashed.

> Needs to configure Linux address to 0xE8000000.

?

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

No, Currently Load address is 0xE8020000. I needs to configure/change this address to 0xE8000000 when uImage build.

Regards,

VInothS,

Regards,
Vinothkumar Sekar
0 Kudos

1,517 Views
ufedor
NXP Employee
NXP Employee

We are talking about U-Boot uImage binary object which can be programmed anywhere in the boot ROM

The uImage has built-in header containing RAM loading parameters - Data Load Address and Entry Point Address.

The "0xE8020000" is not used inside uImage.

0 Kudos

1,517 Views
vinothkumars
Senior Contributor IV

Thank you Ufedor,

If I changed Linux Address in bootcmd.

> This is just Linux.uImage address. It is not configured. It is used in the bootcmd only

Board is not boot, stop in u-boot and provide the "Cannot get kernel Image"

initcall: eff4ecacHit any key to stop autoboot:  0
WARNING: adjusting available memory to 30000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 Kudos