change u-boot and kernel code in MPC8548CDS_20071214-ltib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

change u-boot and kernel code in MPC8548CDS_20071214-ltib

ソリューションへジャンプ
5,735件の閲覧回数
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,681件の閲覧回数
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

元の投稿で解決策を見る

0 件の賞賛
返信
11 返答(返信)
5,723件の閲覧回数
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,720件の閲覧回数
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,694件の閲覧回数
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,689件の閲覧回数
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,687件の閲覧回数
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,682件の閲覧回数
Pavel
NXP Employee
NXP Employee

Good new that this problem is solved.

0 件の賞賛
返信
5,613件の閲覧回数
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,605件の閲覧回数
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,242件の閲覧回数
s153022
Contributor III

Thanks,

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

Best Regards

0 件の賞賛
返信
5,513件の閲覧回数
s153022
Contributor III

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

0 件の賞賛
返信
5,445件の閲覧回数
Pavel
NXP Employee
NXP Employee

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

0 件の賞賛
返信