change u-boot and kernel code in MPC8548CDS_20071214-ltib

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

change u-boot and kernel code in MPC8548CDS_20071214-ltib

跳至解决方案
5,724 次查看
s153022
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 项奖励
回复
1 解答
5,670 次查看
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

在原帖中查看解决方案

0 项奖励
回复
11 回复数
5,712 次查看
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 项奖励
回复
5,709 次查看
s153022
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 项奖励
回复
5,683 次查看
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 项奖励
回复
5,678 次查看
s153022
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 项奖励
回复
5,676 次查看
s153022
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 项奖励
回复
5,671 次查看
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

0 项奖励
回复
5,602 次查看
s153022
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 项奖励
回复
5,594 次查看
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 项奖励
回复
5,231 次查看
s153022
Contributor III

Thanks,

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

Best Regards

0 项奖励
回复
5,502 次查看
s153022
Contributor III

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

0 项奖励
回复
5,434 次查看
Pavel
NXP Employee
NXP Employee

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

0 项奖励
回复