when I use ltib.iso for mpc8308RDB, some error flowing:
the attachment is the full error log, It seems that built error with uboot, how can I handle this?
I'm new for ltib.
My host is debian lenny, and my board is mpc8308RDB version 2 from freescale official.
thanks.
Solved! Go to Solution.
If you changed the glibc as uclibc like what i did, you should select your own crosstool chain using uclibc.
and Post 2's reason:
cause some uboot source depdends error and cannot cleanup.
Post 3's reason:
cause changed config file to leave source, and build it twice , the ltib must download source file from internet as the same project, but the source file do not exist on the internet.
I think debian lenny can run ltib well.
I'll try it tomorrow.
freescale, thanks
Hi,
I have the same error, can you indicate to me the way to fix it:
this is the error message:
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch.md5 from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...
14:45:32 ERROR 404: Not Found.
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...
14:45:32 ERROR 404: Not Found.
Can't get: kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch at ./ltib line 790.
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Wed Feb 1 14:45:22 2012
Ended: Wed Feb 1 14:45:32 2012
Elapsed: 10 seconds
These packages failed to build:
kernel-2.6.29.6-mpc8308erdb
Build Failed
Got exactly the same problem on ubuntu 10.04 for my MPC8308NSG too. Could someone point out a fix for this tool chain build?
Been plugging the whole day and had to comment out the patch #24 and #84. Now the fatal error is:
DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8308wmg.dts"
FATAL ERROR: Couldn't open "arch/powerpc/boot/dts/mpc8308wmg.dts": No such file or directory
error: Bad exit status from /home/stanley/ltib-mpc8308wmg-20110728/tmp/rpm-tmp.2286 (%install)
RPM build errors:
Bad exit status from /home/stanley/ltib-mpc8308wmg-20110728/tmp/rpm-tmp.2286 (%install)
Can anyone who have sorted this out point me in the right direction? Can't wait to start some coding ...
Thank you in advance. I have attached my host_config.log file for reference.
I just got the device and am experiencing exactly the same problem
Have you found a solution for it?
Just modify file:
config/platform/mpc8308wmg/boardlist
of your ltib:
new, workaround:
CONFIG_DTC_LIST="mpc8308erdb"
old, error cause:
CONFIG_DTC_LIST="mpc8308wmg mpc8308erdb mpc8308seg"
Note:
This is a workaround, which allows to run the ltib-script through the end.
It may not solve the problem that's behind.
Greets
I've also just received the 8308 NSG, and am trying to set up my environment...
Also getting exactly the same thing:
Processing: kernel-2.6.29.6-mpc8308erdb
=========================================
Build path taken because: no prebuilt rpm,
Testing network connectivity
OK GPP:
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch.md5 from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...
11:48:35 ERROR 404: Not Found.
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...
11:48:35 ERROR 404: Not Found.
Can't get: kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch at ./ltib line 790.
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Wed Jun 27 11:48:34 2012
Ended: Wed Jun 27 11:48:35 2012
Elapsed: 1 seconds
These packages failed to build:
kernel-2.6.29.6-mpc8308erdb
Build Failed
Exiting on error or interrupt
And this is after taking the above suggestion and modifying config/platform/mpc8308wmg/boardlist to just the following:
CONFIG_DTC_LIST="mpc8308erdb"
Has a hard-fix been found for this? Has anyone who had this issue been able to resolve it?
Thanks in advance!
I've got it working. The problem is that all the patches are installed from the ISO but some of the names are cut off. If you look in the subdirectory 'pkgs' you'll find these files:
kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gi.patch
kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Giga.md5
If you rename these to the files that are missing:
kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch
kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch.md5
then the error disappears. I had to rename one other file:
kernel-2.6.29.6-mpc8308wmg-mpc8308rdb-mpc8308seg-dts-updat.patch
to:
kernel-2.6.29.6-mpc8308wmg-mpc8308rdb-mpc8308seg-dts-update-1.patch
My build has just completed!
Nice one Tom, sorted for me now thanks.
For anyone else with this problem, you can change those filenames in the /opt/freescale/pkgs directory, rather than on the ISO in the case of your ISO being read only.
Shaun
That fixed it!
I did indeed have to rename those particular filenames that were truncated, and everything just successfully built for the first time!
Thank you very much!
Good to hear. Can you click on the star to raise the Kudos of the post? Hopefully someone from Freescale will spot this thread and fix the installer.
Thanks.
I found, the Post 1's error because I select libc library as uclibc......
If you changed the glibc as uclibc like what i did, you should select your own crosstool chain using uclibc.
and Post 2's reason:
cause some uboot source depdends error and cannot cleanup.
Post 3's reason:
cause changed config file to leave source, and build it twice , the ltib must download source file from internet as the same project, but the source file do not exist on the internet.
I think debian lenny can run ltib well.
I'll try it tomorrow.
freescale, thanks
if you wanna keep sources and donot use intel pro pci card, you should comment two lines of the "kernel-2.6.29.6-mpc8308erdb.spec.in" file:
#Patch20 : %{name}-%{version}-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch
#%patch20 -p1
some times the only uboot build error is
/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/cpu/mpc83xx/start.S:953: undefined reference to `__got2_entries'
the attachment is the full output message.
thanks for your reply.
Thx for you reply.
when I flow these steps:
./install my ISO
./ltib
and, the ltib can build and install successfully.
And on, I change some ltib configure file.
Actually, my only change is ./ltib -m config
let "leave the source file after build" option on.
and ./ltib
the error occurs like what i described before.
did my steps made a big mistake? I'm a newbie for ltib.
does' on your mechine has this problem?
if do not have, I will change my host linux as needed, even it will take much more time.
the last news:
when I following these steps:
./ltib -m shell
LTIB>cd rpm/BUILD/u-boot-2009.11-rc1/
LTIB>make clean
LTIB>make MPC8308ERDB_config
LTIB>make MPC8308ERDB_config
LTIB>make
the uboot build successfully.
and then, I
LTIB>make clean
LTIB>exit
and run ./ltib agin
the uboot build also successfully, but the following error occurs:
Processing: kernel-2.6.29.6-mpc8308erdb
=========================================
Build path taken because: no prebuilt rpm,
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch.md5 from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...:
04:06:12 ERROR 404: Not Found.
Try kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch from the GPP
http://bitshrine.org/gpp/kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-dr...:
04:06:13 ERROR 404: Not Found.
Can't get: kernel-2.6.29.6-fix-a-bug-of-Intel-PRO-1000-PCI-Express-Gigabit-Ethernet-driver.patch at ./ltib line 790.
why the ltib try to download the patches from the internet?
the iso exist these package, isnot it?
please help me! and many many thanks.