change u-boot and kernel code in MPC8548CDS_20071214-ltib

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

change u-boot and kernel code in MPC8548CDS_20071214-ltib

Jump to solution
2,759 Views
contributor3
Contributor III

Hi,

I've installed and built MPC8548CDS_20071214-ltib on ubuntu 9.04.

 

I would like to enable the debug symbols in u-boot 

How can I enable that. 

 

I would also like to modify some code in the kernel.

I don't find the kernel in the build. looks like the kernel source is deleted after the build.

 

what is the proper way to change code in the kernel in the LTIB sdk? 

 

 

Best Regards

0 Kudos
1 Solution
2,705 Views
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

View solution in original post

0 Kudos
11 Replies
2,747 Views
Pavel
NXP Employee
NXP Employee

Use the following commands to install source u-boot and kernel:

./ltib -m prep -p u-boot

./ltib -m prep -p kernel

 

Find the source in the following folder: ./rpm/build

 

Add the following to the

/include/configs/MPC8548CDS.h file

 

#ifndef DEBUG

#define DEBUG

#endif

 

Use the following commands for building u-boot and kernel:

./ltib -m scdeploy -p u-boot

./ltib -m scdeploy -p kernel

0 Kudos
2,744 Views
contributor3
Contributor III

Hi,

Thanks for the reply.

I can't find MPC8548CDS.h file in my install folder. 

Is the fine name changed? 

 

I am using ltib-mpc8548cds-20071214 version. 

 

u-boot is also not building with the command "./ltib -m scdeploy -p u-boot"

I got below error

"error: File /home/xxxxx/ltib-mpc8548cds-20071214/rpm/SOURCES/u-boot-1.3.0.tar.bz2: No such file or directory"

"Failed building u-boot-1.3.0-mpc8548cds"

 

 

Best Regards

0 Kudos
2,722 Views
Pavel
NXP Employee
NXP Employee

See attached snapshot.

It is snapshot from Ubuntu 9.04.

The MPC8548CDS_20071214-ltib was installing, building and the following command was used to get u-boot source:

./ltib -m prep -p u-boot

0 Kudos
2,717 Views
contributor3
Contributor III

Hi ,

Thanks for the reply.

I tried ./ltib -m prep -p u-boot again. 

I can see "u-boot-tools"  but I don't see folder "u-boot-1.3.0"  inside rpm/BUILD directory.

 

I have 'rpm/BUILD/u-boot-tools-1.1.6/` folder inside BUILD. 

 

How to get "u-boot-1.3.0" 

 

Should I try manually creating a softlink to ./rpm/BUILD/u-boot-1.3.0.tar.bz2 from /opt/.... ?

 

Best Regards

0 Kudos
2,715 Views
contributor3
Contributor III

It worked after I created a symlink to ./rpm/SOURCES/u-boot-1.3.0.tar.bz2 from /opt/freescale/pkgs . I also copied all the patches manually. 

 

Also note that I had to run ./ltib before running ./ltib -m scdeploy -p u-boot

0 Kudos
2,706 Views
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

0 Kudos
2,641 Views
contributor3
Contributor III

The build is successful on ubuntu 9.04.

Now I would like to build this on Ubuntu 18.04.

Is it possible to build MPC8548CDS_20071214-ltib on Ubuntu 18.04?

Thanks for your timely support. 

Best Regards

0 Kudos
2,633 Views
Pavel
NXP Employee
NXP Employee

We have tested this LTIB Linux BSP under Ubuntu 9.04, 10.04 and 12.04.

There are lot errors if Ubuntu 18 is used.

0 Kudos
2,270 Views
contributor3
Contributor III

Thanks,

Is it possible to build this on ubuntu-16.04 64bit?

Best Regards

0 Kudos
2,541 Views
contributor3
Contributor III

Thanks, does it require a 32 bit ? is it ok to build on 64 bit OS?

0 Kudos
2,473 Views
Pavel
NXP Employee
NXP Employee

See attached file about using LTIB on 64-bit operation system.

0 Kudos