uClibc-0.9.27 to uClibc-0.9.28 업데이트 하는법 ^^;
http://arm.cirrus.com/forum/viewtopic.php?t=1199&highlight=segmentation+fault
호스트랑 타켓보드가 uClibc 버전이 달라 크로스컴파일?이 제대로 이루어지지 않고 있습니다.
위에 사이트에 어떻게 하라고 나와있는거 같은데... -_-;; 영 감이 안잡히네요.. -_-;;;
0.9.27 버전을 타켓보드에 0.9.28로 업그레이드 시키는법 좀 가르쳐주세요 ^^;
Thanks for your quickly response!!
and I did...
ls -l /usr/local/arm/3.4/lib
:
:
libuClibc-0.9.28.so
:
:
and
ls -l /lib --> on your ramdisk image
:
:
ld-uClibc-0.9.27.so
:
:
The version is different!!
So I try to version up of uClibc in ramdisk from 0.9.27 to 0.9.28.
and I did ...
downloaded uClibc-0.9.28.tar.bz2 // 다운받고
mv uClibc-0.9.28.tar.bz2 ($basedir)/tarballs // tarballs 폴더에 옴기고
modify the ($basedir)/buildrules from uClibc-0.9.27 to uClibc-0.9.28.
// vi buildrules 해서 uClibc-0.9.27 찾아 숫자를 28로 수정한다.
아래 컴파일을 하면 처리가 완료된다 인거 같은데... 아래같이 진행되다..
uClibc-0.9.28부분에서 스톱되네요..;
#################################################################################
make edb9301
Creating root filesystem...
Unpacking linux...
Creating linux source tree...
Configuring linux...
Building linux modules...
Unpacking modutils...
Configuring module-init-tools...
Building module-init-tools...
Installing linux modules...
Unpacking uClibc...
Configuring uClibc...
#################################################################################
and it stops...
I checked the logfile(($basedir)/edb9301/edb9301.log)...
It's waiting for input...
So I try to input with watching logfile..
#################################################################################
make edb9301
make[1]: Entering directory `/home/v6test/imahori/cirrus/tmp3/edb9301'
Creating root filesystem...
Unpacking linux...
Creating linux source tree...
Configuring linux...
Building linux modules...
Unpacking modutils...
Configuring module-init-tools...
Building module-init-tools...
Installing linux modules...
Unpacking uClibc...
Configuring uClibc...
2
5
y
n
y
n
""
n
Building uClibc...
Installing uClibc...
Unpacking busybox...
Patching busybox...
Creating busybox source tree...
Building busybox...
Installing busybox...
Unpacking alsa-lib...
Configuring Alsa-lib...
Building alsa-lib...
Installing Alsa-conf...
Patching alsa-utils...
Configuring Alsa-utils...
Building alsa-utils...
Installing Alsa-utils...
Unpacking e2fsprogs...
Configuring e2fsprogs...
Building e2fsprogs...
Installing e2fsprogs...
Unpacking mtd...
Patching mtd utils...
Building mtd...
Unpacking genext2fs...
Building genext2fs...
Generating ramdisk image...
Compressing ramdisk image...
Configuring linux...
Building linux zImage...
Copying linux...
Unpacking ecos...
Patching ecos...
Creating redboot source tree...
Building redboot...
Installing redboot...
make[1]: Leaving directory `/home/v6test/imahori/cirrus/tmp3/edb9301'
#################################################################################
Hoooo, I get ramdisk with uClibc-0.9.28.
and I try to run on board.
I could execute an application on my board(edb9301)!!
Thanks a lot!!
By the way, I have a question..
Is my way proper? Are there another better way?
댓글 달기